/* 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;

    --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;
}

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: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 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, span, label, input, button, textarea, select, a {
    font-family: var(--font-body);
}

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

/* AMOLED Ambient Morphing Blobs */
.ambient-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-amethyst) 0%, transparent 70%);
    animation: float-blob-1 25s infinite alternate ease-in-out;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    animation: float-blob-2 30s infinite alternate ease-in-out;
}

.blob-3 {
    top: 30%;
    right: 15%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--glow-indigo) 0%, transparent 70%);
    animation: float-blob-3 20s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 15vh) scale(1.2); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-15vw, -10vh) scale(0.9); }
}

@keyframes float-blob-3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5vw, 10vh) scale(1.1); }
}

/* 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);
}

/* Technical Blueprint Grid Backdrop */
.hero, .features-container, .problem-solution-container, .setup-wizard-section, .showcase-container {
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 24px 40px;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.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: 120px 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: 850px;
    margin: 0 auto;
    gap: 24px;
    position: relative;
}

.hero-bg {
    background:
      radial-gradient(ellipse 60% 50% at 50% 40%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 50%);
}

.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.035;
    pointer-events: none;
    z-index: 1;
}

.hero > *:not(.hero-noise) {
    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: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 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: 20px;
    position: relative;
}

.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: 24px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 30;
}

.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: 8px;
    pointer-events: none;
}

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

.features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.features-container h2 {
    font-size: 36px;
    text-align: center;
    letter-spacing: -0.02em;
    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: 24px;
    font-family: var(--font-body);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    width: 100%;
}

/* Base Bento Card */
.feature-card-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-vertical:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.08);
}

/* Bento Card specific overrides */
#feat-voice {
    grid-column: 1 / 4;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(88, 28, 235, 0.15), rgba(20, 184, 166, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.25);
}

#feat-agent {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

#feat-privacy {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

#feat-offline {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* Bare, clean icon boxes */
.feature-icon-box {
    width: auto;
    height: auto;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    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: 24px;
    height: 24px;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

/* Bento layout inner structures */
.feature-bento-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

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

/* CSS animated waveform */
.bento-wave {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
}

.wave-bar {
    width: 4px;
    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;
}

.bar-1 { animation-delay: 0.1s; height: 35px; }
.bar-2 { animation-delay: 0.3s; height: 55px; }
.bar-3 { animation-delay: 0.6s; height: 25px; }
.bar-4 { animation-delay: 0.2s; height: 45px; }
.bar-5 { animation-delay: 0.4s; height: 30px; }

@keyframes bento-wave-pulse {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.1); }
}

/* Mobile responsive bento */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    #feat-voice {
        grid-column: 1;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 2rem;
    }
    .feature-bento-visual {
        margin-top: 1rem;
        justify-content: center;
    }
    #feat-agent, #feat-privacy, #feat-offline {
        grid-column: 1;
        grid-row: auto;
    }
}

.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: 100px 24px 40px 24px;
        gap: 40px;
    }
    
    header {
        padding: 16px 24px;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-cols: 1fr;
    }
    
    .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;
}

/* Comparison Table */
.comparison-table-wrapper {
    padding: 32px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
}

.comparison-table-wrapper h3 {
    font-size: 20px;
    letter-spacing: -0.01em;
}

.table-scroll-container {
    width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
}

.comparison-table th.highlight-header {
    color: var(--primary-amethyst);
}

/* Offline column header */
.comparison-table th.highlight-header-offline {
    color: var(--accent-cyan);
}

.comparison-table td.feature-title {
    font-weight: 500;
    color: var(--text-white);
}

/* Highlighting columns specifically */
.col-fluence-groq {
    background: rgba(139, 92, 246, 0.06) !important;
    border-left: 1px solid rgba(139, 92, 246, 0.3) !important;
    border-right: 1px solid rgba(139, 92, 246, 0.3) !important;
}

.col-fluence-offline {
    background: rgba(20, 184, 166, 0.06) !important;
    border-left: 1px solid rgba(20, 184, 166, 0.25) !important;
    border-right: 1px solid rgba(20, 184, 166, 0.25) !important;
}

.winner-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: #a78bfa;
    display: block;
    margin-top: 4px;
    text-transform: uppercase;
}

