/* Fluence - Obsidian Glass Design System */

/* CSS Variables */
:root {
    /* Brand Design Tokens */
    --font-display: 'Sora', sans-serif;
    --font-body-family: 'Hanken Grotesk', sans-serif;
    --font-mono-family: 'Geist Mono', monospace;

    --nav-height: 80px;

    --color-bg: #000000;
    --color-surface: #121216;
    --color-surface-elevated: #1a1a22;
    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-accent: rgba(168, 85, 247, 0.25);

    --color-violet: #A855F7;
    --color-violet-light: #c084fc;
    --color-teal: #00f2fe;
    --color-teal-light: #22d3ee;
    --color-green: #10B981;

    --color-text-primary: #F4F4F5;
    --color-text-secondary: #9E9EA7;
    --color-text-muted: rgba(158, 158, 167, 0.6);

    --space-section: clamp(4rem, 8vw, 7rem);

    /* Legacy Mappings for Compatibility */
    --bg-obsidian: var(--color-bg);
    --surface-dark: var(--color-surface);
    --primary-amethyst: var(--color-violet);
    --accent-cyan: var(--color-teal);
    --glow-indigo: #6366F1;
    --text-white: var(--color-text-primary);
    --text-muted: var(--color-text-secondary);
    --text-dark: #1F1F24;
    
    /* System Colors */
    --color-green-legacy: #10B981;
    --color-green-bg: rgba(16, 185, 129, 0.1);
    
    /* Font Families (Backward Compatible Mappings) */
    --font-heading: var(--font-display);
    --font-body: var(--font-body-family);
    --font-mono: var(--font-mono-family);
    
    /* Elevation & Shadows */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.25);
    --shadow-cyan-glow: 0 0 30px rgba(0, 242, 254, 0.25);
    
    /* Interpolation helper variables for gradients */
    --in-oklch: ;
}

@supports (linear-gradient(in oklch, white, black)) {
    :root {
        --in-oklch: in oklch;
    }
}

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

@media (max-width: 768px) {
    html, body {
        overflow-x: clip;
        width: 100%;
    }
    .wizard-step {
        padding: 16px;
    }
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-white);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0, 242, 254, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
    animation: mesh-drift 12s ease-in-out infinite;
}

@keyframes mesh-drift {
    0%, 100% {
        background: 
            radial-gradient(ellipse 80% 60% at 20% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
            radial-gradient(ellipse 60% 50% at 80% 80%, rgba(0, 242, 254, 0.05) 0%, transparent 50%),
            radial-gradient(ellipse 50% 40% at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
    }
    33% {
        background: 
            radial-gradient(ellipse 70% 55% at 30% 30%, rgba(168, 85, 247, 0.07) 0%, transparent 50%),
            radial-gradient(ellipse 55% 45% at 75% 85%, rgba(0, 242, 254, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse 45% 35% at 45% 55%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
    }
    66% {
        background: 
            radial-gradient(ellipse 75% 65% at 15% 35%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse 65% 55% at 85% 70%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
            radial-gradient(ellipse 55% 45% at 55% 45%, rgba(0, 242, 254, 0.04) 0%, transparent 60%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }
}

/* Typography Classes */
h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--text-white);
    font-weight: 700;
}

h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-white);
    font-weight: 600;
}

p,li,label,input,button,textarea,select,a {
    font-family: var(--font-body);
}

span {
    font-family: inherit;
}

/* Generic In-Text Links (High legibility, no classes affected) */
a:not([class]) {
    color: var(--color-violet-light);
    text-decoration: underline;
    text-decoration-color: rgba(192, 132, 252, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:not([class]):hover {
    color: var(--color-teal-light);
    text-decoration-color: var(--color-teal-light);
}

/* Documentation Page Footer Styles (for site-footer in docs.html) */
#site-footer {
    width: 100%;
    margin-top: auto;
    padding: 60px 40px 30px 40px;
    border-top: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    z-index: 10;
}

#site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

#site-footer .footer-brand {
    max-width: 320px;
}

#site-footer .footer-brand p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 12px;
}

#site-footer .footer-links-grid {
    display: flex;
    gap: 60px;
}

#site-footer .footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#site-footer .footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#site-footer .footer-col a {
    color: var(--text-muted);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

#site-footer .footer-col a:hover {
    color: var(--color-teal-light);
}

#site-footer .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

#site-footer .footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

code, pre, kbd, .font-mono, .technical-spec, .accuracy-val, .version-num, .api-string {
    font-family: var(--font-mono);
}

/* ==========================================================================
   Full-Page Subtle Background Waveform Canvas
   ========================================================================== */
#scroll-waveform-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

#scroll-waveform-canvas.vanta-initialized {
    opacity: 1;
}


/* ==========================================================================
   Desktop & Android Overlay Pill Waveform Canvas (inside simulator mockups)
   ========================================================================== */
#desktop-waveform-canvas,
#android-waveform-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   Scroll-Reveal Animation System
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-64px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.reveal-right {
    opacity: 0;
    transform: translateX(64px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(26, 26, 32, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-glass);
    border-radius: 24px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.1), var(--shadow-glass);
    background: rgba(30, 30, 40, 0.65);
}

/* Global Custom Dark Mode Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-border-accent);
}

/* No blueprint grid — the scroll waveform canvas provides ambient depth */

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 20px 24px;
    background: transparent;
    border-bottom: none;
}

.nav-container {
    width: fit-content;
    max-width: calc(100vw - 48px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 8px 8px 8px 22px;
    background: rgba(10, 10, 14, 0.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nav-container.is-scrolled {
    background: rgba(10, 10, 14, 0.78);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-white);
}

.logo-text span {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.github-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.github-nav-link:hover {
    color: var(--text-white);
}

.github-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.github-nav-link:hover .github-icon {
    transform: scale(1.1);
}

.nav-item {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-teal);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.btn-nav-download {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--primary-amethyst);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.btn-nav-download:hover {
    background: rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.btn-nav-download:hover .github-icon {
    transform: scale(1.1);
}

/* Main Layout Grid */
main {
    flex-grow: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    z-index: 10;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    gap: 28px;
    position: relative;
    padding-top: 110px;
}

.hero-bg {
    background:
      radial-gradient(ellipse 70% 60% at 50% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 65%),
      radial-gradient(ellipse 50% 40% at 70% 15%, rgba(0, 242, 254, 0.06) 0%, transparent 55%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    -webkit-mask-image: radial-gradient(ellipse 48% 48% at 50% 50%, black 50%, transparent 100%);
    mask-image: radial-gradient(ellipse 48% 48% at 50% 50%, black 50%, transparent 100%);
}

/* Hero Pulse Rings (SVG sound wave ripples) */
.hero-pulse-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.hero-pulse-rings circle {
    fill: none;
    stroke: var(--primary-amethyst);
    stroke-width: 1;
    transform-origin: center;
    animation: pulse-ring-expand 5s ease-out infinite;
    opacity: 0;
}

.hero-pulse-rings circle:nth-child(1) { animation-delay: 0s;    r: 80px;  cx: 350; cy: 350; }
.hero-pulse-rings circle:nth-child(2) { animation-delay: 1s;    r: 130px; cx: 350; cy: 350; stroke: rgba(0,242,254,0.7); }
.hero-pulse-rings circle:nth-child(3) { animation-delay: 2s;    r: 185px; cx: 350; cy: 350; }
.hero-pulse-rings circle:nth-child(4) { animation-delay: 3s;    r: 245px; cx: 350; cy: 350; stroke: rgba(0,242,254,0.5); }
.hero-pulse-rings circle:nth-child(5) { animation-delay: 4s;    r: 310px; cx: 350; cy: 350; }

@keyframes pulse-ring-expand {
    0%   { opacity: 0.55; transform: scale(0.35); }
    60%  { opacity: 0.15; }
    100% { opacity: 0;    transform: scale(1.1); }
}

.hero > *:not(.hero-noise):not(.hero-pulse-rings):not(.float-shape) {
    position: relative;
    z-index: 2;
}

/* Hero badge group */
.hero-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.version-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.05em;
}

.version-tag::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* "Now Live" status badge below version tag */
.status-live-tag {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #34d399;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.04em;
}

.live-dot, .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-green); /* default */
    position: relative;
    vertical-align: middle;
}

.live-dot::after, .status-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: inherit;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}


.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 780px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start, var(--primary-amethyst)) 0%, var(--gradient-end, var(--accent-cyan)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
    margin-top: 8px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary, .hero-btn {
    background: var(--primary-amethyst);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover, .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.35);
    filter: brightness(1.05);
}

.btn-secondary, .hero-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover, .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.2);
}

.btn-primary svg, .btn-secondary svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Phone Simulator Section - reduced bottom padding to eliminate dead zone gap */
.simulator-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 0 0 0;
}

