:root {
    /* Design Tokens from App */
    --accent-color: #60a5fa;
    --glass-surface: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #020617;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;

    --electric-indigo: #6366f1;
    --soft-amber: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glass Panel Utility */
.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), inset 0 0 0 1px var(--glass-highlight);
    border-radius: 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-button {
    padding: 0.8rem 1.5rem;
    border-radius: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: var(--glass-surface);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.glass-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.primary-button {
    background: var(--accent-color) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 20px -5px rgba(96, 165, 250, 0.4);
}

.primary-button:hover {
    background: #3b82f6 !important;
    box-shadow: 0 15px 30px -5px rgba(96, 165, 250, 0.6);
}

/* Nav */
nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1100px;
    z-index: 1000;
    border-radius: 1.5rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.cta-button) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    filter: blur(4px);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
    padding: 2rem;
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.secondary-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.secondary-link:hover {
    border-color: var(--accent-color);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Flow Grid */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.flow-card {
    padding: 3rem 2rem;
    text-align: center;
}

.flow-icon {
    width: 64px;
    height: 64px;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
}

.flow-card h3 {
    margin-bottom: 1rem;
}

.flow-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Advantage Table */
.advantage-table-container {
    margin-top: 4rem;
    padding: 2rem;
    overflow-x: auto;
}

.advantage-table {
    width: 100%;
    border-collapse: collapse;
}

.advantage-table th,
.advantage-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.advantage-table th {
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.advantage-table .highlight {
    background: rgba(96, 165, 250, 0.05);
    color: var(--accent-color);
}

/* Personas */
.persona-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.persona-card {
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.persona-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: #fff;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.persona-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.persona-card p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.persona-benefit {
    font-weight: 700;
    color: var(--accent-color);
}

.highlight-panel {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(15, 23, 42, 0.65) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px -10px rgba(96, 165, 250, 0.2);
}

.price-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features li i {
    color: var(--accent-color);
    width: 18px;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Animations from App */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-enter {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Sommelier Section */
.sommelier-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sommelier-split.inverse {
    direction: rtl;
}

.sommelier-split.inverse>* {
    direction: ltr;
}

.sommelier-image {
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.sommelier-image img {
    width: 100%;
    height: auto;
    display: block;
}

.sommelier-text .section-title {
    margin-bottom: 2rem;
}

.featured-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.benefit-list li i {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.badge-premium {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #451a03;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.badge-personal {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #3b82f6 100%);
    color: #fff;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.text-left {
    text-align: left;
}

.overflow-visible {
    overflow: visible;
}

/* Mobile Responsiveness Updates */
@media (max-width: 900px) {
    .sommelier-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sommelier-image {
        order: 2;
    }

    .sommelier-text {
        order: 1;
    }

    .sommelier-text .section-title {
        text-align: center;
    }

    .benefit-list li {
        text-align: left;
    }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {

    .flow-grid,
    .pricing-grid,
    .persona-grid {
        grid-template-columns: 1fr;
    }

    /* Responsive Advantage Table */
    .advantage-table-container {
        padding: 1rem;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .advantage-table thead {
        display: none;
    }

    .advantage-table tr {
        display: block;
        margin-bottom: 2rem;
        background: var(--glass-surface);
        backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 1.5rem;
        padding: 1rem;
        overflow: hidden;
    }

    .advantage-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0.5rem;
        border-bottom: 1px solid var(--glass-highlight);
        text-align: right;
    }

    .advantage-table td:last-child {
        border-bottom: none;
    }

    .advantage-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-secondary);
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        text-align: left;
    }

    .advantage-table .highlight {
        background: rgba(96, 165, 250, 0.1);
        margin: 0 -1rem -1rem -1rem;
        padding: 1rem;
        justify-content: space-between;
    }

    .nav-links:not(.cta-button) {
        display: none;
    }

    .text-gradient {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}