/* ==========================================================================
   IA STUDIO - PREMIUM DESIGN SYSTEM (GEMINI INSPIRED)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Colors */
    --bg-dark: #07070a;
    --bg-card: rgba(13, 13, 20, 0.55);
    --bg-card-hover: rgba(20, 20, 32, 0.75);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(255, 255, 255, 0.15);

    /* Gemini Glowing Gradients */
    --primary-gradient: linear-gradient(135deg, #7a3ef8 0%, #4672fe 50%, #00d2ff 100%);
    --gemini-gradient: linear-gradient(90deg, #9b51e0, #3082fa, #00f2fe, #3082fa, #9b51e0);
    --aurora-purple: rgba(124, 58, 237, 0.12);
    --aurora-blue: rgba(59, 130, 246, 0.12);
    --aurora-cyan: rgba(6, 182, 212, 0.08);

    /* Text Colors */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --text-white: #ffffff;

    /* Fonts */
    --font-display: 'Outfit', sans-serif;
    --font-sans: 'Inter', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   BACKGROUND AURORA EFFECTS & GRID
   ========================================================================== */

.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.ambient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(13, 13, 20, 0.8) 0%, transparent 80%),
        radial-gradient(circle at 90% 80%, rgba(8, 8, 12, 0.9) 0%, transparent 80%);
}

/* Glowing Aurora Spheres */
.aurora-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform;
}

.aurora-1 {
    top: -10%;
    right: 15%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(122, 62, 248, 0.2) 0%, rgba(70, 114, 254, 0.05) 70%, transparent 100%);
    animation: float-aurora-1 25s infinite alternate ease-in-out;
}

.aurora-2 {
    bottom: 10%;
    left: -5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(124, 58, 237, 0.05) 70%, transparent 100%);
    animation: float-aurora-2 30s infinite alternate ease-in-out;
}

.aurora-3 {
    top: 40%;
    left: 45%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, rgba(59, 130, 246, 0.02) 60%, transparent 100%);
    animation: float-aurora-3 20s infinite alternate ease-in-out;
}

/* Cyber Grid Pattern */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
}

/* ==========================================================================
   ANIMATED GRADIENT TEXT
   ========================================================================== */
.animated-gradient-text {
    background: linear-gradient(
        to right,
        #a78bfa,
        #f472b6,
        #38bdf8,
        #a78bfa
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.ai-card {
    background: #14111f !important;
    border-color: rgba(167, 139, 250, 0.15) !important;
}
.ai-card:hover {
    border-color: rgba(167, 139, 250, 0.4) !important;
    box-shadow: 0 10px 40px -10px rgba(167, 139, 250, 0.25) !important;
}

.ia-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
    z-index: 10;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 100;
    border-bottom: var(--border-color);
    background: rgba(7, 7, 10, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 60px;
    background: rgba(7, 7, 10, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-gemini-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate-gemini-icon 6s infinite ease-in-out;
}

.logo-gemini-icon::before {
    content: '✦';
    color: var(--text-white);
    font-size: 14px;
    font-weight: bold;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    background: linear-gradient(90deg, #ffffff 30%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-cta {
    background: linear-gradient(90deg, #7c3aed, #4f46e5);
    color: var(--text-white) !important;
    padding: 8px 18px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
    transition: var(--transition-smooth) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 90vh;
    padding: 120px 24px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 10;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.25);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    color: #a78bfa;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
    animation: pulse-tag 2s infinite ease-in-out;
}

.hero-tag span.badge {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(32px, 6vw, 68px);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.animated-gradient-text {
    background: linear-gradient(90deg, #a78bfa, #38bdf8, #818cf8, #a78bfa);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-flow 8s linear infinite;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    font-family: var(--font-display);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(90deg, #7c3aed, #4f46e5);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.5);
    background: linear-gradient(90deg, #8b5cf6, #6366f1);
}

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

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

/* ==========================================================================
   METRICS BAR
   ========================================================================== */

.metrics-section {
    max-width: var(--max-width);
    margin: 0 auto 80px;
    padding: 0 24px;
}

.metrics-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-wrap: wrap;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.metrics-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.metric-item {
    text-align: center;
}

.metric-number {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 4px;
}

.metric-number span.gradient-highlight {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (CENTRAL FEATURE)
   ========================================================================== */

.simulator-section {
    max-width: var(--max-width);
    margin: 0 auto 100px;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    font-family: var(--font-display);
    color: #06b6d4;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(24px, 4vw, 38px);
    letter-spacing: -1px;
    color: var(--text-white);
}

.simulator-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: 680px;
    position: relative;
}

@media (max-width: 990px) {
    .simulator-container {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: auto;
    }
    .sim-editor-panel {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        height: 380px !important;
    }
    .sim-plugin-panel {
        height: 600px !important;
    }
}

.simulator-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.3), transparent);
}

/* Simulator Sidebar (Commands) */
.sim-sidebar {
    background: rgba(7, 7, 10, 0.4);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-sidebar-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sim-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: left;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.sim-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: var(--transition-fast);
}

.sim-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.sim-btn:hover svg {
    stroke: var(--text-primary);
}

.sim-btn.active {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.4);
    color: #a78bfa;
}

.sim-btn.active svg {
    stroke: #a78bfa;
    filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.5));
}

.suggestion-btn {
    width: auto !important;
    display: inline-flex !important;
    text-align: center !important;
    justify-content: center !important;
}

/* Simulator Content Screen */
.sim-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.sim-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    top: -50px;
    right: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.sim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    z-index: 2;
}