.device-frame {
    width: 320px;
    height: 650px;
    border-radius: 40px;
    border: 8px solid #202025;
    background: #0D0E12;
    position: relative;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 100px -20px rgba(168, 85, 247, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 20;
    animation: float-device 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float-device {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Phone Status Bar */
.phone-status-bar {
    height: 32px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 0 20px;
    opacity: 0.6;
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-white);
    pointer-events: none;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icons svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Phone Screen / Note App */
.phone-screen {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.phone-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.back-arrow {
    width: 24px;
    height: 24px;
    fill: var(--text-white);
    opacity: 0.8;
    margin-bottom: 20px;
    cursor: pointer;
}

.note-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.note-body {
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.5;
    position: relative;
    outline: none;
}

/* Glowing floating typing cursor */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background-color: var(--primary-amethyst);
    box-shadow: 0 0 8px var(--primary-amethyst);
    margin-left: 2px;
    animation: cursor-blink 0.8s step-end infinite;
    vertical-align: middle;
}

@keyframes cursor-blink {
    50% { opacity: 0; }
}

/* Floating Overlay Waveform Pill (from Screenshot 3) */
.floating-overlay-pill {
    position: absolute;
    top: 177px;
    left: 20px;
    width: 135px;
    height: 40px;
    background: rgba(12, 12, 15, 0.95);
    border: 2px solid var(--primary-amethyst);
    border-radius: 999px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 40;
}

.floating-overlay-pill.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Success State (State 3 from Screenshot 2) */
.floating-overlay-pill.success {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.overlay-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.overlay-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.overlay-close-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Animated SVG Waveform container */
.overlay-waveform-container {
    flex-grow: 1;
    height: 32px;
    margin: 0 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.overlay-waveform-svg {
    width: 100%;
    height: 100%;
}

.waveform-path {
    fill: none;
    stroke: var(--primary-amethyst);
    stroke-width: 2.2;
    stroke-linecap: round;
    transition: stroke 0.3s;
}

.floating-overlay-pill.success .waveform-path {
    stroke: var(--accent-cyan);
}

.overlay-check-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-amethyst);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.2s;
    flex-shrink: 0;
}

.overlay-check-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.floating-overlay-pill.success .overlay-check-btn {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Simulated Floating Bubble next to cursor (from Screenshot 2) */
.simulated-floating-bubble {
    position: absolute;
    left: 20px;
    top: 175px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-amethyst);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.5);
    z-index: 30;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.simulated-floating-bubble::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.4);
    animation: bubble-pulse 2s infinite ease-out;
}

@keyframes bubble-pulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.3); opacity: 0; }
}

.simulated-floating-bubble svg {
    width: 18px;
    height: 18px;
    fill: var(--text-white);
}

.simulated-floating-bubble.active {
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
}

/* Voice Bar Bottom Overlay (from Screenshot 2) */
.bottom-voice-bar {
    position: absolute;
    bottom: 40px; /* Raised to prevent clipping by border radius */
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(140%); /* Adjust off-screen distance */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.bottom-voice-bar.active {
    transform: translateY(0);
    opacity: 1;
}

.voice-status-text {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--primary-amethyst);
    letter-spacing: 0.05em;
    font-weight: 600;
    animation: status-breath 1.5s ease-in-out infinite alternate;
}

@keyframes status-breath {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.voice-bar-pill {
    width: 100%;
    height: 56px;
    background: rgba(18, 18, 25, 0.9);
    border: 1.5px solid rgba(168, 85, 247, 0.4);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15), 0 0 20px rgba(168, 85, 247, 0.1);
}

.voice-bar-action {
    background: none;
    border: none;
    color: var(--text-white);
    opacity: 0.8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s, opacity 0.2s;
}

.voice-bar-action:hover {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.voice-bar-action svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.voice-bar-mic-container {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    margin-top: 0;
}

.voice-bar-mic-orb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-amethyst);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
    z-index: 10;
    transition: transform 0.3s;
}

.voice-bar-mic-orb:hover {
    transform: scale(1.05);
}

.voice-bar-mic-orb svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.voice-bar-mic-pulsing-bg {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-amethyst);
    animation: orb-pulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

@keyframes orb-pulse {
    0% { transform: scale(0.85); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

.simulator-instruction {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 16px;
    pointer-events: none;
    position: relative;
    z-index: 40;
}

.simulator-instruction svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-amethyst);
}

.features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.features-container h2 {
    font-size: clamp(28px, 4vw, 38px);
    text-align: center;
    letter-spacing: -0.03em;
    font-family: var(--font-display);
    font-weight: 700;
}

.features-subheading {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

/* Horizontal Scroll Carousel */
.features-carousel-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.features-carousel-wrapper::before,
.features-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

.features-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg), transparent);
}

.features-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg), transparent);
}

.features-marquee {
    display: flex;
    flex-direction: row;
    width: max-content;
    padding: 8px 40px 24px 40px;
    animation: marquee-scroll 60s linear infinite;
    will-change: transform;
}

.features-carousel-wrapper:hover .features-marquee,
.features-carousel-wrapper:focus-within .features-marquee {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex-shrink: 0;
    padding-right: 24px;
}

@keyframes marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .features-marquee {
        animation: none;
        transform: none;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .features-marquee::-webkit-scrollbar {
        display: none;
    }
}

/* Base Bento Card — horizontal carousel item */
/* Base Bento Card — horizontal carousel item */
.feature-card-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    width: 350px;
    height: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
    border-radius: 24px;
    background: rgba(10, 10, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.feature-card-vertical::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), var(--glow-color, rgba(168, 85, 247, 0.08)), transparent 80%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card-vertical::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(200px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), var(--border-glow-color, rgba(168, 85, 247, 0.35)), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card-vertical:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glass);
}

.feature-card-vertical:hover::before,
.feature-card-vertical:hover::after {
    opacity: 1;
}

/* Color-coded variables for feature spotlights */
#feat-voice {
    --glow-color: rgba(168, 85, 247, 0.12);
    --border-glow-color: rgba(168, 85, 247, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.15);
}

#feat-agent {
    --glow-color: rgba(99, 102, 241, 0.12);
    --border-glow-color: rgba(99, 102, 241, 0.45);
}

#feat-privacy {
    --glow-color: rgba(16, 185, 129, 0.1);
    --border-glow-color: rgba(16, 185, 129, 0.35);
}

#feat-offline {
    --glow-color: rgba(0, 242, 254, 0.12);
    --border-glow-color: rgba(0, 242, 254, 0.4);
}

/* Bare, clean icon boxes */
.feature-icon-box {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    outline: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.feature-card-vertical:hover .feature-icon-box {
    transform: scale(1.05);
}

.feature-icon-box svg {
    width: 40px;
    height: 40px;
}

.feature-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-text h3 {
    font-size: 19px;
    font-weight: 700;
}

/* Bento layout inner structures */
.feature-bento-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    width: 100%;
}

.feature-bento-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 120px;
    position: relative;
}

/* CSS animated waveform bars (Card 1) */
.bento-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 64px;
    padding: 8px 0;
}

.wave-bar {
    width: 3.5px;
    background: linear-gradient(to top, var(--color-violet) 0%, var(--color-teal) 100%);
    border-radius: 999px;
    animation: bento-wave-pulse 1.2s ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.3);
}

.bar-1 { animation-delay: 0.0s;  height: 24px; }
.bar-2 { animation-delay: 0.1s;  height: 44px; }
.bar-3 { animation-delay: 0.2s;  height: 18px; }
.bar-4 { animation-delay: 0.3s;  height: 52px; }
.bar-5 { animation-delay: 0.4s;  height: 30px; }
.bar-6 { animation-delay: 0.5s;  height: 48px; }
.bar-7 { animation-delay: 0.15s; height: 36px; }
.bar-8 { animation-delay: 0.25s; height: 20px; }
.bar-9 { animation-delay: 0.35s; height: 40px; }
.bar-10 { animation-delay: 0.45s; height: 28px; }

@keyframes bento-wave-pulse {
    0%   { transform: scaleY(0.3); opacity: 0.6; }
    100% { transform: scaleY(1.0);  opacity: 1; }
}

/* Bento Orbiting Core visual (Card 2) */
.bento-agent-orbit {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(168, 85, 247, 0.2);
    border-radius: 50%;
}

.ring-outer {
    width: 90px;
    height: 90px;
    animation: rotate-clockwise 12s linear infinite;
    border-color: rgba(0, 242, 254, 0.15);
}

.ring-mid {
    width: 64px;
    height: 64px;
    animation: rotate-counter-clockwise 8s linear infinite;
    border-color: rgba(168, 85, 247, 0.3);
}

.ring-inner {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: rotate-clockwise 6s linear infinite;
}

.orbit-core {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-violet) 0%, var(--color-teal) 100%);
    box-shadow: 0 0 15px var(--color-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    animation: pulse-core 2s ease-in-out infinite alternate;
}

.orbit-core svg {
    width: 14px;
    height: 14px;
}

.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-teal);
    box-shadow: 0 0 8px var(--color-teal);
}

.dot-1 {
    top: -3px;
    left: calc(50% - 3px);
}

.dot-2 {
    top: -3px;
    left: calc(50% - 3px);
    background: var(--color-violet-light);
    box-shadow: 0 0 8px var(--color-violet-light);
}

.dot-3 {
    top: -3px;
    left: calc(50% - 3px);
    background: var(--color-violet);
    box-shadow: 0 0 8px var(--color-violet);
}

