/* ==========================================================================
   NimbusPlay — Design System v3
   Fresh color palette: Warm coral/orange → Emerald accents
   Gaming energy without the AI purple vibes
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties — Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette — Warm, bold, energetic */
    --color-bg-base: #09090b;
    --color-bg-elevated: #0f0f12;
    --color-bg-surface: #141418;
    --color-bg-surface-hover: #1a1a1f;
    --color-bg-card: #161619;
    --color-bg-card-hover: #1c1c21;
    
    --color-border: rgba(255, 255, 255, 0.07);
    --color-border-subtle: rgba(255, 255, 255, 0.04);
    --color-border-hover: rgba(255, 255, 255, 0.14);
    --color-border-focus: rgba(255, 107, 74, 0.5);
    
    --color-text-primary: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-text-tertiary: #71717a;
    --color-text-muted: #52525b;
    
    /* Brand Colors — Coral/Orange energy */
    --color-primary: #ff6b4a;
    --color-primary-hover: #ff8566;
    --color-primary-muted: rgba(255, 107, 74, 0.15);
    
    --color-secondary: #10b981;
    --color-accent: #fbbf24;
    --color-accent-warm: #f97316;
    
    /* Semantic Colors */
    --color-success: #22c55e;
    --color-success-muted: rgba(34, 197, 94, 0.15);
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-error-muted: rgba(239, 68, 68, 0.15);
    
    /* Gradients — Warm, energetic */
    --gradient-brand: linear-gradient(135deg, #ff6b4a 0%, #f97316 50%, #fbbf24 100%);
    --gradient-brand-subtle: linear-gradient(135deg, rgba(255, 107, 74, 0.12) 0%, rgba(249, 115, 22, 0.08) 50%, rgba(251, 191, 36, 0.04) 100%);
    --gradient-surface: linear-gradient(180deg, var(--color-bg-surface) 0%, var(--color-bg-base) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(255, 107, 74, 0.15) 0%, transparent 70%);
    --gradient-text: linear-gradient(135deg, #ff8566 0%, #fbbf24 100%);
    
    /* Typography */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
    
    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;
    
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    
    /* Spacing — 4px base unit */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows — Layered for depth */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3), 0 0 60px rgba(99, 102, 241, 0.1);
    --shadow-glow-lg: 0 0 50px rgba(99, 102, 241, 0.4), 0 0 100px rgba(99, 102, 241, 0.2);
    
    /* Transitions — Smooth, natural easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --duration-fast: 150ms;
    --duration-base: 200ms;
    --duration-slow: 300ms;
    --duration-slower: 500ms;
    
    /* Layout */
    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background: var(--color-bg-base);
    overflow-x: hidden;
}

::selection {
    background: var(--color-primary);
    color: white;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

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

img, svg {
    display: block;
    max-width: 100%;
}

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Typography — Hierarchy and rhythm
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
}

h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }

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

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

