/* ============================================
   SERAPHIM VIETNAM - COMPLETE PREMIUM STYLESHEET
   Restored with all design elements
   ============================================ */

/* ============================================
   DAY/NIGHT ADAPTIVE THEMING SYSTEM
   Auto-detects user's local time
   Day: 6am-6pm | Night: 6pm-6am
   ============================================ */

:root {
    /* Core Colors */
    --void: #000000;
    --surface: #0a0a0a;
    --surface-elevated: #111111;
    --border: rgba(255,255,255,0.08);
    --border-glow: rgba(255,255,255,0.15);
    --terminal-green: #00ff88;
    --terminal-silver: #c8d4e0;
    --terminal-silver-bright: #e8f0f8;
    --text-bright: #ffffff;
    --text-secondary: #b8c0c8;
    --text-muted: #788090;
    --text-dim: #404448;
    --glow-green: rgba(0, 255, 136, 0.4);
    --glow-silver: rgba(200, 212, 224, 0.3);
    --zalo-blue: #0068FF;
    
    /* === NIGHT MODE (Default) === */
    /* Glass tints */
    --glass-primary: rgba(0, 100, 150, 0.08);
    --glass-secondary: rgba(0, 50, 100, 0.05);
    --glass-accent: rgba(0, 80, 120, 0.06);
    --glass-base: rgba(5, 8, 12, 0.92);
    
    /* Ambient glows */
    --ambient-glow-1: rgba(0, 200, 255, 0.08);
    --ambient-glow-2: rgba(0, 255, 136, 0.06);
    --ambient-glow-3: rgba(100, 150, 255, 0.05);
    
    /* Edge highlights */
    --edge-highlight: rgba(0, 200, 255, 0.4);
    --edge-prismatic-1: rgba(0, 255, 136, 0.3);
    --edge-prismatic-2: rgba(0, 200, 255, 0.4);
    --edge-prismatic-3: rgba(100, 150, 255, 0.3);
    
    /* Particle colors */
    --particle-primary: rgba(0, 255, 136, 0.8);
    --particle-secondary: rgba(0, 200, 255, 0.6);
    --particle-tertiary: rgba(150, 200, 255, 0.5);
    
    /* Backdrop filter */
    --glass-blur: blur(20px) saturate(180%) brightness(95%);
    --glass-blur-heavy: blur(30px) saturate(200%) brightness(90%);
    
    /* Time indicator */
    --time-mode: 'night';
}

/* === DAY MODE === */
html.daytime {
    /* Warmer glass tints for day */
    --glass-primary: rgba(255, 200, 150, 0.06);
    --glass-secondary: rgba(255, 180, 120, 0.04);
    --glass-accent: rgba(255, 220, 180, 0.05);
    --glass-base: rgba(8, 10, 15, 0.88);
    
    /* Warm ambient glows */
    --ambient-glow-1: rgba(255, 180, 100, 0.1);
    --ambient-glow-2: rgba(255, 200, 80, 0.08);
    --ambient-glow-3: rgba(255, 220, 150, 0.06);
    
    /* Warm edge highlights */
    --edge-highlight: rgba(255, 180, 100, 0.5);
    --edge-prismatic-1: rgba(255, 200, 100, 0.4);
    --edge-prismatic-2: rgba(255, 150, 80, 0.3);
    --edge-prismatic-3: rgba(255, 220, 150, 0.35);
    
    /* Warm particles */
    --particle-primary: rgba(255, 200, 100, 0.8);
    --particle-secondary: rgba(255, 180, 80, 0.6);
    --particle-tertiary: rgba(255, 220, 150, 0.5);
    
    /* Slightly brighter backdrop for day */
    --glass-blur: blur(20px) saturate(160%) brightness(100%);
    --glass-blur-heavy: blur(30px) saturate(180%) brightness(95%);
    
    --time-mode: 'day';
}

/* Transition for smooth day/night changes */
.header, .site-header,
.footer, .site-footer,
.header-row-2,
.mobile-menu-overlay {
    transition: 
        background 1.5s ease,
        box-shadow 1.5s ease,
        border-color 1s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'JetBrains Mono', 'Noto Sans KR', monospace;
    background: var(--void);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Korean language specific styling */
html[lang="ko"] body,
html[lang="ko"] .page-title,
html[lang="ko"] .section-title,
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] h4 {
    font-family: 'Noto Sans KR', 'JetBrains Mono', sans-serif;
    word-break: keep-all;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 50px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   PRELOADER WITH VIDEO
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--void);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #050505 0%, #000 100%);
}
.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.preloader-video {
    width: min(50vw, 280px);
    height: auto;
    margin-bottom: 30px;
    border-radius: 4px;
}
.preloader-logo {
    width: 200px;
    margin-bottom: 40px;
    animation: logoPulse 2s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}
.preloader-text {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--terminal-green);
    margin-bottom: 30px;
    text-shadow: 0 0 20px var(--glow-green);
}
.preloader-bar {
    width: 280px;
    height: 4px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 3px;
    overflow: visible;
    position: relative;
    border: 1px solid rgba(0, 255, 136, 0.2);
}
.preloader-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--terminal-green), var(--terminal-silver-bright), var(--terminal-green));
    background-size: 200% 100%;
    animation: progressGradient 2s linear infinite;
    box-shadow: 
        0 0 10px var(--glow-green),
        0 0 20px var(--glow-green),
        0 0 30px rgba(0, 255, 136, 0.3);
    transition: width 0.15s ease-out;
    border-radius: 3px;
    position: relative;
}
.preloader-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--terminal-green);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--terminal-green),
        0 0 20px var(--terminal-green),
        0 0 30px var(--terminal-green);
    animation: progressPulse 0.8s ease-in-out infinite;
}
@keyframes progressPulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.3); opacity: 0.8; }
}
/* Progress bar particles */
.preloader-bar-container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}
.preloader-bar-container::before,
.preloader-bar-container::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0;
    animation: barParticle 2s ease-out infinite;
}
.preloader-bar-container::before {
    left: 20%;
    animation-delay: 0s;
}
.preloader-bar-container::after {
    left: 60%;
    animation-delay: 1s;
}
@keyframes barParticle {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translateY(-30px); opacity: 0; }
}
@keyframes progressGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.preloader-percent {
    font-size: 0.75rem;
    color: var(--terminal-green);
    font-weight: 500;
    min-width: 45px;
}
.preloader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.preloader-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--terminal-green);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
    opacity: 0.5;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ============================================
   BACKGROUND - MORE VISIBLE
   ============================================ */
.bg-container, .bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.bg-image {
    position: absolute;
    inset: 0;
    background: url('bg.png') center/cover;
    opacity: 0.65;
}
.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.5) 100%);
}
.bg-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: 50px 50px;
}
.bg-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px);
}
.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

/* ============================================
   HEADER - PREMIUM ADAPTIVE GLASSMORPHISM
   Day/Night responsive with particle effects
   ============================================ */
.header, .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    
    /* Multi-layer adaptive glass background */
    background: 
        /* Top light refraction */
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.04) 0%, 
            transparent 40%),
        /* Primary glass tint - uses CSS variables */
        linear-gradient(135deg, 
            var(--glass-primary) 0%, 
            var(--glass-secondary) 25%,
            rgba(0, 20, 40, 0.03) 50%,
            var(--glass-accent) 75%,
            var(--glass-primary) 100%),
        /* Ambient underglow */
        radial-gradient(ellipse at 20% 50%, var(--ambient-glow-1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, var(--ambient-glow-2) 0%, transparent 50%),
        /* Base dark glass */
        var(--glass-base);
    
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    
    /* Multi-layer border effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 var(--edge-highlight),
        0 1px 3px rgba(0, 0, 0, 0.3);
    
    isolation: isolate;
}

/* Animated light sweep - adapts to time */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Moving light beam */
        linear-gradient(
            105deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.03) 55%,
            transparent 60%,
            transparent 100%
        ),
        /* Floating ambient orbs */
        radial-gradient(circle at 15% 30%, var(--ambient-glow-1) 0%, transparent 25%),
        radial-gradient(circle at 85% 70%, var(--ambient-glow-2) 0%, transparent 20%),
        radial-gradient(circle at 50% 20%, var(--ambient-glow-3) 0%, transparent 30%);
    background-size: 200% 100%, 100% 100%, 100% 100%, 100% 100%;
    animation: 
        headerLightSweep 15s ease-in-out infinite,
        headerAmbientFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes headerLightSweep {
    0%, 100% { background-position: 200% 0, 0% 0%, 0% 0%, 0% 0%; }
    50% { background-position: -200% 0, 0% 0%, 0% 0%, 0% 0%; }
}

@keyframes headerAmbientFloat {
    0%, 100% { opacity: 0.7; }
    25% { opacity: 1; }
    50% { opacity: 0.8; }
    75% { opacity: 0.95; }
}

/* Prismatic edge highlight - day/night adaptive */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--edge-prismatic-1) 15%,
        var(--edge-prismatic-2) 35%,
        var(--edge-prismatic-3) 50%,
        var(--edge-prismatic-2) 65%,
        var(--edge-prismatic-1) 85%,
        transparent 100%
    );
    animation: headerPrismatic 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes headerPrismatic {
    0%, 100% { 
        opacity: 0.5; 
        filter: blur(0.5px);
    }
    50% { 
        opacity: 1; 
        filter: blur(0px);
    }
}

/* Top Row - Glass panel effect */
.header-row-1, .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
    
    /* Subtle inner panel */
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.02) 0%,
        transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Frosted glass divider between rows */
.header-row-1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50px;
    right: 50px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(0, 200, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent
    );
}

/* Corner accent glows */
.header-row-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 100%;
    background: radial-gradient(
        ellipse at top left,
        rgba(0, 200, 255, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* Floating orb ambient lights (pseudo-elements on header) */
@keyframes headerOrbFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% { 
        transform: translate(20px, -5px) scale(1.1);
        opacity: 0.5;
    }
    66% { 
        transform: translate(-10px, 5px) scale(0.9);
        opacity: 0.4;
    }
}

/* Language switcher with glass effect */
.lang-switcher-nav {
    display: flex;
    gap: 3px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.lang-link {
    padding: 6px 12px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.lang-link:hover {
    color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.1);
}

.lang-link.active {
    color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.15);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-logo img {
    height: 110px;
    transition: all 0.4s ease;
}
/* Desktop: Show full logo, hide S logo */
.header-logo img.logo-full {
    display: block;
}
.header-logo img.logo-s,
.header-logo img.s-logo {
    display: none;
}
.header-logo:hover img {
    transform: scale(1.02);
}
.header-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
    line-height: 1.6;
    max-width: 140px;
    position: relative;
}

/* Tagline subtle glow on border */
.header-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg,
        transparent,
        rgba(0, 200, 255, 0.4),
        transparent
    );
}

.header-contact-info {
    display: none; /* Hidden - contact moved to footer/contact page */
}
.header-contact-info a, .header-link {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
}
.header-contact-info a:hover, .header-link:hover { 
    color: var(--terminal-green);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.header-lang, .lang-switcher {
    display: flex;
    gap: 5px;
}
.lang-btn {
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}
.lang-btn:hover, .lang-btn.active {
    border-color: var(--terminal-green);
    color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.05);
}

.header-cta-group, .header-cta {
    display: flex;
    gap: 12px;
}
.header-cta-btn, .btn-header {
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    border: 1px solid var(--terminal-green);
    transition: all 0.3s;
    cursor: pointer;
}
.header-cta-btn.primary, .btn-header.primary {
    background: var(--terminal-green);
    color: var(--void);
}
.header-cta-btn.primary:hover, .btn-header.primary:hover {
    box-shadow: 0 0 25px var(--glow-green);
}
.header-cta-btn.secondary, .btn-header.secondary {
    background: transparent;
    color: var(--terminal-green);
}
.header-cta-btn.secondary:hover, .btn-header.secondary:hover {
    background: var(--terminal-green);
    color: var(--void);
}
/* Zalo buttons - BLUE */
.header-cta-btn.zalo, .btn-zalo {
    background: var(--zalo-blue);
    border-color: var(--zalo-blue);
    color: white;
}
.header-cta-btn.zalo:hover, .btn-zalo:hover {
    box-shadow: 0 0 20px rgba(0, 104, 255, 0.5);
}

/* Navigation Row - Deeper glass layer */
.header-row-2, .header-nav {
    display: flex;
    padding: 0 50px;
    position: relative;
    z-index: 100;
    pointer-events: auto;
    
    /* Darker frosted glass for nav */
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 20, 40, 0.15) 50%,
        rgba(0, 0, 0, 0.25) 100%);
    
    /* Inner glow at top */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Nav row subtle pattern */
.header-row-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(0, 150, 255, 0.01) 100px,
            rgba(0, 150, 255, 0.01) 200px
        );
    pointer-events: none;
}

.header-nav-inner {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
}
.nav-item {
    position: relative;
    padding: 15px 22px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
    pointer-events: auto;
    z-index: 10;
}
.nav-item.has-dropdown {
    position: relative;
    pointer-events: auto !important;
    z-index: 100;
}
.nav-item:hover, .nav-item.active {
    color: var(--terminal-green);
    border-bottom-color: var(--terminal-green);
    background: linear-gradient(180deg,
        rgba(0, 255, 136, 0.08) 0%,
        rgba(0, 255, 136, 0.02) 100%);
}

/* WORKING DROPDOWN MENUS - Glass effect */
.nav-dropdown, .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    
    /* Glassmorphism dropdown */
    background: 
        linear-gradient(135deg,
            rgba(10, 15, 25, 0.95) 0%,
            rgba(5, 10, 20, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(0, 200, 255, 0.2);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 10000;
    
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 100, 150, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    
    /* Ensure pointer events work */
    pointer-events: none;
}

/* DESKTOP DROPDOWN HOVER - Explicit rules */
@media (min-width: 769px) {
    .nav-item.has-dropdown {
        position: relative;
        cursor: pointer;
    }
    
    /* Dropdown is display:block but hidden via opacity/visibility */
    .nav-item.has-dropdown > .nav-dropdown {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 10000;
    }
    
    /* Show on hover - DESKTOP ONLY */
    .nav-item.has-dropdown:hover > .nav-dropdown,
    .nav-item.has-dropdown:focus-within > .nav-dropdown,
    .header-row-2 .nav-item.has-dropdown:hover > .nav-dropdown,
    .header-row-2 > .nav-item.has-dropdown:hover > .nav-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        z-index: 10000 !important;
    }
    
    .header-row-2 .nav-dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
    }
}

.has-dropdown:hover .nav-dropdown,
.nav-item:hover .dropdown-menu,
.nav-item:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.nav-dropdown a, .dropdown-menu a, .dropdown-link {
    display: block;
    padding: 14px 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}
.nav-dropdown a:last-child, .dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown a:hover, .dropdown-menu a:hover, .dropdown-link:hover {
    color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.05);
    padding-left: 25px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main, .main-content {
    position: relative;
    z-index: 1;
    padding-top: 160px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero, .hero-section {
    padding: 80px 0 100px;
    min-height: 70vh;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--terminal-green);
    margin-bottom: 30px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terminal-green);
    border-radius: 50%;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 10px var(--glow-green);
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.hero-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--text-bright);
    line-height: 1.1;
    margin-bottom: 30px;
}
.hero-subtitle, .hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 520px;
}
.hero-btns, .hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Terminal Card */
.terminal-card, .hero-terminal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.terminal-header, .terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }
.terminal-title {
    margin-left: auto;
    font-size: 0.6rem;
    color: var(--text-dim);
}
.terminal-body, .terminal-content {
    padding: 25px;
    font-size: 0.8rem;
}
.line, .t-line { margin-bottom: 10px; color: var(--text-muted); }
.line .prompt, .t-line .prompt { color: var(--terminal-green); margin-right: 10px; }
.line.out, .t-line.output { color: var(--terminal-silver); padding-left: 25px; }
.cursor { animation: blink 1s infinite; }

/* Hero Stats */
.hero-stats-card {
    display: flex;
    gap: 35px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--terminal-green);
}
.stat-lbl {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
}

/* ============================================
   PAGE HERO (SUBPAGES)
   ============================================ */
.page-hero {
    padding: 200px 0 100px;
    text-align: center;
}
.page-hero .container {
    max-width: 850px;
}
.page-badge, .hero-badge-page {
    display: inline-block;
    padding: 10px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--terminal-green);
    margin-bottom: 35px;
}
.page-title, .hero-title-large {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 400;
    color: var(--text-bright);
    line-height: 1.1;
    margin-bottom: 30px;
}
.page-title .gradient, .gradient-text {
    background: linear-gradient(135deg, var(--terminal-green), var(--terminal-silver-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-desc, .hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 120px 0;
}
.section.alt, .section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-header, .section-header-centered {
    text-align: center;
    margin-bottom: 70px;
}
.section-label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: var(--terminal-green);
    margin-bottom: 18px;
}
.section-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--terminal-green);
    margin-bottom: 18px;
}
.tag-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
}
.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--text-bright);
}
.section-desc, .section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 20px auto 0;
    line-height: 1.8;
}

/* ============================================
   PILLARS
   ============================================ */
.pillars, .pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}
.pillar, .pillar-card {
    padding: 45px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
}
.pillar:hover, .pillar-card:hover {
    border-color: var(--terminal-green);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.1);
}
.pillar.featured, .pillar-card.featured {
    border-color: var(--terminal-green);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.03) 0%, rgba(0,0,0,0) 100%);
}
.pillar-badge-top {
    position: absolute;
    top: -1px;
    right: 30px;
    padding: 8px 15px;
    background: var(--terminal-green);
    color: var(--void);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
}
.pillar-num {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    margin-bottom: 15px;
}
.pillar-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}
.pillar h3, .pillar-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: 18px;
}
.pillar p, .pillar-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}
.pillar ul, .pillar-list {
    margin-bottom: 30px;
}
.pillar li {
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.pillar li:last-child { border-bottom: none; }
.pillar-features {
    margin-bottom: 25px;
}
.pf-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.pf-item:last-child { border-bottom: none; }
.pf-item span { color: var(--terminal-green); }
.pf-item strong { color: var(--text-bright); }

/* ============================================
   PLATFORMS
   ============================================ */
.platforms, .platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.platform-card {
    padding: 40px;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.platform-card:hover {
    border-color: var(--terminal-green);
    transform: translateY(-5px);
}
.platform-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}
.platform-card h4 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 10px;
}
.platform-card p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ============================================
   FEATURES
   ============================================ */
.features, .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}
.feature, .feature-item {
    text-align: center;
    padding: 35px 25px;
    background: rgba(255,255,255,0.01);
    border: 1px solid transparent;
    transition: all 0.3s;
}
.feature:hover, .feature-item:hover {
    border-color: var(--border);
    background: rgba(255,255,255,0.02);
}
.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}
.feature h4, .feature-item h4 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.feature p, .feature-item p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ============================================
   STATS
   ============================================ */
.stats-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}
.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}
.stat, .stat-block {
    text-align: center;
}
.stat-num, .stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--terminal-green);
    text-shadow: 0 0 30px var(--glow-green);
}
.stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    margin-top: 5px;
}

/* ============================================
   CTA BOX
   ============================================ */
.cta-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.02) 0%, var(--surface) 100%);
    border: 1px solid var(--border);
}
.cta-text h2, .cta-content h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.2rem;
    color: var(--text-bright);
    margin-bottom: 18px;
}
.cta-text p, .cta-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}
.cta-btns, .cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 60px;
    border-left: 1px solid var(--border);
}
.contact-item, .cc-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.contact-item > span, .cc-item > span { font-size: 1.5rem; }
.contact-item small, .cc-item small {
    display: block;
    font-size: 0.55rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    margin-bottom: 5px;
}
.contact-item a, .cc-item a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.contact-item a:hover, .cc-item a:hover { color: var(--terminal-green); }

/* ============================================
   BUTTONS
   ============================================ */
.btn, .btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.btn.primary, .btn-primary {
    background: var(--terminal-green);
    color: var(--void);
}
.btn.primary:hover, .btn-primary:hover {
    box-shadow: 0 0 35px var(--glow-green);
    transform: translateY(-3px);
}
.btn.secondary, .btn-secondary {
    background: transparent;
    color: var(--terminal-silver);
    border: 1px solid var(--terminal-silver);
}
.btn.secondary:hover, .btn-secondary:hover {
    background: var(--terminal-silver);
    color: var(--void);
}
.btn.large {
    padding: 18px 38px;
    font-size: 0.8rem;
}
/* WhatsApp & Zalo Buttons - PREMIUM SHARP EDITION */
.btn.whatsapp, .btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 0;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
.btn.whatsapp::before, .btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}
.btn.whatsapp:hover, .btn-whatsapp:hover {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.btn.zalo, .btn-zalo {
    background: linear-gradient(135deg, #0068FF 0%, #0050CC 100%);
    color: white;
    border: none;
    border-radius: 0;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
.btn.zalo::before, .btn-zalo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
}
.btn.zalo:hover, .btn-zalo:hover {
    box-shadow: 0 0 30px rgba(0, 104, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   BENTO GRID
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.bento-item {
    padding: 35px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.bento-item:hover { border-color: var(--terminal-green); }
.bento-item.span-2 { grid-column: span 2; }
.bento-icon { font-size: 2.5rem; margin-bottom: 20px; }
.bento-item h3 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.bento-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    transition: all 0.4s;
}
.service-card:hover {
    border-color: var(--terminal-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.08);
}
.service-icon { font-size: 2.5rem; margin-bottom: 25px; }
.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 15px;
}
.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.pricing-card {
    padding: 50px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s;
}
.pricing-card.featured {
    border-color: var(--terminal-green);
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.1);
}
.pricing-tier {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: var(--terminal-green);
    margin-bottom: 12px;
}
.pricing-name {
    font-size: 1.4rem;
    color: var(--text-bright);
    margin-bottom: 25px;
}
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-bright);
}
.pricing-period {
    font-size: 0.75rem;
    color: var(--text-dim);
}
.pricing-usd {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 25px;
}
.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.pricing-features {
    text-align: left;
    margin-bottom: 35px;
}
.pricing-features li {
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }

/* ============================================
   AI CARDS
   ============================================ */
.ai-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.ai-card {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s;
}
.ai-card:hover {
    border-color: var(--terminal-green);
    transform: translateY(-5px);
}
.ai-card-img {
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, var(--surface-elevated) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder-img {
    text-align: center;
}
.placeholder-img span {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}
.placeholder-img p {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}
.ai-card-body {
    padding: 30px;
}
.ai-card-body h4 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.ai-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}
.ai-card-body ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ai-card-body li {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 5px 0;
}
.ai-card-body li::before {
    content: '✓ ';
    color: var(--terminal-green);
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}
.why-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}
.why-features {}
.wf-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}
.wf-item:last-child { border-bottom: none; }
.wf-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}
.wf-item h4 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.wf-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.why-visual {}
.stats-box {
    padding: 35px;
    background: var(--surface);
    border: 1px solid var(--border);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 100px 0;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border);
    margin-bottom: 15px;
    transition: all 0.3s;
}
.faq-item:hover {
    border-color: var(--terminal-green);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: var(--surface);
}
.faq-question h4 {
    font-size: 1rem;
    color: var(--text-bright);
    font-weight: 400;
}
.faq-toggle {
    font-size: 1.2rem;
    color: var(--terminal-green);
    transition: transform 0.3s;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-answer p {
    padding: 0 30px 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   CLI INTERFACE ELEMENTS
   ============================================ */
.cli-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0;
}
.cli-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}
.cli-body {
    padding: 25px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}
.cli-line {
    margin-bottom: 8px;
    color: var(--text-muted);
}
.cli-prompt { color: var(--terminal-green); }
.cli-output { color: var(--terminal-silver); padding-left: 20px; }
.cli-comment { color: var(--text-dim); font-style: italic; }
.cli-success { color: #27ca40; }
.cli-highlight { color: var(--terminal-green); }

/* ============================================
   FOOTER - PREMIUM ADAPTIVE GLASSMORPHISM
   Day/Night responsive with particle effects
   ============================================ */
.footer, .site-footer {
    position: relative;
    z-index: 1;
    
    /* Multi-layer adaptive glass background */
    background: 
        /* Top light refraction */
        linear-gradient(0deg, 
            transparent 0%,
            rgba(255, 255, 255, 0.02) 100%),
        /* Primary glass layers */
        linear-gradient(180deg, 
            var(--glass-primary) 0%, 
            var(--glass-secondary) 30%,
            transparent 60%),
        /* Ambient corner glows */
        radial-gradient(ellipse at 0% 100%, var(--ambient-glow-1) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 100%, var(--ambient-glow-2) 0%, transparent 40%),
        /* Base */
        var(--surface);
    
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    
    /* Top edge glow */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Animated prismatic top bar */
.footer-top-accent {
    height: 3px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--edge-prismatic-1) 15%,
        var(--edge-prismatic-2) 35%,
        var(--edge-prismatic-3) 50%,
        var(--edge-prismatic-2) 65%,
        var(--edge-prismatic-1) 85%,
        transparent 100%
    );
    box-shadow: 
        0 0 30px var(--particle-primary),
        0 0 60px var(--particle-secondary);
}

/* Shimmer effect on top bar */
.footer-top-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: footerTopShimmer 4s ease-in-out infinite;
}

@keyframes footerTopShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Floating particles along top bar */
.footer-top-accent::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 8px;
    background: 
        radial-gradient(circle at 20%, var(--particle-primary) 0%, transparent 3px),
        radial-gradient(circle at 40%, var(--particle-secondary) 0%, transparent 2px),
        radial-gradient(circle at 60%, var(--particle-primary) 0%, transparent 3px),
        radial-gradient(circle at 80%, var(--particle-tertiary) 0%, transparent 2px);
    animation: footerParticlesDrift 6s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes footerParticlesDrift {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    25% { transform: translateX(10px); opacity: 1; }
    50% { transform: translateX(-5px); opacity: 0.8; }
    75% { transform: translateX(5px); opacity: 1; }
}