@keyframes rotate-clockwise {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
    0%   { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse-core {
    0%   { transform: scale(0.95); box-shadow: 0 0 10px rgba(168, 85, 247, 0.6); }
    100% { transform: scale(1.1);  box-shadow: 0 0 20px rgba(0, 242, 254, 0.9); }
}

/* Bento Security Shield & Matrix rain visual (Card 3) */
.bento-security-shield {
    position: relative;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.security-shield-svg {
    position: relative;
    width: 32px;
    height: 32px;
    color: var(--color-violet-light);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
    z-index: 3;
    animation: float-shield 3s ease-in-out infinite alternate;
}

.security-shield-svg svg {
    width: 100%;
    height: 100%;
}

.security-shield-glow {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    filter: blur(2px);
    z-index: 1;
}

.matrix-rain {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 8px;
    opacity: 0.25;
    z-index: 2;
    pointer-events: none;
}

.matrix-rain span {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--color-green);
    text-shadow: 0 0 3px var(--color-green);
    animation: rain-fall 2.5s linear infinite;
    transform: translateY(-20px);
    display: inline-block;
}

.matrix-rain span:nth-child(1) { animation-delay: 0.2s; animation-duration: 2.1s; }
.matrix-rain span:nth-child(2) { animation-delay: 0.8s; animation-duration: 2.7s; }
.matrix-rain span:nth-child(3) { animation-delay: 0.5s; animation-duration: 1.8s; }
.matrix-rain span:nth-child(4) { animation-delay: 1.2s; animation-duration: 3.1s; }
.matrix-rain span:nth-child(5) { animation-delay: 0.1s; animation-duration: 2.4s; }
.matrix-rain span:nth-child(6) { animation-delay: 1.5s; animation-duration: 2.0s; }
.matrix-rain span:nth-child(7) { animation-delay: 0.9s; animation-duration: 2.9s; }

@keyframes float-shield {
    0%   { transform: translateY(-2px); }
    100% { transform: translateY(2px); }
}

@keyframes rain-fall {
    0%   { transform: translateY(-15px); opacity: 0; }
    30%  { opacity: 1; }
    80%  { opacity: 0.8; }
    100% { transform: translateY(85px); opacity: 0; }
}

/* Bento CPU Chip visual (Card 4) */
.bento-cpu-chip {
    position: relative;
    width: 100px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-socket {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 254, 0.25);
    background: rgba(10, 10, 15, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
    z-index: 2;
}

.chip-silicon {
    width: 36px;
    height: 36px;
    color: var(--color-teal);
    filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.5));
}

.chip-silicon svg {
    width: 100%;
    height: 100%;
}

.circuit-pulses {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.pulse {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
    opacity: 0;
}

.pulse-t {
    top: 15px;
    left: 50%;
    width: 2px;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, var(--color-teal), transparent);
    animation: pulse-vertical-in 2s infinite ease-in-out;
}

.pulse-b {
    bottom: 15px;
    left: 50%;
    width: 2px;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(to top, transparent, var(--color-teal), transparent);
    animation: pulse-vertical-in 2s infinite ease-in-out 1s;
}

.pulse-l {
    left: 15px;
    top: 50%;
    height: 2px;
    width: 18px;
    transform: translateY(-50%);
    background: linear-gradient(to right, transparent, var(--color-teal), transparent);
    animation: pulse-horizontal-in 2s infinite ease-in-out 0.5s;
}

.pulse-r {
    right: 15px;
    top: 50%;
    height: 2px;
    width: 18px;
    transform: translateY(-50%);
    background: linear-gradient(to left, transparent, var(--color-teal), transparent);
    animation: pulse-horizontal-in 2s infinite ease-in-out 1.5s;
}

@keyframes pulse-vertical-in {
    0%   { transform: translate(-50%, -10px); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translate(-50%, 10px); opacity: 0; }
}

@keyframes pulse-horizontal-in {
    0%   { transform: translate(-10px, -50%); opacity: 0; }
    50%  { opacity: 1; }
    100% { transform: translate(10px, -50%); opacity: 0; }
}

/* Base Bento Card — horizontal carousel item */
@media (max-width: 768px) {
    .features-marquee {
        padding: 8px 20px 24px 20px;
    }
    .marquee-group {
        gap: 16px;
        padding-right: 16px;
    }
    .feature-card-vertical {
        width: 290px;
        height: 380px;
        padding: 24px;
    }
    #feat-voice {
        width: 290px;
        min-width: unset;
    }
    .features-carousel-wrapper::before,
    .features-carousel-wrapper::after {
        width: 32px;
    }
}

.feature-text p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Setup Wizard Section */
.setup-wizard-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.setup-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.setup-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.setup-header h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.setup-header p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Side-by-side layout: Quick Install (left) + Stepper (right) */
.setup-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    align-items: start;
}

.setup-stepper-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    position: relative;
}

/* Timeline Layout */
.setup-step-row {
    display: flex;
    gap: 24px;
    position: relative;
}

.setup-timeline-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32px;
    position: relative;
}

.timeline-line {
    width: 2px;
    background: linear-gradient(to bottom var(--in-oklch), var(--primary-amethyst) 0%, rgba(168, 85, 247, 0.1) 100%);
    position: absolute;
    top: 32px;
    bottom: -24px;
    left: 15px;
    z-index: 1;
}

/* Remove timeline link on last item */
.setup-step-row:last-child .timeline-line {
    display: none;
}

.timeline-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--primary-amethyst);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.timeline-circle svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-amethyst);
}

.timeline-circle.active {
    background: var(--primary-amethyst);
    box-shadow: var(--shadow-glow);
}

.timeline-circle.active svg {
    fill: var(--text-white);
}

.setup-card-wrapper {
    flex-grow: 1;
    margin-bottom: 40px;
}

.setup-card {
    width: 100%;
    padding: 24px;
    background: rgba(22, 22, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: all 0.3s;
}

.setup-card:hover {
    border-color: rgba(168, 85, 247, 0.15);
}

.setup-step-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.setup-card h3 {
    font-size: 18px;
    font-weight: 600;
}

.setup-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Custom interactive inputs & buttons in setup wizard */
.setup-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.setup-input-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.input-container {
    position: relative;
    width: 100%;
}

.setup-input-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 60px 12px 16px;
    color: var(--text-white);
    font-size: 14px;
    font-family: var(--font-mono);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.setup-input-field:focus {
    border-color: var(--primary-amethyst);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.input-action-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-amethyst);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: opacity 0.2s;
}

.input-action-btn:hover {
    opacity: 0.8;
}

.setup-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.setup-status-message {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-setup-save {
    background: linear-gradient(135deg var(--in-oklch), var(--primary-amethyst) 0%, var(--glow-indigo) 100%);
    border: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
    transition: all 0.3s ease;
}

.btn-setup-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
    filter: brightness(1.05);
}

.btn-setup-status {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    opacity: 0.8;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 12px;
    cursor: default;
}

/* Service toggle element styling (Step 3 Switch) */
.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.switch-label {
    font-size: 13px;
    color: var(--text-white);
}

.switch-el {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.switch-el::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-white);
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}

.switch-el.active {
    background: var(--primary-amethyst);
    box-shadow: var(--shadow-glow);
}

.switch-el.active::after {
    transform: translateX(20px);
}

/* Footer Section */
footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    z-index: 10;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-stack {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
    display: block;
    margin-top: 0.5rem;
}

.footer-privacy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(20, 184, 166, 0.6);
    display: block;
    margin-top: 0.35rem;
}

.footer-right {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    main {
        padding: 0 24px 40px 24px;
        gap: 40px;
    }
    
    .hero {
        padding-top: 90px;
    }
    
    header {
        padding: 14px 16px;
    }
    .nav-container {
        gap: 16px;
        padding: 6px 6px 6px 16px;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .hero p {
        font-size: 16px;
    }
    

    .setup-stepper-container {
        padding: 0 12px;
    }
    
    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
    }
}

/* Problem & Comparison Section */
.problem-solution-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.problem-solution-stack {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
}

.problem-card, .solution-card {
    flex: 1;
}

.problem-title, .solution-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 8px;
}

.solution-title span {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.card-badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-red {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #F87171;
}

.badge-green {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--color-green);
}

.problem-card h2, .solution-card h2 {
    font-size: 26px;
    letter-spacing: -0.02em;
}

.problem-card p, .solution-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
/* =====================================================
   Animated Bar Graph Comparison
   ===================================================== */
