/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #0066cc;
    --primary-light: #3385ff;
    --secondary: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #334155; /* Darker for better contrast */
    --text-light: #64748b;
    
    /* Base backgrounds made transparent for glass effect */
    --background: rgba(241, 245, 249, 0.7); /* Darker white (slate-100ish) */
    --surface: rgba(248, 250, 252, 0.75); /* More opaque slate-50 */
    --glass-bg: rgba(248, 250, 252, 0.6); /* More opaque */
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: 16px; /* Stronger blur */
    
    --border: rgba(203, 213, 225, 0.6);
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    --fallback-bg: #f1f5f9; /* Match darker white */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

/* Dark mode variables */
[data-theme="dark"] {
    --primary: #0066cc;
    --primary-dark: #0066cc;
    --primary-light: #80bfff;
    --secondary: #1e293b;
    --text-primary: #f8fafc; /* Brighter white */
    --text-secondary: #cbd5e1; /* Lighter gray */
    --text-light: #94a3b8;
    
    /* Base backgrounds made transparent for glass effect */
    --background: rgba(15, 23, 42, 0.6);
    --surface: rgba(30, 41, 59, 0.6); /* More opaque */
    --glass-bg: rgba(15, 23, 42, 0.5); /* More opaque */
    --glass-border: rgba(255, 255, 255, 0.15);
    
    --border: rgba(51, 65, 85, 0.5);
    --success: #34d399;
    --warning: #fbbf24;
    --error: #f87171;
    --gradient: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5);
    
    --fallback-bg: #0f172a;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

html {
    background-color: #f1f5f9;
    background-image: radial-gradient(circle at 20% 10%, rgba(96, 165, 250, 0.15), transparent 42%),
                      radial-gradient(circle at 85% 35%, rgba(129, 140, 248, 0.12), transparent 48%);
    background-attachment: fixed;
}

html[data-theme="dark"] {
    background-color: #0b1120;
    background-image: radial-gradient(circle at 20% 10%, rgba(30, 64, 175, 0.22), transparent 42%),
                      radial-gradient(circle at 85% 35%, rgba(76, 29, 149, 0.17), transparent 48%);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.011em;
    color: var(--text-primary);
    background: transparent;
    isolation: isolate;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

#webgl-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Global Form Elements Styling */
input, textarea, select {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Display serif for page titles — same move Wispr / Superwhisper use */
h1, h2,
.hero-title,
.section-title,
.cta-content h2,
.problem-header .section-title {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--text-primary);
}

h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.faq-item h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
}

p, span, li {
    color: var(--text-secondary);
}

/* Override specific text needing high contrast */
.hero-title, .section-title, .brand-name {
    color: var(--text-primary) !important;
}

/* Ensure container has correct z-index context */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}


/* Glassmorphism Utility Class */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-track {
    display: block;
    width: 50px;
    height: 26px;
    background: linear-gradient(to right, #d1d5db 0%, #9ca3af 100%);
    border-radius: 26px;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-thumb {
    display: block;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.toggle-thumb svg {
    position: absolute;
    top: 4px;
    left: 4px;
    color: #374151;
}

.toggle-thumb .sun-icon {
    display: none;
}

.toggle-thumb .moon-icon {
    display: block;
}

.theme-toggle.dark .toggle-thumb .sun-icon {
    display: block;
}

.theme-toggle.dark .toggle-thumb .moon-icon {
    display: none;
}

.theme-toggle.dark .toggle-track {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.theme-toggle.dark .toggle-thumb {
    transform: translateX(24px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* Glass navbar */
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 0;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.7);
    border-bottom-color: var(--glass-border);
}

.navbar .container {
    display: flex;
    align-items: center;
    padding: 0.5rem 20px;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    margin-right: auto;
}

.nav-brand .logo {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Nearest-neighbor made the orb's edge staircased */
    image-rendering: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--primary);
    opacity: 1;
}

/* Subtle gradient underline on hover for navbar links */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: var(--primary);
    transition: width 0.25s ease;
    border-radius: 2px;
}
.nav-link:hover::after {
    width: 100%;
}

.btn-download {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    text-decoration: none !important;
    font-weight: 500;
}

.btn-download:hover {
    background: linear-gradient(to right, #5b6cf1 0%, #50b5e5 50%, #6366f1 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    text-decoration: none !important;
}

/* Prevent nav underline effect on Download button */
.nav-link.btn-download::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
    /* Subtle glass background for readability - covers hero and apps marquee */
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0;
}

/* Extend glass background to apps marquee */
.hero + .apps-marquee {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: none;
    border-bottom: none;
    padding-bottom: 14px;
}

/* Restore original background as fallback/underlay */
.hero-background {
    display: block; /* Show it */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2; /* Behind the WebGL canvas (-1) */
    opacity: 1; /* Full visibility to match original index.html when no shader */
}

.gradient-bg {
    display: block;
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 18% 42%, rgba(99, 102, 241, 0.14) 0%, transparent 55%),
                radial-gradient(circle at 80% 85%, rgba(168, 85, 247, 0.12) 0%, transparent 55%),
                radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.10) 0%, transparent 55%);
    animation: float 20s ease-in-out infinite;
}