.comparison-row {
    transition: background 0.15s ease;
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

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

/* Feature Icon Wrapper updates */
.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;
}

@media (max-width: 768px) {
    .comparison-table th, .comparison-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    .problem-card, .solution-card {
        padding: 24px;
    }
    .problem-solution-stack {
        flex-direction: column;
        gap: 20px;
    }
    .comparison-table-wrapper {
        padding: 20px;
    }
}

/* 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-cols: 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;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    cursor: pointer;
    position: relative;
}

.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: 5rem 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.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 */
.problem-card,
.solution-card,
.feature-card-vertical,
.roadmap-card,
.faq-item,
.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 */
.problem-card:hover,
.solution-card:hover,
.feature-card-vertical:hover,
.roadmap-card:hover,
.faq-item:hover,
.faq-item[open],
.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);
}

/* Quick Install Box - now lives beside the Setup Wizard */
.quick-install-box {
    margin-top: 0;
    width: 100%;
    text-align: left;
    align-self: start;
}

.quick-install-box h3 {
    font-size: 17px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-install-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-install-list li {
    font-size: 13.5px;
    color: var(--text-muted);
    position: relative;
    padding-left: 24px;
    line-height: 1.55;
}

.quick-install-list li strong {
    color: var(--text-white);
}

.quick-install-list li a {
    color: var(--accent-cyan);
    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;
}

.quick-install-list li a:hover {
    color: var(--text-white);
    border-bottom-color: var(--text-white);
}

.quick-install-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-amethyst);
    font-weight: 700;
}

/* Extra Responsive Adjustments */
@media (max-width: 900px) {
    /* Stack feature grid to single column on medium screens */
    .features-grid {
        grid-template-columns: 1fr;
    }
    /* 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;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .device-frame {
        transform: scale(0.9);
        transform-origin: center center;
        margin: -30px 0;
    }
}

/* ==========================================================================
   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: 40px;
    width: 200px;
    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 {
    padding: 40px;
    align-items: stretch;
    justify-content: flex-start;
}

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

.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;
}

.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: 900px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .desktop-frame {
        height: 520px;
    }
}

@media (max-width: 768px) {
    .desktop-frame {
        height: auto;
        min-height: 480px;
    }
    .desktop-body {
        flex-direction: column;
    }
    .desktop-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.04);
        padding: 12px;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
    }
    .desktop-sidebar::-webkit-scrollbar {
        display: none; /* Hide scrollbar for tab list */
    }
    .sidebar-tab {
        padding: 8px 14px;
        white-space: nowrap;
        width: auto;
    }
    .sidebar-tab.active {
        border-left: none;
        border-bottom: 2px solid var(--primary-amethyst);
        border-radius: 0;
        padding-left: 14px;
        padding-bottom: 6px;
    }
    .sidebar-separator {
        display: none;
    }
    .sidebar-action-btn {
        margin-top: 0;
        width: auto;
        padding: 8px 14px;
    }
    .desktop-content {
        padding: 16px;
        height: 380px;
    }
}

/* ====================================================
   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-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) !important;
    background: rgba(209, 140, 255, 0.06) !important;
    color: var(--text-white) !important;
}

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

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

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

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

.hotkey-display.recording {
    background: rgba(239, 68, 68, 0.06) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #F87171 !important;
    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 !important;
    border-radius: 3px !important;
    background: var(--primary-amethyst) !important;
}

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

/* ====================================================
   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: 1px solid rgba(255, 255, 255, 0.05);
}

.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: 8px;
    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;
}

.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 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 {
    padding: 24px;
    background: rgba(18, 18, 24, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.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(--primary-amethyst);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--accent-cyan);
}

.info-box {
    border-left: 3px solid var(--accent-cyan);
    padding: 20px 24px;
    margin: 24px 0;
}

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

.warning-box {
    border-left: 3px solid #ff4b4b;
    padding: 20px 24px;
    margin: 24px 0;
}

.warning-box h4 {
    margin-top: 0 !important;
    color: #ff4b4b;
    font-weight: 600;
}

.privacy-shield-box {
    border-left: 3px solid var(--primary-amethyst);
    padding: 24px;
    margin: 24px 0;
    background: rgba(168, 85, 247, 0.02);
}

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

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Responsive Mobile Layout for Docs */
@media (max-width: 860px) {
    .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;
    }
}