.comparison-bar-section {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.comparison-bar-section h3 {
    font-size: 22px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Legend */
.bar-graph-legend {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot.groq    { background: var(--color-violet); box-shadow: 0 0 8px rgba(168,85,247,0.5); }
.legend-dot.offline { background: var(--color-teal);   box-shadow: 0 0 8px rgba(0,242,254,0.5); }
.legend-dot.google  { background: rgba(255,255,255,0.25); }
.legend-dot.windows { background: #0078d4; box-shadow: 0 0 8px rgba(0,120,212,0.5); }

/* Metric group */
.bar-metric-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-metric-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

/* Individual bar row */
.bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-row-name {
    font-size: 11.5px;
    font-family: var(--font-mono);
    color: var(--color-text-secondary);
    min-width: 130px;
    flex-shrink: 0;
}

.bar-track {
    flex-grow: 1;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 8px;
    width: 0;
    transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    min-width: 0;
}

.bar-fill.bar-groq {
    background: linear-gradient(90deg, rgba(88,28,235,0.6) 0%, var(--color-violet) 100%);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

.bar-fill.bar-offline {
    background: linear-gradient(90deg, rgba(6,182,212,0.5) 0%, var(--color-teal) 100%);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.bar-fill.bar-google {
    background: rgba(255, 255, 255, 0.12);
}

.bar-fill.bar-windows {
    background: linear-gradient(90deg, #005a9e 0%, #0078d4 100%);
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.25);
}

.bar-value {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--color-text-primary);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease 0.9s;
}

.bar-fill.bar-groq .bar-value,
.bar-fill.bar-offline .bar-value,
.bar-fill.bar-windows .bar-value {
    color: #fff;
}

.bar-fill.bar-animated .bar-value {
    opacity: 1;
}

/* Winner star badge beside bar */
.bar-winner-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #c084fc;
    white-space: nowrap;
    padding: 3px 10px;
    background: rgba(168,85,247,0.15);
    border-radius: 999px;
    border: 1px solid rgba(168,85,247,0.3);
    flex-shrink: 0;
}

.bar-winner-badge.teal {
    color: var(--color-teal);
    background: rgba(0,242,254,0.1);
    border-color: rgba(0,242,254,0.25);
}

@media (max-width: 768px) {
    .comparison-bar-section {
        padding: 24px 16px;
        gap: 24px;
    }
    .comparison-bar-section h3 {
        font-size: 16px;
        text-align: center;
    }
    .bar-metric-group {
        gap: 8px;
    }
    .bar-metric-label {
        font-size: 11px;
        margin-bottom: 2px;
    }
    .bar-row {
        gap: 6px;
        flex-wrap: nowrap;
    }
    .bar-row-name {
        min-width: 75px;
        max-width: 75px;
        font-size: 8.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 0;
    }
    .bar-track {
        flex-grow: 1;
        flex-shrink: 1;
        height: 20px;
        min-width: 0;
    }
    .bar-fill {
        padding-right: 4px;
        width: 0;
    }
    .bar-value {
        font-size: 7px;
        padding-right: 2px;
    }
    .bar-winner-badge {
        font-size: 7px;
        padding: 1px 4px;
        flex-shrink: 0;
    }
    .bar-graph-legend {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .bar-graph-legend .legend-item {
        font-size: 9px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .legend-dot {
        width: 8px;
        height: 8px;
    }
    .problem-card, .solution-card {
        padding: 20px;
    }
    .problem-solution-stack {
        flex-direction: column;
        gap: 16px;
    }
    .comparison-chart-wrapper {
        padding: 16px;
    }
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
}

.feature-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Roadmap Section */
.roadmap-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.roadmap-section h2 {
    font-size: 36px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Roadmap styles */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}


.roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.roadmap-phase {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-amethyst);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.roadmap-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-active {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #D8B4FE;
}

.badge-planned {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.roadmap-card h3 {
    font-size: 22px;
    letter-spacing: -0.01em;
}

.roadmap-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Collapsible FAQ Section */
.faq-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.faq-section h2 {
    font-size: 36px;
    text-align: center;
    letter-spacing: -0.02em;
}

.faq-group {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    background: rgba(10, 10, 14, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.faq-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.faq-item:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(168, 85, 247, 0.08), transparent 80%);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item > * {
    position: relative;
    z-index: 1;
}

.faq-item:hover,
.faq-item[open] {
    background: rgba(255, 255, 255, 0.03) !important;
}

.faq-item summary {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    user-select: none;
    position: relative;
    z-index: 2; /* Sit on top of the number */
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}

.faq-item summary::after {
    content: '→';
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    color: #a78bfa;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '↓';
    color: #a78bfa;
}

.faq-content {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    cursor: default;
}

.faq-item[open] .faq-content {
    animation: faq-slide-down 0.3s ease-out;
}

@keyframes faq-slide-down {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Founder Note Section */
.founder-note {
    padding: 4rem 1.5rem 1rem 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.founder-note + .section-divider {
    margin: -24px auto;
}

.founder-note-inner {
    max-width: 680px;
    border-left: 2px solid rgba(139, 92, 246, 0.5);
    padding-left: 2rem;
    text-align: left;
}

.founder-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a78bfa;
    display: block;
    margin-bottom: 1.25rem;
}

.founder-quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 600;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin: 0 0 1.25rem 0;
    font-style: normal;
}

.founder-attribution {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.section-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(139, 92, 246, 0.25) 30%,
        rgba(20, 184, 166, 0.2) 70%,
        transparent 100%
    );
    margin: 0 auto;
    max-width: 900px;
    border: none;
}

/* Unified Glassmorphic Card */
.feature-card-vertical,
.roadmap-card,
.quick-install-box {
    background: rgba(22, 22, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--shadow-glass);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* Unified Hover Glow */
.feature-card-vertical:hover,
.roadmap-card:hover,
.quick-install-box:hover {
    border-color: rgba(168, 85, 247, 0.45);
    background-color: rgba(26, 26, 32, 0.75);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
    transform: translateY(-2px);
}

/* Standalone Borderless Cardless Glows */
.problem-card,
.solution-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.problem-card::before,
.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.problem-card::before {
    background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(168, 85, 247, 0.12), transparent 80%);
}

.solution-card::before {
    background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 242, 254, 0.12), transparent 80%);
}

.problem-card:hover::before,
.solution-card:hover::before {
    opacity: 1;
}

.problem-card > *,
.solution-card > * {
    position: relative;
    z-index: 1;
}

.problem-card {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.02) 60%, transparent 100%);
}

.solution-card {
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.08) 0%, rgba(0, 242, 254, 0.02) 60%, transparent 100%);
}

.problem-card:hover,
.solution-card:hover {
    transform: translateY(-2px);
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0.03) 60%, transparent 100%);
}

/* Quick Install Box - now lives beside the Setup Wizard */
.quick-install-box {
    margin-top: 0;
    width: 100%;
    text-align: left;
    align-self: start;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-glass);
}

.quick-install-box:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 32px rgba(168, 85, 247, 0.15);
}

.quick-install-box h3 {
    font-size: 17px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 12px;
}

/* Premium Timeline Step Layout */
.quick-install-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    margin-top: 8px;
}

/* Connective line in timeline */
.quick-install-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(168, 85, 247, 0.3) 0%, rgba(0, 242, 254, 0.05) 100%);
    z-index: 1;
}

.install-step-item {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 2;
    transition: transform 0.25s ease;
}

.install-step-item:hover {
    transform: translateX(4px);
}

.install-step-icon-wrapper {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 18, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--color-violet-light);
    transition: border-color 0.25s, color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.install-step-item:hover .install-step-icon-wrapper {
    background-color: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.45);
    color: var(--color-teal);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.install-step-icon-wrapper svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.install-step-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Header line of the step */
.install-step-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.install-step-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.install-step-badge {
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 600;
    color: var(--color-teal);
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.install-step-item:hover .install-step-badge {
    color: var(--color-violet-light);
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.15);
}

.install-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Inline badges inside descriptions */
.install-step-desc code.premium-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-teal-light);
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
}

/* Keycaps */
.install-step-desc kbd.premium-kbd {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    padding: 1px 5px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.install-step-desc a {
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(0, 242, 254, 0.4);
    transition: border-bottom-color 0.2s, color 0.2s;
}

.install-step-desc a:hover {
    color: var(--text-white);
    border-bottom-color: var(--text-white);
}

/* Extra Responsive Adjustments */
@media (max-width: 1024px) {
    /* Stack setup layout vertically */
    .setup-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .problem-card,
    .solution-card,
    .feature-card-vertical,
    .roadmap-card,
    .faq-item,
    .quick-install-box {
        padding: 24px;
        gap: 12px;
    }
    .faq-item summary {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .device-frame {
        transform: scale(0.9);
        transform-origin: center top;
        margin: 0;
    }
    .desktop-frame {
        transform: scale(0.9);
        transform-origin: center top;
        margin: 0 auto;
    }
    .simulator-instruction {
        z-index: 10;
        position: relative;
    }
}

/* ==========================================================================
   Consolidated Platform Switcher & Unified Landing Page Additions
   ========================================================================== */

/* Interactive Showcase Platform Toggles */
.showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.platform-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 999px;
    gap: 8px;
    margin-bottom: 12px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.platform-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-tab:hover {
    color: var(--text-white);
}

.platform-tab.active {
    background: var(--primary-amethyst);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.tab-icon {
    width: 18px;
    height: 18px;
}

/* Toggle visibility of showcases */
.showcase-content {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.showcase-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

/* Windows Desktop Frame Mockup */
.desktop-frame {
    width: 100%;
    max-width: 960px;
    height: 540px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(13, 12, 17, 0.7);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 100px rgba(168, 85, 247, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 20;
    transition: box-shadow 0.3s ease;
}

.desktop-titlebar {
    height: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
    user-select: none;
    flex-shrink: 0;
}

.desktop-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.control-dot.close { background: #ff5f56; }
.control-dot.minimize { background: #ffbd2e; }
.control-dot.maximize { background: #27c93f; }

.desktop-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.desktop-body {
    flex-grow: 1;
    display: flex;
    height: calc(100% - 40px);
    position: relative;
}

/* Desktop Sidebar */
.desktop-sidebar {
    width: 220px;
    background: rgba(255, 255, 255, 0.015);
    border-right: 1.5px solid rgba(255, 255, 255, 0.04);
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.sidebar-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    width: 100%;
}

.sidebar-tab svg {
    width: 16px;
    height: 16px;
    color: currentColor;
    flex-shrink: 0;
}

.sidebar-tab:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-tab.active {
    background: rgba(168, 85, 247, 0.12);
    color: var(--primary-amethyst);
    border-left: 3px solid var(--primary-amethyst);
    border-radius: 0 10px 10px 0;
    padding-left: 13px;
    font-weight: 600;
}

.sidebar-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 12px 6px;
    flex-shrink: 0;
}

.sidebar-action-btn {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid var(--primary-amethyst);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    margin-top: auto;
    width: 100%;
}

.sidebar-action-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.45);
}

.sidebar-action-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Desktop Content Pane */
.desktop-content {
    flex-grow: 1;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.desktop-slideshow-container {
    flex-grow: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.15);
}

.desktop-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slideshow-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.slideshow-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slideshow-slide img {
    width: 100%;
    height: calc(100% - 44px);
    object-fit: cover;
    object-position: top center;
    border-radius: 14px 14px 0 0;
}

.slide-caption {
    height: 44px;
    background: rgba(10, 10, 12, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    border-radius: 0 0 14px 14px;
}

/* Notepad Editor Mockup */
.desktop-editor-mockup {
    position: absolute;
    inset: 24px;
    background: #18191E;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.96) translateY(10px);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 25;
}

.desktop-editor-mockup.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.editor-header {
    height: 38px;
    background: #1F2026;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 14px 14px 0 0;
}

.editor-tabs {
    display: flex;
}

.editor-tab-item {
    font-family: var(--font-heading);
    font-size: 11.5px;
    padding: 6px 16px;
    background: #18191E;
    color: var(--text-white);
    border-radius: 8px 8px 0 0;
    border-top: 1.5px solid rgba(255, 255, 255, 0.06);
    border-left: 1.5px solid rgba(255, 255, 255, 0.06);
    border-right: 1.5px solid rgba(255, 255, 255, 0.06);
}

.editor-body {
    flex-grow: 1;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-white);
    overflow-y: auto;
    white-space: pre-wrap;
    text-align: left;
}

/* Desktop Animated Overlay Pill */
.desktop-overlay-pill {
    position: absolute;
    bottom: 24px;
    left: 50%;
    height: 32px;
    width: 160px;
    background: rgba(18, 18, 24, 0.95);
    border: 1px solid var(--primary-amethyst);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3), 0 0 10px rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    opacity: 0;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 35;
}

.desktop-overlay-pill.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.desktop-overlay-pill.success {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3), 0 0 10px rgba(0, 242, 254, 0.2);
}

.desktop-overlay-pill.success .waveform-path {
    stroke: var(--accent-cyan);
}

/* Shortcut Toast Overlay */
.shortcut-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(10, 10, 15, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    padding: 16px 28px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 30;
}

.shortcut-toast.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.key-cap {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.2);
}

/* Download Hub Section styling */
.download-hub-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.download-hub-container h2 {
    font-size: 36px;
    text-align: center;
    letter-spacing: -0.02em;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
}

.download-card {
    position: relative;
    overflow: hidden;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-radius: 24px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.download-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    text-align: center;
}

.download-card h3 {
    font-size: 24px;
    font-weight: 600;
}

.download-requirements {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-align: center;
}

.download-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.download-features-list li {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
    text-align: left;
}

.download-features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-amethyst);
    font-size: 18px;
    line-height: 1;
}

