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

.explainer-section {
    padding: 120px 20px;
    margin: 100px 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: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    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 18s 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: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    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: linear-gradient(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    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.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 255, 136, 0.06);
}

.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: 'Syne', 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--text-bright);
    margin-bottom: 15px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.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;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.provider-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: grayscale(30%) brightness(0.85);
    transition: all 0.4s ease;
}
.provider-logo:hover .provider-logo-img {
    filter: grayscale(0%) brightness(1.15) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transform: scale(1.1);
}

.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: 24px;
    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: 'Syne', 'Space Grotesk', sans-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: 100px 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: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-bright);
    letter-spacing: -0.02em;
}

.horizontal-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -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(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.horizontal-card:hover {
    border-color: rgba(0, 255, 136, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 255, 136, 0.06);
}

.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: 'Syne', 'Space Grotesk', sans-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: 120px 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: 120px 20px;
    margin: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ============================================
   3D CARD TILT EFFECT
   Very subtle perspective on hover
   ============================================ */
.tilt-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tilt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 255, 136, 0.06);
}

.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 — Bento Style */
.pillar,
.service-card,
.feature-card,
.stat-card,
.process-step,
.value-card,
.team-card {
    background: linear-gradient(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   MOBILE MENU enhanced glassmorphism
   (18 lines removed)
*/

/* 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.5rem !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: 100px 20px;
}

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


/* ============================================
   PREMIUM GRADIENT SECTION HEADERS
   Big, beautiful, impactful typography
   ============================================ */
.section-header-premium {
    text-align: center;
    padding: 100px 20px 72px;
    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 4s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.premium-title-glitch::after {
    color: #f0f;
    animation: glitchBottom 5s 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(-0.5px, 0.5px); }
    40% { transform: translate(0.5px, -0.5px); }
    60% { transform: translate(-0.25px, 0.25px); }
    80% { transform: translate(0.25px, -0.25px); }
}

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

/* 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: 120px 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 — Bento Style */
.pillar,
.service-card,
.feature-card,
.stat-card,
.process-step,
.value-card,
.team-card,
.platform-card,
.bento-item {
    background: linear-gradient(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px !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.18) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 255, 136, 0.06) !important;
    transform: translateY(-3px) !important;
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   MOBILE MENU GLASSMORPHISM
   (14 lines removed)
*/

/* 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.5rem !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;
}

/* ============================================
   iOS Safari fix: Canvas mirror for preloader video
   The <video> is hidden; a <canvas> draws its frames
   so iOS never shows its native play button.
   ============================================ */
.preloader-video--hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.preloader-canvas {
    display: block;
    width: min(50vw, 280px);
    height: auto;
    margin-bottom: 30px;
    border-radius: 4px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .preloader-canvas {
        width: 60vw !important;
        max-width: 180px !important;
    }
}


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

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   MOBILE SLIDE-OUT MENU full styling
   (197 lines removed)
*/

/* ============================================
   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.logo-s,
    .header-logo img.s-logo {
        height: 32px !important;
        width: auto !important;
    }
    .header-logo img.logo-full {
        display: none !important;
    }

    /* mobile-menu-toggle positioning removed - handled in nav-v23.css */

    .header-tagline {
        display: block !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-size: 0.5rem !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; }
}

/* Card headers moved to UNIFIED CARD TYPOGRAPHY SYSTEM */

/* ============================================
   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: 100% !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: 100% !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: 100% !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: linear-gradient(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.career-card:hover,
.job-card:hover,
.position-card:hover {
    border-color: rgba(0, 255, 136, 0.18) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 255, 136, 0.06) !important;
    transform: translateY(-3px) !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 proximity !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: linear-gradient(150deg, rgba(15, 20, 30, 0.55) 0%, rgba(8, 12, 20, 0.4) 100%) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
}

@media (max-width: 768px) {
    .horizontal-scroll-container {
        scroll-snap-type: none !important;
    }
    .horizontal-card {
        scroll-snap-align: none !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 — Bottom-right consultation button
   ============================================ */
.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.past-footer {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 200, 255, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 50px;
    color: #00ff88;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.15), inset 0 0 20px rgba(0, 255, 136, 0.05);
    transition: all 0.3s ease;
}

.floating-cta-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.25), rgba(0, 200, 255, 0.2));
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.25), inset 0 0 30px rgba(0, 255, 136, 0.08);
    transform: translateY(-2px);
    color: #fff;
}

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

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