.grid-pattern {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Badge style from index2.html - make glass */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 9999px;
    color: #6366f1;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .badge {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
}

.hero-title {
    font-size: 4.25rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: none;
    opacity: 1;
    color: var(--text-primary);
    text-shadow: none;
}

.hero-title.animate {
    animation: slideUpFadeIn 0.6s ease-out forwards;
}

@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Verb Switcher */
#animatedVerb {
    position: relative;
    display: inline-block;
    text-align: left;
    min-width: 220px;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    opacity: 1 !important; /* Force full opacity */
    color: var(--text-primary) !important;
}

/* Explicitly remove any pseudo-elements */
#animatedVerb::before,
#animatedVerb::after {
    content: none !important;
}

#animatedVerb .verb-text {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    display: inline !important;
    opacity: 1 !important;
}

#animatedVerb .cursor {
    color: var(--text-primary) !important;
    background: var(--text-primary) !important;
    font-weight: 100 !important;
    animation: blink 1s infinite;
    display: inline-block !important;
    width: 8px !important;
    height: 1.2em !important;
    margin: 0 2px !important;
    padding: 0 !important;
    vertical-align: text-bottom !important;
    line-height: inherit !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    font-size: inherit !important;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
}

.gradient-text {
    font-style: italic;
    font-weight: 400;
    background: none;
    -webkit-text-fill-color: unset;
    color: inherit;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
    animation: none;
    opacity: 1;
    line-height: 1.55;
    letter-spacing: -0.015em;
    text-shadow: none;
    max-width: 28em;
}

[data-theme="dark"] .hero-description {
    color: #cbd5e1; /* Brighter text for dark mode contrast */
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}


/* Apps marquee (scrolling app names) */
.apps-marquee {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    border-bottom: none;
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.apps-marquee .apps-viewport {
    overflow: hidden;
    /* Fade the scrolling content at edges */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,1) 140px, rgba(0,0,0,1) calc(100% - 140px), rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,1) 140px, rgba(0,0,0,1) calc(100% - 140px), rgba(0,0,0,0) 100%);
}
.apps-marquee::before,
.apps-marquee::after {
    display: none; /* Remove solid fade */
}

