/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    --bg-dark: #fafafa;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    
    /* Vocalis.ai Tokens */
    --color-success: hsl(142, 76%, 35%);
    --color-primary: hsl(217, 91%, 50%);
    --color-warning: hsl(38, 92%, 40%);
    --color-danger: hsl(346, 80%, 45%);
    
    --surface-bg: rgba(255, 255, 255, 0.7);
    --surface-blur: blur(16px);
    --surface-border: rgba(0, 0, 0, 0.08);
    
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);

    --accent-gradient: linear-gradient(135deg, var(--color-primary) 0%, var(--color-success) 100%);
    --accent-color: var(--color-primary);
    --border-color: var(--surface-border);
    --nav-height: 72px;
    
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 12rem;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.center {
    text-align: center;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-dark);
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    transition: transform 0.4s var(--ease-spring), opacity 0.4s var(--ease-spring);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-primary.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary.btn-sm,
.btn-secondary.btn-sm {
    padding: 0.4rem 1.25rem;
    font-size: 0.875rem;
}

.btn-ghost {
    display: inline-block;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 500;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    transition: background 0.2s ease;
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* ==========================================================================
   1. Announcement Bar
   ========================================================================== */
.announcement-bar {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.announcement-link:hover {
    color: var(--text-primary);
}

.badge {
    background: var(--border-color);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   2. Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: var(--surface-blur);
    -webkit-backdrop-filter: var(--surface-blur);
    border-bottom: 1px solid var(--surface-border);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 6px;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.nav-item:hover {
    color: var(--primary-color);
}

.chevron {
    margin-top: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn .bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-bottom: var(--space-xl);
    text-align: center;
}

.interactive-gradient-bg {
    position: relative;
    width: 100%;
    min-height: 80vh;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    --posX: 0;
    --posY: 0;
}

.nebula-canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-content-inner {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.1);
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    line-height: 1.6;
}

.btn-hero {
    background: #ffffff;
    color: #000000;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 99px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    color: #000000;
}

.hero-interactive {
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 1rem;
    background: var(--surface-bg);
    backdrop-filter: var(--surface-blur);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.ai-prompt-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.ai-icon {
    font-size: 1.5rem;
}

.ai-text-typing {
    border-right: 2px solid var(--accent-color);
    padding-right: 4px;
    animation: blink 1s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* ==========================================================================
   4. Logo Bar
   ========================================================================== */
.logo-bar-section {
    padding: var(--space-lg) 0 var(--space-xxl);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.logo-bar-label {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: inline-flex;
    gap: 4rem;
    animation: marquee 30s linear infinite;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.5;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   5. Feature Sections
   ========================================================================== */
.features-wrapper {
    padding: var(--space-xl) 0;
}

.feature-section {
    padding: 5rem 0;
}

.feature-section.center-layout .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-content-center {
    max-width: 800px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-content-center h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 850px;
    text-wrap: balance;
}

.feature-visual-center {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.gradient-bg-1 { background: linear-gradient(135deg, rgba(39, 201, 63, 0.2) 0%, rgba(0,0,0,0) 100%); }
.gradient-bg-2 { background: linear-gradient(135deg, rgba(0, 153, 255, 0.2) 0%, rgba(0,0,0,0) 100%); }
.gradient-bg-3 { background: linear-gradient(135deg, rgba(255, 189, 46, 0.2) 0%, rgba(0,0,0,0) 100%); }
.gradient-bg-4 { background: linear-gradient(135deg, rgba(255, 95, 86, 0.2) 0%, rgba(0,0,0,0) 100%); }
.gradient-bg-5 { background: linear-gradient(135deg, rgba(39, 201, 63, 0.2) 0%, rgba(0,0,0,0) 100%); }

.mockup-window-large {
    background: var(--surface-bg);
    backdrop-filter: var(--surface-blur);
    border: 1px solid var(--surface-border);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: 0 -25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(60px);
    transition: transform 0.8s var(--ease-spring);
    max-width: 900px;
    margin: 0 auto;
}

.feature-section.is-visible .mockup-window-large {
    transform: translateY(0);
}

.mockup-header {
    background: var(--bg-surface-elevated);
    padding: 1rem 1.5rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: var(--color-danger); }
.dot.yellow { background: var(--color-warning); }
.dot.green { background: var(--color-success); }

.mockup-body {
    padding: 3rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.placeholder-ui {
    color: var(--text-secondary);
    font-family: monospace;
    text-align: center;
}

/* ==========================================================================
   6. Testimonials
   ========================================================================== */
.testimonials-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-surface));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--surface-bg);
    backdrop-filter: var(--surface-blur);
    border: 1px solid var(--surface-border);
    padding: 2rem;
    border-radius: 16px;
}

.stars {
    color: var(--color-warning);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.quote {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--border-color);
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==========================================================================
   7. Bottom CTA
   ========================================================================== */
.bottom-cta-section {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-surface);
}

.cta-box {
    background: linear-gradient(135deg, #020617 0%, #0f172a 40%, #0f766e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 6rem 2rem;
    color: #ffffff;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(52, 211, 153, 0.15), transparent 50%),
                radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.15), transparent 50%);
    z-index: 0;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box .bottom-cta-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.cta-box .bottom-cta-title span {
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-box .bottom-cta-desc {
    max-width: 600px;
    color: #94a3b8;
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
    text-wrap: balance;
}

.cta-box .micro-copy {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.cta-box .cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
}

.cta-box .feature-cta {
    background-color: #ffffff;
    color: #000000;
}

.cta-box .feature-cta:hover {
    background-color: #f1f5f9;
}

.cta-box .btn-ghost {
    color: #ffffff;
    transition: color 0.2s;
}

.cta-box .btn-ghost:hover {
    color: #34d399;
}

@media (max-width: 900px) {
    .cta-box {
        padding: 4rem 2.5rem;
        gap: 3rem;
    }
    .cta-box-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .cta-box-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 2rem;
    }
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.footer-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   Problem Comparison Section
   ========================================================================== */
.problem-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) 2rem;
}

.problem-header {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.problem-kicker {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-success);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.problem-title .highlight-text {
    color: var(--color-success);
}

.problem-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    gap: 2rem;
}

.comp-card {
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.comp-card.legacy {
    background: linear-gradient(145deg, #ffffff, #f9fafb);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.comp-card.modern {
    background: linear-gradient(145deg, #ffffff, #f0fdf4);
    border: 1px solid rgba(220, 252, 231, 0.8);
}

.comp-subhead {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.legacy .comp-subhead {
    color: #9ca3af;
}

.modern .comp-subhead {
    color: #16a34a;
}

.comp-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.comp-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 3px;
}

.comp-list.legacy-list li svg {
    color: #ef4444;
}

.comp-list.modern-list li svg {
    color: #22c55e;
}

.comp-arrow {
    width: 48px;
    height: 48px;
    background: #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    margin: 0 -3rem; /* overlap */
}

/* UI Mockups */
.ui-mockup {
    background: #111827;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 24px 50px rgba(0,0,0,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.05);
}

.ui-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.ui-content {
    text-align: center;
    margin-bottom: 2rem;
}

.ui-number {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ui-caller {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.legacy .ui-number {
    color: #fca5a5;
}

.ui-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
}

.ui-tag.spam {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.ui-tag.verified {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.ui-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.ui-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ui-btn.decline {
    background: #374151;
    color: #9ca3af;
}

.ui-btn.accept {
    background: #22c55e;
    color: white;
}

@media (max-width: 992px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .comp-arrow {
        transform: rotate(90deg);
        margin: -1rem auto;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .feature-visual-center {
        padding: 3rem 1rem 0 1rem;
    }
    
    .mockup-body {
        min-height: 250px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .nav-actions .btn-ghost,
    .nav-actions .login-link {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .cta-group {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   Announcement Banner
   ========================================================================== */
.announcement-banner {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-surface);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.announcement-banner.hidden {
    display: none;
}

.banner-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    mask-image: linear-gradient(to bottom, white, transparent), radial-gradient(circle at top center, white, transparent);
    -webkit-mask-image: linear-gradient(to bottom, white, transparent), radial-gradient(circle at top center, white, transparent);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    animation: moving-banner 20s linear infinite;
    background-image: repeating-linear-gradient(
        70deg, 
        rgba(34, 197, 94, 0.6) 0%, 
        rgba(16, 185, 129, 0.7) 12.5%, 
        rgba(20, 184, 166, 0.6) 25%, 
        rgba(132, 204, 22, 0.6) 37.5%, 
        rgba(34, 197, 94, 0.6) 50%
    );
    background-size: 200% 100%;
    filter: saturate(2);
}

@keyframes moving-banner {
    from { background-position: 0% 0; }
    to { background-position: -200% 0; }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.banner-btn {
    background: none;
    border: none;
    color: var(--color-success);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0;
}

.banner-btn:hover {
    text-decoration: underline;
}

.banner-close-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.banner-close-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--text-primary);
}

/* ==========================================================================
   Waitlist Modal
   ========================================================================== */
body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-surface);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 24px 50px rgba(0,0,0,0.2);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.modal-close-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: var(--bg-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.phone-input-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-radius: 8px 0 0 8px;
    transition: background-color 0.2s;
}

.custom-select-trigger:hover {
    background-color: rgba(0,0,0,0.02);
}

.custom-select-trigger .chevron-icon {
    margin-left: 0.25rem;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.custom-select-wrapper.open .chevron-icon {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 240px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.custom-select-wrapper.open .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-search-wrapper {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.country-search-wrapper input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.8125rem;
    outline: none;
    transition: border-color 0.2s;
}

.country-search-wrapper input:focus {
    border-color: var(--color-primary);
}

.country-list {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

/* Custom Scrollbar for country list */
.country-list::-webkit-scrollbar {
    width: 6px;
}
.country-list::-webkit-scrollbar-track {
    background: transparent;
}
.country-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.country-item:hover, .country-item.highlighted {
    background-color: rgba(59, 130, 246, 0.1);
}

.country-item.selected {
    background-color: var(--color-primary);
    color: white;
}

.country-item .item-flag {
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.country-item .item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.country-item .item-code {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-left: 0.5rem;
}

.country-item.selected .item-code,
.country-item.selected .item-name {
    color: white;
}

.country-item .check-icon {
    opacity: 0;
    margin-left: 0.5rem;
    width: 14px;
    height: 14px;
}

.country-item.selected .check-icon {
    opacity: 1;
}

.phone-input-group .divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

.phone-input-group input {
    border: none !important;
    background: transparent;
    padding: 0.75rem 1rem;
    flex: 1;
    font-size: 0.875rem;
    outline: none;
    box-shadow: none !important;
}

/* ==========================================================================
   Hero Stats Section
   ========================================================================== */
.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1050px;
    margin: 2.5rem auto 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: 2.5rem 3rem;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    margin: 0 2rem;
}

.stat-number {
    font-size: 5.5rem;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    letter-spacing: -0.04em;
}

.stat-symbol {
    font-size: 3rem;
    color: rgba(255,255,255,0.6);
    margin-left: 0.25rem;
    font-weight: 700;
}

.stat-arrow {
    font-size: 3rem;
    color: rgba(255,255,255,0.6);
    margin-right: 0.25rem;
    font-weight: 700;
}

.stat-green {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    .stat-divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Glass Button Component
   ========================================================================== */
.glass-button-wrap {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    cursor: pointer;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-button {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    position: relative;
    cursor: pointer;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #000000;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.glass-button-wrap:hover .glass-button {
    background: #fafafa;
    transform: translateY(-2px);
}

.glass-button-text {
    position: relative;
    display: block;
    user-select: none;
    letter-spacing: -0.05em;
}

/* Sizes */
.glass-button-size-default {
    font-size: 1rem;
    font-weight: 600;
}
.glass-button-text-size-default {
    padding: 0.875rem 1.5rem;
}

.glass-button-size-sm {
    font-size: 0.9375rem;
    font-weight: 600;
}
.glass-button-text-size-sm {
    padding: 0.625rem 1.25rem;
}

.glass-button-size-lg {
    font-size: 1.25rem;
    font-weight: 700;
}
.glass-button-text-size-lg {
    padding: 1.125rem 2.5rem;
}

.glass-button-shadow {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-button-wrap:hover .glass-button-shadow {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Shiny Button Component
   ========================================================================== */

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

.shiny-cta {
    --shiny-cta-bg: #000000;
    --shiny-cta-bg-subtle: #1a1818;
    --shiny-cta-fg: #ffffff;
    --shiny-cta-highlight: var(--color-success);
    --shiny-cta-highlight-subtle: #86efac;
    --animation: gradient-angle linear infinite;
    --duration: 3s;
    --shadow-size: 2px;
    --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    
    isolation: isolate;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline-offset: 4px;
    padding: 1.25rem 2.5rem;
    font-family: "Inter", sans-serif;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 360px;
    color: var(--shiny-cta-fg);
    background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
      conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      ) border-box;
    box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
    transition: var(--transition);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shiny-cta::before,
.shiny-cta::after,
.shiny-cta span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
}

.shiny-cta:active {
    translate: 0 1px;
}

/* Dots pattern */
.shiny-cta::before {
    --size: calc(100% - var(--shadow-size) * 3);
    --position: 2px;
    --space: calc(var(--position) * 2);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    ) padding-box;
    background-size: var(--space) var(--space);
    background-repeat: space;
    mask-image: conic-gradient(
      from calc(var(--gradient-angle) + 45deg),
      black,
      transparent 10% 90%,
      black
    );
    border-radius: inherit;
    opacity: 0.4;
    z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
    --animation: shimmer linear infinite;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(
      -50deg,
      transparent,
      var(--shiny-cta-highlight),
      transparent
    );
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.6;
}

.shiny-cta span {
    z-index: 1;
}

.shiny-cta span::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
}

/* Animate */
.shiny-cta,
.shiny-cta::before,
.shiny-cta::after {
    animation: var(--animation) var(--duration),
      var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
}

.shiny-cta:is(:hover, :focus-visible) {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shiny-cta-highlight-subtle);
}

.shiny-cta:is(:hover, :focus-visible),
.shiny-cta:is(:hover, :focus-visible)::before,
.shiny-cta:is(:hover, :focus-visible)::after {
    animation-play-state: running;
}

.shiny-cta:is(:hover, :focus-visible) span::before {
    opacity: 1;
}

@keyframes gradient-angle {
    to {
      --gradient-angle: 360deg;
    }
}

@keyframes shimmer {
    to {
      rotate: 360deg;
    }
}

@keyframes breathe {
    from, to {
      scale: 1;
    }
    50% {
      scale: 1.2;
    }
}

.shiny-cta-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Glass CTA Component
   ========================================================================== */
.glass-cta {
    position: relative;
    cursor: pointer;
    padding: 1.25rem 2.5rem;
    font-family: "Inter", sans-serif;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 360px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s, border-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.glass-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   Table Stakes Section
   ========================================================================== */
.table-stakes-section {
    padding: var(--space-xl) 0;
    background: var(--bg-surface);
}

.table-stakes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.table-stakes-header .header-left {
    flex: 1;
    max-width: 650px;
}

.table-stakes-header .header-left .eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 1rem;
}

.table-stakes-header .header-left h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text-primary);
}

.table-stakes-header .header-left h2 em {
    font-style: italic;
    font-family: serif;
    font-weight: 400;
    color: var(--text-primary);
}

.table-stakes-header .header-right {
    flex: 0 1 350px;
}

.table-stakes-header .header-right p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
}

.table-stakes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--surface-border);
    gap: 1px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.stake-card {
    background: var(--bg-surface);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease;
}

.stake-card:hover {
    background: var(--bg-surface-elevated);
}

.stake-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.stake-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.stake-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.stake-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.stake-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.stake-tag .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success);
}

@media (max-width: 992px) {
    .table-stakes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .table-stakes-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .table-stakes-header .header-right {
        flex: 1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .table-stakes-grid {
        grid-template-columns: 1fr;
    }
    .table-stakes-header .header-left h2 {
        font-size: 2.5rem;
    }
}

.glass-cta:active {
    transform: translateY(0);
}

.feature-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-top: 1.25rem;
}

.feature-cta:hover {
    background-color: #222222;
    transform: translateY(-2px);
    color: #ffffff;
}