.footer-main {
    padding: 70px 50px;
    position: relative;
}

/* Subtle grid pattern overlay */
.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(8, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.footer-brand {}
.footer-logo {
    height: 80px;
    margin-bottom: 25px;
}
.footer-brand p, .footer-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 300px;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social a {
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.footer-social a:hover { transform: scale(1.15); }

.footer-col h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--terminal-green);
    margin-bottom: 25px;
}
.footer-col a {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--terminal-green); }

/* Footer Stats - Glass panel */
.footer-stats {
    background: 
        linear-gradient(135deg, var(--glass-primary) 0%, transparent 50%),
        linear-gradient(45deg, transparent 50%, var(--glass-secondary) 100%),
        rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 35px 50px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.footer-stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}
.footer-stat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-stat span, .footer-stat strong {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--terminal-green);
    text-shadow: 0 0 20px var(--glow-green);
    margin-right: 8px;
}

/* Footer Bottom - Deep glass with particles */
.footer-bottom {
    padding: 30px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    
    /* Deep glass effect */
    background: 
        linear-gradient(180deg, 
            rgba(0, 0, 0, 0.2) 0%, 
            rgba(0, 0, 0, 0.4) 100%),
        radial-gradient(ellipse at 50% 100%, var(--ambient-glow-1) 0%, transparent 60%);
}

/* Animated glow pulse */
.footer-bottom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120px;
    background: radial-gradient(ellipse at center bottom, 
        var(--particle-primary) 0%, 
        var(--particle-secondary) 30%,
        transparent 70%);
    opacity: 0.25;
    pointer-events: none;
    animation: footerGlowPulse 4s ease-in-out infinite;
}

@keyframes footerGlowPulse {
    0%, 100% { opacity: 0.15; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.35; transform: translateX(-50%) scale(1.15); }
}

/* Animated shimmer line */
.footer-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), var(--terminal-silver), var(--terminal-green), transparent);
    background-size: 200% 100%;
    animation: footerLineShimmer 3s linear infinite;
}
@keyframes footerLineShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.footer-bottom p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Footer floating particles */
.footer-particles {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    pointer-events: none;
    overflow: hidden;
}
.footer-particle {
    position: absolute;
    bottom: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    animation: footerParticleRise 4s ease-out infinite;
}
.footer-particle:nth-child(1) { left: 10%; background: var(--terminal-green); animation-delay: 0s; }
.footer-particle:nth-child(2) { left: 25%; background: var(--terminal-silver); animation-delay: 0.8s; }
.footer-particle:nth-child(3) { left: 40%; background: var(--terminal-green); animation-delay: 1.6s; }
.footer-particle:nth-child(4) { left: 55%; background: var(--terminal-silver); animation-delay: 2.4s; }
.footer-particle:nth-child(5) { left: 70%; background: var(--terminal-green); animation-delay: 3.2s; }
.footer-particle:nth-child(6) { left: 85%; background: var(--terminal-silver); animation-delay: 0.4s; }
@keyframes footerParticleRise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translateY(-60px) scale(0); opacity: 0; }
}
.footer-links {
    display: flex;
    gap: 35px;
}
.footer-links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--terminal-green); }
.footer-badges {
    display: flex;
    gap: 15px;
}
.footer-badges span {
    font-family: 'JetBrains Mono', monospace;
    padding: 6px 15px;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ============================================
   LANGUAGE CONTENT
   ============================================ */
.lang-content { display: none; }
.lang-content.active { display: block; }
h1.lang-content { display: none; }
h1.lang-content.active { display: block; }
p.lang-content { display: none; }
p.lang-content.active { display: block; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .container { padding: 0 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { order: -1; }
    .features, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-showcase-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .container { padding: 0 30px; }
    .header-row-1, .header-top { padding: 15px 30px; }
    .header-row-2, .header-nav { padding: 0 30px; }
    .header-contact-info { display: none; }
    .pillars, .pillars-grid { grid-template-columns: 1fr; }
    .platforms, .platforms-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px 40px;
    }
    .cta-contact {
        padding-left: 0;
        border-left: none;
        padding-top: 35px;
        border-top: 1px solid var(--border);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .footer-main { padding: 50px 30px; }
    .footer-stats { padding: 30px; }
    .footer-stats-row { gap: 30px; }
    .footer-bottom { padding: 25px 30px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .container { padding: 0 25px; }
    .main, .main-content { padding-top: 180px; }
    .header-row-1, .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px 25px;
    }
    .header-logo { justify-content: center; }
    .header-logo img { height: 70px; }
    .header-lang, .lang-switcher { justify-content: center; }
    .header-cta-group, .header-cta { justify-content: center; }
    .header-row-2, .header-nav { 
        justify-content: flex-start; 
        padding: 0 15px;
        overflow-x: auto;
    }
    /* Hide dropdowns on mobile - use mobile nav instead - ONLY on small screens */
    .header-row-2 .nav-dropdown { display: none !important; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.span-2 { grid-column: span 1; }
    .features, .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-btns, .hero-cta-group { flex-direction: column; }
    .cta-btns, .cta-buttons { flex-direction: column; }
    .footer-stats-row { flex-direction: column; gap: 20px; text-align: center; }
}

/* DESKTOP DROPDOWN OVERRIDE - Must come AFTER mobile rules */
@media (min-width: 601px) {
    .header-row-2 .nav-dropdown {
        display: block !important;
    }
}

/* Animation helpers */
.visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ============================================
   PAGE TRANSITION
   ============================================ */
/* ============================================
   PAGE TRANSITIONS - Cargo Bay Doors Style
   Vertical doors that open/close from center
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    pointer-events: none;
}

.page-transition-door {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--void, #000);
    overflow: hidden;
}

.page-transition-door::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 20%, var(--terminal-green, #00ff88), transparent 80%);
    opacity: 0.9;
}

.page-transition-door.top {
    top: 0;
}

.page-transition-door.top::after {
    bottom: 0;
}

.page-transition-door.bottom {
    bottom: 0;
}

.page-transition-door.bottom::after {
    top: 0;
}

/* Door details - tech lines */
.page-transition-door::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(0, 255, 136, 0.05) 40px,
            rgba(0, 255, 136, 0.05) 41px
        );
    pointer-events: none;
}

/* States controlled by JS - these are just fallbacks */
.page-transition-door.top.open { transform: translateY(-100%); }
.page-transition-door.top.closed { transform: translateY(0); }
.page-transition-door.bottom.open { transform: translateY(100%); }
.page-transition-door.bottom.closed { transform: translateY(0); }

/* Legacy support - remove old bar styles */
.page-transition-bar {
    display: none;
}

/* Language switcher in header - styled for multi-page */
.lang-switcher-nav {
    display: flex;
    gap: 5px;
}
.lang-link {
    padding: 8px 14px;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
}
.lang-link:hover, .lang-link.active {
    border-color: var(--terminal-green);
    color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.05);
}

/* ============================================
   ADDITIONAL UI COMPONENTS FOR AI PAGES
   ============================================ */
/* Data flow visualization */
.data-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    margin: 40px 0;
    overflow-x: auto;
}
.data-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s;
}
.data-node:hover {
    border-color: var(--terminal-green);
    transform: translateY(-3px);
}
.data-node.secure {
    border-color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.03);
}
.data-node-icon {
    font-size: 2rem;
}
.data-node-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}
.data-arrow {
    font-size: 1.5rem;
    color: var(--terminal-green);
    animation: arrowPulse 1.5s ease-in-out infinite;
}
@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

/* Security badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid var(--terminal-green);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--terminal-green);
}
.security-badge::before {
    content: '🔒';
}

/* Use case cards */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.use-case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 35px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--terminal-green), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.use-case-card:hover {
    border-color: var(--terminal-green);
    transform: translateY(-5px);
}
.use-case-card:hover::before {
    opacity: 1;
}
.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.use-case-card h4 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.use-case-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.use-case-link {
    font-size: 0.75rem;
    color: var(--terminal-green);
    letter-spacing: 0.1em;
    transition: all 0.3s;
}
.use-case-link:hover {
    letter-spacing: 0.15em;
}

/* Metrics display */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}
.metric-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 30px 20px;
    text-align: center;
}
.metric-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--terminal-green);
    text-shadow: 0 0 30px var(--glow-green);
    margin-bottom: 5px;
}
.metric-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
}
.metric-sublabel {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Process steps */
.process-steps {
    display: flex;
    gap: 0;
    margin: 40px 0;
}
.process-step {
    flex: 1;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
}
.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--terminal-green);
    z-index: 1;
}
.process-step-num {
    width: 30px;
    height: 30px;
    background: var(--terminal-green);
    color: var(--void);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 auto 15px;
}
.process-step h4 {
    font-size: 0.9rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}
.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: left;
    border: 1px solid var(--border);
}
.comparison-table th {
    background: var(--surface);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--terminal-green);
    font-weight: 500;
}
.comparison-table td {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.comparison-table tr:hover td {
    background: rgba(0, 255, 136, 0.02);
}
.comparison-table .check {
    color: var(--terminal-green);
}
.comparison-table .cross {
    color: #ff5f56;
}

/* Image placeholder with aspect ratio */
.image-placeholder {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
.image-placeholder.ratio-16-9 { aspect-ratio: 16/9; }
.image-placeholder.ratio-4-3 { aspect-ratio: 4/3; }
.image-placeholder.ratio-1-1 { aspect-ratio: 1/1; }
.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 48%, var(--border) 49%, var(--border) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--border) 49%, var(--border) 51%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.3;
}
.image-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.image-placeholder-text {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
}

/* Animated typing text */
.typing-text {
    display: inline;
    border-right: 2px solid var(--terminal-green);
    animation: typingCursor 0.8s step-end infinite;
}
@keyframes typingCursor {
    0%, 100% { border-color: var(--terminal-green); }
    50% { border-color: transparent; }
}

/* Responsive adjustments for new components */
@media (max-width: 1100px) {
    .use-case-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { flex-wrap: wrap; }
    .process-step { min-width: 200px; }
    .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
    .use-case-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }
    .data-flow { flex-direction: column; }
    .data-arrow { transform: rotate(90deg); }
    .comparison-table { font-size: 0.75rem; }
    .comparison-table th, .comparison-table td { padding: 12px 10px; }
}

/* Print styles */
@media print {
    .preloader, .bg-container, .bg-layer, .page-transition { display: none; }
    .header, .site-header { position: static; }
    .main, .main-content { padding-top: 0; }
}

/* ============================================
   DYNAMIC GREETING BANNER
   ============================================ */
.dynamic-greeting {
    display: none;
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 50%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 15px 25px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--terminal-green);
    font-size: 1rem;
    letter-spacing: 0.02em;
    animation: greetingFadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}
.dynamic-greeting::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: greetingShine 3s ease-in-out infinite;
}
@keyframes greetingFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes greetingShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--terminal-green);
    transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--terminal-green);
    z-index: 1000;
    padding: 80px 30px 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 255, 136, 0.1);
}
.mobile-nav.active {
    right: 0;
}
.mobile-nav-item {
    display: block;
    padding: 15px 0;
    color: var(--text-secondary);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-item:hover {
    color: var(--terminal-green);
    padding-left: 10px;
}
.mobile-nav-dropdown {
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-nav-dropdown.open {
    max-height: 500px;
}
.mobile-nav-dropdown a {
    display: block;
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.mobile-nav-dropdown a:hover {
    color: var(--terminal-green);
}
.mobile-nav-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.mobile-nav-parent::after {
    content: '▾';
    transition: transform 0.3s ease;
}
.mobile-nav-parent.open::after {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-nav-overlay {
        display: block;
    }
    .header-row-2 {
        display: none !important;
    }
    .header-contact-info {
        display: none;
    }
    .header-cta-group {
        display: none;
    }
    .lang-switcher-nav {
        margin-right: 10px;
    }
}

/* ============================================
   HERO SECTION UNIQUE EFFECTS
   ============================================ */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
    opacity: 0.5;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(5%, 5%) scale(1.1); opacity: 0.8; }
}

/* Hero floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0;
    animation: heroParticleFloat 6s ease-in-out infinite;
}
@keyframes heroParticleFloat {
    0% { transform: translateY(100%) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* ============================================
   CTA BOX GLOW & PARTICLES
   ============================================ */
.cta-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.1),
        inset 0 0 30px rgba(0, 255, 136, 0.02);
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: ctaShine 4s ease-in-out infinite;
}
.cta-box::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--terminal-green), transparent, var(--terminal-green));
    z-index: -1;
    opacity: 0.2;
    animation: ctaBorderGlow 3s ease-in-out infinite alternate;
}
@keyframes ctaShine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}
@keyframes ctaBorderGlow {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

/* ============================================
   FEATURE CARD GLOW EFFECTS
   ============================================ */
.feature-card,
.service-card,
.card {
    position: relative;
    transition: all 0.3s ease;
}
.feature-card::before,
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}
.feature-card:hover,
.service-card:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 136, 0.1);
}

/* Subtle particle dots in corners */
.feature-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: featureCardDot 2s ease-in-out infinite;
}
@keyframes featureCardDot {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ============================================
   PRELOADER DESKTOP FIX (ensure glow shows)
   ============================================ */
@media (min-width: 901px) {
    .preloader-bar {
        box-shadow: 
            0 0 15px rgba(0, 255, 136, 0.3),
            0 0 30px rgba(0, 255, 136, 0.2);
    }
    .preloader-progress {
        box-shadow: 
            0 0 10px var(--glow-green),
            0 0 20px var(--glow-green),
            0 0 40px rgba(0, 255, 136, 0.3);
    }
    .preloader-content::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 400px;
        height: 400px;
        transform: translate(-50%, -50%);
        background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
        animation: preloaderDesktopGlow 3s ease-in-out infinite;
        pointer-events: none;
    }
    @keyframes preloaderDesktopGlow {
        0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
        50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
    }
}

/* ============================================
   IMPROVED PRELOADER PARTICLES
   ============================================ */
.preloader-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0;
    animation: particleRise 6s ease-out infinite;
    box-shadow: 0 0 6px var(--terminal-green);
}
@keyframes particleRise {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--terminal-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    /* Enhanced glassmorphism */
    background: 
        linear-gradient(135deg, 
            rgba(0, 100, 150, 0.08) 0%, 
            rgba(0, 50, 80, 0.05) 50%,
            rgba(0, 80, 120, 0.08) 100%),
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.02) 0%,
            transparent 30%),
        rgba(5, 8, 12, 0.88);
    backdrop-filter: blur(30px) saturate(200%) brightness(90%);
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(90%);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 30px 30px;
    overflow-y: auto;
    /* Prismatic edge */
    border-left: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: 
        -20px 0 60px rgba(0, 0, 0, 0.6),
        inset 1px 0 0 rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.mobile-nav.active {
    right: 0;
}
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
}
.mobile-nav-item {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--terminal-green);
    padding-left: 10px;
}
.mobile-nav-dropdown {
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-nav-dropdown.open {
    max-height: 500px;
}
.mobile-nav-dropdown a {
    display: block;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.mobile-nav-dropdown a:hover {
    color: var(--terminal-green);
}
.mobile-nav-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mobile-nav-cta .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-nav {
        display: block;
    }
    .mobile-nav-overlay {
        display: block;
        pointer-events: none;
    }
    .mobile-nav-overlay.active {
        pointer-events: auto;
    }
    .header-row-2 {
        display: none;
    }
    .header-cta-group {
        display: none;
    }
    .header-contact-info {
        display: none;
    }
    .lang-switcher-nav {
        margin-right: 15px;
    }
    .header-row-1 {
        padding: 15px 20px;
    }
    .header-logo img {
        height: 28px;
    }
    .header-tagline {
        display: none;
    }
}

/* ============================================
   HERO SECTION UNIQUE EFFECTS
   ============================================ */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
    animation: heroLine 3s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(5%, 5%) scale(1.1); opacity: 1; }
}
@keyframes heroLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Hero floating particles */
.page-hero .hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0;
    animation: heroParticleFloat 6s ease-in-out infinite;
}
@keyframes heroParticleFloat {
    0% { transform: translateY(100%) scale(0); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* ============================================
   CTA BOX GLOW & PARTICLES
   ============================================ */
.cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 40px;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--terminal-green), transparent, var(--terminal-green));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.cta-box:hover::before {
    opacity: 0.3;
    animation: ctaGlowPulse 2s ease-in-out infinite;
}
@keyframes ctaGlowPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* CTA floating particles */
.cta-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 255, 136, 0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 70%, rgba(0, 255, 136, 0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 80%, rgba(0, 255, 136, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 20%, rgba(0, 255, 136, 0.4) 0%, transparent 100%);
    animation: ctaParticles 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaParticles {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

/* ============================================
   FEATURE CARD GLOW & PARTICLES
   ============================================ */
.service-card,
.feature-item,
.pricing-card,
.value-card {
    position: relative;
    overflow: hidden;
}
.service-card::before,
.feature-item::before,
.pricing-card::before,
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover::before,
.feature-item:hover::before,
.pricing-card:hover::before,
.value-card:hover::before {
    opacity: 1;
}

/* Feature card corner glow */
.service-card::after,
.feature-item::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at top right, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover::after,
.feature-item:hover::after {
    opacity: 1;
}

/* Floating particles on hover for premium cards */
.pricing-card.featured {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
}
.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(0, 255, 136, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 30%, rgba(0, 255, 136, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 90%, rgba(0, 255, 136, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 60%, rgba(0, 255, 136, 0.5) 0%, transparent 100%);
    animation: featuredParticles 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes featuredParticles {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ============================================
   ENHANCED PRELOADER FOR DESKTOP
   ============================================ */
@media (min-width: 769px) {
    .preloader-bar {
        box-shadow: 
            0 0 15px var(--glow-green),
            0 0 30px rgba(0, 255, 136, 0.2);
    }
    .preloader-progress {
        box-shadow: 
            0 0 15px var(--glow-green),
            0 0 30px var(--glow-green),
            0 0 45px rgba(0, 255, 136, 0.3);
    }
    .preloader-particles {
        display: block !important;
    }
    .preloader-particle {
        width: 3px;
        height: 3px;
        box-shadow: 0 0 6px var(--terminal-green);
    }
}

/* ============================================
   ENHANCED TEXT VISIBILITY
   ============================================ */
.page-desc,
.section-desc,
.service-desc,
.feature-desc {
    color: var(--text-secondary);
}
.footer-desc {
    color: var(--text-secondary);
}

/* ============================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .page-hero {
        padding: 100px 0 60px;
    }
    .page-title {
        font-size: 2rem;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-col {
        text-align: center;
    }
}

/* ============================================
   v5.10 MOBILE FIXES
   ============================================ */

/* 1. Smaller preloader on mobile - not hitting edges */
@media (max-width: 768px) {
    .preloader-content {
        width: 85%;
        max-width: 280px;
        padding: 0 20px;
    }
    .preloader-video {
        width: 60vw !important;
        max-width: 180px !important;
    }
    .preloader-bar-container {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
    }
    .preloader-bar {
        width: 100%;
    }
    .preloader-text {
        font-size: 0.75rem;
    }
    .preloader-percent {
        font-size: 0.7rem;
    }
}

/* 2. Logo much bigger on mobile (2x) */
@media (max-width: 768px) {
    .header-logo img {
        height: 48px !important;
        width: auto !important;
    }
    .header-row-1 {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 44px !important;
        width: auto !important;
    }
}

/* 4. Background more visible on mobile */
@media (max-width: 768px) {
    .bg-image {
        opacity: 0.75 !important;
    }
    .bg-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.4) 100%) !important;
    }
}

/* 9. Epic footer tagline styling */
.footer-tagline-epic {
    text-align: center;
    padding: 40px 20px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.footer-tagline-epic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
}
.footer-tagline-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--terminal-green), var(--terminal-silver-bright), var(--terminal-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: epicTaglineShine 4s ease-in-out infinite;
}
@keyframes epicTaglineShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}
.footer-tagline-sub {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.footer-tagline-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.footer-tagline-particles::before,
.footer-tagline-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: footerParticleFloat 6s ease-in-out infinite;
}
.footer-tagline-particles::before {
    left: 20%;
    animation-delay: 0s;
}
.footer-tagline-particles::after {
    right: 20%;
    animation-delay: 3s;
}
@keyframes footerParticleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.8; }
}

@media (max-width: 768px) {
    .footer-tagline-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   FORMS - ELEGANT STYLING WITH EFFECTS
   ============================================ */

/* Base Form Styles */
.seraphim-form {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.95), rgba(10, 15, 20, 0.98));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.seraphim-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
    animation: formGlowLine 3s ease-in-out infinite;
}
@keyframes formGlowLine {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.seraphim-form::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: formAmbientGlow 8s ease-in-out infinite;
}
@keyframes formAmbientGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.form-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--terminal-green);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: rgba(0, 255, 136, 0.4);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--terminal-green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15), 0 0 20px rgba(0, 255, 136, 0.1);
    background: rgba(0, 0, 0, 0.6);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ff88' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.form-select option {
    background: #0a0f14;
    color: var(--text-bright);
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.checkbox-item:hover {
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.05);
}
.checkbox-item input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.checkbox-item input[type="checkbox"]:checked {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
}
.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 14px;
    font-weight: bold;
}
.checkbox-item input[type="checkbox"]:checked + span {
    color: var(--terminal-green);
}
.checkbox-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Form Row (2 columns) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Submit Button */
.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--terminal-green), #00cc6a);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}
.form-submit:hover::before {
    left: 100%;
}
.form-submit:active {
    transform: translateY(0);
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 60px 40px;
}
.form-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--terminal-green), #00cc6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    animation: successPulse 2s ease-in-out infinite;
}
@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(0, 255, 136, 0); }
}
.form-success h3 {
    color: var(--text-bright);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.form-success p {
    color: var(--text-secondary);
}

/* ============================================
   REQUEST QUOTE POPUP
   ============================================ */
.quote-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.quote-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.quote-popup {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.98), rgba(5, 10, 15, 0.99));
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s ease;
}
.quote-popup-overlay.active .quote-popup {
    transform: scale(1) translateY(0);
}
.quote-popup-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.quote-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quote-popup-close:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff4444;
}
.quote-popup-body {
    padding: 30px 40px 40px;
}
.quote-popup .seraphim-form {
    background: transparent;
    border: none;
    padding: 0;
}
.quote-popup .seraphim-form::before,
.quote-popup .seraphim-form::after {
    display: none;
}

/* Popup Particles */
.quote-popup-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 20px;
}
.quote-popup-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.5;
    animation: popupParticle 10s linear infinite;
}
@keyframes popupParticle {
    0% { transform: translateY(100%) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ============================================
   MINI LEAD FORM (Mid-page)
   ============================================ */
.mini-lead-section {
    padding: 60px 0;
    position: relative;
}
.mini-lead-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.9), rgba(10, 15, 20, 0.95));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.mini-lead-form::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), transparent, rgba(0, 255, 136, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.mini-lead-form .form-title {
    font-size: 1.4rem;
    text-align: center;
}
.mini-lead-form .form-subtitle {
    text-align: center;
    font-size: 0.9rem;
}
.mini-lead-form .form-row {
    margin-bottom: 16px;
}
.mini-lead-form .form-group {
    margin-bottom: 16px;
}

/* ============================================
   HEADER QUOTE BUTTON
   ============================================ */
.header-quote-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--terminal-green);
    border-radius: 6px;
    color: var(--terminal-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.header-quote-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--terminal-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}
.header-quote-btn:hover {
    color: #000;
}
.header-quote-btn:hover::before {
    transform: scaleX(1);
}

/* Footer Quote CTA */
.footer-quote-cta {
    text-align: center;
    padding: 30px 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
}
.footer-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--terminal-green), #00cc6a);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.footer-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}
.footer-quote-btn span {
    font-size: 1.2rem;
}

/* Input Focus Animation */
.form-input:focus + .input-glow,
.form-textarea:focus + .input-glow {
    opacity: 1;
}
.input-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--terminal-green);
    transition: width 0.3s ease;
    opacity: 0;
}
.form-input:focus ~ .input-glow,
.form-textarea:focus ~ .input-glow {
    width: 100%;
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .seraphim-form {
        padding: 30px 20px;
    }
    .quote-popup-header,
    .quote-popup-body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .mini-lead-form {
        padding: 30px 20px;
        margin: 0 15px;
    }
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   v5.12 FORM ENHANCEMENTS
   ============================================ */

/* Form Floating Particles */
.form-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
}
.form-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.4;
    animation: formParticleFloat 12s linear infinite;
}
@keyframes formParticleFloat {
    0% { transform: translateY(100%) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 0.5; transform: scale(1); }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100%) translateX(20px) scale(0.5); opacity: 0; }
}

/* Moving Gradient Background for Forms */
.seraphim-form {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.95), rgba(10, 15, 20, 0.98));
    position: relative;
}
.seraphim-form::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg at 50% 50%, 
        transparent 0deg, 
        rgba(0, 255, 136, 0.03) 60deg, 
        transparent 120deg,
        rgba(0, 255, 136, 0.02) 180deg,
        transparent 240deg,
        rgba(0, 255, 136, 0.03) 300deg,
        transparent 360deg);
    animation: formGradientRotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes formGradientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.seraphim-form > * {
    position: relative;
    z-index: 1;
}

/* Custom Scrollbar for Forms/Popup */
.quote-popup::-webkit-scrollbar,
.seraphim-form::-webkit-scrollbar {
    width: 6px;
}
.quote-popup::-webkit-scrollbar-track,
.seraphim-form::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
.quote-popup::-webkit-scrollbar-thumb,
.seraphim-form::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--terminal-green), #00aa66);
    border-radius: 3px;
}
.quote-popup::-webkit-scrollbar-thumb:hover,
.seraphim-form::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ff99, var(--terminal-green));
}
/* Firefox */
.quote-popup,
.seraphim-form {
    scrollbar-width: thin;
    scrollbar-color: var(--terminal-green) rgba(0, 0, 0, 0.3);
}