.apps-marquee .track {
    display: inline-flex;
    align-items: center;
    gap: 0; /* logic moved to margins for perfect loop */
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0); /* Force hardware acceleration */
    animation: apps-scroll 40s linear infinite; /* Slower for smoothness */
}
.apps-marquee .track-alt {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: apps-scroll-rev 45s linear infinite;
}
.apps-marquee .item {
    color: var(--text-primary); /* Make text stronger */
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 1;
    margin-right: 2.5rem; /* Replaces gap */
    /* Prevent subpixel rendering jitter */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
}
.apps-marquee .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 10px;
    margin-right: calc(2.5rem + 10px); /* Replaces gap + preserves original spacing */
    border-radius: 9999px;
    background: linear-gradient(135deg, #6366f1, #22d3ee);
    opacity: 0.8;
    transform: translateY(-1px) translateZ(0);
}
@keyframes apps-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes apps-scroll-rev {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Light mode tuning for hero background and marquee */
/* Removed solid backgrounds */

/* Ensure hero heading has no whitening/halo */
.hero-title,
.hero .gradient-text {
    filter: none !important;
}


/* Animated verb trailing text tone */
#animatedVerb .after-text {
    color: var(--text-secondary) !important;
    opacity: 0.9;
}
html:not([data-theme="dark"]) #animatedVerb .after-text {
    color: var(--text-primary) !important;
    opacity: 1;
}
/* Match hero line tone in dark mode as well */
[data-theme="dark"] #animatedVerb .after-text {
    color: var(--text-primary) !important;
    opacity: 1;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: none;
    opacity: 1;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(to right, #3385ff 0%, #0066cc 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.btn-primary:hover {
    background: linear-gradient(to right, #4da6ff 0%, #3385ff 100%);
    box-shadow: 0 6px 20px rgba(77, 166, 255, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Blue gradient for primary buttons outside hero and pricing sections */
.cta .btn-primary,
.about .btn-primary,
.contact .btn-primary,
.success .btn-primary,
.download .btn-primary,
section:not(.hero):not(.pricing) .btn-primary {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.cta .btn-primary:hover,
.about .btn-primary:hover,
.contact .btn-primary:hover,
.success .btn-primary:hover,
.download .btn-primary:hover,
section:not(.hero):not(.pricing) .btn-primary:hover {
    background: linear-gradient(to right, #5b6cf1 0%, #50b5e5 50%, #6366f1 100%) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6), 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Premium shine sweep on primary buttons (keeps text centered) */
.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 30%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.25), rgba(255,255,255,0));
    transform: skewX(-20deg) translateX(0);
    transition: transform 0.5s ease;
    pointer-events: none;
}
.btn-primary:hover::before {
    transform: skewX(-20deg) translateX(450%);
}

/* Accessible focus ring */
.btn:focus-visible {
    outline: 2px solid rgba(99,102,241,0.7);
    outline-offset: 2px;
}

/* Premium gradient for Buy Professional button - matches the PROFESSIONAL badge */
button[onclick*="createCheckoutSession('professional')"] {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%) !important;
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.35), 0 1px 3px rgba(99, 102, 241, 0.2) !important;
}

button[onclick*="createCheckoutSession('professional')"]:hover {
    background: linear-gradient(to right, #5b6cf1 0%, #50b5e5 50%, #6366f1 100%) !important;
    box-shadow: 0 6px 20px rgba(80, 181, 229, 0.5), 0 4px 8px rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-1px);
}

/* Personal/Individual button - slightly less exciting hover */
button[onclick*="createCheckoutSession('individual')"]:hover {
    background: linear-gradient(to right, #2563eb 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Enterprise waitlist button and badge - blue to brighter purple gradient */
button[onclick*="openEnterpriseWaitlist"] {
    background: linear-gradient(to right, #4da6ff 0%, #6bb4ff 25%, #88bbff 50%, #a5b4fc 75%, #c4b5fd 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(196, 181, 253, 0.4) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

button[onclick*="openEnterpriseWaitlist"]:hover {
    background: linear-gradient(to right, #3385ff 0%, #5aa5ff 25%, #77acff 50%, #93a8ff 75%, #b5a5ff 100%) !important;
    box-shadow: 0 4px 12px rgba(181, 165, 255, 0.5) !important;
}

/* Coming Soon badge - blue to brighter purple gradient */
.badge.coming-soon {
    background: linear-gradient(to right, #4da6ff 0%, #6bb4ff 25%, #88bbff 50%, #a5b4fc 75%, #c4b5fd 100%) !important;
    box-shadow: 0 2px 8px rgba(196, 181, 253, 0.4) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: var(--primary);
    color: var(--primary);
}

/* Blue gradient for secondary buttons outside hero and pricing sections */
.cta .btn-secondary,
.about .btn-secondary,
.contact .btn-secondary,
.success .btn-secondary,
.download .btn-secondary,
section:not(.hero):not(.pricing) .btn-secondary {
    background: linear-gradient(to right, rgba(99, 102, 241, 0.8) 0%, rgba(77, 166, 255, 0.8) 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25) !important;
}

.cta .btn-secondary:hover,
.about .btn-secondary:hover,
.contact .btn-secondary:hover,
.success .btn-secondary:hover,
.download .btn-secondary:hover,
section:not(.hero):not(.pricing) .btn-secondary:hover {
    background: linear-gradient(to right, rgba(91, 108, 241, 0.9) 0%, rgba(80, 181, 229, 0.9) 50%, rgba(99, 102, 241, 0.9) 100%) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
    transform: translateY(-1px);
}

/* Dark mode refinement for Watch Demo (secondary) in hero only */
[data-theme="dark"] .hero .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    backdrop-filter: saturate(120%) blur(10px);
}
[data-theme="dark"] .hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .hero .btn-secondary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 25%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.15), rgba(255,255,255,0));
    transform: skewX(-20deg) translateX(0);
    transition: transform 0.5s ease;
    pointer-events: none;
}
[data-theme="dark"] .hero .btn-secondary:hover::before {
    transform: skewX(-20deg) translateX(420%);
}
[data-theme="dark"] .hero .btn-secondary .play-icon {
    color: #7dd3fc;
    transition: color 0.2s ease;
}
[data-theme="dark"] .hero .btn-secondary:hover .play-icon {
    color: #a5b4fc;
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
}

.price-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.play-icon {
    font-size: 1.25rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: none;
    opacity: 1;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4da6ff;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-primary); /* Brighter for glass contrast */
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Terminal Badge Overlay */
.terminal-badge-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid #334155;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    transform: rotate(3deg);
    z-index: 10;
    animation: none;
}

.terminal-badge-overlay .terminal-icon {
    color: #10b981;
    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
    text-shadow: none;
}

.terminal-badge-overlay .terminal-text {
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    text-shadow: none;
}

@keyframes terminalGlow {
    0% { box-shadow: 0 4px 12px rgba(158, 252, 158, 0.15); }
    100% { box-shadow: 0 4px 20px rgba(158, 252, 158, 0.3), 0 0 18px rgba(158, 252, 158, 0.12); }
}

@keyframes terminalFloat {
    0%, 100% { transform: rotate(6deg) translateY(0px); }
    50% { transform: rotate(6deg) translateY(-14px); }
}

/* App Preview */
.hero-visual {
    position: relative;
    animation: none;
    opacity: 1;
    perspective: 1000px;
}

.app-preview {
    position: relative;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-visual:hover .app-preview {
    transform: rotateY(0) rotateX(0);
}

.app-window {
    background: rgba(248, 250, 252, 1);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

[data-theme="dark"] .app-window {
    background: rgba(15, 23, 42, 1);
}

.window-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .window-header {
    background: rgba(30, 41, 59, 0.95);
}

.window-controls {
    display: flex;
    gap: 0.25rem;
}

.window-controls span {
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.window-controls .minimize:hover {
    background: rgba(255, 255, 255, 0.2);
}

.window-controls .maximize:hover {
    background: rgba(255, 255, 255, 0.2);
}

.window-controls .close:hover {
    background: #e81123;
    color: white;
}

.window-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.window-content {
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, #172b48, #0d1830);
    position: relative;
    padding: 1.5rem;
    display: flex;
    align-items: stretch;
}

.editor-page {
    width: 100%;
    padding: 1.7rem 2rem;
    border-radius: 0.65rem;
    background: #f8fafc;
    color: #243247;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.editor-eyebrow {
    color: #74839b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.editor-page p {
    color: #243247;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    line-height: 1.7;
    margin: 0;
    max-width: 44ch;
}

.editor-caret {
    display: inline-block;
    width: 2px;
    height: 1.1rem;
    margin-top: 0.3rem;
    background: #438de3;
    vertical-align: text-bottom;
}

.dictation-pill {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #1a2537;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.27);
}

.dictation-pill span {
    color: #fff;
}

.dictation-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #f57370;
}

.dictation-level {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 0.9rem;
    margin-left: 0.15rem;
}

.dictation-level i {
    width: 2px;
    height: 0.35rem;
    border-radius: 2px;
    background: #83c7f1;
}

.dictation-level i:nth-child(2),
.dictation-level i:nth-child(4) { height: 0.7rem; }

.dictation-level i:nth-child(3) { height: 0.9rem; }

@media (max-width: 520px) {
    .window-content { padding: 0.8rem; }
    .editor-page { padding: 1rem; }
    .editor-eyebrow { margin-bottom: 0.4rem; }
    .dictation-pill { bottom: 0.5rem; font-size: 0.65rem; }
}

/* Flow State Section */
.flow-state {
    padding: 100px 0;
    background: transparent;
    position: relative;
    opacity: 1 !important;
    transform: none !important;
}

.flow-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.flow-text {
    /* Subtle glass background for readability */
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2.5rem;
    border: none;
}

.flow-text h2 {
    font-size: 2.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.flow-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.flow-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    /* Glass effect */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-md);
}

.benefit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1); /* Lighter on hover */
}

.benefit-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    background: rgba(99, 102, 241, 0.15);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    user-select: none;
    cursor: default;
}