/* --------------------------------------------------------------------------
   Layout — Container and sections
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-16) 0;
    }
}

/* --------------------------------------------------------------------------
   Section Headers — Consistent, elegant
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}

.section-header-left {
    text-align: left;
    max-width: none;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--gradient-brand-subtle);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-hover);
    margin-bottom: var(--space-6);
}

.section-eyebrow-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header-left .section-description {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Buttons — Polished, interactive
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1;
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-out);
}

.btn-icon-left {
    flex-shrink: 0;
    margin-right: var(--space-1);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow-lg);
}

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

.btn-outline:hover {
    background: var(--color-bg-surface);
    border-color: var(--color-text-tertiary);
}

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

.btn-ghost:hover {
    color: var(--color-text-primary);
    background: var(--color-bg-surface);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

.btn-block {
    width: 100%;
}

.btn-nav {
    padding: var(--space-2) var(--space-4);
}

/* --------------------------------------------------------------------------
   Navigation — Refined, functional
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: #09090b;
    border-bottom: 1px solid var(--color-border-subtle);
    transition: all var(--duration-slow) var(--ease-out);
}

.nav.scrolled {
    background: #09090b;
    border-color: var(--color-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-lg);
    color: var(--color-text-primary);
}

.logo-mark {
    width: 36px;
    height: 36px;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

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

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out);
}

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

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

.nav-links-divider {
    width: 1px;
    height: 24px;
    background: var(--color-border);
    margin: 0 var(--space-3);
}

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    border-radius: var(--radius-md);
}

.nav-toggle-close {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .nav {
        background: #09090b !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .nav.scrolled {
        background: #09090b !important;
    }
    
    .nav-links, .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #09090b !important;
        padding: 24px;
        gap: 8px;
        animation: navSlide 0.3s var(--ease-out);
        z-index: 9999;
        overflow-y: auto;
    }
    
    .nav.nav-open .nav-links-divider {
        width: 100%;
        height: 1px;
        margin: 16px 0;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav.nav-open .nav-link {
        padding: 16px;
        font-size: 18px;
        background: transparent;
        color: #fff;
    }
    
    .nav.nav-open .nav-toggle-open {
        display: none;
    }
    
    .nav.nav-open .nav-toggle-close {
        display: block;
    }
}

@keyframes navSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Hero Section — Immersive, impactful
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
    overflow: hidden;
}

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

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.35) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content {
    max-width: 600px;
}

@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
}

.hero-eyebrow {
    margin-bottom: var(--space-6);
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

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

.hero-title-line {
    display: block;
}

.hero-title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

@media (max-width: 1024px) {
    .hero-cta {
        justify-content: center;
    }
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero-proof {
        justify-content: center;
    }
}

.hero-proof-item {
    display: flex;
    flex-direction: column;
}

.proof-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
}

.proof-unit {
    font-size: var(--text-base);
    color: var(--color-primary-hover);
}

.proof-label {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.hero-proof-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

@media (max-width: 640px) {
    .hero-proof-divider {
        display: none;
    }
    
    .hero-proof {
        display: flex;
        justify-content: space-around;
        width: 100%;
        gap: var(--space-4);
    }
    
    .hero-proof-item {
        flex: 1;
        align-items: center;
        text-align: center;
    }
}

/* Hero Visual — Premium Multi-device showcase */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 520px;
    padding-bottom: 40px;
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}

.hero-devices-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}

/* Shared device game screen styles */
.device-game {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-3);
    background: 
        linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%),
        radial-gradient(ellipse at 25% 15%, rgba(255, 107, 74, 0.4) 0%, transparent 45%),
        radial-gradient(ellipse at 75% 75%, rgba(251, 191, 36, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(120, 80, 200, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #1a0a2e 0%, #0d0d15 50%, #050508 100%);
    position: relative;
    overflow: hidden;
}

/* Screen reflection/glare effect */
.device-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 100%
    );
    pointer-events: none;
}

/* Scanline effect for retro-modern feel */
.device-game::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
}

/* === SMART TV === */
.device-tv {
    position: absolute;
    left: -20px;
    bottom: 60px;
    z-index: 1;
    transform: perspective(1200px) rotateY(18deg) rotateX(-2deg);
    transition: transform 0.4s ease-out;
}

.device-tv:hover {
    transform: perspective(1200px) rotateY(12deg) rotateX(-1deg) translateY(-5px);
}

.device-frame-tv {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* TV outer frame/bezel */
.device-screen-tv {
    width: 240px;
    height: 145px;
    background: linear-gradient(165deg, #2a2a35 0%, #18181f 50%, #0c0c10 100%);
    border-radius: 6px;
    padding: 8px;
    position: relative;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

/* TV brand logo indicator */
.device-screen-tv::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 74, 0.4), transparent);
    border-radius: 2px;
}

/* TV power LED */
.device-screen-tv::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 12px;
    width: 4px;
    height: 4px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(34, 197, 94, 0.4);
    animation: tvPulse 3s ease-in-out infinite;
}

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

.device-screen-tv .device-game {
    border-radius: 2px;
    height: 100%;
}