.download-features-list li strong {
    color: var(--text-white);
}

.download-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.download-actions .btn-primary,
.download-actions .btn-secondary {
    padding: 12px 24px;
    font-size: 13.5px;
    flex-grow: 1;
    justify-content: center;
}

/* Extra media queries for Windows desktop layouts */
@media (max-width: 1024px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .desktop-frame {
        height: 520px;
    }
}

@media (max-width: 768px) {
    .desktop-frame {
        height: auto;
        min-height: 480px;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .desktop-body {
        flex-direction: column;
        min-width: 0;
        max-width: 100%;
    }
    .desktop-sidebar {
        display: none;
    }
    .desktop-content {
        padding: 0;
        height: auto;
        aspect-ratio: 1024 / 768;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .desktop-slideshow-container {
        border: none;
        background: transparent;
    }
    .slideshow-slide img {
        height: 100%;
        object-fit: contain;
    }
    .slide-caption {
        display: none;
    }
}

/* ====================================================
   Fluence Windows Onboarding Setup Wizard Styles
   ==================================================== */

.tauri-wizard-window {
    background-color: #0d0c11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.wizard-shell {
    font-family: var(--font-body);
    color: var(--text-white);
    background: transparent;
}

.wizard-shell--inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.desktop-body--wizard {
    background-color: #0d0c11;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.wizard-steps {
    position: relative;
    width: 100%;
}

.wizard-step {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 16px;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.wizard-step.exit-left {
    opacity: 0;
    transform: translateX(-40px);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(209, 140, 255, 0.08);
    border: 1.5px solid rgba(209, 140, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.provider-card {
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.provider-card.selected {
    border-color: var(--primary-amethyst);
    background: rgba(209, 140, 255, 0.06);
    color: var(--text-white);
}

.mode-option {
    transition: border-color 0.2s, background-color 0.2s;
}

.mode-option.selected {
    border-color: var(--primary-amethyst);
    background: rgba(209, 140, 255, 0.06);
}

.position-option {
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.position-option.selected {
    border-color: var(--primary-amethyst);
    background: rgba(209, 140, 255, 0.06);
    color: var(--primary-amethyst);
}

.hotkey-display.recording {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.4);
    color: #F87171;
    animation: hotkey-blink 1s ease-in-out infinite;
}

@keyframes hotkey-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.step-dot {
    transition: all 0.25s ease;
}

.step-dot.active {
    width: 14px;
    border-radius: 3px;
    background: var(--primary-amethyst);
}

.step-dot.done {
    background: rgba(209, 140, 255, 0.4);
}

/* ====================================================
   Wizard Component Classes (Extracted from inline styles)
   ==================================================== */

.wizard-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(26, 26, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
}

.wizard-icon-box-success {
    background: linear-gradient(135deg, #6fcf97, #219653);
    box-shadow: 0 0 32px rgba(111, 207, 151, 0.3);
}

.wizard-icon-box--sm {
    width: 64px;
    height: 64px;
}

.wizard-step-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.wizard-step-title--sm {
    font-size: 18px;
}

.wizard-step-desc {
    font-size: 13px;
    color: #b9cacb;
    text-align: center;
    max-width: 360px;
    margin: 0;
    line-height: 1.45;
}

.wizard-step-desc--sm {
    font-size: 12.5px;
    max-width: 380px;
}

.wizard-step-content,
.step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin-top: 8px;
}

.wizard-step-content--wide {
    max-width: 360px;
    margin-top: 4px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wizard-step-content--centered {
    align-items: center;
}

.wizard-step-content--gap12 {
    gap: 12px;
}

.wizard-step-content--top8 {
    margin-top: 8px;
}

.wizard-bullet-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(209, 140, 255, 0.04);
    border: 1px solid rgba(209, 140, 255, 0.12);
    border-radius: 8px;
}

.wizard-bullet-row__icon {
    font-size: 16px;
}

.wizard-bullet-row__body {
    display: flex;
    flex-direction: column;
}

.wizard-bullet-row__title {
    font-weight: 600;
    font-size: 12.5px;
    color: #fff;
}

.wizard-bullet-row__sub {
    font-size: 11px;
    color: #b9cacb;
}

.wizard-label {
    font-size: 12px;
    color: #b9cacb;
    font-weight: 500;
}

.wizard-input {
    padding: 8px 12px;
    font-size: 12.5px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.wizard-input:focus {
    outline: 1px solid rgba(209, 140, 255, 0.4);
}

select.wizard-input {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23849495' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.input-with-btn {
    display: flex;
    gap: 6px;
    width: 100%;
}

.input-with-btn select,
.input-with-btn input {
    flex: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #b9cacb;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.wizard-provider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}

.wizard-provider-card {
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    color: #b9cacb;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.wizard-provider-card.selected {
    border-color: rgba(209, 140, 255, 0.2);
    background: rgba(209, 140, 255, 0.06);
    color: #fff;
}

.wizard-provider-card__name {
    font-size: 14px;
    font-weight: 600;
}

.wizard-provider-card__name--groq {
    color: #F55036;
}

.wizard-test-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.wizard-test-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wizard-test-dot {
    width: 8px;
    height: 8px;
    background-color: #849495;
    filter: none;
    box-shadow: none;
    border-radius: 50%;
}

.wizard-test-text {
    font-size: 11.5px;
    color: #b9cacb;
}

.wizard-hotkey-display {
    padding: 6px 14px;
    background: rgba(209, 140, 255, 0.06);
    border: 1px dashed rgba(209, 140, 255, 0.3);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #d18cff;
    cursor: pointer;
    outline: none;
}

.wizard-hotkey-display.recording {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.4);
    color: #F87171;
    animation: hotkey-blink 1s ease-in-out infinite;
}

.wizard-form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.wizard-mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
}

.wizard-mode-option {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    text-align: left;
    color: #b9cacb;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.wizard-mode-option.selected {
    border-color: var(--primary-amethyst);
    background: rgba(209, 140, 255, 0.06);
}

.wizard-mode-option__title {
    font-weight: 600;
    font-size: 12px;
}

.wizard-mode-option__title--active {
    color: #fff;
}

.wizard-mode-option__sub {
    font-size: 10px;
    color: #b9cacb;
    margin-top: 2px;
}

.wizard-mode-hint {
    font-size: 10.5px;
    color: #849495;
    margin: 0;
    text-align: center;
}

.wizard-position-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.wizard-position-option {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    color: #b9cacb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.wizard-position-option.selected {
    border-color: var(--primary-amethyst);
    background: rgba(209, 140, 255, 0.06);
    color: var(--primary-amethyst);
}

.wizard-position-preview {
    width: 50px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #121117;
    border-radius: 4px;
    position: relative;
}

.wizard-position-option.selected .wizard-position-preview {
    border-color: rgba(209, 140, 255, 0.2);
}

.wizard-position-dot {
    position: absolute;
    bottom: 3px;
    width: 8px;
    height: 6px;
    background: #849495;
    border-radius: 2px;
}

.wizard-position-dot--left { left: 3px; }
.wizard-position-dot--center { left: 50%; transform: translateX(-50%); }
.wizard-position-dot--right { right: 3px; }

.wizard-position-option.selected .wizard-position-dot {
    background: #d18cff;
}

.wizard-position-label {
    font-size: 10px;
    font-weight: 500;
}

.wizard-position-label--active {
    font-weight: 600;
}

.wizard-test-area {
    width: 100%;
    max-width: 360px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    box-sizing: border-box;
}

.wizard-test-record-btn {
    min-width: 140px;
    font-size: 12.5px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

.wizard-test-record-btn--recording {
    background: linear-gradient(135deg, #ef4444, #c0392b);
}

.wizard-test-record-btn--recording {
    background: linear-gradient(135deg, #ef4444, #c0392b);
}

.wizard-test-result {
    width: 100%;
    min-height: 48px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 12px;
    color: #849495;
    text-align: left;
    box-sizing: border-box;
    line-height: 1.4;
}

.wizard-success-icon {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
}

.wizard-finish-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    margin-top: 12px;
}

.wizard-finish-actions .btn-primary,
.wizard-finish-actions .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.wizard-open-settings-btn {
    padding: 10px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(135deg, #a855f7 0%, #00f2fe 100%);
}

.wizard-close-btn {
    padding: 8px;
    font-size: 12px;
    border-radius: 20px;
    cursor: pointer;
}

.wizard-nav {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.1);
}

.wizard-nav__back {
    visibility: hidden;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 12px;
    cursor: pointer;
}

.wizard-nav__next {
    min-width: 100px;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
}

.wizard-step-dots {
    display: flex;
    gap: 5px;
}

.wizard-step-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3b494b;
    transition: all 0.25s;
}

.wizard-step-dot.active {
    width: 14px;
    border-radius: 3px;
    background: #d18cff;
}

.wizard-step-dot.done {
    background: rgba(209, 140, 255, 0.4);
}

.wizard-progress-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    width: 100%;
    z-index: 10;
}

.wizard-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #A855F7, #00f2fe);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-steps {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    height: 380px;
}

.wizard-step {
    position: absolute;
    inset: 0;
    padding: 24px 24px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.wizard-step-icon-svg {
    width: 24px;
    height: 24px;
    color: #d18cff;
}

.step-icon {
    margin-bottom: 4px;
}

.wizard-step.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.wizard-step.exit-left {
    transform: translateX(-20px);
    opacity: 0;
}

.wizard-welcome-text {
    color: var(--color-teal);
    font-weight: 600;
}

@media (max-width: 768px) {
    .tauri-wizard-window {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .desktop-body--wizard {
        min-width: 0;
        max-width: 100%;
    }
    .wizard-shell, .wizard-shell--inner, .wizard-steps {
        min-width: 0;
        max-width: 100%;
    }
    .wizard-step {
        padding: 16px;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .wizard-form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .wizard-hotkey-display {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .wizard-provider-card {
        padding: 6px;
    }
    .wizard-provider-card__name {
        font-size: 11px;
        word-break: break-word;
    }
    .wizard-mode-option {
        padding: 6px;
    }
    .wizard-mode-option__title {
        font-size: 11px;
    }
    .desktop-title {
        display: none; /* Prevents long titles from overflowing small screens */
    }
    .wizard-test-area {
        max-width: 100%;
    }
}

/* ====================================================
   Fluence Documentation Portal Layout Styles
   ==================================================== */

.docs-main {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.docs-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 40px;
}

.docs-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    height: calc(100vh - 160px);
    overflow-y: auto;
    padding-right: 16px;
    border-right: none;
}

.docs-sidebar::-webkit-scrollbar {
    width: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.docs-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.docs-nav-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    border-left: 2px solid transparent;
    transition: all 0.25s ease;
}

.docs-nav-item:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.03);
}

.docs-nav-item.active {
    color: var(--primary-amethyst);
    background: rgba(168, 85, 247, 0.08);
    font-weight: 600;
    border-left: 2px solid var(--primary-amethyst);
}

@media (min-width: 769px) {
    .docs-nav {
        background: rgba(10, 10, 14, 0.55) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
    }

    .docs-nav-item {
        border-radius: 8px !important;
        border-left: none !important;
    }

    .docs-nav-item.active {
        color: var(--primary-amethyst) !important;
        background: rgba(168, 85, 247, 0.08) !important;
        font-weight: 600;
        border-left: none !important;
    }
}

.docs-content {
    flex-grow: 1;
    max-width: 860px;
    padding-bottom: 40px;
}

.docs-section {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    scroll-margin-top: 100px;
}

.docs-section:first-of-type {
    padding-top: 0;
}

.docs-section h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.docs-section h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--text-white);
}

.docs-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-white);
}

.docs-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.docs-section p.lead {
    font-size: 18px;
    color: var(--text-white);
}

.docs-section kbd {
    background-color: #1e1e24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: var(--text-white);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
    margin: 0 2px;
}

.docs-section code {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 3px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: var(--text-white);
}

.docs-section ul, .docs-section ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.docs-section li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.docs-section li strong {
    color: var(--text-white);
}

.platform-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.platform-card-doc {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.platform-card-doc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.platform-card-doc:hover::before {
    opacity: 1;
}

.platform-card-doc > * {
    position: relative;
    z-index: 1;
}

.platform-cards-grid > div:nth-child(1) { /* Windows Application card */
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.04) 0%, rgba(10, 10, 14, 0.75) 100%) !important;
}
.platform-cards-grid > div:nth-child(1)::before {
    background: radial-gradient(250px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 242, 254, 0.08), transparent 80%);
}
.platform-cards-grid > div:nth-child(1):hover {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(15, 15, 20, 0.85) 100%) !important;
    transform: translateY(-2px);
    border-color: rgba(0, 242, 254, 0.2) !important;
}

