/* ==========================================================================
   METASPACE - VR/AR EXPERIENCE PLATFORM
   Premium Template CSS
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
    /* Colors - Neon Purple Theme */
    --color-primary: #8B5CF6;
    --color-primary-light: #A78BFA;
    --color-primary-dark: #7C3AED;
    --color-primary-glow: rgba(139, 92, 246, 0.5);

    --color-secondary: #06B6D4;
    --color-secondary-light: #22D3EE;
    --color-secondary-dark: #0891B2;
    --color-secondary-glow: rgba(6, 182, 212, 0.5);

    --color-accent: #EC4899;
    --color-accent-light: #F472B6;
    --color-accent-glow: rgba(236, 72, 153, 0.5);

    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    /* Dark Theme Base */
    --color-bg-dark: #0a0a0f;
    --color-bg-darker: #050508;
    --color-bg-card: #12121a;
    --color-bg-card-hover: #1a1a25;
    --color-bg-elevated: #18182a;

    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #A1A1AA;
    --color-text-muted: #71717A;
    --color-text-dim: #52525B;

    /* Border Colors */
    --color-border: rgba(139, 92, 246, 0.2);
    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-glow: rgba(139, 92, 246, 0.4);

    /* Typography Scale (clamp-based responsive) */
    --text-hero: clamp(3.5rem, 10vw, 7rem);
    --text-display: clamp(2.5rem, 6vw, 5rem);
    --text-h1: clamp(2rem, 5vw, 3.5rem);
    --text-h2: clamp(1.75rem, 4vw, 2.5rem);
    --text-h3: clamp(1.25rem, 3vw, 1.75rem);
    --text-h4: clamp(1.125rem, 2vw, 1.25rem);
    --text-body: 1rem;
    --text-body-lg: 1.125rem;
    --text-small: 0.875rem;
    --text-xs: 0.75rem;

    /* Font Families */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing Scale (8px base) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.75);

    /* Glow Shadows */
    --glow-primary: 0 0 20px var(--color-primary-glow), 0 0 40px var(--color-primary-glow);
    --glow-primary-lg: 0 0 40px var(--color-primary-glow), 0 0 80px var(--color-primary-glow), 0 0 120px var(--color-primary-glow);
    --glow-secondary: 0 0 20px var(--color-secondary-glow), 0 0 40px var(--color-secondary-glow);
    --glow-accent: 0 0 20px var(--color-accent-glow), 0 0 40px var(--color-accent-glow);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
    --z-notification: 700;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    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-body);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background with grid pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Ambient gradient background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    z-index: var(--z-notification);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.text-hero {
    font-size: var(--text-hero);
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-primary-light) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-display {
    font-size: var(--text-display);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-alt {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px var(--color-primary-glow), 0 0 40px var(--color-primary-glow);
}

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

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm {
    max-width: 720px;
}

.container-md {
    max-width: 960px;
}

.container-lg {
    max-width: 1200px;
}

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

.section-lg {
    padding: var(--space-32) 0;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-4) 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--space-3) 0;
    background: rgba(10, 10, 15, 0.95);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.1em;
}

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-primary);
}

.navbar-logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

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

.navbar-link {
    padding: var(--space-2) var(--space-4);
    color: var(--color-text-secondary);
    font-size: var(--text-small);
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--color-text-primary);
    background: var(--color-bg-card);
}

.navbar-link.active {
    color: var(--color-primary);
}

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

.navbar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    margin: 6px auto;
    transition: all var(--transition-fast);
}

/* Mobile menu */
@media (max-width: 1024px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-bg-darker);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-20) var(--space-6);
        gap: var(--space-2);
        transition: right var(--transition-base);
        border-left: 1px solid var(--color-border);
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-link {
        width: 100%;
        padding: var(--space-4);
        font-size: var(--text-body);
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-small);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-body);
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-body-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: var(--glow-primary);
}

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

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

.btn-secondary:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-primary);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    padding: var(--space-2) var(--space-4);
}

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

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.card-glow:hover {
    box-shadow: var(--glow-primary);
}

.card-body {
    padding: var(--space-6);
}

.card-lg .card-body {
    padding: var(--space-8);
}

/* Experience Card */
.experience-card {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    cursor: pointer;
}

.experience-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.experience-card:hover .experience-card-image {
    transform: scale(1.1);
}