.benefit:hover .benefit-icon {
    transform: none;
    background: rgba(99, 102, 241, 0.25);
    border-color: transparent;
    box-shadow: none;
}

.benefit-icon.lightning-bolt {
    width: 32px;
    height: 32px;
    font-size: unset;
}

.benefit h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

/* Workflow Comparison Styles */
.workflow-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: none;
    box-shadow: var(--shadow-xl);
    opacity: 1 !important;
    transform: none !important;
}

.workflow-column {
    padding: 1.5rem;
    border-radius: 20px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bad-workflow {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.good-workflow {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.workflow-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.bad-workflow .workflow-title {
    color: var(--error);
}

.good-workflow .workflow-title {
    color: var(--success);
}

.workflow-chain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--glass-bg); /* Nested glass */
    backdrop-filter: blur(4px);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 160px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border: 1px solid var(--glass-border);
}

.workflow-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    user-select: none;
    cursor: default;
}

/* Target the emoji inside the span for specific effects */
.step-icon span {
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.workflow-step:hover .step-icon {
    transform: translateY(-4px);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.1));
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-light);
}

.workflow-step:hover .step-icon span {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

.step-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    user-select: none;
    cursor: default;
}

.workflow-arrow {
    width: 20px;
    height: 20px;
    margin: 0.25rem 0;
    opacity: 0.5;
    color: currentColor;
}