.platform-cards-grid > div:nth-child(2) { /* Android Application card */
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04) 0%, rgba(10, 10, 14, 0.75) 100%) !important;
}
.platform-cards-grid > div:nth-child(2)::before {
    background: radial-gradient(250px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(168, 85, 247, 0.08), transparent 80%);
}
.platform-cards-grid > div:nth-child(2):hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(15, 15, 20, 0.85) 100%) !important;
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.2) !important;
}

.platform-card-doc h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.platform-card-doc p {
    font-size: 13.5px;
    margin-bottom: 16px;
}

.text-link {
    color: var(--color-violet-light);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--color-teal-light);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.box-header svg {
    flex-shrink: 0;
}

.info-box {
    background: rgba(10, 10, 14, 0.75);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 24px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.info-box .box-header svg {
    color: var(--accent-cyan);
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.warning-box {
    background: rgba(10, 10, 14, 0.75);
    border: 1px solid rgba(255, 176, 32, 0.15);
    border-left: 3px solid #ffb020;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 24px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.warning-box .box-header svg {
    color: #ffb020;
}

.warning-box h4 {
    margin-top: 0;
    margin-bottom: 0;
    color: #ffb020;
    font-weight: 600;
}

.privacy-shield-box {
    background: rgba(10, 10, 14, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-left: 3px solid var(--primary-amethyst);
    border-radius: 0 8px 8px 0;
    padding: 24px;
    margin: 24px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.privacy-shield-box .box-header svg {
    color: var(--primary-amethyst);
}

.privacy-shield-box h3 {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--primary-amethyst);
}

.docs-faq-group {
    margin-top: 24px;
}

/* Responsive Mobile Layout for Docs */
@media (max-width: 768px) {
    .docs-wrapper {
        flex-direction: column;
        gap: 0;
    }
    
    .docs-sidebar {
        width: 100%;
        position: sticky;
        top: 80px;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(10, 10, 15, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 12px 0;
        z-index: 20;
        overflow-y: visible;
    }
    
    .docs-nav ul {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 12px;
    }
    
    .docs-nav ul::-webkit-scrollbar {
        display: none;
    }
    
    .docs-nav-item {
        padding: 6px 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .docs-content {
        padding-top: 20px;
    }
    
    .docs-section {
        padding: 40px 0;
    }
    
    .platform-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Hero Redesign - Product Composition & Wasted Space Optimization
   ========================================================================== */
.hero-product {
    width: 100%;
    max-width: 1200px;
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    text-align: left;
    gap: clamp(24px, 4vw, 56px);
    padding: 110px 0 18px 0;
    isolation: isolate;
}

.hero-product-stage {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-height: 580px;
    width: 100%;
    perspective: 1200px;
}

.hero-product-stage::before {
    content: '';
    position: absolute;
    inset: 10% 5% 10% 5%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 242, 254, 0.08) 50%, transparent 75%);
    filter: blur(55px);
    z-index: -1;
    pointer-events: none;
}

.hero-desktop-shot,
.hero-phone-shot,
.hero-cursor-card {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 12, 16, 0.82);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hero-desktop-shot {
    left: 8%;
    top: 24px;
    width: min(560px, 92%);
    aspect-ratio: 1024 / 768;
    border-radius: 16px;
    transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) rotateY(-8deg) rotateX(3deg);
    animation: product-drift-a 8s ease-in-out infinite;
    z-index: 10;
}

.hero-phone-shot {
    left: -8%;
    bottom: 20px;
    width: min(230px, 38%);
    aspect-ratio: 464 / 1024;
    border-radius: 32px;
    transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
    animation: product-drift-b 7s ease-in-out infinite;
    z-index: 20;
}

.hero-desktop-shot img,
.hero-phone-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.hero-cursor-card {
    top: 360px;
    right: -5%;
    width: 270px;
    border-radius: 16px;
    padding: 18px;
    background: rgba(6, 9, 11, 0.9);
    transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
    z-index: 30;
}

.hero-cursor-card p {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-violet-light);
    margin: 10px 0 6px 0;
}

.hero-cursor-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.2;
    color: var(--text-white);
}

.hero-cursor-card::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 18px;
    width: 2px;
    height: 38px;
    background: var(--color-teal);
    animation: cursor-blink 1s steps(2, start) infinite;
}

@keyframes product-drift-a {
    0%, 100% {
        transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) rotateY(-8deg) rotateX(3deg);
    }
    50% {
        transform: translate3d(var(--hero-x, 0), calc(var(--hero-y, 0) - 8px), 0) rotateY(-8.5deg) rotateX(2.5deg);
    }
}

