/* =========================================
   Local VLM Touch Landing Page Styles v2
   ========================================= */

/* CSS Variables - Light Theme (Default) */
:root {
    /* Colors - Light Gray Theme (Kourai-style) */
    --color-bg: #f5f5f7;
    --color-bg-elevated: #ffffff;
    --color-bg-card: #ffffff;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 0, 0, 0.15);
    
    --color-text: #1a1a2e;
    --color-text-secondary: #4a4a5a;
    --color-text-muted: #7a7a8a;
    
    --color-primary: #2563eb;
    --color-primary-dim: rgba(37, 99, 235, 0.1);
    --color-primary-glow: rgba(37, 99, 235, 0.2);
    
    --color-accent: #2563eb;
    --color-accent-dim: rgba(37, 99, 235, 0.1);
    
    --color-surface: rgba(0, 0, 0, 0.02);
    
    /* Device colors for light mode */
    --color-device-frame: linear-gradient(145deg, #e8e8ec, #d8d8dc);
    --color-device-screen: linear-gradient(135deg, #1a1a2e, #2a2a3e);
    --color-device-shadow: rgba(0, 0, 0, 0.15);
    
    /* Nav background */
    --color-nav-bg: rgba(245, 245, 247, 0.9);
    
    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', 'SF Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Container */
    --container-max: 1140px;
    --container-padding: 1.5rem;
}

/* Dark Theme */
[data-theme="dark"] {
    --color-bg: #0a0a1a;
    --color-bg-elevated: #0f0f24;
    --color-bg-card: #141432;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    --color-text: #ffffff;
    --color-text-secondary: #a8a8c0;
    --color-text-muted: #6a6a8a;
    
    --color-primary: #3b82f6;
    --color-primary-dim: rgba(59, 130, 246, 0.15);
    --color-primary-glow: rgba(59, 130, 246, 0.3);
    
    --color-accent: #818cf8;
    --color-accent-dim: rgba(129, 140, 248, 0.15);
    
    --color-surface: rgba(255, 255, 255, 0.03);
    
    /* Device colors for dark mode */
    --color-device-frame: linear-gradient(145deg, #2a2a3a, #1a1a2a);
    --color-device-screen: linear-gradient(135deg, #0f0f1a, #1a1a28);
    --color-device-shadow: rgba(0, 0, 0, 0.4);
    
    /* Nav background */
    --color-nav-bg: rgba(10, 10, 26, 0.9);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

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

strong {
    color: var(--color-text);
    font-weight: 600;
}

/* =========================================
   Components
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.9375rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 20px var(--color-primary-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--color-text-muted);
    background: var(--color-surface);
}

.btn-full {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    background: var(--color-primary-dim);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

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

/* =========================================
   Navigation
   ========================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.logo-icon-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Join Waitlist Button */
.btn-waitlist {
    background: var(--color-primary);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-waitlist:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-text);
}

.theme-toggle:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-dim);
}

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

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .btn-waitlist {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: var(--color-primary);
    top: -300px;
    right: -200px;
    opacity: 0.08;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-accent);
    bottom: -200px;
    left: -200px;
    opacity: 0.06;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    /* Solid color, no animation */
}

.hero-title {
    margin-bottom: var(--space-xl);
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.1875rem;
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
}

/* System Diagram */
.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* System diagram layout handled in annotation section */

.system-touchscreen,
.system-vlm-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.device-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
}

.device-sublabel {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-top: -0.5rem;
}

