:root {
    /* Brand Colors - Aligned with brand.md */
    --bg-primary: hsl(222, 47%, 11%); /* Deep Midnight */
    --bg-secondary: hsl(222, 47%, 8%);
    --bg-tertiary: hsl(222, 47%, 15%);
    --text-primary: hsl(210, 40%, 98%); /* Electric White */
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Accent Colors */
    --accent-primary: #00F2FF; /* Neon Cyan */
    --accent-secondary: #3b82f6;
    --accent-danger: hsl(0, 84%, 60%); /* Safety Red */
    --accent-success: #10b981;
    
    /* Glass & Effects */
    --glass: rgba(255, 255, 255, 0.02);
    --glass-strong: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(0, 242, 255, 0.1);
    --glass-border-strong: rgba(0, 242, 255, 0.2);
    --card-bg: hsl(222, 47%, 13%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-bg: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(135deg, var(--glass) 0%, var(--glass-strong) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-neon: 0 0 20px rgba(0, 242, 255, 0.3);
    --shadow-neon-strong: 0 0 40px rgba(0, 242, 255, 0.5);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

[data-theme="light"] {
    /* Light Mode Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* Light Mode Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Light Mode Accent Colors - Keep brand colors but adjust for light background */
    --accent-primary: #0891b2; /* Darker cyan for better contrast */
    --accent-secondary: #2563eb;
    --accent-danger: hsl(0, 84%, 50%);
    --accent-success: #059669;
    
    /* Light Mode Glass Effects */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(8, 145, 178, 0.2);
    --glass-border-strong: rgba(8, 145, 178, 0.3);
    --card-bg: #ffffff;
    
    /* Light Mode Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%);
    
    /* Light Mode Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-neon: 0 0 20px rgba(8, 145, 178, 0.3);
    --shadow-neon-strong: 0 0 40px rgba(8, 145, 178, 0.4);
}

/* Light mode specific overrides */
[data-theme="light"] .glass {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(8, 145, 178, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .glass-strong {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(8, 145, 178, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .neon-btn {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

[data-theme="light"] .neon-btn:hover {
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

[data-theme="light"] .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 1px solid rgba(8, 145, 178, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(8, 145, 178, 0.1);
}

[data-theme="light"] nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(8, 145, 178, 0.1);
}

[data-theme="light"] .hero {
    background: radial-gradient(ellipse at center, rgba(8, 145, 178, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .feature-hero,
[data-theme="light"] .about-hero,
[data-theme="light"] .contact-hero,
[data-theme="light"] .pricing-hero {
    background: radial-gradient(ellipse at center, rgba(8, 145, 178, 0.1) 0%, transparent 70%);
}

[data-theme="light"] #three-canvas {
    opacity: 0.3;
}

/* Light mode form elements */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(8, 145, 178, 0.2);
    color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Light mode feature cards */
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .value-card:hover,
[data-theme="light"] .stat-item:hover,
[data-theme="light"] .pricing-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-primary);
}

/* Light mode contact items */
[data-theme="light"] .contact-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Light mode navigation */
[data-theme="light"] .nav-links a:hover {
    color: var(--accent-primary);
}

/* Light mode footer */
[data-theme="light"] .footer-links a:hover {
    color: var(--accent-primary);
}

/* Light mode social links */
[data-theme="light"] .footer-social a:hover,
[data-theme="light"] .social-link:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Light mode theme toggle */
[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(8, 145, 178, 0.2);
    color: var(--text-primary);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Light mode pricing cards */
[data-theme="light"] .pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.2);
}

/* Light mode comparison table */
[data-theme="light"] .comparison-row:hover {
    background: rgba(8, 145, 178, 0.05);
}

/* Light mode FAQ items */
[data-theme="light"] .faq-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

body {
    background: var(--gradient-bg);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

/* Modern Glassmorphism Components */
.glass {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
}

.glass-strong {
    background: var(--glass-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    line-height: 1;
}

.btn:hover {
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.neon-btn {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-neon);
    font-weight: 700;
}

.neon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-strong);
    filter: brightness(1.1);
    color: var(--bg-primary);
}

.btn-secondary {
    background: var(--glass);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

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

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-neon);
}

/* Modern Animations & Micro-interactions */
@keyframes pulse-neon {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-primary), 0 0 10px var(--accent-primary), 0 0 15px var(--accent-primary);
    }
    50% {
        box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary), 0 0 30px var(--accent-primary);
    }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--accent-primary));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--accent-primary)) drop-shadow(0 0 30px var(--accent-primary));
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--accent-primary); }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@keyframes cardFlip {
    0% {
        transform: rotateY(0);
    }
    50% {
        transform: rotateY(-90deg);
    }
    100% {
        transform: rotateY(0);
    }
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Micro-animation Utility Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse {
    animation: pulse-neon 2s infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.animate-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.animate-spin {
    animation: iconSpin 1s linear infinite;
}

/* Enhanced Button Micro-animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Ripple effect for buttons */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    animation: ripple 0.6s ease-out;
}

/* Card Hover Micro-animations */
.glass,
.feature-card,
.value-card,
.stat-item,
.pricing-card,
.faq-item,
.contact-item {
    transition: all var(--transition-base);
    transform-origin: center;
}

.glass:hover,
.feature-card:hover,
.value-card:hover,
.stat-item:hover,
.pricing-card:hover,
.faq-item:hover,
.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon Micro-animations */
.feature-icon,
.value-icon,
.contact-icon {
    transition: all var(--transition-base);
    display: inline-block;
}

.feature-card:hover .feature-icon,
.value-card:hover .value-icon,
.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    animation: bounce 0.6s ease;
}