/* Better Mobile Form Fit */
@media (max-width: 768px) {
    .seraphim-form {
        padding: 25px 18px;
        border-radius: 12px;
    }
    .form-title {
        font-size: 1.4rem;
    }
    .form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    .form-group {
        margin-bottom: 16px;
    }
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    .form-input,
    .form-textarea,
    .form-select {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    .form-row {
        gap: 12px;
    }
    .checkbox-group {
        gap: 8px;
    }
    .checkbox-item {
        padding: 10px 12px;
    }
    .checkbox-item span {
        font-size: 0.8rem;
    }
    .form-submit {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    .quote-popup {
        max-height: 95vh;
        margin: 10px;
        border-radius: 16px;
    }
    .quote-popup-header {
        padding: 20px 18px 15px;
    }
    .quote-popup-body {
        padding: 15px 18px 25px;
    }
    .mini-lead-form {
        padding: 25px 18px;
        margin: 0 10px;
    }
    .mini-lead-form .form-title {
        font-size: 1.2rem;
    }
}

/* Form Success Animation */
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 20, 0.98), rgba(5, 10, 15, 0.99));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 100;
    border-radius: inherit;
}
.form-success-overlay.active {
    opacity: 1;
    visibility: visible;
}
.success-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}
.success-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--terminal-green);
    border-radius: 50%;
    animation: successRingPulse 2s ease-out infinite;
}
.success-ring:nth-child(2) { animation-delay: 0.3s; }
.success-ring:nth-child(3) { animation-delay: 0.6s; }
@keyframes successRingPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.success-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--terminal-green);
    animation: successCheckPop 0.5s ease-out forwards;
}
@keyframes successCheckPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.success-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 15px;
    text-align: center;
    animation: successFadeUp 0.6s ease-out 0.3s both;
}
.success-message {
    color: var(--text-secondary);
    text-align: center;
    max-width: 350px;
    line-height: 1.6;
    animation: successFadeUp 0.6s ease-out 0.5s both;
}
.success-brand {
    margin-top: 30px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    color: var(--terminal-green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: successFadeUp 0.6s ease-out 0.7s both;
}
@keyframes successFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.success-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.success-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--terminal-green);
    border-radius: 50%;
    animation: successParticleBurst 1.5s ease-out forwards;
}
@keyframes successParticleBurst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* ============================================
   MOBILE HEADER SCROLL HIDE
   ============================================ */
.header {
    transition: transform 0.3s ease;
}
.header.header-hidden {
    transform: translateY(-100%);
}
.header-row-1,
.header-quote-btn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.header.header-compact .header-row-1 {
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
}
.header.header-compact .header-quote-btn {
    display: none;
}

/* ============================================
   ENHANCED HEADER TRANSPARENCY & SMOOTHNESS
   More glassmorphic, see-through on scroll
   ============================================ */
.header, .site-header {
    background: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.03) 0%, 
            transparent 40%),
        linear-gradient(135deg, 
            var(--glass-primary, rgba(0, 100, 150, 0.06)) 0%, 
            var(--glass-secondary, rgba(0, 50, 100, 0.04)) 25%,
            rgba(0, 20, 40, 0.02) 50%,
            var(--glass-accent, rgba(0, 80, 120, 0.05)) 75%,
            var(--glass-primary, rgba(0, 100, 150, 0.06)) 100%),
        radial-gradient(ellipse at 20% 50%, var(--ambient-glow-1, rgba(0, 200, 255, 0.06)) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, var(--ambient-glow-2, rgba(0, 255, 136, 0.04)) 0%, transparent 50%),
        rgba(3, 5, 8, 0.75) !important;
    backdrop-filter: blur(25px) saturate(180%) brightness(95%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(95%) !important;
}

/* Smooth mobile header hide/show animation */
@media (max-width: 768px) {
    .header, .site-header {
        transition: 
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            background 0.5s ease !important;
    }
    
    .header.header-compact {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }
    
    .header:not(.header-compact) {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* ============================================
   MOBILE HEADER TAGLINE
   Show tagline below logo on mobile
   ============================================ */
@media (max-width: 768px) {
    .header-logo {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .header-tagline {
        display: block !important;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.5rem;
        letter-spacing: 0.15em;
        color: var(--terminal-green);
        opacity: 0.8;
        text-transform: uppercase;
        margin-top: 2px;
        /* Reset desktop styles */
        border-left: none;
        padding-left: 0;
        max-width: none;
        line-height: 1.2;
    }
    
    .header-tagline::before {
        display: none;
    }
}

/* ============================================
   LOGO SIZE FIX - 50% viewport on mobile
   ============================================ */
@media (max-width: 768px) {
    .header-logo img {
        width: 50vw !important;
        max-width: 200px !important;
        height: auto !important;
    }
}
@media (max-width: 480px) {
    .header-logo img {
        width: 55vw !important;
        max-width: 180px !important;
        height: auto !important;
    }
}

/* ============================================
   ZALO/WHATSAPP FOOTER LINKS - PREMIUM EDITION
   ============================================ */
.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.9) 0%, rgba(10, 15, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    transition: all 0.3s ease;
}
.footer-social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.footer-social-link:hover::after {
    opacity: 0.5;
}
.footer-social-link.whatsapp {
    border-color: rgba(37, 211, 102, 0.3);
    color: #25D366;
}
.footer-social-link.whatsapp::before {
    background: linear-gradient(180deg, #25D366, #128C7E);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}
.footer-social-link.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(18, 140, 126, 0.1) 100%);
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3), inset 0 0 20px rgba(37, 211, 102, 0.05);
    transform: translateX(3px);
}
.footer-social-link.zalo {
    border-color: rgba(0, 104, 255, 0.3);
    color: #0068FF;
}
.footer-social-link.zalo::before {
    background: linear-gradient(180deg, #0068FF, #0050CC);
    box-shadow: 0 0 10px rgba(0, 104, 255, 0.5);
}
.footer-social-link.zalo:hover {
    background: linear-gradient(135deg, rgba(0, 104, 255, 0.15) 0%, rgba(0, 80, 204, 0.1) 100%);
    border-color: #0068FF;
    box-shadow: 0 0 20px rgba(0, 104, 255, 0.3), inset 0 0 20px rgba(0, 104, 255, 0.05);
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .footer-social-links {
        justify-content: center;
    }
}

/* Mobile Menu Zalo/WhatsApp - PREMIUM EDITION */
.mobile-menu-social {
    display: flex;
    gap: 12px;
    padding: 20px 20px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    margin-top: 15px;
}
.mobile-menu-social a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    /* Sharp angular cut - cyber style */
    clip-path: polygon(
        0 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% 100%,
        12px 100%,
        0 calc(100% - 12px)
    );
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
}
/* Inner glow border effect */
.mobile-menu-social a::before {
    content: '';
    position: absolute;
    inset: 1px;
    clip-path: polygon(
        0 0,
        calc(100% - 11px) 0,
        100% 11px,
        100% 100%,
        11px 100%,
        0 calc(100% - 11px)
    );
    background: transparent;
    transition: all 0.3s ease;
    z-index: -1;
}
/* Scan line effect on hover */
.mobile-menu-social a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}
.mobile-menu-social a:hover::after,
.mobile-menu-social a:active::after {
    left: 100%;
}
/* WhatsApp - Green cyber style */
.mobile-menu-social .whatsapp-link {
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.25) 0%, 
        rgba(18, 140, 126, 0.2) 100%);
    color: #25D366;
    box-shadow: 
        0 0 20px rgba(37, 211, 102, 0.15),
        inset 0 0 20px rgba(37, 211, 102, 0.05);
}
.mobile-menu-social .whatsapp-link:hover,
.mobile-menu-social .whatsapp-link:active {
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.4) 0%, 
        rgba(18, 140, 126, 0.35) 100%);
    box-shadow: 
        0 0 30px rgba(37, 211, 102, 0.3),
        inset 0 0 30px rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
}
/* Zalo - Blue cyber style */
.mobile-menu-social .zalo-link {
    background: linear-gradient(135deg, 
        rgba(0, 104, 255, 0.25) 0%, 
        rgba(0, 80, 200, 0.2) 100%);
    color: #0068FF;
    box-shadow: 
        0 0 20px rgba(0, 104, 255, 0.15),
        inset 0 0 20px rgba(0, 104, 255, 0.05);
}
.mobile-menu-social .zalo-link:hover,
.mobile-menu-social .zalo-link:active {
    background: linear-gradient(135deg, 
        rgba(0, 104, 255, 0.4) 0%, 
        rgba(0, 80, 200, 0.35) 100%);
    box-shadow: 
        0 0 30px rgba(0, 104, 255, 0.3),
        inset 0 0 30px rgba(0, 104, 255, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   v5.25 PREMIUM MOBILE MENU - GLASSMORPHISM
   Day/Night adaptive, Space Grotesk typography
   ============================================ */

/* Mobile Menu Container */
@media (max-width: 768px) {
    .header-row-2 {
        position: fixed;
        top: 0;
        left: -100%;
        width: 88%;
        max-width: 340px;
        height: 100vh;
        height: 100dvh;
        
        /* Adaptive glassmorphism background */
        background: 
            /* Top light refraction */
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.03) 0%, 
                transparent 20%),
            /* Primary glass layers */
            linear-gradient(165deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 30%,
                var(--glass-accent) 60%,
                transparent 100%),
            /* Ambient glow spots */
            radial-gradient(ellipse at 20% 30%, var(--ambient-glow-1) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 70%, var(--ambient-glow-2) 0%, transparent 40%),
            /* Base */
            linear-gradient(180deg, 
                rgba(8, 10, 14, 0.97) 0%, 
                rgba(5, 8, 12, 0.99) 50%,
                rgba(3, 5, 8, 0.995) 100%);
        
        backdrop-filter: var(--glass-blur-heavy);
        -webkit-backdrop-filter: var(--glass-blur-heavy);
        
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        z-index: 9999999;
        transition: left 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        overflow-x: hidden;
        
        /* Prismatic edge */
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 
            20px 0 60px rgba(0, 0, 0, 0.8),
            inset -1px 0 0 rgba(255, 255, 255, 0.04),
            inset 0 0 100px rgba(0, 0, 0, 0.3);
    }
    
    .header-row-2.active {
        left: 0;
    }
    
    /* Premium menu header */
    .header-row-2::before {
        content: '◆ SERAPHIM';
        display: flex;
        align-items: center;
        padding: 28px 24px 24px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--terminal-green);
        letter-spacing: 0.18em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        background: linear-gradient(135deg, 
            var(--ambient-glow-1) 0%, 
            transparent 60%);
        text-shadow: 0 0 30px var(--particle-primary);
        position: relative;
    }
    
    /* Animated prismatic edge bar */
    .header-row-2::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, 
            transparent 0%,
            var(--edge-prismatic-1) 20%,
            var(--edge-prismatic-2) 40%,
            var(--edge-prismatic-3) 60%,
            var(--edge-prismatic-2) 80%,
            transparent 100%);
        opacity: 0.8;
        animation: menuEdgeGlow 4s ease-in-out infinite;
    }
    
    @keyframes menuEdgeGlow {
        0%, 100% { opacity: 0.5; filter: brightness(0.8); }
        50% { opacity: 1; filter: brightness(1.2); }
    }
    
    /* ===== NAVIGATION ITEMS - SPACE GROTESK ===== */
    .header-row-2 > a.nav-item,
    .header-row-2 > .nav-item.has-dropdown > span {
        display: flex;
        align-items: center;
        padding: 18px 24px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        cursor: pointer;
        background: transparent;
    }
    
    /* Left accent bar on hover */
    .header-row-2 > a.nav-item::before,
    .header-row-2 > .nav-item.has-dropdown > span::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, 
            var(--edge-prismatic-1), 
            var(--edge-prismatic-2),
            var(--edge-prismatic-1));
        box-shadow: 0 0 12px var(--particle-primary);
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Arrow indicator */
    .header-row-2 > a.nav-item::after,
    .header-row-2 > .nav-item.has-dropdown > span::after {
        content: '→';
        position: absolute;
        right: 24px;
        opacity: 0;
        color: var(--terminal-green);
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.85rem;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }
    
    .header-row-2 > .nav-item.has-dropdown > span::after {
        content: '+';
    }
    
    .header-row-2 > .nav-item.has-dropdown.open > span::after {
        content: '−';
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Hover & Active States */
    .header-row-2 > a.nav-item:hover,
    .header-row-2 > a.nav-item:active,
    .header-row-2 > a.nav-item.active,
    .header-row-2 > .nav-item.has-dropdown:hover > span,
    .header-row-2 > .nav-item.has-dropdown.open > span {
        background: linear-gradient(90deg, 
            var(--ambient-glow-1) 0%, 
            transparent 70%);
        color: var(--terminal-green);
        padding-left: 32px;
        text-shadow: 0 0 20px var(--particle-primary);
    }
    
    .header-row-2 > a.nav-item:hover::before,
    .header-row-2 > a.nav-item:active::before,
    .header-row-2 > a.nav-item.active::before,
    .header-row-2 > .nav-item.has-dropdown:hover > span::before,
    .header-row-2 > .nav-item.has-dropdown.open > span::before {
        height: 60%;
    }
    
    .header-row-2 > a.nav-item:hover::after,
    .header-row-2 > a.nav-item:active::after,
    .header-row-2 > a.nav-item.active::after,
    .header-row-2 > .nav-item.has-dropdown:hover > span::after {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* ===== DROPDOWN - MATCHES DESKTOP FONT ===== */
    .header-row-2 .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: linear-gradient(180deg, 
            rgba(0, 0, 0, 0.5) 0%, 
            rgba(0, 0, 0, 0.3) 100%);
        backdrop-filter: blur(10px);
        border: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
        padding: 8px 0;
        display: none;
        border-left: 2px solid var(--edge-prismatic-2);
        margin-left: 24px;
        margin-right: 16px;
        margin-bottom: 8px;
    }
    
    .header-row-2 .has-dropdown.open .nav-dropdown {
        display: block;
        animation: dropdownSlide 0.3s ease-out;
    }
    
    @keyframes dropdownSlide {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Dropdown items - same font as desktop nav */
    .header-row-2 .nav-dropdown a {
        padding: 14px 20px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        color: var(--text-muted);
        border-bottom: none;
        position: relative;
        transition: all 0.25s ease;
    }
    
    .header-row-2 .nav-dropdown a::before {
        content: '//';
        margin-right: 10px;
        color: var(--edge-prismatic-2);
        opacity: 0.5;
        font-size: 0.65rem;
        transition: opacity 0.2s;
    }
    
    .header-row-2 .nav-dropdown a:hover,
    .header-row-2 .nav-dropdown a:active {
        color: var(--terminal-green);
        background: linear-gradient(90deg, var(--ambient-glow-1), transparent);
        padding-left: 24px;
    }
    
    .header-row-2 .nav-dropdown a:hover::before {
        opacity: 1;
    }
    
    /* ===== MOBILE MENU OVERLAY - GLASSMORPHISM ===== */
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: 
            radial-gradient(ellipse at 30% 20%, var(--ambient-glow-1) 0%, transparent 40%),
            radial-gradient(ellipse at 70% 80%, var(--ambient-glow-2) 0%, transparent 40%),
            rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
        z-index: 9999998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* ===== HAMBURGER BUTTON ===== */
    .hamburger {
        width: 28px;
        height: 22px;
        position: relative;
        cursor: pointer;
        z-index: 10000000;
        background: transparent;
        border: none;
        padding: 0;
    }
    
    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--terminal-green);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 8px var(--particle-primary);
    }
    
    .hamburger span:nth-child(1) { top: 0; width: 100%; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 75%; }
    .hamburger span:nth-child(3) { bottom: 0; width: 50%; }
    
    .hamburger:hover span:nth-child(2) { width: 100%; }
    .hamburger:hover span:nth-child(3) { width: 100%; }
    
    .hamburger.active span {
        width: 100%;
        box-shadow: 0 0 15px var(--particle-primary);
    }
    
    .hamburger.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .hamburger.active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
}

/* ===== PREMIUM SOCIAL BUTTONS - SPACE GROTESK ===== */
/* Hide on desktop */
.mobile-menu-social {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-menu-social {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 24px;
        margin-top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        background: linear-gradient(180deg, 
            transparent 0%, 
            var(--ambient-glow-2) 100%);
    }
    
    /* Section label */
    .mobile-menu-social::before {
        content: 'LIÊN HỆ NHANH';
        display: block;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.6rem;
        letter-spacing: 0.2em;
        color: var(--text-dim);
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-menu-social a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        padding: 16px 20px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 0;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    /* Left accent bar */
    .mobile-menu-social a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        transition: all 0.3s ease;
    }
    
    /* Shimmer effect on tap */
    .mobile-menu-social a::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.15), 
            transparent);
        transition: left 0.5s ease;
    }
    
    .mobile-menu-social a:active::after {
        left: 100%;
    }
    
    /* WhatsApp Button */
    .mobile-menu-social .whatsapp-link {
        background: linear-gradient(135deg, 
            rgba(37, 211, 102, 0.12) 0%, 
            rgba(18, 140, 126, 0.08) 100%);
        color: #25D366;
        border: 1px solid rgba(37, 211, 102, 0.25);
        box-shadow: 
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 2px 10px rgba(37, 211, 102, 0.1);
    }
    
    .mobile-menu-social .whatsapp-link::before {
        background: linear-gradient(180deg, #25D366, #128C7E);
        box-shadow: 0 0 12px rgba(37, 211, 102, 0.6);
    }
    
    .mobile-menu-social .whatsapp-link:active {
        background: linear-gradient(135deg, 
            rgba(37, 211, 102, 0.25) 0%, 
            rgba(18, 140, 126, 0.18) 100%);
        border-color: rgba(37, 211, 102, 0.5);
        box-shadow: 
            inset 0 0 30px rgba(37, 211, 102, 0.15),
            0 0 25px rgba(37, 211, 102, 0.3);
        transform: scale(0.98);
    }
    
    /* Zalo Button */
    .mobile-menu-social .zalo-link {
        background: linear-gradient(135deg, 
            rgba(0, 104, 255, 0.12) 0%, 
            rgba(0, 80, 204, 0.08) 100%);
        color: #0068FF;
        border: 1px solid rgba(0, 104, 255, 0.25);
        box-shadow: 
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            0 2px 10px rgba(0, 104, 255, 0.1);
    }
    
    .mobile-menu-social .zalo-link::before {
        background: linear-gradient(180deg, #0068FF, #0050CC);
        box-shadow: 0 0 12px rgba(0, 104, 255, 0.6);
    }
    
    .mobile-menu-social .zalo-link:active {
        background: linear-gradient(135deg, 
            rgba(0, 104, 255, 0.25) 0%, 
            rgba(0, 80, 204, 0.18) 100%);
        border-color: rgba(0, 104, 255, 0.5);
        box-shadow: 
            inset 0 0 30px rgba(0, 104, 255, 0.15),
            0 0 25px rgba(0, 104, 255, 0.3);
        transform: scale(0.98);
    }
    
    /* Icon styling */
    .mobile-menu-social a .social-icon,
    .mobile-menu-social a > span:first-child {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }
    
    /* Bottom tagline */
    .mobile-menu-social + .mobile-menu-tagline,
    .mobile-menu-social ~ .mobile-menu-tagline {
        padding: 16px 24px;
        text-align: center;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.6rem;
        letter-spacing: 0.15em;
        color: var(--text-dim);
        border-top: 1px solid rgba(255, 255, 255, 0.03);
    }
}

/* ============================================
   v5.14 UI ENHANCEMENTS
   ============================================ */

/* Logo day/night highlight effect */
.header-logo {
    position: relative;
}

.header-logo img {
    position: relative;
    z-index: 2;
    transition: filter 0.3s ease;
}

.header-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
    filter: blur(15px);
    transition: all 0.5s ease;
    pointer-events: none;
}

/* Daytime glow (warm golden) - will be toggled via JS */
.header-logo.daytime::before {
    background: radial-gradient(circle, rgba(255, 200, 100, 0.8), rgba(255, 150, 50, 0.4), transparent);
    box-shadow: 0 0 30px rgba(255, 180, 80, 0.5);
}

/* Nighttime glow (cool cyan/terminal green) - default */
.header-logo.nighttime::before,
.header-logo::before {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.6), rgba(0, 200, 255, 0.3), transparent);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

@media (max-width: 768px) {
    /* Hide the glow on mobile for cleaner S logo display */
    .header-logo::before {
        display: none !important;
    }
    
    /* Show S logo on mobile, hide full logo */
    .header-logo img.logo-full,
    .header-logo img:not(.logo-s):not(.s-logo) {
        display: none !important;
    }
    
    .header-logo img.logo-s,
    .header-logo img.s-logo {
        display: block !important;
        height: 38px !important;
        width: auto !important;
        filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5)) !important;
        background: transparent !important;
    }
}

/* 9. ENHANCED MOBILE SLIDE-OUT MENU */
@media (max-width: 768px) {
    /* Mobile menu overlay */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Slide-out menu container */
    .header-row-2 {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: linear-gradient(180deg, 
            rgba(8, 12, 16, 0.98) 0%, 
            rgba(5, 8, 12, 0.99) 50%,
            rgba(8, 12, 16, 0.98) 100%) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        padding: 0 !important;
        z-index: 9999 !important;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-right: 1px solid rgba(0, 255, 136, 0.2) !important;
        box-shadow: 15px 0 60px rgba(0, 0, 0, 0.7) !important;
    }
    
    .header-row-2.active {
        left: 0 !important;
    }
    
    /* Terminal-style menu header */
    .header-row-2::before {
        content: '> SERAPHIM_NAV';
        display: block !important;
        padding: 25px 20px 20px !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.8rem !important;
        color: var(--terminal-green) !important;
        letter-spacing: 0.15em !important;
        border-bottom: 1px solid var(--border) !important;
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.08), transparent) !important;
    }
    
    /* Animated glow line on right edge */
    .header-row-2::after {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 2px !important;
        height: 100% !important;
        background: linear-gradient(180deg, 
            transparent,
            var(--terminal-green), 
            rgba(0, 255, 136, 0.3),
            var(--terminal-green),
            transparent) !important;
        opacity: 0.7 !important;
        animation: menuGlowPulse 4s ease-in-out infinite !important;
    }
    
    @keyframes menuGlowPulse {
        0%, 100% { opacity: 0.4; }
        50% { opacity: 0.9; }
    }
    
    /* Nav items styling */
    .header-row-2 > a.nav-item,
    .header-row-2 > .nav-item.has-dropdown > span {
        display: flex !important;
        align-items: center !important;
        padding: 16px 20px !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.08em !important;
        color: var(--text-secondary) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        cursor: pointer !important;
        text-decoration: none !important;
    }
    
    .header-row-2 > a.nav-item::before,
    .header-row-2 > .nav-item.has-dropdown > span::before {
        content: '>' !important;
        position: absolute !important;
        left: 8px !important;
        opacity: 0 !important;
        color: var(--terminal-green) !important;
        transform: translateX(-10px) !important;
        transition: all 0.3s ease !important;
        font-family: 'JetBrains Mono', monospace !important;
    }
    
    .header-row-2 > a.nav-item:hover,
    .header-row-2 > a.nav-item.active,
    .header-row-2 > .nav-item.has-dropdown:hover > span {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.1), transparent) !important;
        color: var(--terminal-green) !important;
        padding-left: 30px !important;
    }
    
    .header-row-2 > a.nav-item:hover::before,
    .header-row-2 > a.nav-item.active::before,
    .header-row-2 > .nav-item.has-dropdown:hover > span::before {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    /* Dropdown styling for mobile */
    .header-row-2 .nav-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: none !important;
        border-left: 2px solid var(--terminal-green) !important;
        margin-left: 20px !important;
    }
    
    .header-row-2 .has-dropdown.open .nav-dropdown {
        display: block !important;
    }
    
    .header-row-2 .nav-dropdown a {
        padding: 12px 20px !important;
        font-size: 0.8rem !important;
        color: var(--text-muted) !important;
        display: block !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    }
    
    .header-row-2 .nav-dropdown a:hover {
        color: var(--terminal-green) !important;
        background: rgba(0, 255, 136, 0.05) !important;
    }
    
    /* Mobile menu social section (Zalo/WhatsApp) */
    .mobile-menu-social {
        display: flex !important;
        gap: 12px !important;
        padding: 20px !important;
        margin-top: auto !important;
        border-top: 1px solid var(--border) !important;
        background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.03)) !important;
    }
    
    .mobile-menu-social a {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 16px 12px !important;
        border-radius: 6px !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .mobile-menu-social a::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent) !important;
        transition: 0.5s !important;
    }
    
    .mobile-menu-social a:active::before {
        left: 100% !important;
    }
    
    .mobile-menu-social .whatsapp-link {
        background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.08)) !important;
        color: #25D366 !important;
        border: 1px solid rgba(37, 211, 102, 0.4) !important;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.15) !important;
    }
    
    .mobile-menu-social .whatsapp-link:active {
        transform: scale(0.95) !important;
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
    }
    
    .mobile-menu-social .zalo-link {
        background: linear-gradient(135deg, rgba(0, 136, 255, 0.2), rgba(0, 136, 255, 0.08)) !important;
        color: #0088FF !important;
        border: 1px solid rgba(0, 136, 255, 0.4) !important;
        box-shadow: 0 4px 15px rgba(0, 136, 255, 0.15) !important;
    }
    
    .mobile-menu-social .zalo-link:active {
        transform: scale(0.95) !important;
        box-shadow: 0 2px 8px rgba(0, 136, 255, 0.3) !important;
    }
}