/* TV Stand - modern slim design */
.tv-stand {
    width: 50px;
    height: 35px;
    background: linear-gradient(180deg, #2a2a35 0%, #1a1a22 100%);
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    margin-top: -1px;
    position: relative;
}

/* TV Base - wide and thin */
.tv-stand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 8px;
    background: linear-gradient(180deg, #3a3a45 0%, #2a2a35 100%);
    border-radius: 4px 4px 2px 2px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* TV reflection on surface */
.device-tv::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 200px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    filter: blur(4px);
    opacity: 0.5;
}

/* === LAPTOP === */
.device-laptop {
    position: absolute;
    right: -30px;
    bottom: 40px;
    z-index: 2;
    transform: perspective(1200px) rotateY(-15deg) rotateX(2deg);
    transition: transform 0.4s ease-out;
}

.device-laptop:hover {
    transform: perspective(1200px) rotateY(-10deg) rotateX(1deg) translateY(-5px);
}

.device-frame-laptop {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Laptop screen lid */
.laptop-screen {
    width: 260px;
    background: linear-gradient(165deg, #2a2a35 0%, #1a1a22 50%, #0c0c10 100%);
    border-radius: 12px 12px 0 0;
    padding: 10px 10px 0 10px;
    position: relative;
    box-shadow: 
        0 -15px 40px -10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* Webcam */
.laptop-screen::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #1a1a22;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.8);
}

/* Webcam lens */
.laptop-screen::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #2a2a35 30%, #0c0c10 100%);
    border-radius: 50%;
}

.device-screen-laptop {
    width: 100%;
    height: 155px;
    background: #0d0d15;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Screen bezel line */
.device-screen-laptop::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

/* Laptop hinge */
.laptop-hinge {
    width: 262px;
    height: 6px;
    background: linear-gradient(180deg, #3a3a45 0%, #2a2a35 50%, #1a1a22 100%);
    border-radius: 0;
    position: relative;
    z-index: 1;
}

/* Laptop base/keyboard deck */
.laptop-base {
    width: 280px;
    height: 10px;
    background: linear-gradient(180deg, #2a2a35 0%, #1f1f28 100%);
    border-radius: 0 0 3px 3px;
    position: relative;
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: perspective(500px) rotateX(-75deg);
    transform-origin: top center;
}

/* Keyboard backlight glow */
.laptop-base::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 107, 74, 0.1) 20%,
        rgba(255, 107, 74, 0.15) 50%,
        rgba(255, 107, 74, 0.1) 80%,
        transparent 100%
    );
    filter: blur(2px);
}

/* Trackpad */
.laptop-base::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
}

/* Laptop reflection */
.device-laptop::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 240px;
    height: 35px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    filter: blur(4px);
    opacity: 0.4;
}

/* === PHONE (Center, foreground) === */
.device-phone {
    position: relative;
    z-index: 3;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.4s ease-out;
}

.device-phone:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px) scale(1.02);
}

.device-frame-phone {
    width: 200px;
    height: 410px;
    background: linear-gradient(165deg, #3a3a45 0%, #1a1a22 30%, #0c0c10 100%);
    border-radius: 38px;
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 60px 100px -30px rgba(0, 0, 0, 0.6),
        0 30px 60px -20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Phone side buttons */
.device-frame-phone::before {
    content: '';
    position: absolute;
    right: -2px;
    top: 100px;
    width: 3px;
    height: 35px;
    background: linear-gradient(180deg, #3a3a45 0%, #2a2a35 100%);
    border-radius: 0 2px 2px 0;
}

/* Power button */
.device-frame-phone::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 150px;
    width: 3px;
    height: 55px;
    background: linear-gradient(180deg, #3a3a45 0%, #2a2a35 100%);
    border-radius: 0 2px 2px 0;
}

/* Dynamic Island notch */
.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.8);
}

/* Camera and sensors in notch */
.phone-notch::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 30% 30%, #2a2a35 0%, #0a0a0a 60%);
    border-radius: 50%;
    box-shadow: 
        0 0 0 2px #1a1a1a,
        inset 0 0 3px rgba(50, 50, 80, 0.5);
}

/* Face ID sensors */
.phone-notch::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
}

.device-screen-phone {
    flex: 1;
    background: #0a0a0f;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Screen border highlight */
.device-screen-phone::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    pointer-events: none;
}

.device-screen-phone .device-game {
    padding-top: 50px;
    border-radius: 28px;
}

/* Home indicator bar */
.phone-home-indicator {
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    margin: 10px auto 6px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Phone reflection on surface */
.device-phone::before {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 180px;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    filter: blur(6px);
    opacity: 0.5;
    border-radius: 38px;
}
    border-radius: 2px;
    margin: 8px auto 4px;
}

.game-ui {
    padding-top: var(--space-4);
}

.game-title {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 107, 74, 0.5);
}