.bad-workflow .workflow-arrow {
    color: var(--error);
}

.good-workflow .workflow-arrow {
    color: var(--success);
}

.workflow-arrow::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 14l-7 7m0 0l-7-7m7 7V3'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 14l-7 7m0 0l-7-7m7 7V3'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.final-step {
    border-width: 2px;
}

.bad-workflow .final-step {
    background: rgba(254, 242, 242, 0.4);
    border-color: rgba(239, 68, 68, 0.4);
}

[data-theme="dark"] .bad-workflow .final-step {
    background: rgba(127, 29, 29, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

.good-workflow .final-step {
    background: rgba(236, 253, 245, 0.4);
    border-color: rgba(16, 185, 129, 0.4);
}

[data-theme="dark"] .good-workflow .final-step {
    background: rgba(6, 78, 59, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* AI Prompts Section */
.ai-prompts {
    padding: 80px 0;
    background: transparent;
    color: var(--text-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    opacity: 1 !important;
    transform: none !important;
}

.ai-prompts .section-title,
.ai-prompts .section-subtitle {
    color: var(--text-primary);
}

.ai-prompts .section-subtitle {
    opacity: 0.9;
}

.prompt-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.prompt-example {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.prompt-example.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--glass-border);
}

.prompt-type {
    font-weight: 600;
}

.time-taken {
    font-size: 0.875rem;
    opacity: 0.8;
}

.prompt-content {
    padding: 2rem 1.5rem;
    min-height: 200px;
}

.prompt-content.typing {
    position: relative;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: white;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
    margin-left: 1px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.typing-struggles {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(239, 68, 68, 0.8);
    font-style: italic;
}

.voice-waves {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.voice-waves span {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: voice-wave 1s ease-in-out infinite;
}

.voice-waves span:nth-child(1) { height: 20px; animation-delay: 0s; }
.voice-waves span:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.voice-waves span:nth-child(3) { height: 40px; animation-delay: 0.2s; }
.voice-waves span:nth-child(4) { height: 30px; animation-delay: 0.3s; }
.voice-waves span:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes voice-wave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.prompt-content p {
    line-height: 1.8;
    opacity: 0.95;
}

.prompt-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.prompt-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.stat-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: transparent;
    opacity: 1 !important;
    transform: none !important;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.85rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Feature Card Wide Variant */
.feature-card-wide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.computer-use-callout {
    margin-top: 2rem;
}

.feature-card-wide:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-card-wide h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    /* Gradient text can be invisible if background is wrong or if -webkit-text-fill-color is not supported correctly in some contexts. 
       Reverting to standard primary color to ensure visibility. */
    color: var(--text-primary); 
    /* background: var(--gradient-primary); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure ::before doesn't affect icons */
.feature-card::before {
    z-index: 0 !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
    /* DO NOT change background on hover - keep it the same */
    background: var(--glass-bg) !important;
}

/* Prevent any overlay from affecting icons */
.feature-card:hover::before {
    z-index: 0 !important;
}

/* Specific Icon Styles with SVG backgrounds */
.icon-universal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236366f1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z'/%3E%3C/svg%3E"); }
.icon-ai { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b5cf6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z'/%3E%3C/svg%3E"); }
.icon-voice-editing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23eab308'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z'/%3E%3C/svg%3E"); }
.icon-fast { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23eab308'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3.75 13.5l10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75z'/%3E%3C/svg%3E"); }
.icon-voice-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f97316'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M8.25 4.5l7.5 7.5-7.5 7.5'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M12 4.5l7.5 7.5-7.5 7.5'/%3E%3C/svg%3E"); }
.icon-security { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z'/%3E%3C/svg%3E"); }

.feature-icon-pro {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Future Update Card */
.future-update-card {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    
    /* Default / Light Mode Styles */
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.future-update-title {
    color: #2563eb; /* Darker blue for light mode */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.future-update-text {
    color: #2563eb; /* Darker blue for light mode */
    margin: 0;
    line-height: 1.6;
}

/* Dark Mode Styles */
html[data-theme="dark"] .future-update-card {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

html[data-theme="dark"] .future-update-title,
html[data-theme="dark"] .future-update-text {
    color: #60a5fa; /* Bright blue */
}

/* Even brighter on hover or specific emphasis if needed, but requested base color is bright blue */
/* #60a5fa is Tailwind blue-400, quite bright. 
   For "even brighter", we can go to blue-300 #93c5fd or cyan-300 #67e8f9 if needed,
   but #60a5fa is standard bright blue for dark mode text. 
   Let's use #93c5fd (blue-300) for title to make it pop more per "even brighter" request. */

html[data-theme="dark"] .future-update-title {
    color: #93c5fd;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: transparent;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
}

.step {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step:nth-child(2) .step-number {
    border-color: #4da6ff;
    color: #4da6ff;
}

.step:nth-child(3) .step-number {
    border-color: #a78bfa;
    color: #a78bfa;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
    background: transparent;
}

/* Mac Waitlist Section */
.mac-waitlist {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    color: var(--text-primary) !important;
    box-shadow: var(--shadow-lg);
}

.mac-waitlist h2,
.mac-waitlist h3 {
    color: var(--text-primary) !important;
}

.mac-waitlist p {
    color: var(--text-secondary) !important;
}

.mac-waitlist form {
    margin-top: 1rem !important;
}

.mac-waitlist input[type="email"] {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-primary) !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    flex: 1 !important;
}

.mac-waitlist input[type="email"]::placeholder {
    color: var(--text-secondary) !important;
}

.mac-waitlist button[type="submit"],
.mac-waitlist .btn {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3) !important;
    transition: all 0.3s ease;
}

.mac-waitlist button[type="submit"]:hover,
.mac-waitlist .btn:hover {
    background: linear-gradient(to right, #5b6cf1 0%, #50b5e5 50%, #6366f1 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6) !important;
}

/* API Notice Sections - Dark Mode */
.api-notice {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

[data-theme="dark"] .api-notice {
    background: rgba(255, 193, 7, 0.05) !important;
    border: 1px solid rgba(255, 193, 7, 0.2) !important;
}

[data-theme="dark"] .api-notice-title {
    color: #fbbf24 !important;
}

[data-theme="dark"] .api-notice-text {
    color: #fde047 !important;
}

[data-theme="dark"] .api-notice-link {
    color: #fbbf24 !important;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.use-case h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.use-case p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    opacity: 1 !important;
    transform: none !important;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 3px solid transparent;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] .pricing-card.featured {
    background: rgba(15, 23, 42, 0.85);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), background 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.pricing-card.small {
    transform: scale(0.95);
}

.pricing-card.business,
.pricing-card:has(.badge.coming-soon) {
    border: 3px solid transparent;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    position: relative;
}

.pricing-card:has(.badge.coming-soon)::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(to right, #4da6ff 0%, #6bb4ff 20%, #88bbff 40%, #a5b4fc 65%, #c4b5fd 85%, #c4b5fd 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(248, 250, 252, 0.95);
}

[data-theme="dark"] .pricing-card.featured:hover {
    background: rgba(15, 23, 42, 0.95);
}

.pricing-card:has(.badge.coming-soon):hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--glass-bg);
}

.pricing-card .badge {
    position: absolute !important;
    top: -15px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap;
    text-align: center;
    width: max-content;
    margin: 0 !important;
    color: white !important;
    border: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Personal badge gradient */
.pricing-card:not(.featured):not(.small) .badge {
    background: linear-gradient(to right, #3385ff 0%, #0066cc 100%);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.badge.most-popular {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.plan-name {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-family: var(--font-sans);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, #3385ff 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional license price gradient */
.pricing-card.featured .amount {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.decimal {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-label {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    white-space: normal;
    line-height: 1.45;
    font-size: 0.9rem;
}

.price-label s {
    color: var(--text-secondary);
    margin-right: 0.35rem;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-left: 0.35rem;
    font-weight: 500;
}

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

.pricing-cta {
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.plan-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.45;
}

.upgrade-btn {
    margin-top: 1.25rem;
    font-size: 0.85rem;
}

.pricing-footnote,
.section-footnote {
    max-width: 720px;
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-footnote a {
    color: var(--primary);
}

.pricing-card.business {
    border: 2px solid var(--border);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    text-decoration: none;
}

.mac-waitlist {
    max-width: 720px;
    margin: 0 auto 4rem;
}

.mac-waitlist-inner {
    text-align: center;
}

.mac-waitlist-inner h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.mac-waitlist-inner form {
    display: flex;
    gap: 0.75rem;
    max-width: 440px;
    margin: 1.25rem auto 0;
}

#macWaitlistMessage {
    margin-top: 1rem;
    display: none;
}

.download-hero-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.download-hero-card h2 {
    margin-bottom: 0.5rem;
}

.download-hero-card p {
    margin-bottom: 1.25rem;
}

.features-list {
    list-style: none;
    margin-bottom: 0;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.5;
}

.features-list li span:not(.feature-icon) {
    flex: 1;
    line-height: 1.5;
}

/* Professional CSS Icons for Pricing */
.pricing .feature-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing .feature-icon.check {
    background: var(--success);
}

.pricing .feature-icon.check::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing .feature-icon.cross {
    background: var(--error);
}

.pricing .feature-icon.cross::after {
    content: '×';
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-1px);
}

.pricing .feature-icon.star {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.pricing .feature-icon.star::after {
    content: '★';
    color: white;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix pricing card feature icon alignment */
.pricing .features-list li {
    align-items: center !important;
    display: flex !important;
    gap: 0.75rem !important;
}

.pricing .feature-icon {
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.pricing .features-list li span:not(.feature-icon) {
    display: block !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
}

/* Professional card features emphasis */
.pricing-card.featured .features-list li span:not(.feature-icon) {
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Dark mode fixes for Download Free and Upgrade buttons in pricing section */
[data-theme="dark"] .pricing .btn-secondary {
    background: rgba(99, 102, 241, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="dark"] .pricing .btn-secondary:hover {
    background: rgba(99, 102, 241, 0.35) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25) !important;
    transform: translateY(-1px);
}

.guarantee {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: transparent;
    opacity: 1 !important;
    transform: none !important;
}

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

.testimonial {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.stars {
    margin-bottom: 1rem;
}

.testimonial p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author strong {
    display: block;
    margin-bottom: 0.25rem;
}

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

/* FAQ Section */
.faq {
    padding: 80px 0;
    opacity: 1 !important;
    transform: none !important;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
}

[data-theme="dark"] .faq-item {
    background: rgba(15, 23, 42, 0.4);
}

.faq-item:hover {
    transform: translateY(-2px);
    background: var(--glass-bg);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .faq-item:hover {
    background: rgba(15, 23, 42, 0.6);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: transparent;
}

.cta-content {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-xl);
}

.cta-content h2 {
    font-size: 2.85rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.cta .btn-primary {
    background: var(--primary);
    color: white;
}

.cta .btn-primary:hover {
    background: var(--primary-dark);
}

.cta .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta .btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.guarantee-text {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}


/* Mac waitlist button dark mode */
[data-theme="dark"] .mac-waitlist button[type="submit"],
[data-theme="dark"] .mac-waitlist .btn {
    background: linear-gradient(to right, #6366f1 0%, #4da6ff 100%) !important;
    color: white !important;
}
[data-theme="dark"] .mac-waitlist button[type="submit"]:hover,
[data-theme="dark"] .mac-waitlist .btn:hover {
    background: linear-gradient(to right, #5b6cf1 0%, #50b5e5 50%, #6366f1 100%) !important;
}

/* Download page upgrade section dark mode */
[data-theme="dark"] .upgrade-section {
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%) !important;
}

/* Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    font-size: 2rem;
}

.footer-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links h4 {
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

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

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

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

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .flow-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .flow-text h2 {
        font-size: 2rem;
    }

    .benefit {
        text-align: left;
    }

    .workflow-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .workflow-column {
        padding: 1rem;
    }

    .workflow-chain {
        gap: 0.25rem;
    }

    .workflow-step {
        min-width: 120px;
        padding: 0.75rem;
    }

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

    .workflow-arrow {
        transform: scale(0.8);
        margin: 0.25rem 0;
    }

    .prompt-showcase {
        grid-template-columns: 1fr;
    }

    .prompt-stats {
        grid-template-columns: 1fr;
    }

    .prompt-example.featured {
        transform: none;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        /* Glass nav menu */
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    [data-theme="dark"] .nav-menu {
        background: rgba(15, 23, 42, 0.9);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
    
    .theme-toggle {
        margin-left: 0.5rem;
    }
    
    .toggle-track {
        width: 40px;
        height: 22px;
    }
    
    .toggle-thumb {
        width: 16px;
        height: 16px;
        top: 3px;
    }
    
    .theme-toggle.dark .toggle-thumb {
        transform: translateX(18px);
    }
    
    .navbar .container {
        gap: 0.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.75rem;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}