/* Hide mobile social on desktop */
@media (min-width: 769px) {
    .mobile-menu-social {
        display: none !important;
    }
}

/* ============================================
   v5.14 FIXES - MOBILE MENU SOCIAL BUTTONS
   ============================================ */

/* HIDE on desktop by default */
.mobile-menu-social {
    display: none !important;
}

/* SHOW on mobile when menu is active */
@media (max-width: 768px) {
    .header-row-2 .mobile-menu-social {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        padding: 20px !important;
        margin-top: auto !important;
        border-top: 1px solid rgba(0, 255, 136, 0.2) !important;
        background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.05)) !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .header-row-2 .mobile-menu-social a {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 16px 12px !important;
        border-radius: 6px !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }
    
    .header-row-2 .mobile-menu-social .whatsapp-link {
        background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(37, 211, 102, 0.1)) !important;
        color: #25D366 !important;
        border: 1px solid rgba(37, 211, 102, 0.5) !important;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2) !important;
    }
    
    .header-row-2 .mobile-menu-social .zalo-link {
        background: linear-gradient(135deg, rgba(0, 136, 255, 0.25), rgba(0, 136, 255, 0.1)) !important;
        color: #0088FF !important;
        border: 1px solid rgba(0, 136, 255, 0.5) !important;
        box-shadow: 0 4px 15px rgba(0, 136, 255, 0.2) !important;
    }
    
    /* Make sure the nav has room for the buttons at bottom */
    .header-row-2 {
        padding-bottom: 100px !important;
    }
    
    /* Enhanced slide-out styling */
    .header-row-2.active {
        background: linear-gradient(180deg, 
            rgba(8, 12, 16, 0.98) 0%, 
            rgba(5, 8, 12, 0.99) 50%,
            rgba(8, 12, 16, 0.98) 100%) !important;
        border-right: 2px solid rgba(0, 255, 136, 0.3) !important;
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.8), 
                    inset -1px 0 0 rgba(0, 255, 136, 0.1) !important;
    }
    
    /* Nav items terminal styling */
    .header-row-2 .nav-item {
        display: block !important;
        padding: 16px 25px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.05em !important;
        color: var(--text-secondary) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        position: relative !important;
    }
    
    .header-row-2 .nav-item:hover,
    .header-row-2 .nav-item:active {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.15), transparent) !important;
        color: var(--terminal-green) !important;
        padding-left: 35px !important;
    }
    
    .header-row-2 .nav-item:hover::before {
        content: '>' !important;
        position: absolute !important;
        left: 15px !important;
        color: var(--terminal-green) !important;
    }
}

/* Mobile Menu Social Buttons */
.mobile-menu-social {
    display: none;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

@media (max-width: 768px) {
    .header-row-2.active .mobile-menu-social {
        display: flex;
        flex-direction: column;
    }
}

.mobile-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.mobile-social-btn.zalo {
    background: #0068ff;
    color: #fff;
}

.mobile-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Security Dropdown in Nav */
.nav-dropdown-security {
    position: relative;
}

.nav-dropdown-security .dropdown-menu {
    min-width: 220px;
}

/* ============================================
   v5.15 SUPER ADVANCED MOBILE MENU
   ============================================ */

/* Mobile Overlay with grid effect */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Enhanced Mobile Menu Container */
@media (max-width: 768px) {
    .header-row-2 {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: 
            linear-gradient(135deg, rgba(0, 10, 5, 0.98) 0%, rgba(5, 15, 10, 0.99) 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        z-index: 9999;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        border-right: 2px solid rgba(0, 255, 136, 0.3);
        box-shadow: 
            10px 0 60px rgba(0, 255, 136, 0.1),
            inset -1px 0 0 rgba(0, 255, 136, 0.2);
    }
    
    .header-row-2.active {
        left: 0;
    }
    
    /* Terminal-style header */
    .header-row-2::before {
        content: '⟁ SERAPHIM VIETNAM';
        display: block;
        padding: 25px 20px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 1rem;
        font-weight: 600;
        color: var(--terminal-green);
        letter-spacing: 0.1em;
        border-bottom: 1px solid rgba(0, 255, 136, 0.2);
        background: 
            linear-gradient(90deg, rgba(0, 255, 136, 0.15) 0%, transparent 70%),
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 136, 0.03) 2px, rgba(0, 255, 136, 0.03) 4px);
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
        position: relative;
    }
    
    .header-row-2::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: 
            repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 136, 0.02) 2px, rgba(0, 255, 136, 0.02) 4px);
        pointer-events: none;
        z-index: -1;
    }
    
    /* Menu items with terminal style */
    .header-row-2 > .nav-item,
    .header-row-2 > a {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(0, 255, 136, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .header-row-2 > .nav-item::before,
    .header-row-2 > a::before {
        content: '>';
        position: absolute;
        left: 8px;
        opacity: 0;
        color: var(--terminal-green);
        font-family: 'JetBrains Mono', monospace;
        transform: translateX(-15px);
        transition: all 0.3s ease;
    }
    
    .header-row-2 > .nav-item:hover,
    .header-row-2 > a:hover,
    .header-row-2 > .nav-item.active,
    .header-row-2 > a.active {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
        color: var(--terminal-green);
        padding-left: 35px;
    }
    
    .header-row-2 > .nav-item:hover::before,
    .header-row-2 > a:hover::before,
    .header-row-2 > .nav-item.active::before,
    .header-row-2 > a.active::before {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Dropdown styling */
    .header-row-2 .has-dropdown {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-row-2 .has-dropdown > span {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        cursor: pointer;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.9rem;
        color: var(--text-secondary);
        border-bottom: 1px solid rgba(0, 255, 136, 0.08);
        transition: all 0.3s ease;
    }
    
    .header-row-2 .has-dropdown > span::after {
        content: '+';
        font-size: 1.2rem;
        color: var(--terminal-green);
        transition: transform 0.3s ease;
    }
    
    .header-row-2 .has-dropdown.open > span::after {
        transform: rotate(45deg);
    }
    
    .header-row-2 .has-dropdown.open > span {
        background: linear-gradient(90deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
        color: var(--terminal-green);
    }
    
    .header-row-2 .nav-dropdown {
        display: none;
        background: rgba(0, 0, 0, 0.3);
        border-left: 2px solid rgba(0, 255, 136, 0.2);
        margin-left: 15px;
    }
    
    .header-row-2 .has-dropdown.open .nav-dropdown {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .header-row-2 .nav-dropdown a {
        padding: 12px 20px;
        font-size: 0.85rem;
        color: var(--text-muted);
        display: block;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .header-row-2 .nav-dropdown a::before {
        content: '─';
        margin-right: 10px;
        color: rgba(0, 255, 136, 0.3);
    }
    
    .header-row-2 .nav-dropdown a:hover {
        color: var(--terminal-green);
        background: rgba(0, 255, 136, 0.05);
        padding-left: 25px;
    }
}

/* Mobile Menu Social Buttons - Super Enhanced */
.mobile-menu-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    margin-top: auto;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.03));
}

.mobile-menu-social::before {
    content: '// CONTACT US';
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--terminal-green);
    letter-spacing: 0.15em;
    margin-bottom: 5px;
    opacity: 0.7;
}

.mobile-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.mobile-social-btn:hover::before {
    left: 100%;
}

.mobile-social-btn.whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.1));
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.mobile-social-btn.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(37, 211, 102, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.mobile-social-btn.zalo {
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.2), rgba(0, 136, 255, 0.1));
    color: #0088FF;
    border: 1px solid rgba(0, 136, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.2);
}

.mobile-social-btn.zalo:hover {
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.3), rgba(0, 136, 255, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.3);
}

.mobile-social-btn span {
    font-size: 1.2rem;
}

/* Hamburger enhancement */
.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        cursor: pointer;
        z-index: 10000;
    }
    
    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--terminal-green);
        transition: all 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Scanline effect for menu */
@media (max-width: 768px) {
    .header-row-2::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 136, 0.015) 2px,
            rgba(0, 255, 136, 0.015) 4px
        );
        pointer-events: none;
        z-index: 1;
    }
}

/* ============================================
   v5.16 TERMINAL MOBILE MENU
   Full sci-fi aesthetic with scanlines, 
   glows, and glassmorphism
   ============================================ */

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 10001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--terminal-green);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 10px var(--terminal-green), 0 0 20px rgba(0, 255, 136, 0.3);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* The actual mobile menu panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 12, 10, 0.98) 0%, rgba(5, 8, 5, 0.99) 100%);
    border-left: 1px solid var(--terminal-green);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0, 255, 136, 0.1), -5px 0 30px rgba(0, 0, 0, 0.8);
}

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

/* Scanline effect overlay */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.03) 2px,
        rgba(0, 255, 136, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Grid pattern overlay */
.mobile-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Menu header */
.mobile-menu-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.05) 0%, transparent 100%);
}

.mobile-menu-header .logo {
    height: 32px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--terminal-green);
    border-radius: 8px;
    color: var(--terminal-green);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: var(--terminal-green);
    color: #000;
    box-shadow: 0 0 20px var(--terminal-green);
}

/* Navigation links */
.mobile-menu-nav {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav a::before {
    content: '>';
    color: var(--terminal-green);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.mobile-menu-nav a:hover {
    color: var(--terminal-green);
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.3);
    padding-left: 24px;
}

.mobile-menu-nav a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Section headers in menu */
.mobile-menu-section {
    padding: 12px 16px 8px;
    color: var(--terminal-green);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    margin-top: 10px;
}

.mobile-menu-section:first-child {
    border-top: none;
    margin-top: 0;
}

/* CTA buttons in mobile menu */
.mobile-menu-cta {
    padding: 20px;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    z-index: 2;
    background: linear-gradient(0deg, rgba(0, 255, 136, 0.05) 0%, transparent 100%);
}

.mobile-menu-cta .btn {
    width: 100%;
    margin-bottom: 10px;
    justify-content: center;
}

/* Contact buttons */
.mobile-menu-contact {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mobile-menu-contact a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-contact a:hover {
    border-color: var(--terminal-green);
    color: var(--terminal-green);
}

.mobile-menu-contact a.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25D366;
    color: #25D366;
}

.mobile-menu-contact a.zalo:hover {
    background: rgba(0, 136, 255, 0.1);
    border-color: #0088FF;
    color: #0088FF;
}

/* Terminal style status bar at bottom */
.mobile-menu-status {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    position: relative;
    z-index: 2;
}

.mobile-menu-status p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--terminal-green);
    margin: 0;
    opacity: 0.7;
}

/* Show hamburger on mobile */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
    
    .header-row-2 {
        display: none;
    }
    
    .header-cta-group,
    .header-quote-btn {
        display: none;
    }
}

@media (max-width: 600px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .header-contact-info {
        display: none;
    }
}

/* Glow animation for active state */
@keyframes menuGlow {
    0%, 100% { box-shadow: -20px 0 60px rgba(0, 255, 136, 0.1); }
    50% { box-shadow: -20px 0 80px rgba(0, 255, 136, 0.2); }
}

.mobile-menu.active {
    animation: menuGlow 2s ease-in-out infinite;
}

/* ============================================
   v5.20 MOBILE MENU - REFINED TECHNICAL AESTHETIC
   ============================================ */

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    .header-row-2, .header-nav, .header-quote-btn, .header-cta-group {
        display: none !important;
    }
}

/* Hamburger - clean lines, no border */
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00ff88, #00dd77);
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(0,255,136,0.5);
}

.mobile-menu-toggle.active span {
    background: #00ff88;
}

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

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

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

/* Header - minimal branding */
.mobile-nav-header {
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(0,255,136,0.15);
    background: linear-gradient(180deg, rgba(0,255,136,0.05) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-title {
    font-family: 'Syne', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(0,255,136,0.5);
    letter-spacing: 3px;
}

.mobile-nav-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: 6px;
    color: rgba(0,255,136,0.6);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.mobile-nav-close:hover {
    background: rgba(0,255,136,0.1);
    color: #00ff88;
    transform: rotate(90deg);
}

/* Nav items */
.mobile-nav-links {
    padding: 12px 0;
}

.mobile-nav-item {
    display: block;
    padding: 15px 20px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Inter', 'Syne', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: all 0.2s ease;
    cursor: pointer;
}

.mobile-nav-item:hover {
    color: #00ff88;
    background: linear-gradient(90deg, rgba(0,255,136,0.1) 0%, transparent 80%);
    padding-left: 28px;
}

/* Dropdown parent */
.mobile-nav-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-parent::after {
    content: '+';
    font-size: 1rem;
    font-weight: 300;
    color: rgba(0,255,136,0.5);
    transition: all 0.25s ease;
}

.mobile-nav-parent.open::after {
    content: '−';
    color: #00ff88;
}

/* Dropdown menus */
.mobile-nav-dropdown {
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.4);
    border-left: 1px solid rgba(0,255,136,0.2);
    margin: 0 0 0 20px;
    transition: max-height 0.35s ease;
}

.mobile-nav-dropdown.open {
    max-height: 400px;
}

.mobile-nav-dropdown a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.mobile-nav-dropdown a:hover {
    color: #00ff88;
    background: rgba(0,255,136,0.08);
    padding-left: 28px;
}

/* CTA Section */
.mobile-nav-cta {
    padding: 24px 20px;
    margin-top: 10px;
    border-top: 1px solid rgba(0,255,136,0.1);
    background: linear-gradient(0deg, rgba(0,255,136,0.03) 0%, transparent 100%);
}

.mobile-nav-cta .btn.primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ZALO & WHATSAPP - SHARP CORNERS */
.mobile-nav-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-nav-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 0 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.mobile-nav-contact .whatsapp-btn {
    background: transparent;
    border: 1px solid #25D366;
    color: #25D366;
}

.mobile-nav-contact .whatsapp-btn:hover {
    background: #25D366;
    color: #000;
}

.mobile-nav-contact .zalo-btn {
    background: transparent;
    border: 1px solid #0068FF;
    color: #0068FF;
}

.mobile-nav-contact .zalo-btn:hover {
    background: #0068FF;
    color: #fff;
}

/* Terminal status */
.mobile-nav-status {
    padding: 14px 20px;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(0,255,136,0.06);
}

.mobile-nav-status p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: rgba(0,255,136,0.4);
    margin: 0 0 2px 0;
    letter-spacing: 1px;
}

/* Subtle scanlines */
.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0,255,136,0.008) 2px,
        rgba(0,255,136,0.008) 4px
    );
    pointer-events: none;
    z-index: 1;
    animation: scanMove 25s linear infinite;
}

@keyframes scanMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 400px; }
}

/* Content above effects */
.mobile-nav-header, .mobile-nav-links, .mobile-nav-cta, .mobile-nav-status {
    position: relative;
    z-index: 10;
}

/* ============================================
   v5.25 COMPREHENSIVE DAY/NIGHT GLASSMORPHISM
   Sophisticated multi-layer effects system
   ============================================ */

/* ===== DAY/NIGHT CSS CUSTOM PROPERTIES ===== */
:root {
    /* Daytime palette */
    --day-glass-primary: rgba(200, 220, 255, 0.12);
    --day-glass-secondary: rgba(255, 245, 230, 0.08);
    --day-glass-accent: rgba(255, 200, 100, 0.15);
    --day-glow-warm: rgba(255, 180, 80, 0.4);
    --day-glow-sky: rgba(100, 180, 255, 0.3);
    --day-prismatic-1: rgba(255, 150, 100, 0.4);
    --day-prismatic-2: rgba(255, 200, 100, 0.5);
    --day-prismatic-3: rgba(100, 200, 255, 0.4);
    
    /* Nighttime palette (default) */
    --night-glass-primary: rgba(0, 100, 150, 0.08);
    --night-glass-secondary: rgba(0, 50, 100, 0.05);
    --night-glass-accent: rgba(0, 255, 136, 0.06);
    --night-glow-cool: rgba(0, 255, 136, 0.4);
    --night-glow-cyan: rgba(0, 200, 255, 0.3);
    --night-prismatic-1: rgba(0, 255, 136, 0.4);
    --night-prismatic-2: rgba(0, 200, 255, 0.5);
    --night-prismatic-3: rgba(100, 150, 255, 0.4);
    
    /* Active palette (switches based on time) */
    --glass-primary: var(--night-glass-primary);
    --glass-secondary: var(--night-glass-secondary);
    --glass-accent: var(--night-glass-accent);
    --glow-primary: var(--night-glow-cool);
    --glow-secondary: var(--night-glow-cyan);
    --prismatic-1: var(--night-prismatic-1);
    --prismatic-2: var(--night-prismatic-2);
    --prismatic-3: var(--night-prismatic-3);
}

/* Daytime mode overrides */
body.daytime {
    --glass-primary: var(--day-glass-primary);
    --glass-secondary: var(--day-glass-secondary);
    --glass-accent: var(--day-glass-accent);
    --glow-primary: var(--day-glow-warm);
    --glow-secondary: var(--day-glow-sky);
    --prismatic-1: var(--day-prismatic-1);
    --prismatic-2: var(--day-prismatic-2);
    --prismatic-3: var(--day-prismatic-3);
}

/* ===== ENHANCED HEADER GLASSMORPHISM - DAY/NIGHT ===== */
.header, .site-header {
    background: 
        /* Noise texture simulation */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
        /* Top light refraction - responds to day/night */
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.04) 0%, 
            transparent 40%),
        /* Dynamic glass tint */
        linear-gradient(135deg, 
            var(--glass-primary) 0%, 
            var(--glass-secondary) 25%,
            rgba(0, 20, 40, 0.04) 50%,
            var(--glass-primary) 75%,
            var(--glass-accent) 100%),
        /* Accent undertones */
        linear-gradient(270deg,
            var(--glass-accent) 0%,
            transparent 25%,
            transparent 75%,
            var(--glass-accent) 100%),
        /* Base dark glass */
        rgba(5, 8, 12, 0.92);
    
    backdrop-filter: blur(25px) saturate(200%) brightness(95%) contrast(105%);
    -webkit-backdrop-filter: blur(25px) saturate(200%) brightness(95%) contrast(105%);
    
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 2px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 var(--glow-secondary);
    
    transition: all 0.8s ease;
}

/* Daytime header adjustments */
body.daytime .header,
body.daytime .site-header {
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.08) 0%, 
            rgba(255, 250, 240, 0.03) 40%,
            transparent 100%),
        linear-gradient(135deg, 
            var(--glass-primary) 0%, 
            var(--glass-secondary) 30%,
            rgba(255, 250, 240, 0.05) 50%,
            var(--glass-accent) 100%),
        rgba(8, 10, 14, 0.88);
    
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 2px 15px rgba(100, 80, 50, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 var(--glow-secondary);
}

/* Dynamic prismatic edge */
.header::after,
.site-header::after {
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--prismatic-1) 15%,
        var(--prismatic-2) 35%,
        var(--prismatic-3) 50%,
        var(--prismatic-2) 65%,
        var(--prismatic-1) 85%,
        transparent 100%
    );
    transition: all 0.8s ease;
}

/* Animated light particles in header */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Floating orb 1 */
        radial-gradient(circle at 20% 30%, var(--glow-primary) 0%, transparent 25%),
        /* Floating orb 2 */
        radial-gradient(circle at 80% 60%, var(--glow-secondary) 0%, transparent 20%),
        /* Light sweep */
        linear-gradient(
            105deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.03) 55%,
            transparent 60%,
            transparent 100%
        );
    background-size: 200% 200%, 200% 200%, 300% 100%;
    animation: 
        headerOrb1 12s ease-in-out infinite,
        headerOrb2 15s ease-in-out infinite reverse,
        headerLightSweep 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

@keyframes headerOrb1 {
    0%, 100% { background-position: 20% 30%, 80% 60%, 200% 0; }
    25% { background-position: 30% 40%, 70% 50%, 100% 0; }
    50% { background-position: 25% 50%, 75% 40%, 0% 0; }
    75% { background-position: 15% 35%, 85% 55%, -100% 0; }
}

@keyframes headerOrb2 {
    0%, 100% { background-position: 20% 30%, 80% 60%, 200% 0; }
    33% { background-position: 35% 25%, 65% 70%, 50% 0; }
    66% { background-position: 10% 45%, 90% 45%, -50% 0; }
}

/* ===== FOOTER GLASSMORPHISM - DAY/NIGHT ===== */
.footer, .site-footer {
    position: relative;
    z-index: 1;
    background: 
        /* Subtle noise */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E"),
        /* Glass layers */
        linear-gradient(180deg,
            var(--glass-accent) 0%,
            transparent 30%),
        linear-gradient(0deg,
            var(--glass-primary) 0%,
            transparent 50%),
        var(--surface);
    
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    
    transition: all 0.8s ease;
}

/* Footer top accent - day/night responsive */
.footer-top-accent {
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--prismatic-1) 15%,
        var(--prismatic-2) 35%,
        var(--prismatic-3) 50%, 
        var(--prismatic-2) 65%,
        var(--prismatic-1) 85%, 
        transparent 100%
    );
    box-shadow: 
        0 0 30px var(--glow-primary), 
        0 0 60px var(--glow-secondary),
        0 2px 20px var(--glow-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.8s ease;
}

/* Animated shimmer on footer accent bar */
.footer-top-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: footerAccentShimmer 4s ease-in-out infinite;
}

@keyframes footerAccentShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Footer bottom enhanced glow */
.footer-bottom::before {
    background: radial-gradient(
        ellipse at center bottom, 
        var(--glow-primary) 0%, 
        var(--glow-secondary) 30%,
        transparent 70%
    );
    transition: all 0.8s ease;
}

/* Footer ambient particle field */
.footer-main {
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, var(--glow-primary) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, var(--glow-secondary) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, var(--glass-accent) 0%, transparent 40%);
    opacity: 0.15;
    animation: footerAmbient 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerAmbient {
    0%, 100% { 
        background-position: 10% 20%, 90% 80%, 50% 50%;
        opacity: 0.1;
    }
    33% { 
        background-position: 20% 30%, 80% 70%, 45% 55%;
        opacity: 0.2;
    }
    66% { 
        background-position: 15% 15%, 85% 85%, 55% 45%;
        opacity: 0.15;
    }
}

/* ===== MOBILE HEADER GLASSMORPHISM ===== */
@media (max-width: 768px) {
    .header, .site-header {
        background: 
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.05) 0%, 
                transparent 50%),
            linear-gradient(135deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 50%,
                var(--glass-accent) 100%),
            rgba(5, 8, 12, 0.95);
        
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
    }
    
    body.daytime .header,
    body.daytime .site-header {
        background: 
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                rgba(255, 250, 240, 0.05) 50%,
                transparent 100%),
            linear-gradient(135deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 50%,
                var(--glass-accent) 100%),
            rgba(8, 10, 14, 0.92);
    }
}

/* ===== MOBILE MENU SLIDE-OUT GLASSMORPHISM ===== */
@media (max-width: 768px) {
    .header-row-2 {
        background: 
            /* Noise texture */
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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%' height='100%' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
            /* Top highlight */
            linear-gradient(180deg,
                rgba(255, 255, 255, 0.04) 0%,
                transparent 20%),
            /* Glass layers - day/night responsive */
            linear-gradient(165deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 30%,
                rgba(5, 8, 12, 0.02) 50%,
                var(--glass-accent) 100%),
            /* Accent glow at top */
            linear-gradient(180deg,
                var(--glow-primary) 0%,
                transparent 30%),
            /* Base */
            rgba(5, 8, 12, 0.97) !important;
        
        backdrop-filter: blur(35px) saturate(200%) brightness(95%) !important;
        -webkit-backdrop-filter: blur(35px) saturate(200%) brightness(95%) !important;
        
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 
            25px 0 80px rgba(0, 0, 0, 0.7),
            inset -1px 0 0 rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
    }
    
    body.daytime .header-row-2 {
        background: 
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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%' height='100%' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
            linear-gradient(180deg,
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 250, 240, 0.03) 20%,
                transparent 40%),
            linear-gradient(165deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 30%,
                var(--glass-accent) 100%),
            linear-gradient(180deg,
                var(--glow-primary) 0%,
                transparent 25%),
            rgba(8, 10, 14, 0.95) !important;
        
        box-shadow: 
            25px 0 80px rgba(50, 40, 20, 0.3),
            inset -1px 0 0 rgba(255, 255, 255, 0.08),
            inset 0 1px 0 rgba(255, 250, 240, 0.05) !important;
    }
    
    /* Mobile menu ambient particles */
    .header-row-2::before {
        content: '◆ SERAPHIM' !important;
        background: 
            /* Floating orbs */
            radial-gradient(circle at 30% 40%, var(--glow-primary) 0%, transparent 40%),
            radial-gradient(circle at 70% 70%, var(--glow-secondary) 0%, transparent 35%),
            /* Base gradient */
            linear-gradient(135deg, 
                rgba(0, 255, 136, 0.1) 0%, 
                rgba(0, 255, 136, 0.03) 50%,
                transparent 100%) !important;
        background-size: 150% 150%, 150% 150%, 100% 100% !important;
        animation: mobileMenuOrbs 15s ease-in-out infinite !important;
    }
    
    @keyframes mobileMenuOrbs {
        0%, 100% { background-position: 30% 40%, 70% 70%, 0 0; }
        33% { background-position: 40% 50%, 60% 60%, 0 0; }
        66% { background-position: 25% 35%, 75% 75%, 0 0; }
    }
    
    /* Enhanced edge glow - day/night */
    .header-row-2::after {
        background: linear-gradient(180deg, 
            transparent 0%,
            var(--prismatic-1) 20%,
            var(--prismatic-2) 50%,
            var(--prismatic-1) 80%,
            transparent 100%) !important;
        width: 3px !important;
        box-shadow: 
            -5px 0 20px var(--glow-primary),
            -2px 0 10px var(--glow-secondary) !important;
    }
}