.game-stats {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.game-stat {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

.game-stat-live {
    color: var(--color-success);
    animation: pulse 2s ease-in-out infinite;
}

.game-controller {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: var(--space-4);
}

.controller-dpad {
    width: 60px;
    height: 60px;
    position: relative;
}

.controller-dpad::before,
.controller-dpad::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.controller-dpad::before {
    width: 20px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.controller-dpad::after {
    width: 60px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.controller-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.controller-buttons span {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.controller-buttons span:nth-child(1) { background: rgba(231, 76, 60, 0.3); }
.controller-buttons span:nth-child(2) { background: rgba(46, 204, 113, 0.3); }
.controller-buttons span:nth-child(3) { background: rgba(52, 152, 219, 0.3); }
.controller-buttons span:nth-child(4) { background: rgba(241, 196, 15, 0.3); }

.device-reflection {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    filter: blur(30px);
    border-radius: 50%;
}

/* Floating elements */
.hero-floating {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.hero-float-1 {
    top: 10%;
    right: 10%;
    animation: float 4s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 30%;
    right: 5%;
    animation: float 5s ease-in-out infinite 1s;
}

.hero-float-3 {
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text-tertiary);
    font-size: var(--text-xs);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-text-tertiary);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 24px; opacity: 0.3; }
}

@media (max-width: 768px) {
    .hero-scroll {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Ticker — Social proof
   -------------------------------------------------------------------------- */
.ticker {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
    padding: var(--space-4) 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding-right: var(--space-6);
}

.ticker-item {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.ticker-dot {
    color: var(--color-text-muted);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Problem Section
   -------------------------------------------------------------------------- */
.section-problem {
    background: var(--color-bg-elevated);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

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

.problem-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--duration-slow) var(--ease-out);
}

.problem-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.problem-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(239, 68, 68, 0.05) 100%);
}

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

.problem-visual {
    display: flex;
    align-items: center;
}

.price-comparison {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
}

.price-item {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.price-item-bad {
    background: var(--color-error-muted);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.price-item-good {
    background: var(--color-success-muted);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.price-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.price-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
}

.price-item-bad .price-value {
    color: var(--color-error);
}

.price-item-good .price-value {
    color: var(--color-success);
}

.price-context {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

.price-vs {
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-tertiary);
}

.problem-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand-subtle);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.problem-card h3 {
    margin-bottom: var(--space-3);
}

.problem-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.problem-services {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.service-badge {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-full);
}

.service-unavailable {
    background: var(--color-error-muted);
    color: var(--color-error);
}

.latency-visual {
    margin-top: var(--space-4);
}

.latency-bar {
    height: 28px;
    background: var(--color-bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.latency-fill {
    height: 100%;
    width: var(--width);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-md);
}

.latency-fill.latency-bad {
    background: linear-gradient(90deg, var(--color-error), #f97316);
    color: white;
}

.latency-fill.latency-good {
    background: var(--gradient-brand);
    color: white;
}

.latency-label {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.section-solution {
    background: var(--color-bg-base);
}

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

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

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

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--duration-slow) var(--ease-out);
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-lg);
}

.feature-card-hero {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-color: rgba(99, 102, 241, 0.2);
    padding: var(--space-10);
    text-align: center;
}

@media (max-width: 640px) {
    .feature-card-hero {
        padding: var(--space-6);
    }
}

.feature-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-primary-muted);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-primary-hover);
    margin-bottom: var(--space-4);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: var(--radius-2xl);
    color: white;
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand-subtle);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.feature-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.feature-card-hero h3 {
    font-size: var(--text-2xl);
}

.feature-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.feature-proof {
    margin-top: var(--space-8);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.latency-comparison {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.latency-item {
    display: grid;
    grid-template-columns: 100px 1fr 60px;
    align-items: center;
    gap: var(--space-3);
}

.latency-route {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    text-align: left;
}

.latency-bar-mini {
    height: 8px;
    background: var(--color-bg-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.latency-fill-mini {
    height: 100%;
    width: var(--width);
    border-radius: var(--radius-full);
    transition: width 1s var(--ease-out);
}

.latency-fill-mini.latency-good {
    background: var(--gradient-brand);
}

.latency-fill-mini.latency-bad {
    background: linear-gradient(90deg, var(--color-error), #f97316);
}

.latency-ms {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: right;
}

/* --------------------------------------------------------------------------
   How It Works Section
   -------------------------------------------------------------------------- */
.section-how {
    background: var(--color-bg-elevated);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

@media (max-width: 1024px) {
    .steps-container {
        flex-direction: column;
        align-items: stretch;
    }
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

@media (max-width: 1024px) {
    .step-card {
        max-width: none;
    }
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-4);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand-subtle);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
}

.step-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.step-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.step-connector {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .step-connector {
        display: none;
    }
}

/* Tech explainer */
.tech-explainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-10);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
}

@media (max-width: 768px) {
    .tech-explainer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.tech-explainer-content h3 {
    margin-bottom: var(--space-3);
}

.tech-explainer-content p {
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.tech-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.tech-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
    font-size: var(--text-xs);
}

.tech-node svg {
    color: var(--color-primary);
}

.tech-connection {
    position: relative;
    width: 80px;
    height: 4px;
}

.connection-line {
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
}

.connection-packets {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.packet {
    position: absolute;
    width: 8px;
    height: 4px;
    background: white;
    border-radius: var(--radius-full);
    top: 0;
}

.packet-up {
    animation: packetMove 1.5s linear infinite;
}

.packet-down {
    animation: packetMove 1.5s linear infinite 0.75s;
}

@keyframes packetMove {
    0% { left: -8px; }
    100% { left: calc(100% + 8px); }
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.section-pricing {
    background: var(--color-bg-base);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.pricing-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--duration-slow) var(--ease-out);
}

.pricing-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.pricing-card-featured {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-color: var(--color-primary);
    transform: scale(1.02);
    z-index: 1;
}

.pricing-card-featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-1) var(--space-4);
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-6);
}

.pricing-name {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.pricing-description {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-1);
    margin-top: var(--space-4);
}

.price-currency {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-text-tertiary);
}

.price-amount {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: var(--text-base);
    color: var(--color-text-tertiary);
}

.pricing-usd {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-1);
}

.pricing-features {
    margin-bottom: var(--space-6);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.pricing-features svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.pricing-features strong {
    color: var(--color-text-primary);
}

/* Pricing extras */
.pricing-extras {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 700px;
    margin: var(--space-12) auto 0;
}

@media (max-width: 640px) {
    .pricing-extras {
        grid-template-columns: 1fr;
    }
}

.pricing-extra {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.extra-icon {
    font-size: var(--text-2xl);
}

.extra-content h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.extra-content p {
    font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.section-faq {
    background: var(--color-bg-elevated);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

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

.faq-item {
    padding: var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
}

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

.faq-question {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
}

.faq-answer {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.section-cta {
    background: var(--color-bg-base);
}

.cta-card {
    position: relative;
    padding: var(--space-16);
    background: var(--color-bg-card);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

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

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

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 74, 0.25);
    top: -100px;
    left: -100px;
}

.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(251, 191, 36, 0.15);
    bottom: -50px;
    right: -50px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-muted);
}

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

.form-group label {
    position: absolute;
    top: -8px;
    left: var(--space-4);
    padding: 0 var(--space-2);
    background: var(--color-bg-card);
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    opacity: 1;
}

.cta-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
    padding: var(--space-3) var(--space-5);
    background: var(--color-success-muted);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-success);
}

.cta-visual {
    position: absolute;
    right: var(--space-10);
    bottom: var(--space-10);
    z-index: 1;
}

@media (max-width: 1024px) {
    .cta-visual {
        position: static;
        margin-top: var(--space-8);
        display: flex;
        justify-content: center;
    }
}

/* Device icons in CTA */
.cta-devices {
    display: flex;
    gap: var(--space-6);
}

.device-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-text-secondary);
    transition: all var(--duration-base) var(--ease-out);
}