@keyframes product-drift-b {
    0%, 100% {
        transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
    }
    50% {
        transform: translate3d(var(--hero-x, 0), calc(var(--hero-y, 0) - 12px), 0);
    }
}

@media (max-width: 1080px) {
    .hero-product {
        grid-template-columns: 1fr;
        min-height: auto;
        text-align: center;
        padding-top: 90px;
    }
    .hero-copy {
        grid-column: auto;
        grid-row: auto;
        align-items: center;
    }
    .hero-product .hero-badges {
        align-items: center;
    }
    .hero-product .hero-ctas {
        justify-content: center;
    }
    .hero-product-stage {
        grid-column: auto;
        grid-row: auto;
        max-width: 760px;
        min-height: 540px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-product-stage {
        min-height: 480px;
    }
    .hero-desktop-shot {
        width: 90%;
        left: 5%;
        right: auto;
        top: 10px;
        bottom: auto;
    }
    .hero-phone-shot {
        width: 32%;
        right: 5%;
        left: auto;
        bottom: 20px;
        top: auto;
    }
    .hero-cursor-card {
        width: 170px;
        left: 5%;
        right: auto;
        bottom: 40px;
        top: auto;
        padding: 12px;
        z-index: 30;
    }
    .hero-cursor-card strong {
        font-size: 13px;
    }
}

/* ==========================================================================
   Hero Copy Element Spacing & Visual Optimizations
   ========================================================================== */
.hero-copy {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: clamp(20px, 3vh, 28px);
}

.hero-copy h1 {
    font-size: clamp(38px, 4.5vw, 56px);
    line-height: 1.08;
    margin: 10px 0;
}

.hero-copy p {
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--color-text-muted);
    margin: 8px 0;
    max-width: 550px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
}

.hero-product .hero-badges {
    align-items: flex-start;
    margin-bottom: 2px;
}

.hero-proof-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
}

.hero-proof-list span {
    font-size: 14.5px;
    color: #c4b5fd;
    line-height: 1.4;
    font-family: var(--font-display);
    font-weight: 400;
}

.hero-copy .hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    align-self: center;
}

/* ==========================================================================
   Proof Panel Stacked Layout
   ========================================================================== */
/* ==========================================================================
   Centered Text-Only Feature List (Zero Fluff, Professional Font)
   ========================================================================== */
.feature-text-only-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    width: 100%;
    margin: 80px 0 60px 0;
}

.feature-text-only-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 680px;
    padding: 0 24px;
}

.feature-text-only-header .section-kicker {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.feature-text-only-header h3 {
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-white);
    line-height: 1.15;
}

/* Seamless Text-Only Features Marquee */
.cursor-marquee-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 32px 0 0 0;
    padding: 16px 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    scrollbar-width: none;
}

.cursor-marquee-wrapper::-webkit-scrollbar {
    display: none;
}

.cursor-marquee {
    display: flex;
    width: max-content;
    gap: 48px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    animation: cursor-marquee-scroll 60s linear infinite;
    will-change: transform;
}

.cursor-marquee-wrapper:hover .cursor-marquee,
.cursor-marquee-wrapper:focus-within .cursor-marquee {
    animation-play-state: paused;
}

.cursor-marquee.grabbing {
    cursor: grabbing;
}

.cursor-marquee-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: clamp(280px, 35vw, 360px);
    flex-shrink: 0;
    text-align: left;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cursor-slide-title {
    font-family: var(--font-display);
    font-size: clamp(19px, 2.5vw, 22px);
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
    letter-spacing: -0.01em;
}

.cursor-slide-desc {
    font-size: clamp(14px, 1.8vw, 15px);
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

@keyframes cursor-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-marquee {
        animation: none;
        transform: none;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .cursor-marquee::-webkit-scrollbar {
        display: none;
    }
}


/* ==========================================================================
   Product Surface Bento Card Visuals
   ========================================================================== */
.feature-card-vertical.product-feature-card {
    height: 410px; /* Slightly taller to accommodate visuals comfortably */
    padding: 28px 28px 0 28px; /* Bottom padded by offset images */
    background: linear-gradient(135deg, rgba(16, 16, 24, 0.75) 0%, rgba(10, 10, 14, 0.5) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.feature-card-vertical.product-feature-card::before,
.feature-card-vertical.product-feature-card::after {
    display: none !important;
    content: none !important;
}

.feature-card-vertical.product-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

/* Specific Spotlight Border highlighted state in screenshot - disabled border/shadow */
#feat-agent {
    /* Allow base product feature styles to inherit and render */
}

.feature-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 3px 8px;
    border-radius: 99px;
    align-self: flex-start;
}

#feat-agent .feature-tag {
    color: var(--color-violet-light);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
}

#feat-privacy .feature-tag {
    color: var(--color-green);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

#feat-offline .feature-tag {
    color: var(--color-violet-light);
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.feature-shot {
    width: 100%;
    height: 190px;
    overflow: hidden;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #06090b;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.3);
}

.feature-shot-desktop {
    border-radius: 12px 12px 0 0;
    transform: translateY(10px) scale(1.02);
}

.feature-shot-phone {
    border-radius: 24px 24px 0 0;
    width: 82%;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(15px);
}

.feature-shot-setup {
    border-radius: 12px 12px 0 0;
    transform: translateY(10px) scale(1.02);
}

.feature-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-violet-light);
    margin-top: auto;
    margin-bottom: 28px; /* Leave space at bottom */
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px;
    border-radius: 12px;
}

.feature-flow span {
    display: inline-flex;
    align-items: center;
}

.feature-flow span:not(:last-child)::after {
    content: " →";
    color: var(--color-teal);
    font-weight: bold;
    margin-left: 8px;
}

/* =========================================================
   Bento Grid Layout and Card Overrides
   ========================================================= */
.features-marquee-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 32px 0 0 0;
    padding: 24px 0;
    position: relative;
    /* Optional fade edges for effect */
    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);
    scrollbar-width: none;
}

.features-marquee-wrapper::-webkit-scrollbar {
    display: none;
}

.features-marquee {
    display: flex;
    width: max-content;
    gap: 24px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.marquee-group {
    display: flex;
    gap: 24px;
    /* No flex-shrink so it doesn't squish */
    flex-shrink: 0;
}

.features-marquee.grabbing {
    cursor: grabbing;
}

.features-marquee .feature-card-vertical {
    width: 400px; /* Fixed width for horizontal scrolling */
    height: 480px; /* Fixed height to keep them uniform */
    flex-shrink: 0;
}

/* Removed grid-column definitions for features since they are now in a flex row */

/* Brand badges for download cards */
.badge-windows {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--color-teal-light);
}

.badge-android {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: var(--color-violet-light);
}

/* Download card spotlight glows and border reveals */
.download-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), var(--glow-color, rgba(168, 85, 247, 0.08)), transparent 80%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.download-card::after {
    display: none !important;
}

.download-card:hover::before {
    opacity: 1;
}

.download-card:has(.badge-windows),
.download-card.download-card-windows {
    --glow-color: rgba(0, 242, 254, 0.12);
    background: linear-gradient(135deg, rgba(16, 16, 24, 0.75) 0%, rgba(10, 10, 14, 0.5) 100%) !important;
}

.download-card:has(.badge-android),
.download-card.download-card-android {
    --glow-color: rgba(168, 85, 247, 0.12);
    background: linear-gradient(135deg, rgba(16, 16, 24, 0.75) 0%, rgba(10, 10, 14, 0.5) 100%) !important;
}

.download-card.download-card-windows:hover {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(15, 15, 20, 0.85) 100%) !important;
    transform: translateY(-2px);
    border-color: rgba(0, 242, 254, 0.2) !important;
}

.download-card.download-card-android:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(15, 15, 20, 0.85) 100%) !important;
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.2) !important;
}

/* Keep inner content of download card above the glow absolute overlay layers */
.download-card > * {
    position: relative;
    z-index: 1;
}

/* Ensure header nav of download cards remains above border overlay */
.download-card-header {
    z-index: 3;
}

/* Bento Grid Mobile responsiveness */
@media (max-width: 1024px) {
    .features-marquee .feature-card-vertical {
        width: 320px;
        height: 420px;
    }
}





/* =========================================================
   Mobile Navigation Responsive Styles
   ========================================================= */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: var(--text-white);
        cursor: pointer;
        width: 32px;
        height: 32px;
        padding: 0;
        z-index: 110;
        outline: none;
        transition: transform 0.2s ease;
    }
    
    .mobile-menu-toggle svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* Open/Close state rendering */
    .mobile-menu-toggle .icon-close {
        display: none;
    }
    
    .mobile-menu-toggle .icon-open {
        display: block;
    }
    
    #site-header.mobile-menu-active .mobile-menu-toggle .icon-open {
        display: none;
    }
    
    #site-header.mobile-menu-active .mobile-menu-toggle .icon-close {
        display: block;
        transform: rotate(90deg);
    }
    
    #site-header.mobile-menu-active,
    #site-header.mobile-menu-active.header-scrolled {
        background-color: transparent;
    }

    .nav-container {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        position: relative;
    }

    .nav-container::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: rgba(10, 10, 14, 0.55);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        pointer-events: none;
        transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    }

    .nav-container.is-scrolled::before {
        background: rgba(10, 10, 14, 0.78);
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0; /* Align to right for transform */
        transform: translateX(100%); /* Start hidden off-screen */
        width: 300px;
        height: 100vh;
        overflow-y: auto; /* Prevent clipping */
        background: rgba(10, 10, 14, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 120px 40px 40px 40px;
        gap: 24px;
        z-index: 105;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    /* When menu is active, slide it in */
    #site-header.mobile-menu-active .nav-links {
        transform: translateX(0);
    }

    /* Adjust link item sizing for touch targets */
    .nav-links .nav-item {
        font-size: 16px;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        display: block;
    }
    
    .nav-links .btn-nav-download {
        width: 100%;
        text-align: center;
        margin-top: 16px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }
}