/* ===== SPACE GROTESK FONT FOR MOBILE MENU & SOCIAL BUTTONS ===== */

/* Mobile menu navigation - Space Grotesk */
@media (max-width: 768px) {
    .header-row-2 > a.nav-item,
    .header-row-2 > .nav-item.has-dropdown > span {
        font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif !important;
        font-weight: 500 !important;
        letter-spacing: 0.08em !important;
    }
    
    /* Dropdown items match desktop */
    .header-row-2 .nav-dropdown a {
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.06em !important;
    }
}

/* Mobile menu social buttons - Space Grotesk */
@media (max-width: 768px) {
    .mobile-menu-social a {
        font-family: 'Space Grotesk', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
    }
    
    /* Section header */
    .mobile-menu-social::before {
        font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif !important;
        font-weight: 500 !important;
    }
}

/* Footer social links - Space Grotesk */
.footer-social-link,
.footer-social-links a {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
}

/* All WhatsApp/Zalo buttons - Space Grotesk */
.btn.whatsapp, .btn-whatsapp,
.btn.zalo, .btn-zalo,
.whatsapp-link, .zalo-link {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
}

/* ===== CTA BUTTON PARTICLE EFFECTS ===== */

/* Base particle container for all CTA buttons */
.btn.primary, .btn-primary,
.header-cta-btn.primary,
.cta-btns .btn,
.btn.whatsapp, .btn-whatsapp,
.btn.zalo, .btn-zalo,
.header-cta-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Constant subtle shimmer effect */
.btn.primary::before, .btn-primary::before,
.header-cta-btn.primary::before,
.btn.whatsapp::before, .btn-whatsapp::before,
.btn.zalo::before, .btn-zalo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 70%,
        transparent 100%
    );
    animation: ctaShimmerConstant 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes ctaShimmerConstant {
    0%, 100% { left: -150%; opacity: 0.6; }
    50% { left: 150%; opacity: 1; }
}

/* Floating micro-particles */
.btn.primary::after, .btn-primary::after,
.header-cta-btn.primary::after,
.btn.whatsapp::after, .btn-whatsapp::after,
.btn.zalo::after, .btn-zalo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 30%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255,255,255,0.5) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(255,255,255,0.3) 1px, transparent 1px),
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.4) 1px, transparent 1px),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 100% 100%;
    animation: ctaParticlesFloat 6s ease-in-out infinite;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

@keyframes ctaParticlesFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-3px) translateX(2px);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-5px) translateX(-1px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-2px) translateX(-2px);
        opacity: 0.5;
    }
}

/* Hover intensification */
.btn.primary:hover::before, .btn-primary:hover::before,
.header-cta-btn.primary:hover::before,
.btn.whatsapp:hover::before, .btn-whatsapp:hover::before,
.btn.zalo:hover::before, .btn-zalo:hover::before {
    animation: ctaShimmerHover 0.8s ease-out;
}

@keyframes ctaShimmerHover {
    0% { left: -150%; opacity: 0.8; }
    100% { left: 150%; opacity: 1; }
}

.btn.primary:hover::after, .btn-primary:hover::after,
.header-cta-btn.primary:hover::after,
.btn.whatsapp:hover::after, .btn-whatsapp:hover::after,
.btn.zalo:hover::after, .btn-zalo:hover::after {
    animation: ctaParticlesHover 0.6s ease-out;
    opacity: 1;
}

@keyframes ctaParticlesHover {
    0% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
    }
    100% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Edge glow pulse on CTA buttons */
.btn.primary, .btn-primary,
.header-cta-btn.primary {
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    animation: ctaGlowPulse 3s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 35px rgba(0, 255, 136, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

.btn.primary:hover, .btn-primary:hover,
.header-cta-btn.primary:hover {
    box-shadow: 
        0 0 40px rgba(0, 255, 136, 0.6),
        0 0 80px rgba(0, 255, 136, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

/* WhatsApp button glow */
.btn.whatsapp, .btn-whatsapp {
    box-shadow: 
        0 0 15px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: whatsappGlow 3s ease-in-out infinite;
}

@keyframes whatsappGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 0 30px rgba(37, 211, 102, 0.5); }
}

.btn.whatsapp:hover, .btn-whatsapp:hover {
    box-shadow: 
        0 0 40px rgba(37, 211, 102, 0.6),
        0 0 80px rgba(37, 211, 102, 0.3);
    animation: none;
}

/* Zalo button glow */
.btn.zalo, .btn-zalo {
    box-shadow: 
        0 0 15px rgba(0, 104, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: zaloGlow 3s ease-in-out infinite;
}

@keyframes zaloGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 104, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 104, 255, 0.5); }
}

.btn.zalo:hover, .btn-zalo:hover {
    box-shadow: 
        0 0 40px rgba(0, 104, 255, 0.6),
        0 0 80px rgba(0, 104, 255, 0.3);
    animation: none;
}

/* ===== SECONDARY BUTTON EFFECTS ===== */
.btn.secondary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn.secondary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(200, 212, 224, 0.2), 
        transparent);
    animation: secondaryShimmer 3s ease-in-out infinite;
}

@keyframes secondaryShimmer {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* ===== FOOTER EMAIL STYLING ===== */
.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 16px;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.05) 0%, 
        rgba(0, 200, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--terminal-green);
    font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-email:hover {
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(0, 200, 255, 0.06) 100%);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--terminal-green);
    transform: translateX(5px);
}

.footer-email .email-icon {
    font-size: 1rem;
}

/* ===== DAYTIME INDICATOR (optional subtle) ===== */
body.daytime .header-logo::before {
    background: radial-gradient(circle, 
        rgba(255, 200, 100, 0.8) 0%, 
        rgba(255, 150, 50, 0.4) 50%, 
        transparent 70%) !important;
    box-shadow: 0 0 40px rgba(255, 180, 80, 0.6) !important;
}

body:not(.daytime) .header-logo::before {
    background: radial-gradient(circle, 
        rgba(0, 255, 136, 0.6) 0%, 
        rgba(0, 200, 255, 0.3) 50%, 
        transparent 70%) !important;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.5) !important;
}

/* ============================================
   CTA BUTTON PARTICLE & SHIMMER SYSTEM
   Constant subtle effects + intensified on hover
   ============================================ */

/* Base CTA button setup */
.header-cta-btn,
.btn-header,
.btn-primary,
.btn-cta,
.cta-btn,
.hero-cta,
.contact-btn,
button[type="submit"],
.quote-submit-btn,
.form-submit {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ===== CONSTANT SUBTLE SHIMMER ===== */
.header-cta-btn::before,
.btn-header::before,
.btn-primary::before,
.btn-cta::before,
.cta-btn::before,
.hero-cta::before,
.contact-btn::before,
button[type="submit"]::before,
.quote-submit-btn::before,
.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.08),
        transparent
    );
    animation: ctaSubtleShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes ctaSubtleShimmer {
    0%, 100% { left: -100%; opacity: 0.5; }
    50% { left: 150%; opacity: 1; }
}

/* ===== FLOATING PARTICLE FIELD ===== */
.header-cta-btn::after,
.btn-header::after,
.btn-primary::after,
.btn-cta::after,
.cta-btn::after,
.hero-cta::after,
.contact-btn::after,
button[type="submit"]::after,
.quote-submit-btn::after,
.form-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, var(--particle-primary) 0%, transparent 2px),
        radial-gradient(circle at 60% 70%, var(--particle-secondary) 0%, transparent 1.5px),
        radial-gradient(circle at 80% 20%, var(--particle-tertiary) 0%, transparent 2px),
        radial-gradient(circle at 40% 80%, var(--particle-primary) 0%, transparent 1px),
        radial-gradient(circle at 10% 60%, var(--particle-secondary) 0%, transparent 1.5px),
        radial-gradient(circle at 90% 50%, var(--particle-tertiary) 0%, transparent 1px);
    opacity: 0.4;
    animation: ctaParticleFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes ctaParticleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-2px) scale(1.05);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(2px) scale(0.95);
        opacity: 0.5;
    }
}

/* ===== HOVER INTENSIFICATION ===== */
.header-cta-btn:hover::before,
.btn-header:hover::before,
.btn-primary:hover::before,
.btn-cta:hover::before,
.cta-btn:hover::before,
.hero-cta:hover::before,
.contact-btn:hover::before,
button[type="submit"]:hover::before,
.quote-submit-btn:hover::before,
.form-submit:hover::before {
    animation: ctaIntenseShimmer 1.5s ease-in-out infinite;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.15),
        transparent
    );
}

@keyframes ctaIntenseShimmer {
    0% { left: -100%; }
    100% { left: 150%; }
}

.header-cta-btn:hover::after,
.btn-header:hover::after,
.btn-primary:hover::after,
.btn-cta:hover::after,
.cta-btn:hover::after,
.hero-cta:hover::after,
.contact-btn:hover::after,
button[type="submit"]:hover::after,
.quote-submit-btn:hover::after,
.form-submit:hover::after {
    opacity: 0.8;
    animation: ctaParticleIntense 2s ease-in-out infinite;
}

@keyframes ctaParticleIntense {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    25% { 
        transform: translateY(-3px) scale(1.1);
        filter: brightness(1.3);
    }
    50% { 
        transform: translateY(0) scale(1.05);
        filter: brightness(1.1);
    }
    75% { 
        transform: translateY(3px) scale(0.95);
        filter: brightness(1.2);
    }
}

/* ===== EDGE GLOW PULSE ===== */
.header-cta-btn.primary,
.btn-header.primary,
.btn-primary,
.btn-cta,
.cta-btn,
.hero-cta,
.contact-btn,
button[type="submit"],
.quote-submit-btn,
.form-submit {
    box-shadow: 
        0 0 0 1px rgba(0, 255, 136, 0.3),
        0 0 15px rgba(0, 255, 136, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: ctaEdgePulse 3s ease-in-out infinite;
}

@keyframes ctaEdgePulse {
    0%, 100% { 
        box-shadow: 
            0 0 0 1px var(--edge-prismatic-1),
            0 0 15px var(--particle-primary),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 0 2px var(--edge-prismatic-2),
            0 0 25px var(--particle-secondary),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.header-cta-btn.primary:hover,
.btn-header.primary:hover,
.btn-primary:hover,
.btn-cta:hover,
.cta-btn:hover,
.hero-cta:hover,
.contact-btn:hover,
button[type="submit"]:hover,
.quote-submit-btn:hover,
.form-submit:hover {
    animation: ctaEdgeIntense 1s ease-in-out infinite;
}

@keyframes ctaEdgeIntense {
    0%, 100% { 
        box-shadow: 
            0 0 0 2px var(--edge-prismatic-1),
            0 0 30px var(--particle-primary),
            0 0 60px var(--particle-secondary),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    50% { 
        box-shadow: 
            0 0 0 3px var(--edge-prismatic-2),
            0 0 40px var(--particle-secondary),
            0 0 80px var(--particle-primary),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* ===== RIPPLE EFFECT ON CLICK ===== */
.header-cta-btn:active,
.btn-header:active,
.btn-primary:active,
.btn-cta:active,
.cta-btn:active,
.hero-cta:active,
.contact-btn:active,
button[type="submit"]:active,
.quote-submit-btn:active,
.form-submit:active {
    transform: scale(0.98);
}

/* ===== SECONDARY BUTTONS - SUBTLE VERSION ===== */
.header-cta-btn.secondary,
.btn-header.secondary,
.btn-secondary {
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: ctaSecondaryPulse 4s ease-in-out infinite;
}

@keyframes ctaSecondaryPulse {
    0%, 100% { 
        box-shadow: 
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    50% { 
        box-shadow: 
            0 0 0 1px var(--edge-prismatic-1),
            0 0 10px var(--ambient-glow-1),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

.header-cta-btn.secondary:hover,
.btn-header.secondary:hover,
.btn-secondary:hover {
    animation: ctaSecondaryIntense 1.5s ease-in-out infinite;
}

@keyframes ctaSecondaryIntense {
    0%, 100% { 
        box-shadow: 
            0 0 0 1px var(--edge-prismatic-1),
            0 0 20px var(--particle-primary),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 0 2px var(--edge-prismatic-2),
            0 0 30px var(--particle-secondary),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* ===== DESKTOP FOOTER SOCIAL LINKS - SPACE GROTESK ===== */
.footer-social-links a,
.footer-social-link {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* ===== MOBILE HEADER GLASSMORPHISM ===== */
@media (max-width: 768px) {
    .header, .site-header {
        background: 
            linear-gradient(180deg, 
                rgba(255, 255, 255, 0.03) 0%, 
                transparent 50%),
            linear-gradient(135deg, 
                var(--glass-primary) 0%, 
                var(--glass-secondary) 50%,
                var(--glass-accent) 100%),
            radial-gradient(ellipse at 50% 0%, var(--ambient-glow-1) 0%, transparent 50%),
            var(--glass-base);
        
        backdrop-filter: var(--glass-blur-heavy);
        -webkit-backdrop-filter: var(--glass-blur-heavy);
    }
    
    /* Simplified prismatic edge for mobile */
    .header::after {
        height: 1px;
        background: linear-gradient(90deg, 
            transparent 0%,
            var(--edge-prismatic-1) 20%,
            var(--edge-prismatic-2) 50%,
            var(--edge-prismatic-1) 80%,
            transparent 100%
        );
    }
}

/* ============================================
   LAYMAN EXPLAINER SECTIONS
   "That means..." elegant gradient explanations
   2026 Award-Winning Large Typography Style
   ============================================ */

.explainer-section {
    padding: 80px 20px;
    margin: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.explainer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 136, 0.3) 20%, 
        rgba(0, 200, 255, 0.3) 50%, 
        rgba(0, 255, 136, 0.3) 80%, 
        transparent);
}

.explainer-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 136, 0.2) 20%, 
        rgba(0, 200, 255, 0.2) 50%, 
        rgba(0, 255, 136, 0.2) 80%, 
        transparent);
}

.explainer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.explainer-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--terminal-green);
    opacity: 0.8;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.explainer-label::before,
.explainer-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
}

.explainer-text {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-bright);
    margin-bottom: 20px;
}

.explainer-text .gradient-word {
    background: linear-gradient(135deg, 
        #00ff88 0%, 
        #00d4ff 50%, 
        #00ff88 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.explainer-text .particle-word {
    position: relative;
    display: inline-block;
    color: transparent;
}

.explainer-text .particle-word::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.explainer-subtext {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Particle canvas for explainer words */
.particle-word-container {
    position: relative;
    display: inline-block;
}

.particle-word-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .explainer-section {
        padding: 60px 20px;
    }
    
    .explainer-text {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    
    .explainer-subtext {
        font-size: 1rem;
    }
}

/* ============================================
   MARQUEE / TICKER SECTIONS
   Elegant infinite scroll for trust signals
   ============================================ */

.marquee-section {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, 
        rgba(0, 255, 136, 0.02) 0%, 
        transparent 50%, 
        rgba(0, 200, 255, 0.02) 100%);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.marquee-label {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 25px;
}

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

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 30px;
}

.marquee-item {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.marquee-item:hover {
    color: var(--terminal-green);
    opacity: 1;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.marquee-separator {
    width: 8px;
    height: 8px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.4;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

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

/* Reverse direction variant */
.marquee-track.reverse {
    animation-direction: reverse;
}

/* Faster variant */
.marquee-track.fast {
    animation-duration: 20s;
}

/* Stats marquee variant */
.marquee-stats .marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.marquee-stats .stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.marquee-stats .stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Fade edges */
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary, #030508), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary, #030508), transparent);
}

/* ============================================
   BENTO EXPLAINER GRID
   Modern grid layout for technical explanations
   ============================================ */

.bento-explainer {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-card {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bento-card.large {
    grid-column: span 8;
}

.bento-card.medium {
    grid-column: span 6;
}

.bento-card.small {
    grid-column: span 4;
}

.bento-card.tall {
    grid-row: span 2;
}

.bento-card .card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terminal-green);
    margin-bottom: 15px;
}

.bento-card .card-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--text-bright);
    margin-bottom: 15px;
    line-height: 1.2;
}

.bento-card .card-explain {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-card .card-explain .highlight {
    color: var(--terminal-green);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .bento-card.large,
    .bento-card.medium {
        grid-column: span 12;
    }
    
    .bento-card.small {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .bento-card.small {
        grid-column: span 12;
    }
    
    .bento-card {
        padding: 25px;
    }
}


/* ============================================
   V24 PREMIUM ENHANCEMENTS
   2026 Award-Winning Features
   ============================================ */

/* ============================================
   SUBTLE TEXTURE OVERLAYS
   Adds depth without distraction
   ============================================ */
.texture-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    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");
}

/* Hero sections get enhanced texture */
.page-hero::before,
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 200, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   PROVIDER LOGO CLOUD (MARQUEE)
   AWS, Azure, GCP, OpenAI, Anthropic, etc.
   ============================================ */
.provider-marquee {
    padding: 50px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        transparent 20%,
        transparent 80%,
        rgba(0, 0, 0, 0.3) 100%);
}

.provider-marquee-label {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 30px;
    opacity: 0.6;
}

.provider-track {
    display: flex;
    animation: providerScroll 40s linear infinite;
    width: max-content;
}

.provider-track:hover {
    animation-play-state: paused;
}

.provider-logos {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
}

.provider-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.4s ease;
    opacity: 0.4;
    letter-spacing: 0.05em;
    position: relative;
}

.provider-logo::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terminal-green);
    transition: width 0.3s ease;
}

.provider-logo:hover {
    color: var(--terminal-green);
    opacity: 1;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.provider-logo:hover::before {
    width: 100%;
}

/* Provider-specific colors on hover */
.provider-logo[data-provider="aws"]:hover { color: #FF9900; text-shadow: 0 0 20px rgba(255, 153, 0, 0.4); }
.provider-logo[data-provider="azure"]:hover { color: #0078D4; text-shadow: 0 0 20px rgba(0, 120, 212, 0.4); }
.provider-logo[data-provider="gcp"]:hover { color: #4285F4; text-shadow: 0 0 20px rgba(66, 133, 244, 0.4); }
.provider-logo[data-provider="openai"]:hover { color: #10A37F; text-shadow: 0 0 20px rgba(16, 163, 127, 0.4); }
.provider-logo[data-provider="anthropic"]:hover { color: #D4A574; text-shadow: 0 0 20px rgba(212, 165, 116, 0.4); }
.provider-logo[data-provider="meta"]:hover { color: #0668E1; text-shadow: 0 0 20px rgba(6, 104, 225, 0.4); }

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

/* Fade edges */
.provider-marquee::before,
.provider-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.provider-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary, #030508), transparent);
}

.provider-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary, #030508), transparent);
}

/* ============================================
   KINETIC / PARTICLE TEXT
   Words that assemble from particles
   ============================================ */
.kinetic-text {
    position: relative;
    display: inline-block;
}

.kinetic-text-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.kinetic-text-source {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kinetic-text.assembled .kinetic-text-source {
    opacity: 0;
}

/* ============================================
   ENHANCED BENTO GRID
   3D transforms and depth
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    /* Removed perspective - was causing clipping issues */
}

.bento-item {
    background: 
        linear-gradient(135deg, 
            rgba(0, 100, 150, 0.08) 0%, 
            rgba(0, 50, 80, 0.04) 50%,
            rgba(0, 80, 120, 0.06) 100%),
        rgba(8, 12, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.08);
    border-radius: 16px;
    padding: 35px;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Removed transform-style: preserve-3d - was causing clipping */
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 136, 0.3), 
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-item:hover {
    border-color: rgba(0, 255, 136, 0.25);
    transform: translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(0, 255, 136, 0.08);
}

.bento-item:hover::before {
    opacity: 1;
}

/* Bento sizes */
.bento-item.xl { grid-column: span 8; grid-row: span 2; }
.bento-item.lg { grid-column: span 6; }
.bento-item.md { grid-column: span 4; }
.bento-item.sm { grid-column: span 3; }
.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 12; }

/* Bento content */
.bento-item .bento-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.bento-item .bento-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terminal-green);
    margin-bottom: 12px;
    opacity: 0.8;
}

.bento-item .bento-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--text-bright);
    margin-bottom: 12px;
    line-height: 1.2;
}

.bento-item .bento-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-item .bento-text .highlight {
    color: var(--terminal-green);
}

/* Bento responsive */
@media (max-width: 1024px) {
    .bento-item.xl, .bento-item.lg { grid-column: span 12; }
    .bento-item.md { grid-column: span 6; }
    .bento-item.sm { grid-column: span 6; }
}

@media (max-width: 768px) {
    .bento-item.md, .bento-item.sm { grid-column: span 12; }
    .bento-item { padding: 25px; }
}

/* ============================================
   HORIZONTAL SCROLL SECTIONS
   Process steps, feature comparisons
   ============================================ */
.horizontal-scroll-section {
    padding: 80px 0;
    overflow: hidden;
}

.horizontal-scroll-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.horizontal-scroll-header .section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--terminal-green);
    margin-bottom: 15px;
}

.horizontal-scroll-header h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-bright);
}

.horizontal-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0 40px;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-track {
    display: flex;
    gap: 30px;
    padding: 0 max(20px, calc((100vw - 1200px) / 2));
    width: max-content;
}

.horizontal-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background: 
        linear-gradient(135deg, 
            rgba(0, 100, 150, 0.1) 0%, 
            rgba(0, 50, 80, 0.05) 100%),
        rgba(8, 12, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
}

.horizontal-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.horizontal-card .step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.horizontal-card .card-title {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    color: var(--text-bright);
    margin-bottom: 15px;
}

.horizontal-card .card-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Scroll indicator */
.horizontal-scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: var(--terminal-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Drag hint */
.horizontal-scroll-section::after {
    content: '← Drag to explore →';
    display: block;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 15px;
}

/* ============================================
   ENHANCED SCROLL REVEALS
   Staggered, directional animations
   ============================================ */
[data-reveal] {
    opacity: 0;
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="up"] { transform: translateY(60px); }
[data-reveal="down"] { transform: translateY(-60px); }
[data-reveal="left"] { transform: translateX(60px); }
[data-reveal="right"] { transform: translateX(-60px); }
[data-reveal="scale"] { transform: scale(0.9); }
[data-reveal="fade"] { transform: none; }

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ============================================
   CURSOR TRAIL EFFECT
   Premium interactive particles
   ============================================ */
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: screen;
}

.cursor-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Only show on desktop */
@media (hover: hover) and (pointer: fine) {
    .cursor-trail { display: block; }
}

@media (hover: none) {
    .cursor-trail { display: none; }
}

/* ============================================
   SERAPHIM S PARTICLE LOGO
   Bottom of pages animation
   ============================================ */
.seraphim-s-section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.seraphim-s-canvas {
    width: 300px;
    height: 400px;
    max-width: 80vw;
}

.seraphim-s-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--terminal-green);
    margin-top: 30px;
    opacity: 0.7;
}

/* ============================================
   DATA VISUALIZATIONS
   Animated charts for whitepapers
   ============================================ */
.data-viz-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.data-viz-container {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    padding: 40px;
    position: relative;
}

.data-viz-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
}

/* Bar chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 80px;
}

.bar {
    width: 40px;
    background: linear-gradient(180deg, var(--terminal-green), rgba(0, 255, 136, 0.3));
    border-radius: 4px 4px 0 0;
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--terminal-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bar-item:hover .bar::after {
    opacity: 1;
}

.bar-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

/* Animated on scroll */
.bar-chart[data-animated] .bar {
    height: 0 !important;
}

.bar-chart.animated .bar {
    height: var(--bar-height) !important;
}

/* Donut chart */
.donut-chart {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.donut-chart svg {
    transform: rotate(-90deg);
}

.donut-segment {
    fill: none;
    stroke-width: 30;
    stroke-linecap: round;
    transition: stroke-dasharray 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--terminal-green);
}

.donut-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sound toggle removed - using silent mode */

/* ============================================
   EXPLAINER SECTION SPACING FIX
   Proper margins to prevent overlap
   ============================================ */
.explainer-section {
    padding: 80px 20px;
    margin: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ============================================
   3D CARD TILT EFFECT
   Very subtle perspective on hover
   ============================================ */
.tilt-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tilt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.1);
}

.tilt-card .tilt-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(0, 255, 136, 0.08) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.tilt-card:hover .tilt-glow {
    opacity: 1;
}


/* ============================================
   V24 HOTFIXES
   ============================================ */

/* Fix explainer sections z-index and spacing */
.explainer-section {
    z-index: 1;
    background: transparent;
    margin-top: 80px !important;
    margin-bottom: 80px !important;
}

/* Language selector - push right */
.header-lang, .lang-switcher {
    margin-left: auto;
    margin-right: 20px;
}

/* GLASSMORPHIC HOMEPAGE CARDS */
.pillar,
.service-card,
.feature-card,
.stat-card,
.process-step,
.value-card,
.team-card {
    background: 
        linear-gradient(135deg, 
            rgba(0, 100, 150, 0.1) 0%, 
            rgba(0, 50, 80, 0.06) 50%,
            rgba(0, 80, 120, 0.08) 100%),
        rgba(8, 12, 20, 0.75) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(0, 255, 136, 0.1) !important;
    transition: all 0.4s ease !important;
}

.pillar:hover,
.service-card:hover,
.feature-card:hover,
.process-step:hover,
.value-card:hover {
    border-color: rgba(0, 255, 136, 0.25) !important;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 136, 0.08) !important;
    transform: translateY(-4px) !important;
}