.experience-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
}

.experience-card-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: var(--color-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.experience-card-360 {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-card-360 svg {
    width: 24px;
    height: 24px;
    color: white;
}

.experience-card-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-secondary);
    color: var(--color-bg-dark);
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.experience-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    color: white;
    margin-bottom: var(--space-2);
}

.experience-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--text-small);
}

.experience-card-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Device Card */
.device-card {
    position: relative;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    border: 1px solid var(--color-border-light);
    text-align: center;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--color-primary-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.device-card-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: var(--space-6);
    transition: transform var(--transition-base);
    filter: drop-shadow(0 0 30px var(--color-primary-glow));
}

.device-card:hover .device-card-image {
    transform: scale(1.05) translateY(-10px);
}

.device-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    margin-bottom: var(--space-2);
}

.device-card-price {
    font-size: var(--text-h4);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.device-card-features {
    list-style: none;
    margin-bottom: var(--space-6);
}

.device-card-features li {
    padding: var(--space-2) 0;
    color: var(--color-text-secondary);
    font-size: var(--text-small);
    border-bottom: 1px solid var(--color-border-light);
}

.device-card-features li:last-child {
    border-bottom: none;
}

/* Feature Card */
.feature-card {
    padding: var(--space-8);
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    box-shadow: var(--glow-primary);
}

.feature-card-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    margin-bottom: var(--space-3);
}

.feature-card-text {
    color: var(--color-text-secondary);
    font-size: var(--text-small);
    line-height: 1.7;
}

/* Blog Card */
.blog-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-base);
}

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

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: var(--space-6);
}

.blog-card-category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-3);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    margin-bottom: var(--space-3);
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

.blog-card-excerpt {
    color: var(--color-text-secondary);
    font-size: var(--text-small);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--text-xs);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--space-24);
    overflow: hidden;
}

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

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--color-bg-dark) 0%, transparent 30%, transparent 70%, var(--color-bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

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

.hero-title {
    max-width: 900px;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: var(--text-body-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-10);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-h2);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.hero-stat-label {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* VR Headset Hero */
.hero-vr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-headset {
    position: relative;
}

.hero-headset-image {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 0 60px var(--color-primary-glow)) drop-shadow(0 0 120px var(--color-primary-glow));
    animation: float 6s ease-in-out infinite;
}

.hero-headset-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Experience previews floating around headset */
.hero-previews {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-preview {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    animation: float 5s ease-in-out infinite;
}

.hero-preview:nth-child(1) {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero-preview:nth-child(2) {
    bottom: 20%;
    right: 0;
    animation-delay: 1s;
}

.hero-preview:nth-child(3) {
    top: 20%;
    left: 5%;
    animation-delay: 2s;
}

.hero-preview:nth-child(4) {
    bottom: 10%;
    left: 10%;
    animation-delay: 1.5s;
}

.hero-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-headset {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

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

.section-subtitle {
    font-size: var(--text-body-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

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

.footer {
    padding: var(--space-20) 0 var(--space-8);
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.footer-text {
    color: var(--color-text-secondary);
    font-size: var(--text-small);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: var(--text-small);
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: var(--text-small);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border-light);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: var(--text-small);
}

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

.footer-legal a {
    color: var(--color-text-muted);
    font-size: var(--text-small);
}

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

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

    .footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   FORMS
   ========================================================================== */

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

.form-label {
    display: block;
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-4);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-size: var(--text-body);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

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

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Float animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Pulse glow */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Rotate */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Gradient shift */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* Continuous animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 20s linear infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

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

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-blur {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .hero-headset-image,
    .hero-preview {
        animation: none;
    }
}

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

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.bg-dark { background-color: var(--color-bg-dark); }
.bg-darker { background-color: var(--color-bg-darker); }
.bg-card { background-color: var(--color-bg-card); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }

.overflow-hidden { overflow: hidden; }

.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Spacing utilities */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }

.pt-4 { padding-top: var(--space-4); }
.pb-4 { padding-bottom: var(--space-4); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* ==========================================================================
   SPECIAL COMPONENTS
   ========================================================================== */

/* CTA Section */
.cta-section {
    position: relative;
    padding: var(--space-20);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-bg-dark) 100%);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, var(--color-secondary-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--color-accent-glow) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

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

.cta-text {
    font-size: var(--text-body-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    padding: var(--space-12);
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
}

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

.stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-h1);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

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

.gesture-card {
    padding: var(--space-6);
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    text-align: center;
    transition: all var(--transition-base);
}

.gesture-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.gesture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-card));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gesture-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.gesture-name {
    font-family: var(--font-heading);
    font-size: var(--text-body);
    margin-bottom: var(--space-2);
}

.gesture-desc {
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

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

/* Testimonials */
.testimonial-card {
    padding: var(--space-8);
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
}

.testimonial-text {
    font-size: var(--text-body-lg);
    color: var(--color-text-primary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: var(--text-small);
    color: var(--color-text-primary);
}

.testimonial-info p {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: var(--space-3);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    font-size: var(--text-body);
}

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

.newsletter-form button {
    padding: var(--space-4) var(--space-8);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: var(--text-body);
    color: var(--color-text-primary);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

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

/* Pricing table */
.pricing-card {
    position: relative;
    padding: var(--space-8);
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-light);
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

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

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

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

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: var(--text-h1);
    color: var(--color-primary);
}

.pricing-price .period {
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

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

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-12);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8) - 6px);
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--glow-primary);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    margin-bottom: var(--space-2);
}

.timeline-text {
    color: var(--color-text-secondary);
    font-size: var(--text-small);
    line-height: 1.7;
}

/* Team Grid */
.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--color-border);
    transition: all var(--transition-base);
}