.device-frame {
    width: 180px;
    height: 300px;
    background: var(--color-device-frame);
    border-radius: var(--radius-xl);
    padding: 12px;
    padding-top: 24px;
    padding-bottom: 28px;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 25px 60px -15px var(--color-device-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Camera at top of bezel */
.device-camera {
    width: 8px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.device-camera::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #4a5568 0%, #1a1a2e 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Branding at bottom of bezel */
.device-branding {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #6a6a7a;
    text-transform: uppercase;
}

[data-theme="dark"] .device-branding {
    color: #4a4a5a;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .device-screen {
    background: var(--color-device-screen);
    border: none;
}

.screen-content {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
}

/* AI Assistant UI with Video */
.assistant-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Video Container */
.assistant-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.assistant-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Captions Container - positioned at bottom of screen */
.assistant-captions {
    position: absolute;
    bottom: 48px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

/* Individual Captions - show one at a time */
.caption {
    font-size: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    white-space: nowrap;
}

/* Checklist displays inline */
.caption.checklist {
    display: flex;
    gap: 8px;
    justify-content: center;
    white-space: nowrap;
}

.caption.checklist .check-item {
    display: inline;
}

/* Call Control Bar */
.call-control-bar {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(20, 20, 30, 0.95);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.control-btn.end-call {
    color: #ff6b4a;
}

.control-btn.end-call:hover {
    background: rgba(255, 107, 74, 0.2);
}

/* Individual Captions - show one at a time */
.caption {
    font-size: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

/* 
   Timeline for 9.24 second video:
   0.0s - 0.8s: "Steve recognized" (camera highlight)
   0.5s - 1.5s: "Welcome home, Steve!" (overlaps slightly)
   1.5s - 2.7s: AI: "I see an active issue with garage door sensor"
   2.7s - 3.8s: User: "Resolve the garage door sensor issue" (mic)
   3.8s - 7.2s: Checklist items appear one by one
   7.2s - 9.2s: AI: "All done! Sensor fully functional."
*/

/* Step 1: Welcome - starts slightly after Steve recognized */
.caption-1 {
    animation: showCaption1 9.24s ease-in-out infinite;
}

/* Step 2: AI detects issue */
.caption-2 {
    animation: showCaption2 9.24s ease-in-out infinite;
}

/* Step 3: User speaking */
.caption-3 {
    animation: showCaption3 9.24s ease-in-out infinite;
}

/* Step 4: Checklist */
.caption-4.checklist {
    animation: showCaption4 9.24s ease-in-out infinite;
    text-align: left;
    padding: 6px 10px;
}

/* Step 5: AI response - all done */
.caption-5 {
    animation: showCaption5 9.24s ease-in-out infinite;
}

/* Individual keyframes for each caption */
@keyframes showCaption1 {
    0%, 4% { opacity: 0; transform: translateY(5px); }
    6% { opacity: 1; transform: translateY(0); }
    14% { opacity: 1; transform: translateY(0); }
    16% { opacity: 0; transform: translateY(-3px); }
    100% { opacity: 0; }
}

@keyframes showCaption2 {
    0%, 16% { opacity: 0; transform: translateY(5px); }
    18% { opacity: 1; transform: translateY(0); }
    27% { opacity: 1; transform: translateY(0); }
    29% { opacity: 0; transform: translateY(-3px); }
    100% { opacity: 0; }
}

@keyframes showCaption3 {
    0%, 29% { opacity: 0; transform: translateY(5px); }
    31% { opacity: 1; transform: translateY(0); }
    39% { opacity: 1; transform: translateY(0); }
    41% { opacity: 0; transform: translateY(-3px); }
    100% { opacity: 0; }
}

@keyframes showCaption4 {
    0%, 41% { opacity: 0; transform: translateY(5px); }
    43% { opacity: 1; transform: translateY(0); }
    75% { opacity: 1; transform: translateY(0); }
    78% { opacity: 0; transform: translateY(-3px); }
    100% { opacity: 0; }
}

@keyframes showCaption5 {
    0%, 78% { opacity: 0; transform: translateY(5px); }
    80% { opacity: 1; transform: translateY(0); }
    96% { opacity: 1; transform: translateY(0); }
    99% { opacity: 0; transform: translateY(-3px); }
    100% { opacity: 0; }
}

/* Checklist Styling */
.checklist {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.45rem;
    color: #ffffff;
    transform: translateX(0);
    opacity: 0;
}

.check-icon {
    color: #22c55e;
    font-weight: bold;
    font-size: 0.5rem;
}

/* Staggered check item animations - synced with caption-4 (41% - 78%) */
.check-1 {
    animation: showCheck1 9.24s ease-out infinite;
}

.check-2 {
    animation: showCheck2 9.24s ease-out infinite;
}

.check-3 {
    animation: showCheck3 9.24s ease-out infinite;
}

@keyframes showCheck1 {
    0%, 43% { opacity: 0; transform: translateX(-3px); }
    46% { opacity: 1; transform: translateX(0); }
    75% { opacity: 1; transform: translateX(0); }
    78% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes showCheck2 {
    0%, 52% { opacity: 0; transform: translateX(-3px); }
    55% { opacity: 1; transform: translateX(0); }
    75% { opacity: 1; transform: translateX(0); }
    78% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes showCheck3 {
    0%, 62% { opacity: 0; transform: translateX(-3px); }
    65% { opacity: 1; transform: translateX(0); }
    75% { opacity: 1; transform: translateX(0); }
    78% { opacity: 0; }
    100% { opacity: 0; }
}

/* Reset animation for looping - handled by JS */
.assistant-ui.restart-animation .caption,
.assistant-ui.restart-animation .check-item,
.assistant-ui.restart-animation .check-icon {
    animation: none;
}

/* Legacy face scan UI (keeping for reference) */
.face-scan-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.scan-ring {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: relative;
    animation: scan-pulse 2.5s ease-in-out infinite;
}

.scan-ring::before {
    content: '';
    position: absolute;
    inset: 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), transparent);
    border-radius: 50%;
}

.scan-ring::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50%;
}

@keyframes scan-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 var(--color-primary-glow);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px 5px transparent;
        transform: scale(1.02);
    }
}

.scan-text {
    font-size: 0.6875rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Device Annotations */
.system-touchscreen {
    position: relative;
}

/* New diagram layout */
.system-diagram {
    display: flex;
    align-items: center;
    gap: 0;
}

.diagram-left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diagram-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 15px;
    position: relative;
    margin-top: 40px;
}

.diagram-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;    /* Add this - pushes the whole section down */
}

/* Annotation styles */
.annotation {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    color: var(--color-border);
}

.annotation-box {
    font-size: 0.625rem;
    color: var(--color-text-secondary);
    background: var(--color-bg-card);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.annotation-line {
    color: var(--color-border);
}

/* Camera annotation - centered above camera dot */
.annotation-camera {
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

.annotation-camera .annotation-line {
    margin-top: 2px;
}

/* Avatar annotation - left side, very short line */
.annotation-avatar {
    top: 50%;
    left: -125px;
    flex-direction: row;
    align-items: center;
}

.annotation-avatar .annotation-line {
    margin-left: 2px;
}

/* Steve recognized overlay - on bezel next to camera */
.steve-recognized {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(15px);
    font-size: 0.5rem;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
    z-index: 15;
    opacity: 0;
    animation: showSteveRecognized 9.24s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes showSteveRecognized {
    0% { opacity: 0; }
    1% { opacity: 1; }
    8% { opacity: 1; }
    10% { opacity: 0; }
    100% { opacity: 0; }
}

/* Camera highlight during recognition */
.device-camera {
    animation: cameraHighlight 9.24s ease-in-out infinite;
}

@keyframes cameraHighlight {
    0% { box-shadow: none; }
    1% { box-shadow: 0 0 10px 3px rgba(34, 197, 94, 0.7); }
    8% { box-shadow: 0 0 10px 3px rgba(34, 197, 94, 0.7); }
    10% { box-shadow: none; }
    100% { box-shadow: none; }
}

/* Caption colors */
.caption.ai-response {
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.caption.user-speaking {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(34, 197, 94, 0.9);
    color: #ffffff;
}

.mic-icon, .speaker-icon {
    font-size: 0.6rem;
}

.caption.checklist.ai-response {
    flex-direction: column;
    align-items: flex-start;
}

/* Connection arrows */
.connection-arrows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 3px;
    opacity: 0.4;
}

.arrow-label {
    font-size: 0.5625rem;
    white-space: nowrap;
}

.arrow-svg {
    display: block;
}

/* Request arrow - green */
.arrow-request {
    color: #22c55e;
    animation: arrowPulseRequest 9.24s ease-in-out infinite;
}

.arrow-request .arrow-label {
    color: #22c55e;
}

/* Response arrow - gray/dark */
.arrow-response {
    color: #64748b;
    animation: arrowPulseResponse 9.24s ease-in-out infinite;
}

.arrow-response .arrow-label {
    color: #64748b;
}

[data-theme="dark"] .arrow-response {
    color: #94a3b8;
}

[data-theme="dark"] .arrow-response .arrow-label {
    color: #94a3b8;
}

@keyframes arrowPulseRequest {
    0%, 28% { opacity: 0.3; }
    31%, 41% { opacity: 1; }
    44% { opacity: 0.3; }
    100% { opacity: 0.3; }
}

@keyframes arrowPulseResponse {
    0%, 12% { opacity: 0.3; }
    15%, 28% { opacity: 1; }
    31%, 44% { opacity: 0.3; }
    47%, 84% { opacity: 1; }
    87% { opacity: 0.3; }
    100% { opacity: 0.3; }
}

/* VLM Box */
.vlm-frame {
    width: 100px;
    height: 100px;
    background: var(--color-device-frame);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 20px 40px -10px var(--color-device-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vlm-leds {
    display: flex;
    gap: 6px;
}

.led {
    width: 6px;
    height: 6px;
    background: var(--color-text-muted);
    border-radius: 50%;
}

/* Green LED - Solid (power/status) */
.led.led-green {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

/* Blue LED - Blinking (communication) */
.led.led-blue {
    background: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary-glow);
}

.led.led-blink {
    animation: led-blink-comm 9.24s infinite;
}

@keyframes led-blink-comm {
    0%, 12% { opacity: 0.3; }
    15%, 16% { opacity: 1; }
    17%, 18% { opacity: 0.3; }
    19%, 20% { opacity: 1; }
    21%, 30% { opacity: 0.3; }
    33%, 34% { opacity: 1; }
    35%, 36% { opacity: 0.3; }
    37%, 38% { opacity: 1; }
    39%, 40% { opacity: 0.3; }
    41%, 42% { opacity: 1; }
    43%, 75% { opacity: 0.3; }
    76%, 77% { opacity: 1; }
    78% { opacity: 0.3; }
    100% { opacity: 0.3; }
}

.vlm-vents {
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(255, 255, 255, 0.1) 4px,
        rgba(255, 255, 255, 0.1) 6px
    );
    border-radius: var(--radius-sm);
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: var(--space-2xl);
    }
    
    .system-diagram {
        transform: scale(0.85);
    }
    
    .device-annotations {
        display: none;
    }
}

@media (max-width: 480px) {
    .system-diagram {
        flex-direction: column;
        transform: scale(0.9);
    }
    
    .system-connection {
        transform: rotate(90deg);
    }
}

/* Architecture Diagram Image */
.architecture-diagram-container {
    margin-top: var(--space-3xl);
    padding: var(--space-xl) 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.architecture-diagram {
    width: 100%;
    max-width: 1400px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 0;
    /* Make white background transparent */
    mix-blend-mode: multiply;
}

[data-theme="dark"] .architecture-diagram {
    /* Invert for dark theme visibility */
    mix-blend-mode: normal;
    filter: invert(1) hue-rotate(180deg);
}

@media (max-width: 768px) {
    .architecture-diagram-container {
        margin-top: var(--space-2xl);
        padding: var(--space-md);
    }
}

/* =========================================
   Problem Section
   ========================================= */
.problem {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-elevated);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.problem-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.problem-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.problem-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.0625rem;
}

.problem-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
}

.solution-statement {
    margin-top: var(--space-3xl);
    text-align: center;
}

.solution-statement p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: var(--space-lg) var(--space-2xl);
    background: var(--color-primary-dim);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-full);
    display: inline-block;
}

@media (max-width: 968px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Platform Section
   ========================================= */
.platform {
    padding: var(--space-5xl) 0;
}

.platform-system {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
    margin-bottom: var(--space-4xl);
}

.platform-component {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.platform-component.component-secondary {
    grid-template-columns: 1.2fr 1fr;
    background: linear-gradient(135deg, var(--color-bg-card), rgba(37, 99, 235, 0.03));
    border-color: rgba(37, 99, 235, 0.15);
}

.addon-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.component-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.component-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
}

.feature-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.feature-item strong {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
}

.feature-item p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Touchscreen Render */
.component-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.touchscreen-render {
    perspective: 1000px;
}

.ts-frame {
    width: 240px;
    height: 360px;
    background: var(--color-device-frame);
    border-radius: var(--radius-xl);
    padding: 14px;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 40px 80px -20px var(--color-device-shadow);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.ts-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.ts-screen {
    width: 100%;
    height: 100%;
    background: var(--color-device-screen);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
}

.ts-ui-demo {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
}

.ui-row {
    display: flex;
    gap: var(--space-sm);
}

.ui-widget {
    flex: 1;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
}

.ui-face-widget {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-lg);
}

.face-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.ui-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    margin-top: auto;
}

.nav-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.nav-dot.active {
    background: var(--color-primary);
}

/* VLM Box Render */
.vlm-box-render {
    perspective: 1000px;
}

.vlm-body {
    display: flex;
    transform: rotateY(5deg) rotateX(-2deg);
    transition: transform var(--transition-slow);
}

.vlm-body:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.vlm-front {
    width: 160px;
    height: 120px;
    background: var(--color-device-frame);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 30px 60px -15px var(--color-device-shadow);
}

.vlm-side {
    width: 30px;
    height: 120px;
    background: var(--color-bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-left: -2px;
    border: 1px solid var(--color-border);
    border-left: none;
}

.vlm-indicator {
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
    animation: led-blink 2s infinite;
}

.vlm-ports {
    display: flex;
    gap: var(--space-sm);
}

.port {
    width: 24px;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-sm);
}

/* Voice Pipeline Diagram */
.voice-pipeline-diagram,
.vlm-pipeline-diagram {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.voice-pipeline-diagram svg,
.vlm-pipeline-diagram svg {
    width: 100%;
    height: auto;
}

.pipeline-box {
    fill: var(--color-bg-card);
    stroke: var(--color-border);
    stroke-width: 1.5;
}

.pipeline-box-primary {
    fill: var(--color-bg-elevated);
    stroke: var(--color-primary);
    stroke-width: 1.5;
}

.pipeline-box-accent {
    fill: rgba(34, 197, 94, 0.1);
    stroke: #22c55e;
    stroke-width: 1.5;
}

.pipeline-box-user {
    fill: var(--color-bg-elevated);
    stroke: var(--color-primary);
    stroke-width: 1.5;
}

.pipeline-box-local {
    fill: var(--color-bg-card);
    stroke: var(--color-border);
    stroke-width: 1.5;
    stroke-dasharray: 6 3;
}

.pipeline-box-vlm {
    fill: rgba(37, 99, 235, 0.08);
    stroke: var(--color-primary);
    stroke-width: 2;
}

.pipeline-box-offline {
    fill: rgba(34, 197, 94, 0.15);
    stroke: #22c55e;
    stroke-width: 1;
}

.pipeline-box-chip {
    fill: rgba(139, 92, 246, 0.15);
    stroke: #8b5cf6;
    stroke-width: 1;
}

.pipeline-label-bold {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 11px;
    fill: var(--color-text-primary);
    font-weight: 600;
}

.pipeline-label-section {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 10px;
    fill: var(--color-text-muted);
    font-weight: 500;
}

.pipeline-label-small {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 9px;
    fill: var(--color-text-secondary);
    font-weight: 500;
}

.pipeline-label-tiny {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 8px;
    fill: var(--color-text-muted);
}

.pipeline-label-offline {
    font-size: 11px;
}

.pipeline-label-chip {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 9px;
    fill: #8b5cf6;
    font-weight: 700;
}

.pipeline-arrow {
    stroke: var(--color-border);
    stroke-width: 1.5;
    fill: none;
}

.pipeline-arrow-head {
    fill: var(--color-border);
}

.pipeline-icon-stroke {
    stroke: var(--color-text-muted);
    stroke-width: 1.5;
    fill: none;
}

.pipeline-icon-fill {
    fill: var(--color-text-muted);
}

.pipeline-icon-accent-stroke {
    stroke: var(--color-primary);
    stroke-width: 1.5;
    fill: none;
}

.pipeline-icon-accent-fill {
    fill: var(--color-primary);
}

.pipeline-icon-muted {
    stroke: var(--color-text-muted);
    stroke-width: 1.5;
    fill: var(--color-bg-card);
}

@media (max-width: 968px) {
    .platform-component,
    .platform-component.component-secondary {
        grid-template-columns: 1fr;
    }
    
    .platform-component .component-visual {
        order: -1;
    }
    
    .voice-pipeline-diagram,
    .vlm-pipeline-diagram {
        max-width: 360px;
    }
}

/* Display Sizes */
.display-sizes {
    text-align: center;
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-3xl);
}

.display-sizes h3 {
    margin-bottom: var(--space-sm);
}

.display-sizes > p {
    margin-bottom: var(--space-2xl);
}

.sizes-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-3xl);
}