/* MOBILE MENU - Enhanced Glassmorphism */
@media (max-width: 1024px) {
    .mobile-nav,
    .header-row-2 {
        background: 
            linear-gradient(135deg, 
                rgba(0, 100, 150, 0.12) 0%, 
                rgba(0, 50, 80, 0.08) 50%,
                rgba(0, 80, 120, 0.1) 100%),
            rgba(5, 8, 12, 0.85) !important;
        backdrop-filter: blur(30px) saturate(180%) brightness(95%) !important;
        -webkit-backdrop-filter: blur(30px) saturate(180%) brightness(95%) !important;
        border-left: 1px solid rgba(0, 255, 136, 0.15) !important;
        box-shadow: 
            -20px 0 60px rgba(0, 0, 0, 0.5),
            inset 1px 0 0 rgba(255, 255, 255, 0.03) !important;
    }
}

/* MOBILE HEADER - Centered logo and tagline */
@media (max-width: 768px) {
    .header-row-1 {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px !important;
    }
    
    .header-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        margin: 0 auto;
    }
    
    .header-tagline {
        display: block !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.45rem !important;
        letter-spacing: 0.2em !important;
        color: var(--terminal-green) !important;
        text-transform: uppercase !important;
        margin-top: 4px !important;
        border: none !important;
        padding: 0 !important;
        opacity: 0.9 !important;
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.3) !important;
    }
    
    .header-tagline::before {
        display: none !important;
    }
    
    /* Smooth header transitions */
    .header, .site-header {
        transition: 
            transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
            opacity 0.4s ease,
            background 0.4s ease !important;
    }
    
    .header.header-compact {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }
    
    .header:not(.header-compact) {
        transform: translateY(0);
        opacity: 1;
    }
}

/* HORIZONTAL SCROLL - Auto-scroll appearance */
.horizontal-scroll-section {
    position: relative;
}

.horizontal-scroll-container {
    scroll-behavior: smooth;
}

/* Remove drag hint since it's auto */
.horizontal-scroll-section::after {
    content: none !important;
    display: none !important;
}

/* Seraphim S - no bounce, stable */
.seraphim-s-section {
    padding: 80px 20px;
}

.seraphim-s-canvas {
    width: 250px;
    height: 350px;
}


/* ============================================
   PREMIUM GRADIENT SECTION HEADERS
   Big, beautiful, impactful typography
   ============================================ */
.section-header-premium {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.section-header-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-green), transparent);
}

.premium-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #00ff88 25%,
        #00ffcc 50%,
        #00ff88 75%,
        #ffffff 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

.premium-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 136, 0.3) 0%,
        rgba(0, 255, 200, 0.1) 50%,
        rgba(0, 255, 136, 0.3) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(30px);
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glitch variant */
.premium-title-glitch {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    color: #fff;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.premium-title-glitch::before,
.premium-title-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.premium-title-glitch::before {
    color: #0ff;
    animation: glitchTop 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.premium-title-glitch::after {
    color: #f0f;
    animation: glitchBottom 3s infinite linear alternate-reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitchTop {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-1px, 1px); }
    80% { transform: translate(1px, -1px); }
}

@keyframes glitchBottom {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    75% { transform: translate(1px, -1px); }
}

/* Reveal animation variant */
.premium-title-reveal {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    background: linear-gradient(90deg, 
        var(--terminal-green) 0%, 
        #00ffcc 50%, 
        var(--terminal-green) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    overflow: hidden;
}

.premium-title-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: titleRevealShine 3s ease-in-out infinite;
}

@keyframes titleRevealShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Subtitle styling */
.premium-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   SOPHISTICATED LOGO GLARE/SHINE EFFECT
   Masked animated light sweep
   ============================================ */
.header-logo-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.header-logo,
.footer-logo {
    position: relative;
    z-index: 1;
}

/* The glare sweep effect */
.logo-glare {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.15) 48%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 52%,
        rgba(255, 255, 255, 0.05) 55%,
        transparent 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: logoGlareSweep 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes logoGlareSweep {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    40% {
        left: 150%;
        opacity: 1;
    }
    50%, 100% {
        left: 150%;
        opacity: 0;
    }
}

/* Enhanced logo with glow */
.header-logo img,
.footer-logo img {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.2));
    transition: filter 0.3s ease;
}

.header-logo:hover img,
.footer-logo:hover img {
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.4));
}

/* Logo prismatic edge effect */
.logo-prismatic-edge {
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 255, 136, 0.3) 25%,
        rgba(0, 200, 255, 0.3) 50%,
        rgba(100, 150, 255, 0.3) 75%,
        transparent 100%
    );
    background-size: 400% 400%;
    animation: prismaticRotate 6s linear infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-logo:hover .logo-prismatic-edge {
    opacity: 1;
}

@keyframes prismaticRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   SECTION DIVIDER HEADERS
   For breaking up page content
   ============================================ */
.section-divider {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 255, 136, 0.02) 50%,
        transparent 100%
    );
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
}

.section-divider::before { top: 0; }
.section-divider::after { bottom: 0; }

.divider-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #e0e0e0 20%,
        var(--terminal-green) 40%,
        #00ffcc 60%,
        #e0e0e0 80%,
        #ffffff 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 10s ease-in-out infinite;
    text-shadow: none;
}

.divider-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--terminal-green);
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
}

.divider-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Animated particles around divider */
.divider-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.divider-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--terminal-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: dividerFloat 8s ease-in-out infinite;
}

.divider-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.divider-particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; }
.divider-particle:nth-child(3) { left: 80%; top: 30%; animation-delay: 2s; }
.divider-particle:nth-child(4) { left: 90%; top: 70%; animation-delay: 3s; }
.divider-particle:nth-child(5) { left: 50%; top: 10%; animation-delay: 4s; }
.divider-particle:nth-child(6) { left: 70%; top: 80%; animation-delay: 5s; }

@keyframes dividerFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.6; }
}


/* ============================================
   FINAL FIXES - Mobile, Glassmorphism, Headers
   ============================================ */

/* Language selector - push right */
.header-lang, .lang-switcher {
    margin-left: auto !important;
    margin-right: 20px;
}

/* Explainer section spacing fix */
.explainer-section {
    z-index: 1 !important;
    margin-top: 80px !important;
    margin-bottom: 80px !important;
}

/* GLASSMORPHIC CARDS */
.pillar,
.service-card,
.feature-card,
.stat-card,
.process-step,
.value-card,
.team-card,
.platform-card,
.bento-item {
    background: 
        linear-gradient(135deg, 
            rgba(0, 100, 150, 0.1) 0%, 
            rgba(0, 50, 80, 0.06) 50%,
            rgba(0, 80, 120, 0.08) 100%),
        rgba(8, 12, 20, 0.75) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(0, 255, 136, 0.1) !important;
}

.pillar:hover,
.service-card:hover,
.feature-card:hover,
.process-step:hover,
.value-card:hover,
.platform-card:hover,
.bento-item:hover {
    border-color: rgba(0, 255, 136, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 136, 0.08) !important;
    transform: translateY(-4px) !important;
}

/* MOBILE MENU GLASSMORPHISM */
@media (max-width: 1024px) {
    .mobile-nav {
        background: 
            linear-gradient(135deg, 
                rgba(0, 100, 150, 0.12) 0%, 
                rgba(0, 50, 80, 0.08) 50%,
                rgba(0, 80, 120, 0.1) 100%),
            rgba(5, 8, 12, 0.95) !important;
        backdrop-filter: blur(30px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
        border-left: 1px solid rgba(0, 255, 136, 0.2) !important;
    }
}

/* MOBILE HEADER CENTERING */
@media (max-width: 768px) {
    .header-row-1 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 15px !important;
    }
    
    .header-logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        flex: 1 !important;
        margin: 0 auto !important;
    }
    
    .header-tagline {
        display: block !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.45rem !important;
        letter-spacing: 0.2em !important;
        color: var(--terminal-green) !important;
        text-transform: uppercase !important;
        margin-top: 4px !important;
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.3) !important;
    }
    
    /* Smooth header transitions */
    .header {
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease !important;
    }
}

/* Remove sound toggle */
.sound-toggle { display: none !important; }

/* Video preloader - hide controls */
.preloader-video {
    pointer-events: none !important;
}

.preloader-video::-webkit-media-controls {
    display: none !important;
}

.preloader-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}


/* ============================================
   COMPREHENSIVE FIXES - Jan 27 2026
   ============================================ */

/* ============================================
   1. MOBILE SLIDE-OUT MENU - Full Styling
   ============================================ */
@media (max-width: 1024px) {
    .mobile-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: min(360px, 88vw) !important;
        height: 100vh !important;
        background: 
            linear-gradient(165deg, 
                rgba(8, 18, 8, 0.98) 0%, 
                rgba(3, 10, 3, 0.99) 40%, 
                rgba(0, 5, 0, 1) 100%) !important;
        backdrop-filter: blur(40px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
        border-left: 1px solid rgba(0, 255, 136, 0.3) !important;
        border-radius: 20px 0 0 20px !important;
        z-index: 9999999 !important;
        padding: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 
            -40px 0 100px rgba(0, 0, 0, 0.9),
            -5px 0 40px rgba(0, 255, 136, 0.15),
            inset 1px 0 0 rgba(0, 255, 136, 0.1) !important;
    }
    
    .mobile-nav.open,
    .mobile-nav[style*="right: 0"] {
        right: 0 !important;
    }
    
    .mobile-nav-header {
        padding: 20px !important;
        border-bottom: 1px solid rgba(0, 255, 136, 0.15) !important;
        display: flex !important;
        justify-content: flex-end !important;
        background: rgba(0, 255, 136, 0.03) !important;
    }
    
    .mobile-nav-close {
        width: 40px !important;
        height: 40px !important;
        background: rgba(0, 255, 136, 0.1) !important;
        border: 1px solid rgba(0, 255, 136, 0.3) !important;
        border-radius: 8px !important;
        color: var(--terminal-green) !important;
        font-size: 20px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-close:hover {
        background: rgba(0, 255, 136, 0.2) !important;
        transform: rotate(90deg) !important;
    }
    
    .mobile-nav-links {
        padding: 15px 0 !important;
    }
    
    .mobile-nav-item {
        display: block !important;
        padding: 14px 25px !important;
        color: #fff !important;
        text-decoration: none !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.1em !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-item:hover,
    .mobile-nav-item:active {
        background: rgba(0, 255, 136, 0.1) !important;
        color: var(--terminal-green) !important;
        padding-left: 35px !important;
    }
    
    .mobile-nav-parent {
        cursor: pointer !important;
        position: relative !important;
    }
    
    .mobile-nav-parent::after {
        content: '▸' !important;
        position: absolute !important;
        right: 25px !important;
        transition: transform 0.3s ease !important;
        color: var(--terminal-green) !important;
    }
    
    .mobile-nav-parent.open::after {
        transform: rotate(90deg) !important;
    }
    
    .mobile-nav-dropdown {
        max-height: 0 !important;
        overflow: hidden !important;
        background: rgba(0, 0, 0, 0.3) !important;
        transition: max-height 0.4s ease !important;
    }
    
    .mobile-nav-dropdown.open {
        max-height: 500px !important;
    }
    
    .mobile-nav-dropdown a {
        display: block !important;
        padding: 12px 25px 12px 45px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        text-decoration: none !important;
        font-size: 0.8rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-dropdown a:hover {
        background: rgba(0, 255, 136, 0.08) !important;
        color: var(--terminal-green) !important;
        padding-left: 55px !important;
    }
    
    .mobile-nav-cta {
        padding: 25px !important;
        border-top: 1px solid rgba(0, 255, 136, 0.15) !important;
        margin-top: 15px !important;
    }
    
    .mobile-nav-cta .btn {
        display: block !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        padding: 14px 20px !important;
    }
    
    .mobile-nav-contact {
        display: flex !important;
        gap: 10px !important;
    }
    
    .mobile-nav-contact a {
        flex: 1 !important;
        padding: 12px !important;
        text-align: center !important;
        background: rgba(0, 255, 136, 0.1) !important;
        border: 1px solid rgba(0, 255, 136, 0.2) !important;
        border-radius: 8px !important;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 0.85rem !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-contact a:hover {
        background: rgba(0, 255, 136, 0.2) !important;
    }
    
    .mobile-nav-status {
        padding: 20px 25px !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.7rem !important;
        color: rgba(0, 255, 136, 0.5) !important;
        border-top: 1px solid rgba(0, 255, 136, 0.1) !important;
    }
    
    .mobile-nav-status p {
        margin: 5px 0 !important;
    }
    
    .mobile-nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.85) !important;
        backdrop-filter: blur(5px) !important;
        z-index: 9999998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-overlay.visible,
    .mobile-nav-overlay[style*="opacity: 1"] {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ============================================
   2. MOBILE HEADER - Logo Centering
   ============================================ */
@media (max-width: 768px) {
    .header-row-1 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 15px !important;
        position: relative !important;
    }
    
    .header-logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .header-logo img {
        height: 32px !important;
        width: auto !important;
    }
    
    .mobile-menu-toggle {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .header-tagline {
        display: block !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.4rem !important;
        letter-spacing: 0.15em !important;
        color: var(--terminal-green) !important;
        text-transform: uppercase !important;
        margin-top: 4px !important;
        opacity: 0.9 !important;
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.3) !important;
    }
}

/* ============================================
   3. LOGO SHINE - Masked to logo shape
   ============================================ */
.header-logo-container {
    position: relative;
    display: inline-block;
}

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

/* Use the logo itself as a mask for the shine */
.header-logo img {
    position: relative;
    z-index: 1;
}

.logo-shine-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    /* Mask to logo shape - uses the logo as mask */
    -webkit-mask-image: url('logo.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('logo.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.logo-shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 60%
    );
    transform: skewX(-20deg);
    animation: logoShineSwipe 4s ease-in-out infinite;
}

@keyframes logoShineSwipe {
    0%, 100% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    40% { left: 200%; opacity: 1; }
    50%, 100% { left: 200%; opacity: 0; }
}

/* ============================================
   4. CARD HEADERS - Seraph Font
   ============================================ */
.pillar h3,
.service-card h3,
.service-card h4,
.feature-card h3,
.feature-card h4,
.bento-item h3,
.bento-item h4,
.horizontal-card h3,
.horizontal-card .card-title,
.career-card h3,
.job-card h3,
.pricing-card h3,
.team-card h3,
.value-card h3,
.process-step h3,
.step-number + h3,
[class*="card"] h3,
[class*="card"] h4 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
    font-weight: 600 !important;
    font-style: italic !important;
    letter-spacing: 0.02em !important;
}

/* ============================================
   5. MOBILE TABLE OVERFLOW FIX
   ============================================ */
@media (max-width: 768px) {
    /* Prevent horizontal scroll from tables */
    table,
    .table-container,
    .comparison-table,
    .pricing-table,
    .feature-table,
    .data-table {
        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    table {
        min-width: 100% !important;
        font-size: 0.8rem !important;
    }
    
    th, td {
        padding: 8px 10px !important;
        white-space: nowrap !important;
    }
    
    /* Bento grid on mobile - prevent overflow */
    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    
    .bento-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Service cards grid */
    .services-grid,
    .features-grid,
    .cards-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .services-grid > *,
    .features-grid > *,
    .cards-grid > * {
        width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Global overflow prevention */
    body {
        overflow-x: hidden !important;
    }
    
    main, .main, section, .section, .container {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

/* ============================================
   6. CAREER/JOB CARDS - Proper Width
   ============================================ */
.careers-grid,
.jobs-grid,
.positions-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
}

.career-card,
.job-card,
.position-card {
    min-width: 280px !important;
    padding: 25px !important;
    background: rgba(10, 20, 30, 0.6) !important;
    border: 1px solid rgba(0, 255, 136, 0.1) !important;
    border-radius: 12px !important;
}

@media (max-width: 768px) {
    .careers-grid,
    .jobs-grid,
    .positions-grid {
        grid-template-columns: 1fr !important;
    }
    
    .career-card,
    .job-card,
    .position-card {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* ============================================
   7. HORIZONTAL SCROLL CARDS - Better Width
   ============================================ */
.horizontal-scroll-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none !important;
}

.horizontal-scroll-track {
    display: flex !important;
    gap: 25px !important;
    padding: 20px 0 !important;
}

.horizontal-card {
    flex: 0 0 auto !important;
    width: min(350px, 80vw) !important;
    min-width: min(350px, 80vw) !important;
    scroll-snap-align: start !important;
    padding: 30px !important;
    background: rgba(10, 20, 30, 0.7) !important;
    border: 1px solid rgba(0, 255, 136, 0.15) !important;
    border-radius: 16px !important;
}

@media (max-width: 768px) {
    .horizontal-card {
        width: 85vw !important;
        min-width: 85vw !important;
    }
}

/* ============================================
   8. FIX KINETIC TEXT CLIPPING
   ============================================ */
.explainer-text,
[data-kinetic] {
    overflow: visible !important;
}

.gradient-word {
    display: inline-block !important;
    position: relative !important;
}

/* Ensure full text visible */
.explainer-section {
    overflow: visible !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.explainer-text {
    padding: 0 20px !important;
}


/* ============================================
   PRELOADER VIDEO - Hide all controls/play buttons
   ============================================ */
.preloader-video {
    pointer-events: none !important;
}

/* Hide ALL video controls on all browsers */
.preloader-video::-webkit-media-controls,
.preloader-video::-webkit-media-controls-enclosure,
.preloader-video::-webkit-media-controls-panel,
.preloader-video::-webkit-media-controls-play-button,
.preloader-video::-webkit-media-controls-start-playback-button,
.preloader-video::-webkit-media-controls-overlay-play-button,
.preloader-video::-webkit-media-controls-current-time-display,
.preloader-video::-webkit-media-controls-time-remaining-display,
.preloader-video::-webkit-media-controls-timeline,
.preloader-video::-webkit-media-controls-volume-slider {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Firefox */
.preloader-video::-moz-media-controls {
    display: none !important;
}

/* IE/Edge */
.preloader-video::-ms-media-controls {
    display: none !important;
}

/* Generic play button overlay killer */
.preloader-video::before,
.preloader-video::after {
    display: none !important;
}

/* Preloader hidden state */
.preloader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease, visibility 0.5s ease !important;
}

/* Preloader video fallback gradient */
.preloader-video-fallback {
    background: 
        radial-gradient(ellipse at 50% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(0, 50, 30, 0.4) 0%, transparent 70%) !important;
}


/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--terminal-green) 0%, #00cc70 100%);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 
        0 10px 40px rgba(0, 255, 136, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.floating-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px rgba(0, 255, 136, 0.4),
        0 0 30px rgba(0, 255, 136, 0.3);
}

.floating-cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.floating-cta-btn:hover .floating-cta-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .floating-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   URGENCY BANNER
   ============================================ */
.urgency-banner {
    background: linear-gradient(90deg, rgba(255, 100, 50, 0.15) 0%, rgba(255, 150, 50, 0.1) 100%);
    border: 1px solid rgba(255, 150, 50, 0.3);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 20px auto;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: urgencyPulse 2s ease-in-out infinite;
}

.urgency-icon {
    font-size: 1.2rem;
}

.urgency-text {
    font-size: 0.9rem;
    color: #ffaa50;
    font-weight: 500;
}

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

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges-section {
    padding: 30px 20px;
    background: rgba(0, 255, 136, 0.02);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.trust-badges-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============================================
   IMPACT STATEMENTS - Big Headlines
   ============================================ */
.impact-statement {
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 255, 136, 0.02) 50%, 
        transparent 100%
    );
}

.impact-statement::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.impact-inner {
    position: relative;
    z-index: 1;
}

.impact-text {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #00ff88 30%,
        #00ffcc 50%,
        #00ff88 70%,
        #ffffff 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.impact-subtext {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   WIZARD ASCII ART DREAM FORM
   ============================================ */
.wizard-dreams-section {
    padding: 80px 20px;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0, 100, 80, 0.05) 50%, transparent 100%),
        radial-gradient(ellipse at center, rgba(0, 255, 136, 0.03) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

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

.wizard-ascii {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.5rem;
    line-height: 1.2;
    color: var(--terminal-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    white-space: pre;
    opacity: 0.8;
    animation: wizardFloat 4s ease-in-out infinite;
}

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

@media (max-width: 768px) {
    .wizard-ascii {
        font-size: 0.35rem;
        margin: 0 auto;
    }
}

.wizard-content {
    text-align: left;
}

@media (max-width: 768px) {
    .wizard-content {
        text-align: center;
    }
}

.wizard-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
}

.wizard-subtitle {
    font-size: 1.1rem;
    color: var(--terminal-green);
    margin-bottom: 25px;
}

.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wizard-input,
.wizard-email {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 20, 15, 0.6);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.wizard-input:focus,
.wizard-email:focus {
    outline: none;
    border-color: var(--terminal-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

.wizard-input::placeholder,
.wizard-email::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.wizard-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 200, 100, 0.3) 100%);
    border: 1px solid var(--terminal-green);
    border-radius: 50px;
    color: var(--terminal-green);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-submit:hover {
    background: var(--terminal-green);
    color: #000;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.wizard-wand {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.wizard-submit:hover .wizard-wand {
    transform: rotate(-20deg);
}

.wizard-sparkles {
    font-size: 1rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.wizard-footer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ============================================
   TEXT REVEAL ANIMATION
   ============================================ */
.text-reveal-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.text-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CURSOR GLOW (Desktop)
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: opacity 0.3s ease;
}

body:not(:hover) .cursor-glow {
    opacity: 0;
}

/* ============================================
   MAGNETIC BUTTON RESET
   ============================================ */
.btn, button {
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}


/* ============================================
   AWARD-WINNING POLISH - Final Touches
   ============================================ */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Better focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--terminal-green);
    outline-offset: 3px;
}

/* Selection color */
::selection {
    background: rgba(0, 255, 136, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(0, 255, 136, 0.3);
    color: #fff;
}

/* Animated underline for links */
.content a:not(.btn):not([class*="nav"]):not([class*="card"]) {
    position: relative;
    text-decoration: none;
    color: var(--terminal-green);
}

.content a:not(.btn):not([class*="nav"]):not([class*="card"])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terminal-green);
    transition: width 0.3s ease;
}

.content a:not(.btn):not([class*="nav"]):not([class*="card"]):hover::after {
    width: 100%;
}

/* Loading skeleton for images */
img {
    background: linear-gradient(90deg, rgba(30,40,50,1) 0%, rgba(50,60,70,1) 50%, rgba(30,40,50,1) 100%);
    background-size: 200% 100%;
    animation: imgLoading 1.5s ease-in-out infinite;
}

img[src]:not([src=""]) {
    animation: none;
    background: none;
}

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

/* Stagger animation for cards */
.pillar:nth-child(1), .service-card:nth-child(1), .feature-card:nth-child(1) { animation-delay: 0s; }
.pillar:nth-child(2), .service-card:nth-child(2), .feature-card:nth-child(2) { animation-delay: 0.1s; }
.pillar:nth-child(3), .service-card:nth-child(3), .feature-card:nth-child(3) { animation-delay: 0.2s; }
.pillar:nth-child(4), .service-card:nth-child(4), .feature-card:nth-child(4) { animation-delay: 0.3s; }
.pillar:nth-child(5), .service-card:nth-child(5), .feature-card:nth-child(5) { animation-delay: 0.4s; }
.pillar:nth-child(6), .service-card:nth-child(6), .feature-card:nth-child(6) { animation-delay: 0.5s; }

/* Noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.015;
    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");
}

/* Glow effect on primary buttons */
.btn.primary, .btn-primary {
    position: relative;
    overflow: visible;
}

.btn.primary::before, .btn-primary::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--terminal-green);
    border-radius: inherit;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn.primary:hover::before, .btn-primary:hover::before {
    opacity: 0.4;
}

/* Glassmorphic nav dropdown refinement */
.nav-dropdown {
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}

/* Page transition fade */
.page-transitioning {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Print styles */
@media print {
    .preloader, .floating-cta, .cursor-glow, .wizard-dreams-section {
        display: none !important;
    }
    
    body {
        background: #fff !important;
        color: #000 !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --terminal-green: #00ff88;
    }
    
    .btn, button {
        border-width: 2px !important;
    }
}


/* Easter egg animation */
@keyframes easterEggPop {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Page transition */
body {
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.page-transitioning {
    opacity: 0;
}

/* Hero subtitle typing cursor */
.hero-subtitle, .hero-tagline {
    white-space: nowrap;
    overflow: hidden;
}


/* Page curtain CSS removed - using cargo bay doors only */

/* ============================================
   CURSOR TRAIL EFFECT
   ============================================ */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terminal-green);
    pointer-events: none;
    z-index: 999998;
    opacity: 0.6;
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-trail.fading {
    opacity: 0;
    transform: scale(0);
}

/* ============================================
   MOBILE MENU - Remove Rounded Corners, Fix Header
   ============================================ */
@media (max-width: 1024px) {
    .mobile-nav {
        border-radius: 0 !important;
    }
}

@media (max-width: 768px) {
    /* Fix mobile header - ensure logo shows */
    .header-row-1 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
        min-height: 60px !important;
    }
    
    .header-logo {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .header-logo img {
        height: 36px !important;
        width: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .header-logo-container {
        display: flex !important;
        align-items: center !important;
    }
    
    .mobile-menu-toggle {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        order: 2 !important;
    }
    
    .header-tagline {
        display: none !important;
    }
    
    /* Language selector on mobile */
    .header-lang, .lang-switcher {
        order: 1 !important;
        margin-left: auto !important;
        margin-right: 15px !important;
    }
}

/* ============================================
   FIX CARD HEADERS - Lighter Font Weight
   ============================================ */
.pillar h3,
.service-card h3,
.service-card h4,
.feature-card h3,
.feature-card h4,
.bento-item h3,
.bento-item h4,
.horizontal-card h3,
.horizontal-card .card-title,
.career-card h3,
.job-card h3,
.pricing-card h3,
.team-card h3,
.value-card h3,
.process-step h3,
[class*="card"] h3,
[class*="card"] h4 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0.01em !important;
}

/* ============================================
   BIG IMPACT HEADERS - Proper Seraph Font
   ============================================ */
.impact-text,
.premium-title,
.divider-title,
.section-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
}

/* ============================================
   FLOATING CTA - Hide When Past Footer
   ============================================ */
.floating-cta.past-footer {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
}

/* ============================================
   PARTICLE TEXT - Mobile Legibility Fix
   ============================================ */
@media (max-width: 768px) {
    .gradient-word,
    [data-kinetic],
    .kinetic-text {
        font-size: 1.2em !important;
        letter-spacing: 0.02em !important;
        text-shadow: 
            0 0 20px rgba(0, 255, 136, 0.8),
            0 0 40px rgba(0, 255, 136, 0.4) !important;
    }
    
    .explainer-text {
        font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
        line-height: 1.4 !important;
        padding: 0 15px !important;
    }
    
    /* Solid background for particle text on mobile */
    .gradient-word::before {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        color: var(--terminal-green);
        z-index: -1;
    }
}

/* ============================================
   HORIZONTAL SCROLL CARDS - Fix Cut Off
   ============================================ */
.horizontal-scroll-section {
    overflow: visible !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.horizontal-scroll-container {
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.horizontal-card {
    flex: 0 0 auto !important;
    width: 320px !important;
    min-width: 320px !important;
}

@media (max-width: 768px) {
    .horizontal-card {
        width: 280px !important;
        min-width: 280px !important;
    }
}


/* ============================================
   ENHANCED WHIMSICAL WIZARD STYLES
   ============================================ */
.wizard-dreams-section {
    padding: 100px 20px;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0, 10, 20, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.wizard-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wizard-stars .star {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    animation: twinkle 2s ease-in-out infinite;
}

.wizard-stars .star:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.wizard-stars .star:nth-child(2) { top: 20%; left: 80%; animation-delay: 0.3s; }
.wizard-stars .star:nth-child(3) { top: 40%; left: 20%; animation-delay: 0.6s; }
.wizard-stars .star:nth-child(4) { top: 30%; left: 70%; animation-delay: 0.9s; }
.wizard-stars .star:nth-child(5) { top: 60%; left: 5%; animation-delay: 1.2s; }
.wizard-stars .star:nth-child(6) { top: 70%; left: 90%; animation-delay: 1.5s; }
.wizard-stars .star:nth-child(7) { top: 80%; left: 30%; animation-delay: 1.8s; }
.wizard-stars .star:nth-child(8) { top: 15%; left: 50%; animation-delay: 2.1s; }
.wizard-stars .star:nth-child(9) { top: 90%; left: 60%; animation-delay: 2.4s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.wizard-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .wizard-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.wizard-visual {
    text-align: center;
    position: relative;
}

.wizard-orb {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    animation: orbFloat 3s ease-in-out infinite;
}

.orb-inner {
    font-size: 4rem;
    line-height: 120px;
    position: relative;
    z-index: 2;
}

.orb-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 2s ease-in-out infinite;
}

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

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.wizard-ascii {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    line-height: 1.3;
    color: var(--terminal-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    white-space: pre;
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .wizard-ascii {
        font-size: 0.45rem;
    }
}

.wizard-sparkle-trail {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-sparkle {
    position: absolute;
    bottom: 0;
    animation: floatUp 3s ease-out forwards;
    font-size: 0.8rem;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}

.wizard-content {
    text-align: left;
}

@media (max-width: 768px) {
    .wizard-content {
        text-align: center;
    }
}

.wizard-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: #b8a9c9;
}

.wizard-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 300 !important;
    font-style: normal !important;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.wizard-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wizard-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wizard-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.wizard-input,
.wizard-email {
    width: 100%;
    padding: 15px 20px;
    background: rgba(20, 10, 40, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.wizard-input:focus,
.wizard-email:focus {
    outline: none;
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.2);
}

.wizard-input::placeholder,
.wizard-email::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.wizard-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4) 0%, rgba(100, 50, 180, 0.5) 100%);
    border: 1px solid rgba(138, 43, 226, 0.5);
    border-radius: 50px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.wizard-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.6) 0%, rgba(0, 255, 136, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wizard-submit:hover::before {
    opacity: 1;
}

.wizard-submit:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.4);
}

.wizard-submit > span {
    position: relative;
    z-index: 1;
}

.wizard-wand {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.wizard-submit:hover .wizard-wand {
    transform: rotate(-30deg) translateX(-3px);
}

.wizard-sparkles {
    animation: sparkle 1.5s ease-in-out infinite;
}

.wizard-promise {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wizard-promise p {
    margin: 8px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.wizard-footer-note {
    text-align: center;
    margin-top: 50px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}


/* ============================================
   MAJOR FIXES - Jan 27 2026 Update 2
   ============================================ */

/* Page shutter CSS removed - using cargo bay doors only */

/* ============================================
   2. CARD HEADER FONTS - Lighter, Elegant
   ============================================ */
.pillar h3,
.service-card h3,
.service-card h4,
.feature-card h3,
.feature-card h4,
.bento-item h3,
.bento-item h4,
.horizontal-card h3,
.horizontal-card .card-title,
.career-card h3,
.job-card h3,
.pricing-card h3,
.team-card h3,
.value-card h3,
.process-step h3,
[class*="card"] h3,
[class*="card"] h4 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0.02em !important;
}

/* ============================================
   3. BIG IMPACT HEADERS - Seraph Font
   ============================================ */
.impact-text,
.divider-title,
.premium-title,
.section-header-premium h2 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
    letter-spacing: -0.02em !important;
}

/* ============================================
   4. CARD CLIPPING FIX - Proper overflow
   ============================================ */
.horizontal-scroll-container {
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 20px 0 !important;
}

.horizontal-scroll-track {
    padding: 10px 20px !important;
}

.horizontal-card,
.pillar,
.service-card,
.feature-card,
.bento-item {
    overflow: visible !important;
    min-width: 280px !important;
}

/* Fix the card width clipping issue */
.bento-grid,
.services-grid,
.features-grid {
    overflow: visible !important;
}

/* ============================================
   5. MOBILE HEADER - S Logo Centered
   ============================================ */
@media (max-width: 768px) {
    .header-row-1 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
        min-height: 60px !important;
    }
    
    /* Use S logo on mobile */
    .header-logo {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        flex: 0 0 auto !important;
        order: 2 !important;
        margin: 0 auto !important;
    }
    
    .header-logo img.logo-full {
        display: none !important;
    }
    
    .header-logo img.logo-s,
    .header-logo .s-logo {
        display: block !important;
        height: 40px !important;
        width: auto !important;
    }
    
    .header-tagline {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        order: 3 !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }
    
    .header-lang {
        order: 1 !important;
        margin: 0 !important;
    }
}

/* ============================================
   6. MOBILE MENU - No Rounded Corners
   ============================================ */
@media (max-width: 1024px) {
    .mobile-nav {
        border-radius: 0 !important;
    }
}

/* ============================================
   7. FLOATING CTA - Hide when past footer
   ============================================ */
.floating-cta.past-footer {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(100px) !important;
}

/* ============================================
   8. CURSOR TRAIL EFFECT
   ============================================ */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terminal-green);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-trail.visible {
    opacity: 0.6;
}

/* ============================================
   9. PARTICLE TEXT - Mobile Legibility
   ============================================ */
@media (max-width: 768px) {
    .gradient-word,
    [data-kinetic] {
        font-size: 1.2em !important;
        letter-spacing: 0.05em !important;
    }
    
    .explainer-text {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
        line-height: 1.4 !important;
    }
}

/* ============================================
   10. WIZARD SECTION - Extra Whimsical
   ============================================ */
.wizard-dreams-section {
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 255, 136, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(0, 20, 40, 0.3) 50%, transparent 100%) !important;
    position: relative;
    overflow: hidden;
}

.wizard-dreams-section::before {
    content: '✨';
    position: absolute;
    font-size: 2rem;
    top: 20%;
    left: 10%;
    animation: wizardSparkle 3s ease-in-out infinite;
}

.wizard-dreams-section::after {
    content: '🌟';
    position: absolute;
    font-size: 1.5rem;
    bottom: 30%;
    right: 15%;
    animation: wizardSparkle 4s ease-in-out infinite reverse;
}

@keyframes wizardSparkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

.wizard-ascii {
    color: #9333ea !important;
    text-shadow: 
        0 0 10px rgba(147, 51, 234, 0.5),
        0 0 20px rgba(147, 51, 234, 0.3),
        0 0 30px rgba(0, 255, 136, 0.2) !important;
    animation: wizardFloat 4s ease-in-out infinite, wizardGlow 2s ease-in-out infinite alternate !important;
}

@keyframes wizardGlow {
    0% { filter: brightness(1) hue-rotate(0deg); }
    100% { filter: brightness(1.2) hue-rotate(20deg); }
}

.wizard-title {
    background: linear-gradient(135deg, #9333ea 0%, #3b82f6 50%, #00ff88 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.wizard-submit {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3) 0%, rgba(59, 130, 246, 0.3) 50%, rgba(0, 255, 136, 0.2) 100%) !important;
    border-color: #9333ea !important;
    color: #fff !important;
}

.wizard-submit:hover {
    background: linear-gradient(135deg, #9333ea 0%, #3b82f6 50%, #00ff88 100%) !important;
    color: #000 !important;
}

/* Floating magical elements */
.wizard-magic-orb {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-20px, -40px) scale(0.9); }
    75% { transform: translate(-30px, 20px) scale(1.05); }
}


/* ============================================
   MOBILE HEADER - Complete Fix
   ============================================ */
@media (max-width: 768px) {
    .header-row-1 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
        min-height: 60px !important;
        gap: 10px !important;
    }
    
    .header-logo {
        order: 2 !important;
        flex: 0 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: static !important;
        transform: none !important;
        margin: 0 !important;
    }
    
    .header-logo img.logo-desktop,
    .header-logo img:not(.s-logo-mobile) {
        display: none !important;
    }
    
    .header-logo .s-logo-mobile {
        display: block !important;
        height: 45px !important;
        width: auto !important;
    }
    
    .header-tagline {
        display: none !important;
    }
    
    .header-lang {
        order: 1 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }
    
    .header-lang button {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    
    .mobile-menu-toggle {
        order: 3 !important;
        position: static !important;
        transform: none !important;
        flex: 0 0 auto !important;
    }
    
    .header-contact-info,
    .header-cta-group {
        display: none !important;
    }
    
    /* Row 2 nav hidden on mobile */
    .header-row-2 {
        display: none !important;
    }
}

/* ============================================
   MOBILE MENU - No Rounded Corners
   ============================================ */
@media (max-width: 1024px) {
    .mobile-nav {
        border-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }
}

/* ============================================
   HORIZONTAL CARDS - Full Width Fix
   ============================================ */
.horizontal-card {
    flex: 0 0 auto !important;
    width: min(320px, 85vw) !important;
    min-width: min(320px, 85vw) !important;
    padding: 25px !important;
}

.horizontal-card h3,
.horizontal-card h4 {
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Fix card text overflow */
.pillar,
.service-card,
.feature-card,
.bento-item {
    overflow: visible !important;
}

.pillar h3,
.service-card h3,
.feature-card h3,
.bento-item h3 {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* ============================================
   PARTICLE TEXT - Mobile Legibility
   ============================================ */
@media (max-width: 768px) {
    .gradient-word,
    [data-kinetic] {
        display: inline-block !important;
        font-size: inherit !important;
        animation: none !important;
    }
    
    .explainer-text {
        font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
        padding: 0 15px !important;
    }
    
    /* Make sure kinetic words are readable */
    .gradient-word::before,
    .gradient-word::after {
        display: none !important;
    }
}


/* ============================================
   WIZARD - Extra Whimsical Styling
   ============================================ */
.wizard-ascii {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.6rem !important;
    line-height: 1.3 !important;
    white-space: pre !important;
    animation: wizardBob 3s ease-in-out infinite !important;
}

@keyframes wizardBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.wizard-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.wizard-subtitle {
    font-style: italic !important;
    color: rgba(147, 51, 234, 0.8) !important;
}

.wizard-input::placeholder {
    font-style: italic;
    color: rgba(147, 51, 234, 0.4) !important;
}

.wizard-dreams-section {
    border-top: 1px solid rgba(147, 51, 234, 0.2) !important;
    border-bottom: 1px solid rgba(147, 51, 234, 0.2) !important;
}

/* Floating sparkles */
.wizard-dreams-section .sparkle {
    position: absolute;
    animation: sparkleFloat 4s ease-in-out infinite;
    pointer-events: none;
    font-size: 1.5rem;
}

@keyframes sparkleFloat {
    0%, 100% { 
        opacity: 0; 
        transform: translateY(0) scale(0.5); 
    }
    25% { 
        opacity: 1; 
        transform: translateY(-20px) scale(1); 
    }
    75% { 
        opacity: 1; 
        transform: translateY(-40px) scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: translateY(-60px) scale(0.5); 
    }
}

/* Mobile wizard */
@media (max-width: 768px) {
    .wizard-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .wizard-ascii {
        font-size: 0.4rem !important;
        margin-bottom: 20px !important;
    }
    
    .wizard-content {
        text-align: center !important;
    }
}

/* Footer data privacy link highlight */
.footer-col a[href*="data-privacy"] {
    color: var(--terminal-green) !important;
    font-weight: 500 !important;
}


/* ============================================
   CARD & BENTO DISPLAY FIXES - Complete Overhaul
   ============================================ */

/* Bento Grid - Proper sizing */
.bento-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
}

.bento-item {
    padding: 30px !important;
    min-height: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    background: 
        linear-gradient(135deg, rgba(15, 25, 35, 0.9) 0%, rgba(8, 15, 25, 0.95) 100%) !important;
    border: 1px solid rgba(0, 255, 136, 0.1) !important;
    border-radius: 16px !important;
}

.bento-item.span-2 {
    grid-column: span 2 !important;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr !important;
    }
    
    .bento-item.span-2 {
        grid-column: span 1 !important;
    }
}

/* Pillar Cards - Proper grid */
.pillars-grid,
.pillars,
.two-pillars {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}

.pillar,
.pillar-card {
    padding: 40px !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(10, 18, 28, 0.8) !important;
    border: 1px solid rgba(0, 255, 136, 0.1) !important;
    border-radius: 16px !important;
    overflow: visible !important;
}

/* Service Cards Grid */
.services-grid,
.features-grid,
.cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
}

.service-card,
.feature-card {
    padding: 30px !important;
    min-height: 220px !important;
    display: flex !important;
    flex-direction: column !important;
    background: rgba(10, 18, 28, 0.8) !important;
    border: 1px solid rgba(0, 255, 136, 0.1) !important;
    border-radius: 16px !important;
    overflow: visible !important;
}

/* Horizontal Scroll Cards - Fixed width */
.horizontal-scroll-container {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 20px 0 !important;
    scrollbar-width: none !important;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none !important;
}

.horizontal-scroll-track {
    display: flex !important;
    gap: 25px !important;
    padding: 10px 20px !important;
    width: max-content !important;
}

.horizontal-card {
    flex: 0 0 auto !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    padding: 35px !important;
    background: rgba(10, 20, 30, 0.85) !important;
    border: 1px solid rgba(0, 255, 136, 0.15) !important;
    border-radius: 16px !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .horizontal-card {
        width: 85vw !important;
        min-width: 85vw !important;
        max-width: 85vw !important;
    }
}

/* Card Content - No overflow issues */
.bento-item h3,
.bento-item h4,
.pillar h3,
.pillar h4,
.service-card h3,
.feature-card h3,
.horizontal-card h3 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.bento-item p,
.pillar p,
.service-card p,
.feature-card p,
.horizontal-card p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Icon sizing */
.bento-icon,
.pillar-icon,
.service-icon,
.feature-icon,
.card-icon {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    display: block !important;
}

/* ============================================
   DATA PRIVACY WARNING BANNER
   ============================================ */
.privacy-warning-banner {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    margin: 60px 0;
    background: 
        linear-gradient(135deg, rgba(255, 50, 50, 0.1) 0%, rgba(255, 100, 50, 0.05) 50%, rgba(0, 0, 0, 0.9) 100%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(255, 50, 50, 0.03) 10px,
            rgba(255, 50, 50, 0.03) 20px
        );
    border-top: 3px solid #ff4444;
    border-bottom: 3px solid #ff4444;
    overflow: hidden;
}

.privacy-warning-banner::before {
    content: '⚠️';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    opacity: 0.3;
    animation: warningPulse 2s ease-in-out infinite;
}

.privacy-warning-banner::after {
    content: '⚠️';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.3;
    animation: warningPulse 2s ease-in-out infinite reverse;
}

@keyframes warningPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

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

.privacy-banner-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid rgba(255, 68, 68, 0.4);
    border-radius: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #ff6666;
    margin-bottom: 25px;
    animation: labelFlicker 3s ease-in-out infinite;
}

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