.team-card:hover .team-avatar {
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-family: var(--font-heading);
    font-size: var(--text-body);
    margin-bottom: var(--space-1);
}

.team-role {
    font-size: var(--text-small);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

.team-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--color-primary);
    color: white;
}

/* Page Header */
.page-header {
    padding: calc(var(--space-32) + 80px) 0 var(--space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

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

.page-subtitle {
    font-size: var(--text-body-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    font-size: var(--text-small);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

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

.breadcrumb span {
    color: var(--color-text-muted);
}

.breadcrumb-current {
    color: var(--color-text-primary);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .navbar,
    .footer,
    .skip-link,
    .btn {
        display: none !important;
    }

    a {
        text-decoration: underline;
    }

    img {
        max-width: 100% !important;
    }
}

/* ==========================================================================
   SCROLLBAR STYLES
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-bg-elevated);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-bg-elevated) var(--color-bg-darker);
}

/* ==========================================================================
   DARK MODE STYLES
   ========================================================================== */

/* Light Mode Colors (default) */
html[data-theme="light"],
html[data-theme="light"].dark {
    --color-bg-dark: #FFFFFF;
    --color-bg-darker: #F8F8FA;
    --color-bg-card: #F0F0F5;
    --color-bg-card-hover: #E8E8F0;
    --color-bg-elevated: #FAFAFE;

    --color-text-primary: #0a0a0f;
    --color-text-secondary: #4a4a5a;
    --color-text-muted: #8a8a9a;
    --color-text-dim: #c0c0d0;

    --color-border: rgba(139, 92, 246, 0.15);
    --color-border-light: rgba(0, 0, 0, 0.08);
    --color-border-glow: rgba(139, 92, 246, 0.3);
}

/* Dark Mode Colors */
html[data-theme="dark"],
html.dark {
    --color-bg-dark: #0a0a0f;
    --color-bg-darker: #050508;
    --color-bg-card: #12121a;
    --color-bg-card-hover: #1a1a25;
    --color-bg-elevated: #18182a;

    --color-text-primary: #FFFFFF;
    --color-text-secondary: #A1A1AA;
    --color-text-muted: #71717A;
    --color-text-dim: #52525B;

    --color-border: rgba(139, 92, 246, 0.2);
    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-glow: rgba(139, 92, 246, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    color: var(--color-text-primary);
    border-color: var(--color-border-glow);
    background: var(--color-bg-card);
}

.theme-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Smooth transitions for theme changes */
html[data-theme],
html[data-theme] * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* Prevent transitions on page load */
html[data-theme="light"] *,
html[data-theme="dark"] * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Image opacity adjustment in dark mode */
html[data-theme="dark"] img:not(.light-mode-only) {
    opacity: 0.95;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html[data-theme],
    html[data-theme] * {
        transition: none !important;
    }
}