@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 15px;
    }
    .floating-cta-btn {
        padding: 12px 18px;
        font-size: 0.78rem;
    }
}

/* ============================================
   REDUNDANT BRAND TEXT — Hidden (logo image already says Seraphim)
   ============================================ */
.header-logo-text,
.logo-text,
.header-logo > span:not(.header-tagline),
.logo-link > span,
.sg-header-logo > span,
.global-header-logo > span {
    display: none !important;
}

/* ============================================
   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: 100px 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.5rem;
        margin: 0 auto;
    }
}

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

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

.wizard-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    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;
}

@media (max-width: 768px) {
    .hero-subtitle, .hero-tagline {
        white-space: normal !important;
        overflow: visible !important;
    }
}


/* 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);
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Remove rounded corners
   (8 lines removed)
*/

@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.logo-s,
    .header-logo img.s-logo {
        height: 36px !important;
        width: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .header-logo img.logo-full {
        display: none !important;
    }

    .header-logo-container {
        display: flex !important;
        align-items: center !important;
    }
    
    /* mobile-menu-toggle positioning removed - handled in nav-v23.css */

    .header-tagline {
        display: none !important;
    }

    /* Language selector on mobile */
    .header-lang, .lang-switcher {
        order: 1 !important;
        margin-left: auto !important;
        margin-right: 15px !important;
    }
}

/* Card headers and big impact headers moved to UNIFIED CARD TYPOGRAPHY SYSTEM */

/* ============================================
   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: 120px 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.5rem;
    }
}

.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 moved to UNIFIED CARD TYPOGRAPHY SYSTEM */

.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 */

/* Card header fonts and big impact headers moved to UNIFIED CARD TYPOGRAPHY SYSTEM */

/* ============================================
   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 positioning removed - handled in nav-v23.css */

    .header-lang {
        order: 1 !important;
        margin: 0 !important;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   No rounded corners v6
   (8 lines removed)
*/

/* ============================================
   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.1) hue-rotate(8deg); }
}

.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.logo-full {
        display: none !important;
    }

    .header-logo img.logo-s,
    .header-logo img.s-logo {
        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 positioning removed - handled in nav-v23.css */

    .header-contact-info,
    .header-cta-group {
        display: none !important;
    }

    /* Row 2 nav hidden on mobile */
    .header-row-2 {
        display: none !important;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   No rounded corners (line 11575)
   (10 lines removed)
*/

/* ============================================
   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-break: keep-all !important;
    hyphens: none !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;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !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-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.5rem !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: var(--space-lg) !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: var(--space-lg) !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: var(--text-xl) !important;
    line-height: var(--leading-snug) !important;
    margin-bottom: var(--space-sm) !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

.bento-item p,
.pillar p,
.service-card p,
.feature-card p,
.horizontal-card p {
    font-size: var(--text-base) !important;
    line-height: var(--leading-relaxed) !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 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;
    }
}



/* ============================================
   UNIFIED CARD TYPOGRAPHY SYSTEM
   Samsung/Apple-inspired hierarchy
   ============================================ */

/* Card Titles - Syne sci-fi geometric display */
.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: 'Syne', 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
}

/* Card title sizes - larger than body but proportioned to card widths */
.pillar h3, .pillar-card h3 {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem) !important;
    margin-bottom: var(--space-md) !important;
}

.bento-item h3, .bento-card .card-title,
.horizontal-card h3, .horizontal-card .card-title {
    font-size: clamp(1.3rem, 1rem + 1.5vw, 1.9rem) !important;
    margin-bottom: 16px !important;
}

.service-card h3, .feature-card h3,
.pricing-card h3, .career-card h3,
.job-card h3, .team-card h3,
.value-card h3, .process-step h3,
[class*="card"] h3 {
    font-size: clamp(1.2rem, 0.9rem + 1vw, 1.6rem) !important;
    margin-bottom: var(--space-sm) !important;
}