.privacy-banner-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.privacy-banner-headline span {
    color: #ff6666;
    font-weight: 400;
}

.privacy-banner-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.privacy-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff4444 0%, #ff6600 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 68, 68, 0.3);
}

.privacy-banner-cta:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 60px rgba(255, 68, 68, 0.4);
}

.privacy-banner-cta span {
    transition: transform 0.3s ease;
}

.privacy-banner-cta:hover span:last-child {
    transform: translateX(5px);
}

/* Danger stripes animation */
.privacy-warning-banner .danger-stripe {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #ff4444 0px,
        #ff4444 20px,
        #000 20px,
        #000 40px
    );
    animation: stripeMove 20s linear infinite;
}

.privacy-warning-banner .danger-stripe.bottom {
    top: auto;
    bottom: 0;
    animation-direction: reverse;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .privacy-warning-banner {
        padding: 40px 15px;
        margin: 40px 0;
    }
    
    .privacy-warning-banner::before,
    .privacy-warning-banner::after {
        font-size: 2rem;
    }
    
    .privacy-banner-headline {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .privacy-banner-text {
        font-size: 1rem;
    }
}


/* ============================================
   FONT UPDATE - Use Instrument Serif (narrower)
   for cards and banner headlines
   ============================================ */

/* Card Headers - Instrument Serif */
.pillar h3,
.service-card h3,
.service-card h4,
.feature-card h3,
.feature-card h4,
.bento-item h3,
.bento-item h4,
.horizontal-card h3,
.horizontal-card .card-title,
.career-card h3,
.job-card h3,
.pricing-card h3,
.team-card h3,
.value-card h3,
.process-step h3,
[class*="card"] h3,
[class*="card"] h4 {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
}

/* Big Impact Headers - Instrument Serif */
.impact-text,
.divider-title,
.premium-title,
.section-header-premium h2 {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* Privacy Banner - Instrument Serif */
.privacy-banner-headline {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
}

/* Wizard Title - Instrument Serif */
.wizard-title {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* Data Privacy Story - Instrument Serif */
.story-hero h1,
.story-headline {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
}


/* ============================================
   FINAL FONT FIX - Instrument Serif Everywhere
   ============================================ */

/* ALL Card Headers - Instrument Serif (narrower, elegant) */
.pillar h3, .pillar h4,
.pillar-card h3, .pillar-card h4,
.service-card h3, .service-card h4,
.feature-card h3, .feature-card h4,
.bento-item h3, .bento-item h4,
.horizontal-card h3, .horizontal-card h4,
.horizontal-card .card-title,
.career-card h3, .career-card h4,
.job-card h3, .job-card h4,
.pricing-card h3, .pricing-card h4,
.team-card h3, .team-card h4,
.value-card h3, .value-card h4,
.process-step h3, .process-step h4,
.card h3, .card h4,
[class*="card"] h3, [class*="card"] h4,
[class*="-card"] h3, [class*="-card"] h4 {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: -0.01em !important;
}

/* Section titles */
.section-title,
.horizontal-scroll-header h2,
h2.section-title {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
}

/* Impact/Big Headlines */
.impact-text,
.impact-headline,
.divider-title,
.premium-title,
.section-header-premium h2,
.story-headline,
.story-hero h1,
.privacy-banner-headline,
.wizard-title {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* FAQ headers */
.faq-question,
.accordion-header {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-weight: 400 !important;
}


/* ============================================
   S LOGO - Transparent with Shine Effect
   ============================================ */
.s-logo-mobile,
.header-logo .s-logo {
    display: block !important;
    height: 45px !important;
    width: auto !important;
    /* Make black background transparent */
    mix-blend-mode: lighten !important;
    filter: brightness(1.1) contrast(1.1) !important;
    position: relative !important;
}

/* S Logo container with shine effect */
.header-logo {
    position: relative !important;
}

/* Shine effect overlay for S logo */
.s-logo-shine {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 45%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 55%,
        transparent 60%,
        transparent 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: sLogoShine 3s ease-in-out infinite !important;
    pointer-events: none !important;
    mix-blend-mode: overlay !important;
    opacity: 0.8 !important;
}

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

/* Mobile-specific S logo container */
@media (max-width: 768px) {
    .header-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    .s-logo-mobile {
        height: 42px !important;
        mix-blend-mode: lighten !important;
    }
    
    /* Remove shine/glare effect on mobile */
    .s-logo-shine,
    .logo-shine,
    .logo-shine-wrapper::after,
    .logo-shine-wrapper::before {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* ============================================
   MOBILE MENU - Ensure no rounded corners
   ============================================ */
.mobile-nav {
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* ============================================
   PARTICLE/KINETIC TEXT - Mobile Legibility
   ============================================ */
@media (max-width: 768px) {
    .gradient-word,
    [data-kinetic],
    .kinetic-word {
        font-size: inherit !important;
        display: inline !important;
        background: linear-gradient(135deg, var(--terminal-green) 0%, #00ffcc 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        animation: none !important;
    }
    
    .explainer-text {
        font-size: 1.4rem !important;
        line-height: 1.5 !important;
        padding: 0 20px !important;
    }
    
    .explainer-section {
        padding: 60px 15px !important;
    }
}

/* ============================================
   BENTO/CARD DISPLAY - Reinforced Fixes
   ============================================ */
.bento-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    width: 100% !important;
    overflow: visible !important;
}

.bento-item {
    min-width: 0 !important;
    overflow: visible !important;
    padding: 30px !important;
    background: rgba(10, 18, 28, 0.85) !important;
    border: 1px solid rgba(0, 255, 136, 0.12) !important;
    border-radius: 16px !important;
}

/* Industry cards specifically */
.industry-card,
.industries-grid .bento-item,
.ai-industries .bento-item {
    min-width: 250px !important;
    max-width: 100% !important;
    flex: 1 1 250px !important;
}

.industries-grid,
.ai-industries-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    justify-content: center !important;
}

/* Horizontal scroll cards - fixed width */
.horizontal-card {
    flex: 0 0 auto !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr !important;
    }
    
    .horizontal-card {
        width: 85vw !important;
        min-width: 85vw !important;
        max-width: 85vw !important;
    }
    
    .industries-grid,
    .ai-industries-grid {
        flex-direction: column !important;
    }
    
    .industry-card,
    .industries-grid .bento-item {
        width: 100% !important;
        min-width: 100% !important;
    }
}


/* ============================================
   WIZARD IMAGE - Updated with actual wizard art
   Uses mix-blend-mode to remove black background
   ============================================ */
.wizard-image-container {
    position: relative;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
    /* Container for blend mode context */
    isolation: isolate;
}

.wizard-image {
    width: 100%;
    height: auto;
    /* mix-blend-mode: screen makes black transparent */
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.5)) brightness(1.1) contrast(1.05);
    animation: wizardFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.wizard-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.7)) drop-shadow(0 0 60px rgba(0, 255, 200, 0.4)) brightness(1.15) contrast(1.1);
}

.wizard-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, rgba(0, 255, 200, 0.15) 40%, transparent 70%);
    filter: blur(30px);
    animation: wizardGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

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

@keyframes wizardGlow {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Hide old wizard orb and ASCII when image is present */
.wizard-visual .wizard-orb,
.wizard-visual .wizard-ascii {
    display: none !important;
}

.wizard-visual .wizard-image-container {
    display: block !important;
}

/* Ensure wizard section has dark background for blend mode */
.wizard-dreams-section {
    background: #0a0a0a !important;
}

.wizard-dreams-section .wizard-visual {
    background: transparent;
}

@media (max-width: 768px) {
    .wizard-image-container {
        width: 250px;
        margin-bottom: 30px;
    }
}
    height: auto;
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.5)) drop-shadow(0 0 60px rgba(0, 255, 200, 0.3));
    animation: wizardFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.wizard-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.7)) drop-shadow(0 0 80px rgba(0, 255, 200, 0.5));
}

.wizard-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(0, 255, 200, 0.1) 50%, transparent 70%);
    filter: blur(40px);
    animation: wizardGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

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

@keyframes wizardGlow {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Hide old wizard orb and ASCII when image is present */
.wizard-visual .wizard-orb,
.wizard-visual .wizard-ascii {
    display: none !important;
}

.wizard-visual .wizard-image-container {
    display: block !important;
}

@media (max-width: 768px) {
    .wizard-image-container {
        width: 250px;
        margin-bottom: 30px;
    }
}


/* ============================================
   PROFIT CHART ANIMATION - Animated stock chart
   ============================================ */
.profit-chart-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.02) 0%, transparent 50%);
    overflow: hidden;
}

.profit-chart-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.profit-chart-header {
    text-align: center;
    margin-bottom: 40px;
}

.profit-chart-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    margin-bottom: 15px;
}

.profit-chart {
    position: relative;
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 30px;
    overflow: hidden;
}

.chart-grid {
    position: absolute;
    inset: 30px;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
    background-size: 50px 40px;
}

.chart-line {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    height: calc(100% - 60px);
}

