/* Nexa AI - Professional Developer Product Design System */
/* Supporting Light Mode (Default) & Dark Mode via [data-theme="dark"] */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Default Theme: Light Mode */
:root {
    --bg-dark: #fafafa;
    --bg-surface: #ffffff;
    --bg-elevated: #ffffff;
    --bg-hover: #f4f4f5;
    --bg-blur: 16px;

    /* Text Colors */
    --text-primary: #09090b;
    --text-secondary: #52525b;
    --text-muted: #71717a;
    --text-dark: #ffffff;

    /* Accents */
    --accent-primary: #4f46e5;
    --accent-sky: #0284c7;
    --accent-glow: rgba(79, 70, 229, 0.08);

    /* Text Gradients */
    --gradient-heading: linear-gradient(180deg, #09090b 0%, #3f3f46 100%);
    --gradient-accent: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);

    /* Status Indicators */
    --green: #16a34a;
    --green-bg: rgba(22, 163, 74, 0.08);
    --green-border: rgba(22, 163, 74, 0.2);

    --amber: #d97706;
    --amber-bg: rgba(217, 119, 6, 0.08);
    
    --rose: #e11d48;
    --rose-bg: rgba(225, 29, 72, 0.08);

    /* Borders */
    --border: #e4e4e7;
    --border-strong: #d4d4d8;

    /* Code Block & Terminal Background (Always High-Contrast) */
    --code-bg: #18181b;
    --code-text: #f4f4f5;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-circle: 9999px;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Layout Constraints */
    --container-max: 1200px;
    --transition: cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --bg-dark: #09090b;
    --bg-surface: #121215;
    --bg-elevated: #18181b;
    --bg-hover: #27272a;

    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dark: #09090b;

    --accent-primary: #6366f1;
    --accent-sky: #38bdf8;
    --accent-glow: rgba(99, 102, 241, 0.15);

    --gradient-heading: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);

    --green: #10b981;
    --green-bg: rgba(16, 185, 129, 0.1);
    --green-border: rgba(16, 185, 129, 0.2);

    --amber: #f59e0b;
    --amber-bg: rgba(245, 158, 11, 0.1);

    --rose: #f43f5e;
    --rose-bg: rgba(244, 63, 94, 0.1);

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --code-bg: #000000;
    --code-text: #e4e4e7;
}

/* Reset & Foundation */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height, 90px);
    background-color: var(--bg-dark);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition), color var(--transition);
}