.sim-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-icon-container {
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-icon-container svg {
    width: 22px;
    height: 22px;
    stroke: #a78bfa;
}

.sim-feature-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.sim-feature-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.sim-status-pill {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Interactive Board (Waveform / Chat / Reel Editor) */
.sim-viewport {
    background: rgba(7, 7, 10, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 260px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Screen state: Silencios */
.screen-silencios {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.waveform-container {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 3px;
    position: relative;
}

.wave-bar {
    flex: 1;
    height: 20%;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.wave-bar.silence {
    background: rgba(239, 68, 68, 0.3) !important;
    height: 8% !important;
}

.wave-bar.speech {
    background: #06b6d4;
    height: 60%;
}

.cut-indicator {
    position: absolute;
    top: -10px;
    bottom: -10px;
    width: 2px;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    opacity: 0;
    transition: var(--transition-fast);
}

.timeline-ruler {
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    font-family: monospace;
}

.timeline-action-area {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Screen state: Reels */
.screen-reels {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
}

.video-mockup {
    background: #111116;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aspect-ratio-box {
    width: 90px;
    height: 160px;
    background: #1e1b29;
    border: 2px solid #a78bfa;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.2);
    position: relative;
    overflow: hidden;
}

.aspect-ratio-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7));
}

.aspect-ratio-box span.badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #ef4444;
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 3px;
    animation: flash 1s infinite alternate;
}

.aspect-ratio-box .voice-lines {
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 2px;
    height: 12px;
    align-items: flex-end;
}

.aspect-ratio-box .voice-lines span {
    flex: 1;
    background: #38bdf8;
    border-radius: 1px;
}

.reels-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.reel-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.reel-item:hover,
.reel-item.active {
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
}

.reel-tag {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

/* Screen state: Copilot Chat */
.screen-chat {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.chat-box {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
    padding-right: 4px;
}

.chat-message {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    max-width: 80%;
    line-height: 1.4;
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-message.ai {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #cbd5e1;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-message.ai .sparkle-title {
    font-weight: 700;
    color: #a78bfa;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-input-mock {
    height: 36px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.chat-input-mock span.cursor-line {
    width: 2px;
    height: 14px;
    background: #00d2ff;
    animation: flash 1s infinite alternate;
}

/* Screen state: Multicam */
.screen-multicam {
    width: 100%;
    height: 100%;
    padding: 16px;
    display: grid;
    grid-template-rows: 1fr 60px;
    gap: 16px;
}

.multicam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.camera-feed {
    background: #111116;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-feed.active {
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.camera-feed.active .voice-glow-border {
    position: absolute;
    inset: 0;
    border: 2px solid #06b6d4;
    border-radius: 8px;
    animation: pulse-border 1.5s infinite;
}

.camera-label {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
}

.camera-indicator {
    position: absolute;
    bottom: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 8px;
    font-weight: bold;
    color: #ef4444;
}

.camera-indicator::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: flash 0.8s infinite alternate;
}

.speaker-active-bar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
}

.speaker-active-bar .speaker-name {
    font-weight: bold;
    color: #38bdf8;
}

/* Output Console panel */
.sim-console {
    background: rgba(7, 7, 10, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    font-family: monospace;
    font-size: 12px;
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.console-prefix {
    color: #38bdf8;
    margin-right: 6px;
    font-weight: bold;
}

.console-output {
    color: #cbd5e1;
}

.action-btn-trigger {
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: var(--transition-smooth);
}

.action-btn-trigger:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* ==========================================================================
   BENTO GRID - FEATURES SECTION
   ========================================================================== */

.bento-section {
    max-width: var(--max-width);
    margin: 0 auto 100px;
    padding: 0 24px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

/* Bento Card Styles */
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

/* Spotlight Hover Effect */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124, 58, 237, 0.05);
}

/* Card layout spans */
.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.card-top {
    z-index: 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.bento-card:hover .card-icon {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
    transform: scale(1.05);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
    transition: var(--transition-smooth);
}

.bento-card:hover .card-icon svg {
    stroke: #a78bfa;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.4));
}

.card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

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

/* Inside Card Graphics */
.card-graphic {
    margin-top: 24px;
    background: rgba(7, 7, 10, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    height: 140px;
    position: relative;
    z-index: 2;
}

/* Bad takes graphic */
.badtakes-graphic {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    gap: 8px;
    height: 100%;
}

.badtake-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 10px;
}

.badtake-row.repeating {
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.6;
}

.badtake-row.repeating::before {
    content: '✖';
    color: #ef4444;
    font-weight: bold;
}

.badtake-row.correct {
    color: #10b981;
    font-weight: bold;
}

.badtake-row.correct::before {
    content: '✔';
    color: #10b981;
}

/* VS Code bridge graphic */
.vscode-graphic {
    padding: 12px;
    font-family: monospace;
    font-size: 11px;
    color: #38bdf8;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.vscode-shortcut {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    font-size: 12px;
    margin-top: 8px;
    align-self: flex-start;
}

/* ==========================================================================
   TECHNICAL SPECS SECTION
   ========================================================================== */

.tech-section {
    max-width: var(--max-width);
    margin: 0 auto 100px;
    padding: 0 24px;
}

.tech-container {
    background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.05), transparent 50%), var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tech-card {
    background: rgba(7, 7, 10, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
}

.tech-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-card-title svg {
    width: 16px;
    height: 16px;
    stroke: #06b6d4;
}

.tech-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.cta-section {
    max-width: var(--max-width);
    margin: 0 auto 100px;
    padding: 0 24px;
    position: relative;
}

.cta-box {
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.25) 0%, transparent 60%), var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 31px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.cta-desc {
    color: var(--text-secondary);
    font-size: clamp(15px, 2vw, 17px);
    max-width: 550px;
    margin: 0 auto 32px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    border-top: var(--border-color);
    background: rgba(5, 5, 8, 0.8);
    padding: 60px 24px 30px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

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

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 12px;
}

.footer-links-group {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-column-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #a78bfa;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}

.footer-socials svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-secondary);
}

/* ==========================================================================
   CSS KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes text-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes rotate-gemini-icon {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

@keyframes float-aurora-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-10%, 15%) scale(1.1);
    }
}

@keyframes float-aurora-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15%, -10%) scale(1.05);
    }
}

@keyframes float-aurora-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-8%, -15%) scale(1.12);
    }
}

@keyframes pulse-tag {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(124, 58, 237, 0.25);
        border-color: rgba(124, 58, 237, 0.4);
    }
}

@keyframes flash {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes pulse-border {
    0% {
        border-color: rgba(6, 182, 212, 0.2);
    }

    50% {
        border-color: rgba(6, 182, 212, 0.9);
    }

    100% {
        border-color: rgba(6, 182, 212, 0.2);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 968px) {
    .simulator-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .sim-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        flex-direction: row;
        overflow-x: auto;
        padding: 16px;
        gap: 8px;
    }

    .sim-sidebar-title {
        display: none;
    }

    .sim-btn {
        white-space: nowrap;
        width: auto;
    }

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

    .span-2 {
        grid-column: span 2;
    }

    .tech-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* In a real app we'd toggle a menu, kept simple for premium core code */
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

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

    .span-2,
    .span-3 {
        grid-column: span 1;
    }

    .metrics-bar {
        padding: 20px;
    }

    .metric-item {
        width: 40%;
    }

    .sim-content {
        padding: 20px;
    }

    .screen-reels {
        grid-template-columns: 1fr;
        height: auto;
    }

    .aspect-ratio-box {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .metric-item {
        width: 100%;
    }

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

/* ==========================================================================
   WAITLIST FORM STYLES
   ========================================================================== */

.waitlist-wrapper {
    max-width: 580px;
    margin: 32px auto 0;
    position: relative;
    z-index: 10;
}

.waitlist-form {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.waitlist-form:focus-within {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15), 0 0 0 1px rgba(124, 58, 237, 0.2);
}

.waitlist-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 24px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-width: 0;
}

.waitlist-input::placeholder {
    color: var(--text-muted);
}

.waitlist-btn {
    padding: 12px 28px !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.waitlist-subtext {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 14px;
    font-weight: 500;
}

.success-message {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    padding: 16px 24px;
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    animation: slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes slide-up {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 580px) {
    .waitlist-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
        gap: 12px;
    }

    .waitlist-input {
        padding: 10px;
        text-align: center;
    }

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