:root {
    /* Colors */
    --bg-color: #050507;
    --bg-gradient: radial-gradient(circle at top center, #13131f 0%, #050507 100%);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --heading-color: #ffffff;
    
    /* Brand Colors */
    --accent-primary: #6366f1; /* Indigo 500 */
    --accent-secondary: #818cf8; /* Indigo 400 */
    --accent-tertiary: #4f46e5; /* Indigo 600 */
    --accent-glow: rgba(99, 102, 241, 0.3);
    --accent-glow-strong: rgba(99, 102, 241, 0.5);
    
    /* UI Elements */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.07);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(255, 255, 255, 0.15);
    --glass-blur: 24px;
    
    /* Spacing */
    --nav-height: 80px;
    --container-width: 1280px;
    --space-xs: 0.5rem;  /* 8px */
    --space-sm: 1rem;    /* 16px */
    --space-md: 1.5rem;  /* 24px */
    --space-lg: 2.5rem;  /* 40px */
    --space-xl: 4rem;    /* 64px */
    --space-2xl: 6rem;   /* 96px */
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-loose: 1.8;
    
    /* Animation */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Background Effects */
.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    will-change: transform, opacity;
}

.globe-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-primary) 0%, rgba(99, 102, 241, 0) 70%);
    top: -30%;
    left: -20%;
    animation: drift 25s infinite alternate ease-in-out;
}

.globe-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #8b5cf6 0%, rgba(139, 92, 246, 0) 70%);
    bottom: -20%;
    right: -20%;
    animation: drift 30s infinite alternate-reverse ease-in-out;
}

.globe-3 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #ec4899 0%, rgba(236, 72, 153, 0) 70%);
    top: 40%;
    left: 30%;
    opacity: 0.15;
    animation: pulse 20s infinite ease-in-out;
}

@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(40px, 60px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-sm);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Global Header / Nav */
.site-header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s var(--transition-smooth);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.logo-img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s var(--transition-smooth);
    border-radius: 2px;
    opacity: 0.8;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Buttons */
.btn-cta {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-tertiary) 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px var(--accent-glow), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow-strong), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Unified Card Style */
.glass-card, .feature-card, .pricing-card, .step-card, .contact-card, .faq-item, .cta-box, .voice-commands-preview, .summary-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

/* Specific Card Overrides/Additions */
.glass-card:hover, .feature-card:hover, .pricing-card:hover, .step-card:hover, .contact-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

/* Hero Section */
.hero-section {
    min-height: 90vh; /* Reduced slightly to encourage scrolling */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
    position: relative;
    width: 100%;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-headline {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #fff 20%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

/* Voice Command Preview */
.voice-commands-preview {
    padding: var(--space-lg);
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 32px;
}

/* ... existing voice bubble styles ... */

/* Comparison Section */
.interaction-section {
    padding: var(--space-2xl) 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

.interaction-comparison {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
}

.comparison-label {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    margin-bottom: var(--space-md);
    font-weight: 600;
    text-align: center;
}

.comparison-image-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    padding: 20px;
    transition: var(--transition-smooth);
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.comparison-image-wrapper:hover {
    border-color: var(--card-border-hover);
    transform: scale(1.01);
}

.comparison-image {
    flex: 1;
    min-width: 0;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* Summary Card */
.summary-card {
    padding: var(--space-xl);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-tertiary), var(--accent-primary));
}

.summary-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.summary-highlight {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.summary-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.summary-footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--card-border);
}

.summary-footer p {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Page Headers */
.page-container {
    padding-top: 160px;
    padding-bottom: 100px;
}

.page-title, .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
}

.subtitle, .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

/* Section Styling */
.section {
    padding: var(--space-2xl) 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.section-heading-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 20px var(--accent-glow);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Steps */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.step-badge {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.step-visual {
    margin-top: auto;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.featured-step-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 60px;
    border-radius: 32px;
    border: 1px solid var(--card-border);
}

/* Pricing */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card.highlight {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--card-bg) 100%);
    box-shadow: 0 0 30px var(--accent-glow);
}

.pricing-badge {
    background: var(--accent-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin: 20px 0 5px;
    letter-spacing: -0.02em;
}

.period {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 30px 0 40px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    color: var(--text-secondary);
    padding-left: 30px;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-primary);
    font-weight: 800;
    position: absolute;
    left: 0;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 30px;
    margin-bottom: 20px;
    cursor: default;
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Contact */
.contact-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
}

.contact-card {
    max-width: 600px;
    width: 100%;
    padding: 60px;
    text-align: center;
}

.contact-method a {
    font-size: 1.25rem;
    color: var(--accent-secondary);
    border-bottom: 1px dotted var(--accent-secondary);
}

.contact-method a:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* Content Pages (Privacy/Terms) */
.content-wrapper {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto 80px;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.content-wrapper h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

.important-box {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--accent-primary);
    padding: 24px;
    border-radius: 0 16px 16px 0;
    margin: 2rem 0;
}

.important-box p {
    color: #fff;
    margin-bottom: 0;
    font-weight: 500;
}

.all-caps-block {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 12px;
    margin: 1.5rem 0;
    line-height: 1.5;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--card-border);
    padding: 80px 0 40px;
    background: #030304;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto 60px;
    padding: 0 var(--space-md);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    color: var(--text-tertiary);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Utilities */
.text-muted-note {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
        --space-xl: 3rem;
        --space-2xl: 4rem;
    }

    .site-header {
        padding: 0 var(--space-sm);
    }

    .main-nav {
        display: none; /* In a real app, add a hamburger menu */
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-md);
    }
    
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 30px;
    }
}