/* Card descriptions - clear contrast from titles */
.pillar p,
.service-card p,
.feature-card p,
.bento-item p,
.bento-item .bento-text,
.bento-card .card-explain,
.horizontal-card p,
.horizontal-card .card-text,
.pricing-desc,
[class*="card"] p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: var(--text-base);
    font-weight: 400;
    line-height: var(--leading-relaxed);
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* Card labels / metadata - monospace accent */
.bento-label,
.card-label,
.pricing-tier,
[class*="card"] .label,
[class*="card"] .tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terminal-green);
    margin-bottom: 12px;
    opacity: 0.85;
}

/* Section titles - Syne (non-uppercase headings) */
/* h2.section-title font-size override removed — premium system .section-title now governs size consistently */
.section-title,
.horizontal-scroll-header h2,
h2.section-title {
    font-family: 'Syne', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    /* font-size: var(--text-2xl) !important; — removed: premium system controls size */
    letter-spacing: var(--tracking-wider) !important;
    line-height: var(--leading-snug) !important;
}

/* Big Impact Headers - larger display type */
.impact-text,
.divider-title,
.premium-title,
.section-header-premium h2 {
    font-family: 'Syne', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    letter-spacing: var(--tracking-wider) !important;
}

/* Wizard Title */
.wizard-title {
    font-family: 'Syne', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

/* Privacy Banner */
.privacy-banner-headline {
    font-family: 'Syne', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

/* Data Privacy Story */
.story-hero h1,
.story-headline {
    font-family: 'Syne', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

/* FAQ headers */
.faq-question,
.accordion-header {
    font-family: 'Syne', 'Space Grotesk', sans-serif !important;
    font-weight: 400 !important;
}


/* ============================================
   S LOGO - Transparent with Shine Effect
   Only apply on mobile where S logo is shown
   ============================================ */
@media (max-width: 768px) {
    .header-logo img.logo-s,
    .header-logo img.s-logo {
        /* 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 -- HIDDEN: hard edge artifact */
.s-logo-shine {
    display: none !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;
    }

    /* 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;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   Ensure no rounded corners
   (10 lines removed)
*/

/* ============================================
   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;
    }
    .wizard-image {
        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: 100px 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: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    font-style: normal;
    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: 120px 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: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    font-style: normal;
    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 img.s-logo {
        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;
    }
    
}

@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: 24px;
    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 RESPONSIVE - 6-column layout (brand + 5 cols) */
@media (max-width: 1400px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 24px;
    }
    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
    }
    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-col a {
        font-size: 0.85rem;
        padding: 3px 0;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-brand {
        grid-column: span 1;
    }
}

/* REMOVED: Mobile nav CSS moved to self-contained template v30
   MOBILE MENU FIX show all items
   (48 lines removed)
*/

/* ============================================
   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;
    }
}

/* ============================================
   IPHONE MOBILE BUG FIXES (375-430px)
   Final override block — fixes all reported bugs
   ============================================ */

/* BUG 1: Logo missing in navbar
   Force S logo visible in mobile header at all times */
@media (max-width: 768px) {
    .header-logo {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
        min-width: 40px !important;
    }

    .header-logo img.logo-full {
        display: none !important;
    }

    .header-logo img.logo-s,
    .header-logo img.s-logo {
        display: block !important;
        height: 36px !important;
        width: auto !important;
        min-width: 36px !important;
        min-height: 36px !important;
        object-fit: contain !important;
        filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4)) brightness(1.1) !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
    }

    /* When header is compact (scrolled), still show a minimal row with logo */
    .header.header-compact .header-row-1 {
        height: auto !important;
        overflow: visible !important;
        padding: 8px 15px !important;
        opacity: 1 !important;
    }

    /* Hide tagline and other elements in compact mode to save space */
    .header.header-compact .header-tagline,
    .header.header-compact .header-cta-group,
    .header.header-compact .header-contact-info {
        display: none !important;
    }

    .header-tagline {
        display: none !important;
    }
}

/* BUG 2: Terminal/code block cut off at bottom and right
   Prevent overflow clipping on mobile */
@media (max-width: 768px) {
    .terminal-card,
    .hero-terminal-card {
        overflow: visible !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .terminal-body,
    .terminal-content {
        overflow-x: auto !important;
        overflow-y: visible !important;
        max-width: 100% !important;
        padding: 15px !important;
        font-size: 0.7rem !important;
    }

    .terminal-body .line {
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .hero-visual {
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
    }

    /* Hero stats card - wrap items on mobile */
    .hero-stats-card {
        flex-wrap: wrap !important;
        gap: 16px !important;
        padding: 16px !important;
        justify-content: center !important;
    }

    .hero-stats-card .stat-item {
        flex: 0 0 calc(50% - 12px) !important;
        min-width: 0 !important;
    }
}

/* BUG 3: "Two Pillars" section — decorative lines and card polish on mobile */
@media (max-width: 768px) {
    /* Hide decorative tag-line bars on mobile */
    .section-tag .tag-line {
        display: none !important;
    }

    .section-tag {
        font-size: 0.6rem !important;
        letter-spacing: 0.3em !important;
    }

    /* Pillar cards — improved mobile styling */
    .pillar,
    .pillar-card {
        padding: 28px 22px !important;
        border-radius: 16px !important;
    }

    .pillar-icon {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }

    /* pillar h3 font-size override removed — clamp formula handles responsive scaling naturally */
    .pillar h3,
    .pillar-card h3 {
        margin-bottom: 10px !important;
    }

    .pillar p,
    .pillar-card p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }

    .pillar-num {
        font-size: 0.65rem !important;
        opacity: 0.3 !important;
    }

    /* Section header improvements */
    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
        line-height: 1.15 !important;
    }

    .section-desc {
        font-size: 0.85rem !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
}

/* BUG 5: Stats row — 4th stat cut off, switch to 2x2 grid */
@media (max-width: 768px) {
    .stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px 16px !important;
        padding: 0 10px !important;
    }

    .stat {
        text-align: center !important;
    }

    .stat-num {
        font-size: 1.4rem !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
    }
}

/* BUG 6: Floating CTA removed — chat icon serves same purpose */

/* BUG 7: "Trusted by" marquee — text cut off
   Ensure proper scrolling and no static clipping */
@media (max-width: 768px) {
    .marquee-content {
        gap: 30px !important;
        padding: 0 15px !important;
    }

    .marquee-item {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }

    /* Reduce fade edge width on mobile */
    .marquee-section::before,
    .marquee-section::after {
        width: 40px !important;
    }

    /* Provider marquee same treatment */
    .provider-logos {
        gap: 40px !important;
        padding: 0 20px !important;
    }

    .provider-logo {
        font-size: 1rem !important;
    }

    .provider-logo-img {
        width: 32px !important;
        height: 32px !important;
    }
}

/* BUG 8: Excessive dead space in "Not just promises" explainer section */
@media (max-width: 768px) {
    .explainer-section {
        padding: 40px 15px !important;
        margin: 30px 0 !important;
        min-height: auto !important;
    }

    .explainer-inner {
        padding: 0 !important;
    }

    .explainer-text {
        font-size: clamp(1.3rem, 5vw, 1.7rem) !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    .explainer-subtext {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
    }

    .explainer-label {
        font-size: 0.55rem !important;
        margin-bottom: 12px !important;
    }
}

/* BUG 9: Ping metric — hide edge location in footer on mobile */
@media (max-width: 768px) {
    .preloader-edge,
    .edge-location-badge {
        display: none !important;
    }
}

/* BUG 10: Video preloader — hide ALL native controls on iOS */
@media (max-width: 768px) {
    .preloader-video {
        pointer-events: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        position: relative !important;
    }

    /* Overlay to block any native play button on iOS */
    .preloader-content {
        position: relative !important;
    }

    .preloader-video-wrapper {
        position: relative !important;
        overflow: hidden !important;
    }
}

/* Additional: Prevent body overflow-x on mobile (prevents horizontal scroll) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .container {
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 20px !important;
    }

    /* Hero section — prevent overflow */
    .hero,
    .hero-section {
        overflow: hidden !important;
    }

    /* Platform cards — stack on mobile */
    .platforms,
    .platforms-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .platform-card {
        padding: 24px 20px !important;
    }

    .platform-icon {
        height: 48px !important;
    }

    .platform-icon img {
        width: 44px !important;
        height: 44px !important;
    }

    /* Features row — 2 column grid on mobile */
    .features,
    .features-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .feature {
        padding: 16px !important;
        text-align: center !important;
    }

    .feature-icon {
        font-size: 1.4rem !important;
    }

    .feature h4 {
        font-size: 0.85rem !important;
    }
}