/* Navigation Micro-animations */
.nav-links a {
    position: relative;
    transition: all var(--transition-base);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    transform: translateY(-2px);
}

/* Logo Animation */
.logo img {
    transition: all var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.2) drop-shadow(0 0 10px var(--accent-primary));
}

/* Form Input Micro-animations */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 255, 0.15);
}

.form-group label {
    transition: all var(--transition-base);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Social Links Micro-animations */
.footer-social a,
.social-link {
    transition: all var(--transition-base);
    position: relative;
}

.footer-social a:hover,
.social-link:hover {
    transform: translateY(-4px) rotate(10deg) scale(1.1);
    animation: heartbeat 0.6s ease;
}

/* Statistics Counter Animation */
.stat-number,
.hero-stat-number {
    transition: all var(--transition-base);
}

.stat-item:hover .stat-number,
.hero-stat:hover .hero-stat-number {
    transform: scale(1.1);
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-primary);
}

/* Pricing Toggle Animation */
.toggle-switch {
    transition: all var(--transition-base);
}

.toggle-switch:hover {
    transform: scale(1.05);
}

.toggle-slider {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Menu Animation */
.mobile-menu-toggle span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle:hover span {
    background: var(--accent-primary);
}

/* Footer Links Animation */
.footer-links a {
    position: relative;
    transition: all var(--transition-base);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all var(--transition-base);
    color: var(--accent-primary);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-links a:hover {
    transform: translateX(10px);
    color: var(--accent-primary);
}

/* Theme Toggle Animation */
.theme-toggle {
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 15px var(--accent-primary);
}

/* Process Steps Animation */
.process-step {
    transition: all var(--transition-base);
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    transition: all var(--transition-base);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    animation: pulse-neon 1s ease;
}

/* Comparison Table Row Animation */
.comparison-row {
    transition: all var(--transition-base);
}

.comparison-row:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--accent-primary);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 1.5s infinite;
}

/* Scroll-triggered animations */
.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale {
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-neon {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-primary);
}

/* Performance optimizations for animations */
.animate-float,
.animate-glow,
.animate-bounce,
.animate-pulse,
.animate-heartbeat,
.animate-spin {
    will-change: transform;
}

.btn,
.glass,
.feature-card,
.value-card,
.stat-item,
.pricing-card,
.faq-item,
.contact-item {
    will-change: transform, box-shadow;
}

/* Reduce motion for 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;
    }
    
    .animate-float,
    .animate-glow,
    .animate-bounce,
    .animate-pulse,
    .animate-heartbeat,
    .animate-spin {
        animation: none !important;
    }
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 2;
}

.section-lg {
    padding: 6rem 0;
}

.section-xl {
    padding: 8rem 0;
}

/* Modern Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
    background: rgba(34, 39, 46, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

nav.scrolled {
    padding: var(--space-md) 0;
    background: rgba(34, 39, 46, 0.95);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--glass-border-strong);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo img {
    height: 40px;
    filter: brightness(1.1);
    transition: var(--transition-base);
}

.logo:hover img {
    filter: brightness(1.2) drop-shadow(0 0 10px var(--accent-primary));
}

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

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: var(--space-sm) 0;
    transition: var(--transition-base);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .neon-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.8rem;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    padding: var(--space-3xl) var(--space-xl);
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.mobile-nav a:hover {
    color: var(--accent-primary);
    transform: scale(1.05);
}

/* Modern Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
}

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

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.hero-visual img {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 0 30px var(--accent-primary));
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--glass-border);
}

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

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* Brand Messaging */
.brand-tagline {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.brand-slogan {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: var(--space-lg);
}

/* Three.js Canvas */
#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-neon);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: block;
    filter: grayscale(1);
    transition: filter var(--transition-base);
}

.feature-card:hover .feature-icon {
    filter: grayscale(0);
}

.feature-card h3 {
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    color: var(--text-primary);
}

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

/* Enhanced Feature Highlights */
.feature-highlight {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin-top: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.feature-highlight-content {
    position: relative;
    z-index: 2;
}

.feature-list {
    list-style: none;
    margin: var(--space-xl) 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Modern Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-3xl) 0 var(--space-xl) 0;
    margin-top: var(--space-3xl);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

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

.footer-brand img {
    height: 32px;
    margin-bottom: var(--space-lg);
    filter: brightness(1.1);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-base);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.footer-social a svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
    transition: var(--transition-base);
}

.footer-social a:hover {
    border-color: var(--accent-primary);
    background: var(--glass-strong);
    transform: translateY(-2px);
}

.footer-social a:hover svg {
    fill: var(--accent-primary);
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
}

/* Theme Toggle */
.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    background: var(--glass-strong);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
        min-height: 90vh;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: var(--space-lg);
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .feature-card {
        padding: var(--space-xl);
    }
    
    .feature-highlight {
        padding: var(--space-xl);
        margin-top: var(--space-xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* Print Styles */
@media print {
    .nav, .footer, #three-canvas {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: var(--space-xl) 0;
    }
    
    .glass {
        background: white;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --glass-border: rgba(255, 255, 255, 0.3);
        --glass-border-strong: rgba(255, 255, 255, 0.5);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-float,
    .animate-glow {
        animation: none;
    }
}