/* ==========================================================================
   ENHANCEMENT 1: Scroll Progress Bar
   ========================================================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-violet), var(--color-teal));
    z-index: 200;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.scroll-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    filter: blur(2px);
}

/* ==========================================================================
   ENHANCEMENT 2: Staggered Hero Entrance Animation
   ========================================================================== */
.hero-badge-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-stagger-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badges-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-stagger-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.hero-eyebrow-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-stagger-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-h1-animated {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-stagger-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-p-animated {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-stagger-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-proof-animated {
    opacity: 0;
    transform: translateY(16px);
    animation: hero-stagger-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero-ctas-animated {
    opacity: 0;
    transform: translateY(16px);
    animation: hero-stagger-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-product-stage-animated {
    opacity: 0;
    transform: translateY(32px) scale(0.95);
    animation: hero-stagger-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes hero-stagger-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   ENHANCEMENT 4: Number Counter Animation
   ========================================================================== */
.counter-wrapper {
    display: inline-flex;
    align-items: baseline;
    gap: 0.05em;
}

.counter-value {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    overflow: hidden;
}

.counter-value.animating {
    animation: counter-catch 0.1s steps(1) forwards;
}

@keyframes counter-catch {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.counter-suffix {
    display: inline-block;
}

/* ==========================================================================
   ENHANCEMENT 5: Magnetic Buttons
   ========================================================================== */
[data-magnetic] {
    will-change: transform;
}

/* ==========================================================================
   ENHANCEMENT 6: Text Split Animation (Word by Word Reveal)
   ========================================================================== */
.split-text {
    display: inline;
}

.split-word {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(8px);
    transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-word.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.text-gradient-animated {
    background: linear-gradient(135deg, var(--color-violet), var(--color-teal), var(--color-violet-light));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ==========================================================================
   ENHANCEMENT 7: Parallax Scroll Layers
   ========================================================================== */
.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-layer-slow {
    will-change: transform;
    transition: transform 0.15s linear;
}

.parallax-layer-fast {
    will-change: transform;
    transition: transform 0.08s linear;
}

/* ==========================================================================
   ENHANCEMENT 8: Enhanced Hover Micro-interactions
   ========================================================================== */

/* Button press feedback */
.btn-primary, .btn-secondary, .btn-nav-download {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    opacity: 1;
}

.btn-primary:active, .btn-secondary:active {
    transform: scale(0.97);
}

.btn-nav-download:active {
    transform: translateY(-1px) scale(0.98);
}

/* Logo hover effect */
.logo-link:hover .logo-text {
    letter-spacing: -0.02em;
}

.logo-link:hover svg circle {
    animation: logo-spin 0.8s ease;
}

@keyframes logo-spin {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 100; }
}

/* ==========================================================================
   ENHANCEMENT 9: Animated Gradient Backgrounds
   ========================================================================== */
.gradient-bg-animate {
    position: relative;
}

.gradient-bg-animate::before {
    content: '';
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 242, 254, 0.05) 0%, transparent 45%);
    animation: gradient-orb 12s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 45% 45% at 50% 50%, black 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 45% 45% at 50% 50%, black 20%, transparent 100%);
}

@keyframes gradient-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(5%, -3%) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translate(-3%, 5%) scale(0.95);
        opacity: 0.5;
    }
    75% {
        transform: translate(-5%, -2%) scale(1.02);
        opacity: 0.7;
    }
}

/* ==========================================================================
   ENHANCEMENT 10: Floating Ambient Elements
   ========================================================================== */
.float-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
    animation: float-bob 6s ease-in-out infinite;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.float-shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.float-shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: -60px;
    animation-delay: -2s;
}

.float-shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: -4s;
}

@keyframes float-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* ==========================================================================
   ENHANCEMENT 11: Page Transition Overlay
   ========================================================================== */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ==========================================================================
   ENHANCEMENT 12: Loading Skeleton Shimmer
   ========================================================================== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--color-surface);
    border-radius: 8px;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%
    );
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-text {
    height: 1em;
    margin: 0.5em 0;
}

.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-text.full { width: 100%; }

.skeleton-heading {
    height: 2em;
    width: 70%;
    margin-bottom: 1em;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16/9;
}

/* ==========================================================================
   ENHANCEMENT 13: 3D Tilt Card Effect
   ========================================================================== */
.tilt-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.tilt-card-inner {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.tilt-card:hover .tilt-card-inner {
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.tilt-card-face {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.tilt-card-back {
    transform: rotateY(180deg);
}

/* ==========================================================================
   Enhanced Glass Panel with 3D depth
   ========================================================================== */
.glass-panel-3d {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-panel-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    border-radius: inherit;
    transform: translateZ(1px);
    pointer-events: none;
}

.glass-panel-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        225deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 40%
    );
    border-radius: inherit;
    transform: translateZ(-1px);
    pointer-events: none;
}

/* ==========================================================================
   Enhanced Reveal Animations with Stagger
   ========================================================================== */
.stagger-children > * {
    opacity: 0;
    transform: translateY(24px);
}

.stagger-children.animate > *:nth-child(1) { animation: stagger-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards; }
.stagger-children.animate > *:nth-child(2) { animation: stagger-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards; }
.stagger-children.animate > *:nth-child(3) { animation: stagger-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.19s forwards; }
.stagger-children.animate > *:nth-child(4) { animation: stagger-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.26s forwards; }
.stagger-children.animate > *:nth-child(5) { animation: stagger-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.33s forwards; }
.stagger-children.animate > *:nth-child(6) { animation: stagger-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.40s forwards; }

@keyframes stagger-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Reduced Motion Compliance for All Animations
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-waveform-canvas,
    .desktop-waveform-canvas,
    .android-waveform-canvas { display: none; }

    .reveal-up, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-badge-animated,
    .hero-badges-animated,
    .hero-eyebrow-animated,
    .hero-h1-animated,
    .hero-p-animated,
    .hero-proof-animated,
    .hero-ctas-animated,
    .hero-product-stage-animated {
        opacity: 1;
        transform: none;
    }

    .tilt-card-inner {
        transform: none !important;
    }
}

/* ==========================================================================
   ENHANCEMENT 3: 12 Animation Upgrades
   ========================================================================== */

/* #2 — Image hover zoom on feature shots */
.feature-shot img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card-vertical:hover .feature-shot img {
    transform: scale(1.05);
}

/* #3 — Toast slide-in for #save-status */
#save-status {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#save-status.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* #4 — Active section nav highlight */
.nav-item.is-active {
    color: var(--color-primary);
}
.nav-item.is-active::after {
    transform: scaleX(1);
}

/* #5 — FAQ accordion smooth open */
.faq-item {
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
}
.faq-item[open] > .faq-content {
    animation: faq-slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* #6 — Input focus ring (enhanced) */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* #7 — Back-to-top button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 50;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    background: rgba(168, 85, 247, 0.3);
}
.back-to-top svg {
    width: 18px;
    height: 18px;
}

/* #8 — Form input label float */
.form-row label {
    transition: color 0.2s ease;
}
.form-row:focus-within label {
    color: var(--color-primary);
}

/* #9 — Footer link hover underline (already exists via .footer a, add transition) */
.footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* #10 — Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* #11 — Bar value text reveal (paired with bar fill animation) */
.bar-value {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.bar-value.bar-value-visible {
    opacity: 1;
    transform: translateX(0);
}

/* #12 — Section divider shimmer */
.section-divider {
    position: relative;
    overflow: hidden;
}
.section-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.6) 50%,
        transparent 100%
    );
    width: 30%;
    animation: divider-shimmer 6s ease-in-out infinite;
}
@keyframes divider-shimmer {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    10%      { opacity: 1; }
    90%      { opacity: 1; }
    50%      { transform: translateX(400%); }
}

/* ==========================================================================
   ENHANCEMENT 5: A11y — skip link, keyboard focus, screen-reader utilities
   ========================================================================== */

/* Skip to main content link — appears only when focused via keyboard */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    padding: 10px 16px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    z-index: 1000;
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 16px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Visible keyboard focus for interactive elements (skip mouse users) */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
.nav-item:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
    outline-offset: 4px;
}

/* Visually hidden but available to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Respect reduced motion globally for the a11y additions */
@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}

/* ==========================================================================
   ENHANCEMENT 6: Global visual polish
   ========================================================================== */

/* Text selection color (consistent across all 4 pages) */
::selection {
    background: rgba(168, 85, 247, 0.35);
    color: #fff;
}
::-moz-selection {
    background: rgba(168, 85, 247, 0.35);
    color: #fff;
}

/* Custom scrollbar (Webkit/Chromium) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.5);
}
::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.35);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.55);
    background-clip: padding-box;
    border: 2px solid transparent;
}

/* Print styles */
@media print {
    body {
        background: #fff;
        color: #000;
    }
    header, footer, .back-to-top, .skip-link,
    .features-marquee, .nav-item::after {
        display: none !important;
    }
    .glass-panel, .feature-card-vertical, .faq-item,
    .problem-card, .solution-card, .feature-tag {
        background: #fff !important;
        border: 1px solid #ccc !important;
        color: #000 !important;
        page-break-inside: avoid;
    }
    a {
        color: #0066cc !important;
        text-decoration: underline;
    }
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #666;
    }
}