.device-icon:hover {
    background: rgba(255, 107, 74, 0.1);
    border-color: rgba(255, 107, 74, 0.3);
    color: var(--color-primary);
    transform: translateY(-4px);
}

.device-icon svg {
    width: 32px;
    height: 32px;
}

.device-icon span {
    font-size: var(--text-xs);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Investors Section
   -------------------------------------------------------------------------- */
.section-investors {
    background: var(--color-bg-elevated);
}

.investors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

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

.investors-content .section-title {
    text-align: left;
}

.investors-content p {
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
}

.investors-metrics {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.investors-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.investors-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.highlight-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
}

.highlight-card:hover {
    border-color: var(--color-border-hover);
}

.highlight-icon {
    font-size: var(--text-2xl);
}

.highlight-card h4 {
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
}

.highlight-card p {
    font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-bg-base);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0 var(--space-8);
}

/* Modern Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
    transition: all var(--duration-fast) var(--ease-out);
}

.social-link:hover {
    background: var(--color-bg-surface-hover);
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

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

@media (max-width: 640px) {
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 400px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

.footer-col a {
    display: block;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    position: relative;
}

.footer-bottom-left p {
    color: var(--color-text-tertiary);
}

.footer-bottom-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-badge {
    padding: var(--space-2) var(--space-4);
    background: var(--gradient-brand-subtle);
    border: 1px solid rgba(255, 107, 74, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-primary);
}

.footer-bottom-right {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-right a {
    color: var(--color-text-tertiary);
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-bottom-right a:hover {
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .footer-bottom-center {
        position: static;
        transform: none;
    }
    
    .footer-bottom-right {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation utilities */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