/* Background grid overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 50% -10%, var(--accent-glow) 0%, transparent 60%),
        radial-gradient(circle at 80% 60%, rgba(56, 189, 248, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 4px;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.accent-text {
    color: var(--accent-sky);
}

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

/* Cards & Surfaces */
.glass {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.glass:hover {
    border-color: var(--border-strong);
}

.glass-elevated {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .glass {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .glass-elevated {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Announcement Pill */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-circle);
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-decoration: none;
    transition: all var(--transition);
}

.badge:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-sky);
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-circle);
    background: var(--amber-bg);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: var(--amber);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: #09090b;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .btn-primary {
    background: #f4f4f5;
    color: #09090b;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.theme-toggle-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(var(--bg-blur));
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] header.scrolled {
    background: rgba(9, 9, 11, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #09090b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'Outfit', 'Inter', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-mark-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.logo:hover .logo-mark,
.logo:hover .logo-mark-img {
    transform: scale(1.05);
}

[data-theme="dark"] .logo-mark {
    background: #09090b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .logo-mark-img {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}

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

.nav-link.active {
    color: var(--accent-cyan);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

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

/* Proof Bar */
.proof-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* macOS Application Window Frame */
.hero-mockup-wrapper {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all var(--transition);
}

[data-theme="dark"] .hero-mockup-wrapper {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.window-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border);
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red { background: #ff5f56; border: 1px solid rgba(0,0,0,0.1); }
.dot-yellow { background: #ffbd2e; border: 1px solid rgba(0,0,0,0.1); }
.dot-green { background: #27c93f; border: 1px solid rgba(0,0,0,0.1); }

.window-title {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.hero-mockup {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Live Simulator Section */
.simulator-section {
    padding: 90px 0;
}

.simulator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.meeting-console {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.meeting-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.meeting-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--rose-bg);
    border: 1px solid rgba(225, 29, 72, 0.2);
    color: var(--rose);
    font-size: 0.75rem;
    font-weight: 700;
}

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

.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 170px;
    border: 1px solid var(--border);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-name {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(6px);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffffff;
}

.audio-waves-container {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(9, 9, 11, 0.8);
    padding: 4px 6px;
    border-radius: var(--radius-sm);
}

.wave-bar {
    width: 2px;
    height: 12px;
    background: var(--green);
    border-radius: 1px;
    animation: wavePulse 1s ease-in-out infinite alternate;
}
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes wavePulse {
    0% { height: 4px; }
    100% { height: 14px; }
}

/* Question Selection Pool */
.question-pool {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.question-pool-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.question-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}

.question-btn:hover, .question-btn.active {
    border-color: var(--border-strong);
    color: var(--text-primary);
}

/* Overlay Sim HUD */
.nexa-overlay-mockup {
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.nexa-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.nexa-overlay-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.profile-selector {
    display: flex;
    gap: 4px;
    background: var(--bg-hover);
    padding: 3px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.profile-tab {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.profile-tab.active {
    background: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.assistant-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

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

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.status-text {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--green);
}

.answer-area {
    flex-grow: 1;
    background: var(--code-bg);
    color: var(--code-text);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 320px;
}

.answer-area h3 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.answer-area pre {
    background: #09090b;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.775rem;
    border: 1px solid rgba(255,255,255,0.1);
    margin: 8px 0;
    overflow-x: auto;
    color: #e4e4e7;
}

.answer-area ul {
    margin-left: 18px;
    margin-top: 6px;
    color: #a1a1aa;
}

.typing-cursor {
    display: inline-block;
    width: 6px;
    height: 14px;
    background: #ffffff;
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

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

/* Features Grid */
.features-section {
    padding: 90px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-hover);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.feature-card h3 {
    font-size: 1.1rem;
}

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

/* Keyboard Shortcuts Section */
.shortcut-section {
    padding: 90px 0;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}

.mobile-keyboard-container {
    display: none;
}

.keyboard-container {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

.keyboard-container::-webkit-scrollbar {
    height: 4px;
}

.keyboard-container::-webkit-scrollbar-track {
    background: transparent;
}

.keyboard-container::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 4px;
}

.keyboard-row {
    display: flex;
    gap: 5px;
    justify-content: center;
    min-width: 535px;
}

.key {
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    cursor: pointer;
    user-select: none;
    transition: all 0.12s ease;
}

.key:hover, .key.active {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.key-sm { width: 32px; }
.key-md { width: 48px; }
.key-lg { width: 62px; }
.key-xl { width: 80px; }
.key-space { flex-grow: 1; }

.shortcut-demo-console {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shortcut-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-hover);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.775rem;
    font-weight: 600;
}

.shortcut-screen-mock {
    position: relative;
    height: 200px;
    background: var(--code-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
}

.floating-app-mock {
    position: absolute;
    top: 20px;
    left: 40px;
    width: 150px;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    transition: all 0.2s ease;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.floating-app-mock.click-through {
    opacity: 0.4;
    border-style: dashed;
}

kbd {
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 5px;
    font-family: var(--font-mono);
    font-size: 0.725rem;
    color: var(--text-primary);
}

/* Structured Platform Matrix */
.stealth-section {
    padding: 90px 0;
}

.platform-matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.platform-card {
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

.platform-card:hover, .platform-card.active {
    background: var(--bg-hover);
    border-color: var(--border-strong);
}

.platform-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.platform-info {
    display: flex;
    flex-direction: column;
}

.platform-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.platform-status {
    font-size: 0.725rem;
    color: var(--green);
    font-weight: 600;
}

.stealth-details-panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.details-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.details-platform-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.details-logo-badge {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border: 1px solid var(--border);
}

.details-bullets-list {
    margin-left: 18px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.details-terminal {
    background: var(--code-bg);
    color: var(--code-text);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 14px;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terminal-content {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.6;
    color: #a1a1aa;
}

/* Comparison Table */
.comparison-section {
    padding: 90px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

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

.comparison-table th, .comparison-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.comparison-table th {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.highlighted-col {
    background: var(--bg-hover);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.badge-success {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--green-bg);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.badge-warning {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--amber-bg);
    color: var(--amber);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.badge-danger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--rose-bg);
    color: var(--rose);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Pricing Section */
.pricing-section {
    padding: 90px 0;
}

.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--bg-hover);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-circle);
    position: relative;
    cursor: pointer;
}

.toggle-slider {
    width: 18px;
    height: 18px;
    background: var(--text-primary);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform var(--transition);
}

.toggle-switch.yearly .toggle-slider {
    transform: translateX(20px);
}

.discount-pill {
    padding: 2px 8px;
    border-radius: var(--radius-circle);
    background: var(--green-bg);
    color: var(--green);
    font-size: 0.725rem;
    font-weight: 700;
}

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

.pricing-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--border-strong);
    background: var(--bg-surface);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--text-dark);
    padding: 2px 12px;
    border-radius: var(--radius-circle);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 14px 0 6px;
    font-family: var(--font-sans);
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.plan-btn {
    width: 100%;
}

/* FAQ Accordion */
.faq-section {
    padding: 90px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--text-primary);
}

.faq-icon {
    transition: transform var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

/* CTA Section */
.cta-ribbon {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
}

.cta-ribbon h2 {
    font-size: 2.25rem;
    margin-bottom: 14px;
}

.cta-ribbon p {
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

/* Footer */
footer {
    padding: 70px 0 36px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h4 {
    font-size: 1.15rem;
}

.footer-links h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.825rem;
    color: var(--text-muted);
}

.system-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-circle);
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    color: var(--green);
    font-size: 0.775rem;
    font-weight: 600;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .simulator-grid, .features-grid, .pricing-grid, .platform-matrix-grid {
        grid-template-columns: 1fr 1fr;
    }
    .shortcut-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    .nav-actions {
        margin-left: auto;
        margin-right: 12px;
    }
    .nav-actions .btn,
    #headerDownloadBtn {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero {
        padding: 100px 0 24px;
    }
    .simulator-section,
    .features-section,
    .stealth-section,
    .comparison-section,
    .pricing-section,
    .faq-section {
        padding: 44px 0;
    }
    .section-header {
        margin-bottom: 28px;
    }
    .simulator-grid, .shortcut-grid, .features-grid, .pricing-grid, .platform-matrix-grid {
        grid-template-columns: 1fr;
    }
    .shortcut-section {
        padding: 44px 0;
        margin-top: 20px;
        border-top: 1px solid var(--border);
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    /* Mobile Only Hotkey Pad */
    .keyboard-container {
        display: none !important;
    }
    .mobile-keyboard-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background: var(--bg-surface);
        border: 1px solid var(--border);
        padding: 16px;
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        margin-bottom: 8px;
    }
    .mobile-keyboard-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-secondary);
        padding-bottom: 8px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 4px;
    }
    .mobile-keyboard-badge {
        background: var(--bg-hover);
        padding: 2px 8px;
        border-radius: var(--radius-sm);
        font-family: var(--font-mono);
        font-size: 0.7rem;
        color: var(--text-muted);
    }
    .mobile-keyboard-row {
        display: flex;
        gap: 8px;
        justify-content: center;
    }
    .key-mobile {
        flex: 1;
        height: 40px;
        font-size: 0.825rem;
        font-weight: 600;
        border-radius: var(--radius-sm);
    }
}

@media (max-width: 440px) {
    .container {
        padding: 0 16px;
    }
    .hero {
        padding: 100px 0 20px;
    }
    .hero h1 {
        font-size: 1.85rem;
    }
    .price-amount {
        font-size: 2rem;
    }
    .proof-bar {
        gap: 14px;
        flex-direction: column;
        align-items: center;
    }
    .nexa-overlay-mockup, .meeting-console {
        padding: 16px;
    }
}

/* Back to Top Floating Button */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 28px rgba(0, 240, 255, 0.2);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.back-to-top-btn:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
}

[data-theme="light"] .back-to-top-btn {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .back-to-top-btn:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--accent-cyan);
}