.chart-line svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-path {
    fill: none;
    stroke: url(#profitGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.chart-path-animated {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawChart 3s ease-out forwards;
}

.chart-area {
    fill: url(#profitAreaGradient);
    opacity: 0;
    animation: fadeInArea 1s ease-out 2s forwards;
}

@keyframes drawChart {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInArea {
    to { opacity: 0.3; }
}

.chart-value {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--terminal-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.chart-value span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.chart-label {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0 30px;
}

.chart-roi-badge {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 200, 100, 0.1));
    border: 2px solid var(--terminal-green);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: roiBadgePulse 2s ease-in-out infinite;
}

.chart-roi-badge .roi-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--terminal-green);
}

.chart-roi-badge .roi-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes roiBadgePulse {
    0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    50% { transform: translateY(-50%) scale(1.05); box-shadow: 0 0 40px rgba(0, 255, 136, 0.5); }
}

/* ============================================
   MONEY RAIN ANIMATION - Falling currency symbols
   ============================================ */
.money-rain-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.03) 50%, transparent 100%);
}

.money-rain-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.money-symbol {
    position: absolute;
    top: -50px;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: moneyFall linear infinite;
    filter: drop-shadow(0 0 5px currentColor);
}

.money-symbol.dollar { color: #85bb65; }
.money-symbol.dong { color: #ff6b6b; }
.money-symbol.yen { color: #ffd93d; }
.money-symbol.won { color: #6bcb77; }
.money-symbol.euro { color: #4d96ff; }

@keyframes moneyFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

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

.money-rain-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #85bb65, #ffd93d, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.money-rain-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

.money-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--terminal-green), #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.money-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .chart-roi-badge {
        width: 80px;
        height: 80px;
        right: 20px;
    }
    .chart-roi-badge .roi-number {
        font-size: 1.2rem;
    }
    .profit-chart {
        height: 250px;
    }
}


/* ============================================
   WIZARD BLACK BACKGROUND FIX
   Ensures blend mode works by providing dark backing
   ============================================ */
.wizard-dreams-section {
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(10,10,15,0.98) 50%, rgba(0,0,0,0.95) 100%),
        radial-gradient(ellipse at center, rgba(138, 43, 226, 0.1) 0%, transparent 60%) !important;
}

.wizard-visual {
    position: relative;
}

.wizard-image-container {
    position: relative;
    z-index: 1;
}

/* Dark backing specifically behind the wizard image for blend mode */
.wizard-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse at center, #000 0%, rgba(0,0,0,0.9) 50%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}


/* ============================================
   iOS SAFARI VIDEO FIX - Hide All Controls
   ============================================ */
.preloader-video {
    pointer-events: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

/* iOS Safari specific - hide big play button */
.preloader-video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none !important;
}

.preloader-video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none !important;
}

.preloader-video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.preloader-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.preloader-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Force hide on all webkit browsers */
video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
}

*::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
}

/* iOS specific - overlay to block any visible controls */
@supports (-webkit-touch-callout: none) {
    .preloader-video::after {
        content: '';
        position: absolute;
        inset: 0;
        background: transparent;
        pointer-events: none;
    }
}

/* ============================================
   ROTATING S LOGO FOR MOBILE HEADER
   Adds subtle 3D rotation effect to S logo
   ============================================ */
@keyframes sLogoRotate {
    0% {
        transform: perspective(500px) rotateY(0deg);
    }
    25% {
        transform: perspective(500px) rotateY(15deg);
    }
    50% {
        transform: perspective(500px) rotateY(0deg);
    }
    75% {
        transform: perspective(500px) rotateY(-15deg);
    }
    100% {
        transform: perspective(500px) rotateY(0deg);
    }
}

@keyframes sLogoFloat {
    0%, 100% {
        transform: translateY(0) perspective(500px) rotateY(0deg);
    }
    25% {
        transform: translateY(-2px) perspective(500px) rotateY(8deg);
    }
    50% {
        transform: translateY(0) perspective(500px) rotateY(0deg);
    }
    75% {
        transform: translateY(-2px) perspective(500px) rotateY(-8deg);
    }
}

@media (max-width: 768px) {
    /* Rotating S logo in mobile header */
    .header-logo img.logo-s,
    .header-logo .s-logo,
    .s-logo-mobile {
        animation: sLogoFloat 6s ease-in-out infinite !important;
        transform-style: preserve-3d !important;
    }
    
    /* Make S logo container handle 3D properly */
    .header-logo {
        perspective: 500px !important;
        transform-style: preserve-3d !important;
    }
    
    /* Smaller footer logo on mobile */
    .footer-logo {
        height: 50px !important;
        max-height: 50px !important;
        margin-bottom: 15px !important;
    }
    
    .footer-brand {
        max-width: 250px !important;
        text-align: center !important;
        margin: 0 auto 20px auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .footer-brand img {
        margin: 0 auto !important;
        display: block !important;
    }
    
    .footer-brand p,
    .footer-desc {
        font-size: 0.75rem !important;
        max-width: 220px !important;
        text-align: center !important;
    }
    
    .footer-social-links {
        justify-content: center !important;
    }
    
    .footer-email {
        text-align: center !important;
        display: block !important;
    }
    
    /* Tighten footer on mobile */
    .footer-grid {
        gap: 25px !important;
    }
    
    .footer-col h4 {
        font-size: 0.6rem !important;
        margin-bottom: 15px !important;
    }
    
    .footer-col a {
        font-size: 0.8rem !important;
        padding: 4px 0 !important;
    }
}

@media (max-width: 480px) {
    /* Even smaller on very small screens */
    .footer-logo {
        height: 40px !important;
        max-height: 40px !important;
        margin-bottom: 12px !important;
    }
    
    .footer-brand {
        max-width: 200px !important;
    }
    
    .footer-content {
        padding: 30px 15px !important;
    }
}

/* ============================================
   HUE FLASH TRANSITION SUPPORT
   Smooth transitions for the hue effect
   ============================================ */
body {
    transition: filter 0.15s ease-out;
}

/* Prevent flash interference with other animations */
body.hue-flash-active * {
    animation-play-state: running !important;
}

/* CRITICAL: Isolate dropdowns from body filter effects */
.nav-dropdown,
.dropdown-menu,
.header-row-2 .nav-dropdown {
    isolation: isolate !important;
    filter: none !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}

/* ============================================
   2025/2026 DESIGN ENHANCEMENTS
   Award-winning design patterns
   ============================================ */

/* --------------------------------------------
   1. KINETIC TYPOGRAPHY
   Text reveal and animation effects
   -------------------------------------------- */

/* Split text animation - words fade up */
.kinetic-text {
    overflow: hidden;
}

.kinetic-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-15deg);
    animation: wordReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: bottom center;
}

.kinetic-text .word:nth-child(1) { animation-delay: 0s; }
.kinetic-text .word:nth-child(2) { animation-delay: 0.05s; }
.kinetic-text .word:nth-child(3) { animation-delay: 0.1s; }
.kinetic-text .word:nth-child(4) { animation-delay: 0.15s; }
.kinetic-text .word:nth-child(5) { animation-delay: 0.2s; }
.kinetic-text .word:nth-child(6) { animation-delay: 0.25s; }
.kinetic-text .word:nth-child(7) { animation-delay: 0.3s; }
.kinetic-text .word:nth-child(8) { animation-delay: 0.35s; }
.kinetic-text .word:nth-child(9) { animation-delay: 0.4s; }
.kinetic-text .word:nth-child(10) { animation-delay: 0.45s; }

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Gradient text shimmer */
.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--terminal-green, #00ff88) 0%,
        #00d4ff 25%,
        var(--terminal-green, #00ff88) 50%,
        #00d4ff 75%,
        var(--terminal-green, #00ff88) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
    to { background-position: 200% center; }
}

/* Typewriter cursor effect */
.typewriter-cursor::after {
    content: '|';
    animation: cursorBlink 0.8s step-end infinite;
    color: var(--terminal-green, #00ff88);
    margin-left: 2px;
}

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

/* Text glow pulse */
.glow-text {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: textGlowPulse 2s ease-in-out infinite;
}

@keyframes textGlowPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.8), 0 0 30px rgba(0, 255, 136, 0.4); }
}

/* --------------------------------------------
   2. BENTO GRID WITH DEPTH
   Card perspective and floating effects
   -------------------------------------------- */

/* 3D perspective container */
.bento-grid {
    display: grid;
    gap: 20px;
    perspective: 1000px;
}

/* Depth card - floats and tilts on hover */
.depth-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.depth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.depth-card:hover {
    transform: translateY(-8px) translateZ(20px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 136, 0.15);
}

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

/* Staggered float animation for grid items */
.float-stagger > *:nth-child(1) { animation-delay: 0s; }
.float-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.float-stagger > *:nth-child(3) { animation-delay: 0.2s; }
.float-stagger > *:nth-child(4) { animation-delay: 0.3s; }
.float-stagger > *:nth-child(5) { animation-delay: 0.4s; }
.float-stagger > *:nth-child(6) { animation-delay: 0.5s; }

/* Parallax layer effect */
.parallax-card {
    position: relative;
    overflow: hidden;
}

.parallax-card .parallax-bg {
    position: absolute;
    inset: -20px;
    transition: transform 0.3s ease-out;
    z-index: 0;
}

.parallax-card:hover .parallax-bg {
    transform: scale(1.05);
}

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

/* --------------------------------------------
   3. MICRO-ANIMATIONS
   Enhanced hover states and interactions
   -------------------------------------------- */

/* Icon bounce on hover */
.icon-bounce {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-bounce:hover {
    transform: scale(1.15) translateY(-2px);
}

/* Icon spin on hover */
.icon-spin:hover {
    animation: iconSpin 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Ripple effect on click */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Underline slide animation */
.underline-slide {
    position: relative;
    display: inline-block;
}

.underline-slide::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--terminal-green, #00ff88), #00d4ff);
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.underline-slide:hover::after {
    width: 100%;
}

/* Button shine sweep */
.shine-sweep {
    position: relative;
    overflow: hidden;
}

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

.shine-sweep:hover::before {
    left: 150%;
}

/* Scale bounce on interaction */
.scale-bounce {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.scale-bounce:active {
    transform: scale(0.98);
}

/* Glow intensify on hover */
.glow-intensify {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.glow-intensify:hover {
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.3),
        0 0 40px rgba(0, 255, 136, 0.2),
        0 0 60px rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

/* --------------------------------------------
   4. 3D CARD FLIPS
   Flip reveal animations
   -------------------------------------------- */

/* Flip card container */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: inherit;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Tilt effect on mouse move */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.tilt-card .tilt-content {
    transform: translateZ(30px);
}

/* 3D button press */
.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.15s ease;
}

.btn-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: brightness(0.7);
    border-radius: inherit;
    transform: translateZ(-10px) translateY(4px);
    transition: transform 0.15s ease;
}

.btn-3d:hover {
    transform: translateY(-2px);
}

.btn-3d:active {
    transform: translateY(2px);
}

.btn-3d:active::before {
    transform: translateZ(-10px) translateY(0px);
}

/* --------------------------------------------
   5. CUSTOM CURSOR
   Context-aware cursor styles
   -------------------------------------------- */

/* Custom cursor container */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--terminal-green, #00ff88);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transition: transform 0.15s ease-out, 
                width 0.2s ease, 
                height 0.2s ease,
                border-color 0.2s ease,
                background 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--terminal-green, #00ff88);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease-out;
}

/* Cursor states */
.custom-cursor.cursor-hover {
    width: 50px;
    height: 50px;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.custom-cursor.cursor-click {
    transform: translate(-50%, -50%) scale(0.8);
}

.custom-cursor.cursor-text {
    width: 4px;
    height: 30px;
    border-radius: 2px;
    border-color: var(--terminal-green, #00ff88);
}

.custom-cursor.cursor-grab {
    width: 40px;
    height: 40px;
    border-style: dashed;
}

/* Hide default cursor when custom is active */
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

/* Keep default cursor on mobile */
@media (max-width: 768px), (hover: none) {
    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }
    
    body.custom-cursor-active,
    body.custom-cursor-active * {
        cursor: auto !important;
    }
}

/* --------------------------------------------
   6. MAGNETIC BUTTONS
   Mouse attraction effect
   -------------------------------------------- */

.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.magnetic-btn .magnetic-content {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* Magnetic glow trail */
.magnetic-btn::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(0, 255, 136, 0.3) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

.magnetic-btn:hover::after {
    opacity: 1;
}

/* --------------------------------------------
   SCROLL-TRIGGERED ANIMATIONS
   Viewport entry effects
   -------------------------------------------- */

/* Fade in up */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Fade in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Scale in */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered reveal delays */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.6s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.7s; }

/* --------------------------------------------
   ENHANCED BUTTON STYLES
   Apply to existing buttons
   -------------------------------------------- */

/* Primary buttons get magnetic + shine */
.btn-primary,
.cta-btn,
.header-cta-btn,
.hero-cta .btn,
.contact-cta-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.3s ease;
}

.btn-primary::before,
.cta-btn::before,
.header-cta-btn::before,
.hero-cta .btn::before,
.contact-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before,
.cta-btn:hover::before,
.header-cta-btn:hover::before,
.hero-cta .btn:hover::before,
.contact-cta-btn:hover::before {
    left: 150%;
}

.btn-primary:hover,
.cta-btn:hover,
.header-cta-btn:hover,
.hero-cta .btn:hover,
.contact-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 255, 136, 0.3),
        0 0 20px rgba(0, 255, 136, 0.2);
}

.btn-primary:active,
.cta-btn:active,
.header-cta-btn:active,
.hero-cta .btn:active,
.contact-cta-btn:active {
    transform: translateY(-1px);
}

/* --------------------------------------------
   ENHANCED CARD STYLES
   Apply to existing cards
   -------------------------------------------- */

/* Service cards, feature cards, etc. */
.service-card,
.feature-card,
.pricing-card,
.tool-card,
.metric-card,
.compliance-card {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover,
.feature-card:hover,
.pricing-card:hover,
.tool-card:hover,
.compliance-card:hover {
    transform: translateY(-8px) translateZ(10px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 255, 136, 0.1);
}

/* Card icon animations */
.service-card .icon,
.feature-card .icon,
.tool-card .icon,
.service-icon,
.feature-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .icon,
.feature-card:hover .icon,
.tool-card:hover .icon,
.service-card:hover .service-icon,
.feature-card:hover .feature-icon {
    transform: scale(1.15) translateY(-3px);
}

/* --------------------------------------------
   ENHANCED NAV STYLES
   -------------------------------------------- */

.nav-item {
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--terminal-green, #00ff88), #00d4ff);
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1), left 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
    left: 0;
}

/* Dropdown items slide in */
.nav-dropdown a {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.2s, transform 0.2s, color 0.2s, background 0.2s;
}

.nav-item.has-dropdown:hover .nav-dropdown a,
.nav-dropdown:hover a {
    opacity: 1;
    transform: translateX(0);
}

.nav-dropdown a:nth-child(1) { transition-delay: 0s; }
.nav-dropdown a:nth-child(2) { transition-delay: 0.03s; }
.nav-dropdown a:nth-child(3) { transition-delay: 0.06s; }
.nav-dropdown a:nth-child(4) { transition-delay: 0.09s; }
.nav-dropdown a:nth-child(5) { transition-delay: 0.12s; }
.nav-dropdown a:nth-child(6) { transition-delay: 0.15s; }
.nav-dropdown a:nth-child(7) { transition-delay: 0.18s; }
.nav-dropdown a:nth-child(8) { transition-delay: 0.21s; }
.nav-dropdown a:nth-child(9) { transition-delay: 0.24s; }
.nav-dropdown a:nth-child(10) { transition-delay: 0.27s; }

/* --------------------------------------------
   ENHANCED SECTION HEADERS
   -------------------------------------------- */

.section-header,
.section-title {
    position: relative;
}

.section-header::after,
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--terminal-green, #00ff88), transparent);
    margin-top: 15px;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-header:hover::after,
.section-title:hover::after {
    width: 120px;
}

/* --------------------------------------------
   PERFORMANCE SAFEGUARDS
   Disable heavy effects when needed
   -------------------------------------------- */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .kinetic-text .word,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Low power mode / battery saver */
@media (prefers-reduced-motion: reduce), (update: slow) {
    .parallax-card .parallax-bg,
    .depth-card,
    .tilt-card,
    .magnetic-btn {
        transition: none !important;
        transform: none !important;
    }
    
    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }
}

/* ============================================
   MEWTWO SECURITY SCANNER PROMOTIONAL BANNER
   Embeddable CTA for security scanner tool
   ============================================ */

.mewtwo-promo-banner {
    background: linear-gradient(135deg, #1a0a2e 0%, #0f0f1f 50%, #1a0a2e 100%);
    border: 2px solid rgba(155, 77, 202, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.mewtwo-promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(155, 77, 202, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(224, 64, 251, 0.1) 0%, transparent 50%);
    animation: mewtwoGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes mewtwoGlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5%, 5%) rotate(5deg); }
}

.mewtwo-promo-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.mewtwo-promo-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 20px rgba(155, 77, 202, 0.6));
    animation: mewtwoPulse 2s ease-in-out infinite;
}

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

.mewtwo-promo-content {
    flex: 1;
    min-width: 250px;
}

.mewtwo-promo-title {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mewtwo-promo-title span {
    color: #9B4DCA;
}

.mewtwo-promo-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.mewtwo-promo-badges {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.mewtwo-promo-badge {
    background: rgba(155, 77, 202, 0.2);
    border: 1px solid rgba(155, 77, 202, 0.4);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #E040FB;
}

.mewtwo-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #9B4DCA, #E040FB);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(155, 77, 202, 0.4);
    white-space: nowrap;
}

.mewtwo-promo-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(155, 77, 202, 0.6);
}

.mewtwo-promo-cta::after {
    content: '→';
    transition: transform 0.3s;
}

.mewtwo-promo-cta:hover::after {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .mewtwo-promo-banner {
        padding: 25px 20px;
    }
    
    .mewtwo-promo-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .mewtwo-promo-badges {
        justify-content: center;
    }
    
    .mewtwo-promo-title {
        justify-content: center;
        font-size: 1.2rem;
    }
}

/* ============================================
   DESKTOP DROPDOWN FIX - FINAL OVERRIDE
   Forces dropdowns to work on desktop hover
   ============================================ */
@media screen and (min-width: 769px) {
    /* Ensure header and nav have correct positioning */
    .header {
        position: sticky !important;
        overflow: visible !important;
    }
    
    .header-row-2 {
        position: relative !important;
        overflow: visible !important;
        z-index: 1000 !important;
    }
    
    .header-row-2 .nav-item.has-dropdown {
        position: relative !important;
        z-index: 1001 !important;
    }
    
    /* Base dropdown state - MUST USE display:block not display:none */
    .header-row-2 .nav-item.has-dropdown .nav-dropdown,
    .nav-item.has-dropdown .nav-dropdown,
    .has-dropdown .nav-dropdown {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 240px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(15px) !important;
        pointer-events: none !important;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
        z-index: 999999 !important;
        background: rgba(8, 12, 20, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(0, 255, 136, 0.25) !important;
        border-radius: 8px !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 255, 136, 0.15) !important;
        padding: 8px 0 !important;
    }
    
    /* Hover state - SHOW DROPDOWN */
    .header-row-2 .nav-item.has-dropdown:hover .nav-dropdown,
    .header-row-2 .nav-item.has-dropdown:hover > .nav-dropdown,
    .nav-item.has-dropdown:hover .nav-dropdown,
    .nav-item.has-dropdown:hover > .nav-dropdown,
    .has-dropdown:hover .nav-dropdown,
    .has-dropdown:hover > .nav-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    /* Focus-within for accessibility */
    .header-row-2 .nav-item.has-dropdown:focus-within .nav-dropdown,
    .nav-item.has-dropdown:focus-within .nav-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    /* Dropdown link styling */
    .header-row-2 .nav-dropdown a,
    .nav-dropdown a {
        display: block !important;
        padding: 14px 22px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none !important;
        font-size: 0.82rem !important;
        font-weight: 400 !important;
        letter-spacing: 0.02em !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        transition: all 0.15s ease !important;
        background: transparent !important;
    }
    
    .header-row-2 .nav-dropdown a:last-child,
    .nav-dropdown a:last-child {
        border-bottom: none !important;
    }
    
    .header-row-2 .nav-dropdown a:hover,
    .nav-dropdown a:hover {
        background: rgba(0, 255, 136, 0.12) !important;
        color: #00ff88 !important;
        padding-left: 28px !important;
    }
}

/* ============================================
   V14 NUCLEAR FIXES - DROPDOWNS, FOOTER, MOBILE
   ============================================ */

/* DROPDOWN FIX - Maximum specificity */
@media screen and (min-width: 769px) {
    body .header-row-2 .nav-item.has-dropdown {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    
    body .header-row-2 .nav-item.has-dropdown > .nav-dropdown {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        min-width: 260px !important;
        max-width: 320px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(8px) !important;
        pointer-events: none !important;
        transition: all 0.2s ease-out !important;
        z-index: 999999 !important;
        background: linear-gradient(180deg, 
            rgba(8, 12, 20, 0.98) 0%, 
            rgba(5, 8, 15, 0.99) 100%) !important;
        backdrop-filter: blur(25px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
        border: 1px solid rgba(0, 255, 136, 0.2) !important;
        border-top: 2px solid rgba(0, 255, 136, 0.4) !important;
        border-radius: 0 0 12px 12px !important;
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.9),
            0 0 40px rgba(0, 255, 136, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
        padding: 10px 0 !important;
    }
    
    body .header-row-2 .nav-item.has-dropdown:hover > .nav-dropdown,
    body .header-row-2 .nav-item.has-dropdown:focus-within > .nav-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
    
    body .header-row-2 .nav-dropdown a {
        display: block !important;
        padding: 14px 22px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none !important;
        font-size: 0.82rem !important;
        font-weight: 400 !important;
        letter-spacing: 0.02em !important;
        transition: all 0.15s ease !important;
        border-left: 3px solid transparent !important;
        background: transparent !important;
    }
    
    body .header-row-2 .nav-dropdown a:hover {
        background: rgba(0, 255, 136, 0.12) !important;
        color: #00ff88 !important;
        padding-left: 28px !important;
        border-left-color: #00ff88 !important;
    }
}

/* FOOTER FIX - 11 column layout for comprehensive site */
.footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr repeat(10, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1800px !important;
}

.footer-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.footer-col h4 {
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: initial !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 12px !important;
}

.footer-col a {
    display: block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: 0.72rem !important;
    padding: 5px 0 !important;
    line-height: 1.3 !important;
}

/* Footer responsive - show all content */
@media (max-width: 1400px) {
    .footer-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 25px 20px !important;
    }
    .footer-brand {
        grid-column: span 2 !important;
    }
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 25px 20px !important;
    }
    .footer-brand {
        grid-column: span 2 !important;
    }
}

@media (max-width: 800px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .footer-brand {
        grid-column: span 3 !important;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px 15px !important;
    }
    .footer-brand {
        grid-column: span 2 !important;
    }
    .footer-col a {
        font-size: 0.82rem !important;
        padding: 7px 0 !important;
    }
}

/* MOBILE MENU FIX - Show all items */
.mobile-nav-dropdown {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    background: rgba(0, 20, 40, 0.95) !important;
    border-left: 3px solid rgba(0, 255, 136, 0.4) !important;
    margin-left: 15px !important;
    padding: 10px 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

.mobile-nav-dropdown.open {
    display: flex !important;
}

.mobile-nav-dropdown a {
    display: block !important;
    padding: 12px 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.mobile-nav-dropdown a:last-child {
    border-bottom: none !important;
}

.mobile-nav-dropdown a:hover,
.mobile-nav-dropdown a:active {
    background: rgba(0, 255, 136, 0.15) !important;
    color: #00ff88 !important;
}

/* Mobile menu container */
.mobile-menu-overlay {
    max-height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.mobile-nav-links {
    max-height: none !important;
    overflow: visible !important;
}

/* ============================================
   NUCLEAR DESKTOP DROPDOWN FIX - ABSOLUTE FINAL
   This MUST be at the very end of the file
   ============================================ */
@media screen and (min-width: 769px) {
    .header-row-2 .nav-dropdown,
    .nav-item.has-dropdown .nav-dropdown,
    .has-dropdown .nav-dropdown,
    .nav-dropdown {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(10px) !important;
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
        z-index: 999999 !important;
        min-width: 240px !important;
        background: rgba(5, 10, 20, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(0, 255, 136, 0.3) !important;
        border-radius: 8px !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 40px rgba(0,255,136,0.2) !important;
        padding: 8px 0 !important;
    }
    
    .nav-item.has-dropdown:hover > .nav-dropdown,
    .nav-item.has-dropdown:hover .nav-dropdown,
    .has-dropdown:hover > .nav-dropdown,
    .has-dropdown:hover .nav-dropdown,
    .header-row-2 .nav-item.has-dropdown:hover > .nav-dropdown,
    .header-row-2 .nav-item.has-dropdown:hover .nav-dropdown,
    .header-row-2 .has-dropdown:hover > .nav-dropdown,
    .header-row-2 .has-dropdown:hover .nav-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        display: block !important;
    }
    
    .nav-dropdown a,
    .header-row-2 .nav-dropdown a {
        display: block !important;
        padding: 12px 20px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.03em !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        transition: all 0.15s ease !important;
        background: transparent !important;
    }
    
    .nav-dropdown a:last-child,
    .header-row-2 .nav-dropdown a:last-child {
        border-bottom: none !important;
    }
    
    .nav-dropdown a:hover,
    .header-row-2 .nav-dropdown a:hover {
        background: rgba(0, 255, 136, 0.15) !important;
        color: #00ff88 !important;
        padding-left: 28px !important;
    }
    
    /* Ensure parent has proper positioning */
    .nav-item.has-dropdown,
    .has-dropdown {
        position: relative !important;
    }
}