.size-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.size-visual {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 8px;
    transition: all var(--transition-base);
}

.size-visual:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.size-screen {
    background: linear-gradient(135deg, #1a1a2e, #2a2a3e);
    border-radius: var(--radius-md);
}

.size-4 {
    width: 80px;
}
.size-4 .size-screen {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.size-7 {
    width: 140px;
}
.size-7 .size-screen {
    width: 124px;
    height: 78px;
}

.size-10 {
    width: 180px;
}
.size-10 .size-screen {
    width: 164px;
    height: 103px;
}

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

.size-use {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media (max-width: 576px) {
    .sizes-showcase {
        flex-direction: column;
        gap: var(--space-xl);
    }
}

/* Customization */
.customization {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.custom-content h3 {
    margin-bottom: var(--space-md);
}

.custom-content > p {
    margin-bottom: var(--space-xl);
}

.custom-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.custom-list li {
    position: relative;
    padding-left: var(--space-xl);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.custom-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.custom-visual {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
}

.custom-device {
    width: 100px;
    height: 150px;
    border-radius: var(--radius-lg);
    padding: 8px;
}

.custom-device.light-mode {
    background: #e8e8ec;
}

.custom-device.dark-mode {
    background: #1a1a24;
}

.cd-screen {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
}

.cd-screen.light {
    background: #f8f8fa;
    border: 1px solid #ddd;
}

.cd-screen.dark {
    background: #0c0c14;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .customization {
        grid-template-columns: 1fr;
    }
    
    .custom-visual {
        order: -1;
    }
}

/* =========================================
   Differentiators Section
   ========================================= */
.differentiators {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-elevated);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.diff-card {
    text-align: center;
    padding: var(--space-xl);
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.diff-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.0625rem;
}

.diff-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Applications Section
   ========================================= */
.applications {
    padding: var(--space-5xl) 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.app-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.app-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.app-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.app-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.app-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Make 5 cards work in grid */
.apps-grid .app-card:nth-child(4),
.apps-grid .app-card:nth-child(5) {
    grid-column: span 1;
}

@media (max-width: 968px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .apps-grid .app-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-grid .app-card:last-child {
        grid-column: span 1;
    }
}

/* =========================================
   About & FAQ Sections
   ========================================= */
.about,
.faq {
    padding: var(--space-4xl) 0;
}

.about {
    background: var(--color-bg-elevated);
}

/* FAQ Grid and Accordion */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    gap: var(--space-md);
    transition: all var(--transition-fast);
}

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

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--color-text-primary);
}

@media (max-width: 768px) {
    .faq-question {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9375rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 var(--space-lg) var(--space-md);
    }
}

/* =========================================
   Waitlist Section
   ========================================= */
.waitlist {
    padding: var(--space-5xl) 0;
    background: var(--color-bg-elevated);
}

.waitlist-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.waitlist-content h2 {
    margin-bottom: var(--space-md);
}

.waitlist-desc {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.waitlist-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.waitlist-benefit {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.wb-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.waitlist-benefit div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.waitlist-benefit strong {
    font-size: 1rem;
    color: var(--color-text);
}

.waitlist-benefit span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Waitlist Form */
.waitlist-form-container {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.waitlist-form-container h3 {
    margin-bottom: var(--space-xl);
    font-size: 1.25rem;
}

.waitlist-form .form-group {
    margin-bottom: var(--space-lg);
}

.waitlist-form .form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.waitlist-form .form-group input[type="text"],
.waitlist-form .form-group input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.waitlist-form .form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.checkbox-group {
    margin-bottom: var(--space-xl) !important;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

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

.form-note {
    margin-top: var(--space-md);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
}

@media (max-width: 768px) {
    .waitlist-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    padding: var(--space-5xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info > p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-2xl);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.cf-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-dim);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a4a5a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: var(--space-md);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-elevated);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 260px;
}

.footer-links {
    display: flex;
    gap: var(--space-4xl);
}

.footer-col h4 {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: var(--space-2xl);
    }
    
    .footer-links {
        gap: var(--space-2xl);
    }
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.7s ease-out backwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.4s; }

.hero-visual {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Product Image Styles for Platform Section */
.touchscreen-image,
.vlm-box-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.touchscreen-product-image,
.vlm-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

