/* ========================================
   ALLEY & STREET - Design System
   Micro Private Equity Landing Page
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary-navy: hsl(238, 84%, 15%);
    --primary-navy-light: hsl(238, 70%, 25%);
    --primary-navy-dark: hsl(238, 90%, 8%);
    --accent-white: #ffffff;
    --accent-off-white: #f8f9fc;
    --glass-white: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --glow-color: rgba(255, 255, 255, 0.3);

    /* Neon Colors */
    --neon-purple: #8a2be2;
    --neon-cyan: #00bfff;
    --neon-pink: #ff1493;
    --neon-gold: #ffd700;
    --neon-purple-glow: rgba(138, 43, 226, 0.5);
    --neon-cyan-glow: rgba(0, 191, 255, 0.5);
    --neon-pink-glow: rgba(255, 20, 147, 0.5);
    --neon-gold-glow: rgba(255, 215, 0, 0.5);

    /* Typography */
    --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
}

/* Global Neon Glow Animations */
@keyframes neonPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 10px currentColor);
        opacity: 1;
    }

    50% {
        filter: drop-shadow(0 0 20px currentColor);
        opacity: 0.8;
    }
}

@keyframes neonGlowCycle {
    0% {
        filter: drop-shadow(0 0 15px var(--neon-purple));
    }

    33% {
        filter: drop-shadow(0 0 15px var(--neon-cyan));
    }

    66% {
        filter: drop-shadow(0 0 15px var(--neon-pink));
    }

    100% {
        filter: drop-shadow(0 0 15px var(--neon-purple));
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--primary-navy);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   STREET SCENE - Animated Background
   ======================================== */
.street-scene {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.street-line {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 80%,
            transparent 100%);
}

.street-line::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 30px,
            rgba(255, 255, 255, 0.15) 30px,
            rgba(255, 255, 255, 0.15) 60px);
    animation: streetMove 20s linear infinite;
}

@keyframes streetMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-60px);
    }
}

/* Walking Figures */
.walking-figures {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 60px;
}

.figure {
    position: absolute;
    width: 20px;
    height: 40px;
    opacity: 0.3;
    animation: walkAcross 25s linear infinite;
}

.figure-1 {
    animation-delay: 0s;
}

.figure-2 {
    animation-delay: -8s;
    opacity: 0.2;
}

.figure-3 {
    animation-delay: -16s;
    opacity: 0.15;
}

@keyframes walkAcross {
    0% {
        left: -30px;
    }

    100% {
        left: calc(100% + 30px);
    }
}

.figure .head {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 6px;
}

.figure .body {
    width: 4px;
    height: 14px;
    background: var(--text-muted);
    position: absolute;
    top: 9px;
    left: 8px;
    border-radius: 2px;
}

.figure .leg {
    width: 3px;
    height: 14px;
    background: var(--text-muted);
    position: absolute;
    bottom: 0;
    border-radius: 2px;
    transform-origin: top center;
}

.figure .leg.left {
    left: 6px;
    animation: walkLeft 0.5s ease-in-out infinite alternate;
}

.figure .leg.right {
    left: 11px;
    animation: walkRight 0.5s ease-in-out infinite alternate;
}

@keyframes walkLeft {
    0% {
        transform: rotate(-20deg);
    }

    100% {
        transform: rotate(20deg);
    }
}

@keyframes walkRight {
    0% {
        transform: rotate(20deg);
    }

    100% {
        transform: rotate(-20deg);
    }
}

.figure .arm {
    width: 3px;
    height: 10px;
    background: var(--text-muted);
    position: absolute;
    top: 10px;
    border-radius: 2px;
    transform-origin: top center;
}

.figure .arm.left {
    left: 3px;
    animation: armSwing 0.5s ease-in-out infinite alternate-reverse;
}

.figure .arm.right {
    left: 14px;
    animation: armSwing 0.5s ease-in-out infinite alternate;
}

@keyframes armSwing {
    0% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(30deg);
    }
}

/* Sitting Figure Variant */
.figure.sitting {
    position: absolute;
    width: 20px;
    height: 40px;
    opacity: 0.45;
    z-index: 5;
    animation: sittingBreathe 4s ease-in-out infinite alternate !important;
}

.figure.sitting .head {
    animation: headNod 8s ease-in-out infinite;
    left: 6px;
    /* Centered over body */
}

.figure.sitting .body {
    left: 8px;
    height: 15px;
    /* Slightly taller */
    top: 9px;
}

.figure.sitting .leg {
    transform-origin: top left;
    position: absolute;
    top: 22px;
    height: 3px;
    /* Thigh thickness */
    width: 12px;
    /* Thigh length */
    background: var(--text-muted);
    /* Ensure visible color */
    border-radius: 2px;
}

.figure.sitting .leg::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    /* Calf thickness */
    height: 12px;
    /* Calf length */
    background: inherit;
    border-radius: 2px;
    transform-origin: top center;
    transform: rotate(90deg);
    /* Dangle down */
}

.figure.sitting .leg.left {
    transform: rotate(5deg);
    /* Slight downward thigh slope */
    left: 8px;
    animation: swingLeg 3s ease-in-out infinite alternate;
}

.figure.sitting .leg.right {
    transform: rotate(0deg);
    left: 8px;
    animation: swingLeg 4s ease-in-out infinite alternate-reverse;
}

@keyframes swingLeg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(5deg);
    }
}

.figure.sitting .arm {
    transform-origin: top center;
    position: absolute;
    top: 10px;
    height: 11px;
    width: 3px;
    background: var(--text-muted);
}

.figure.sitting .arm.left {
    transform: rotate(-20deg);
    /* Resting on knees/box */
    left: 5px;
    animation: none;
}

.figure.sitting .arm.right {
    transform: rotate(20deg);
    left: 11px;
    animation: none;
}

@keyframes sittingBreathe {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(1px);
    }
}


@keyframes headNod {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(10deg) translateY(1px);
    }
}

/* ========================================
   HERO BRIDGE & ANIMATED STICKMEN
   ======================================== */
.hero-bridge-container {
    width: 100%;
    max-width: 600px;
    height: 120px;
    margin: 0 auto 0 auto;
    position: relative;
    z-index: 5;
    pointer-events: none;
}

.hero-bridge-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Bridge Structural Elements */
.bridge-pillar {
    fill: rgba(255, 255, 255, 0.25);
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1;
}

.bridge-pillar-base {
    fill: rgba(255, 255, 255, 0.3);
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 1;
}

.bridge-deck {
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.bridge-deck-shadow {
    stroke: rgba(0, 0, 0, 0.2);
    stroke-width: 2;
    stroke-linecap: round;
}

.bridge-cable-main {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.bridge-cable-secondary {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1.5;
}

.bridge-hanger {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 0.5;
}

.bridge-brace {
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
}

/* Walking Figures */
.walker {
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.2;
    fill: none;
    offset-path: path('M100,95 L500,95');
    animation: walk-bridge 20s linear infinite;
}



.walker-head {
    fill: rgba(255, 255, 255, 0.7);
    stroke: none;
}

.walker-leg-l {
    animation: leg-walk-l 0.8s ease-in-out infinite;
    transform-origin: 0 -7px;
}

.walker-leg-r {
    animation: leg-walk-r 0.8s ease-in-out infinite;
    transform-origin: 0 -7px;
}

.walker-arm-l {
    animation: arm-walk-l 0.8s ease-in-out infinite;
    transform-origin: 0 -13px;
}

.walker-arm-r {
    animation: arm-walk-r 0.8s ease-in-out infinite;
    transform-origin: 0 -13px;
}

@keyframes walk-bridge {
    0% {
        offset-distance: 0%;
        transform: scaleX(1);
    }

    48% {
        offset-distance: 100%;
        transform: scaleX(1);
    }

    50% {
        offset-distance: 100%;
        transform: scaleX(-1);
    }

    98% {
        offset-distance: 0%;
        transform: scaleX(-1);
    }

    100% {
        offset-distance: 0%;
        transform: scaleX(1);
    }
}

@keyframes leg-walk-l {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-25deg);
    }

    75% {
        transform: rotate(25deg);
    }
}

@keyframes leg-walk-r {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(25deg);
    }

    75% {
        transform: rotate(-25deg);
    }
}

@keyframes arm-walk-l {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-20deg);
    }
}

@keyframes arm-walk-r {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-20deg);
    }

    75% {
        transform: rotate(20deg);
    }
}

/* Easter Egg Briefcase */
.briefcase {
    position: fixed;
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.briefcase.visible {
    opacity: 0.6;
}

/* ========================================
   MAIN CONTAINER
   ======================================== */
/* ========================================
   MAIN HEADER
   ======================================== */
.main-header {
    padding: var(--space-md) var(--space-md) 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.main-container {
    position: relative;
    z-index: 2;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Start from top instead of centering */
    padding-top: var(--space-lg);
    /* Increased from space-md to move everything down */
    text-align: center;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
    position: relative;
}

/* Logo Icon Container */
.logo-icon-container {
    width: 64px;
    height: 64px;
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    position: relative;
    animation: fadeSlideDown 0.8s ease forwards;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-icon-container:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(25, 25, 50, 0.45);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.logo-icon-container::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.logo-icon-img {
    width: 48px;
    /* Enlarged logo */
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
}

/* Glass Badge */
.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1.4rem;
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    /* Perfect pill shape */
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    animation: fadeSlideDown 0.8s ease forwards;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

.glass-badge:hover {
    background: rgba(25, 25, 50, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-22px) scale(1.04);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: -1px;
}

@keyframes fadeSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Text */
.logo-text {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 600;
    letter-spacing: 0;
    /* Reduced from 0.02em for even tighter alignment */
    margin-bottom: 1rem;
    animation: neonGlowCycle 6s ease-in-out infinite, fadeIn 1s ease 0.3s forwards;
    opacity: 0;
    text-shadow:
        0 0 60px var(--neon-purple-glow),
        0 0 30px var(--neon-cyan-glow);
    display: flex;
    justify-content: center;
    gap: 0.02em;
    /* Reduced from 0.05em for even tighter word gaps */
}

.logo-alley,
.logo-street {
    display: inline-block;
}

.logo-and {
    display: inline-block;
    margin: 0 0.3em;
    font-weight: 400;
}

@keyframes logoGlow {

    0%,
    100% {
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    }

    50% {
        text-shadow: 0 0 80px rgba(255, 255, 255, 0.4), 0 0 120px rgba(255, 255, 255, 0.1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Tagline */
.tagline-container {
    width: 100%;
    height: 3rem;
    overflow: hidden;
    margin-bottom: 6rem;
    /* Expanded to 6rem for ultra-airy aesthetic */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.tagline-rotator {
    width: 100%;
    max-width: 800px;
    /* Limit width for readability */
    height: 100%;
    position: relative;
}

.tagline-statement {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.6);
    /* Brighter for better visibility */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: normal;
    text-align: center;
    padding: 0 1rem;
    line-height: 1.3;
}

.tagline-statement.active {
    opacity: 1;
    transform: translateY(0);
}

.tagline-statement.exit {
    opacity: 0;
    transform: translateY(-20px);
}

.tagline-statement .highlight {
    color: #ffffff;
    /* Brighter white for highlight */
    font-weight: 600;
    margin-left: 0.3em;
    position: relative;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.tagline-statement .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--glow-color);
    transition: width 0.8s ease 0.4s;
}

.tagline-statement.active .highlight::after {
    width: 100%;
}

/* Hero Description Glass Box */
.description-glass-container {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    /* Reduced from 2.5rem to restore original layout */
    padding: 2px;
    /* For the gradient border look */
    position: relative;
    animation: fadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

.description-glass {
    background: rgba(15, 15, 35, 0.4);
    /* Tinted dark background for authentic depth */
    backdrop-filter: blur(20px) saturate(190%) contrast(100%);
    -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 1.8rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    /* Ultra-thin inner highlight */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: descriptionBreathe 10s ease-in-out infinite alternate;
}

/* Subtle noise overlay for extra realism */
.description-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.description-glass:hover {
    background: rgba(25, 25, 50, 0.45);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px) scale(1.005);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-description {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
    word-spacing: 0.05em;
    text-wrap: balance;
    transition: color 0.4s ease, transform 0.4s ease;
}

.description-glass:hover .hero-description {
    color: #ffffff;
    transform: scale(1.002);
}

@keyframes descriptionBreathe {
    0% {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 8px 48px 0 rgba(124, 77, 255, 0.08);
        /* Very subtle purple hint */
        border-color: rgba(255, 255, 255, 0.18);
        transform: scale(1.008);
    }
}

/* Process Button */
.process-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.1rem 2.2rem;
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeIn 1s ease 1.2s forwards;
    opacity: 0;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.process-btn:hover {
    background: rgba(25, 25, 50, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.process-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
    padding: var(--space-xl) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.process-section>* {
    position: relative;
    z-index: 1;
}

.process-section.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 1000px;
    padding-top: var(--space-lg);
}

.process-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.process-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

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

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.process-step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    background: rgba(15, 15, 35, 0.25);
    backdrop-filter: blur(28px) saturate(220%);
    -webkit-backdrop-filter: blur(28px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: var(--space-md);
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.process-step::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
}

/* Color-coded neon glows for each step */
.process-step[data-step="1"] {
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow:
        0 15px 45px rgba(138, 43, 226, 0.2),
        inset 0 0 0 1px rgba(138, 43, 226, 0.1);
}

.process-step[data-step="2"] {
    border-color: rgba(0, 191, 255, 0.3);
    box-shadow:
        0 15px 45px rgba(0, 191, 255, 0.2),
        inset 0 0 0 1px rgba(0, 191, 255, 0.1);
}

.process-step[data-step="3"] {
    border-color: rgba(255, 20, 147, 0.3);
    box-shadow:
        0 15px 45px rgba(255, 20, 147, 0.2),
        inset 0 0 0 1px rgba(255, 20, 147, 0.1);
}

.process-step[data-step="4"] {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow:
        0 15px 45px rgba(255, 215, 0, 0.2),
        inset 0 0 0 1px rgba(255, 215, 0, 0.1);
}

.process-step:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(25, 25, 55, 0.4);
    animation: floatSlow 3s ease-in-out infinite;
}

.process-step[data-step="1"]:hover {
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow:
        0 20px 50px rgba(138, 43, 226, 0.4),
        0 0 40px rgba(138, 43, 226, 0.3);
}

.process-step[data-step="2"]:hover {
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow:
        0 20px 50px rgba(0, 191, 255, 0.4),
        0 0 40px rgba(0, 191, 255, 0.3);
}

.process-step[data-step="3"]:hover {
    border-color: rgba(255, 20, 147, 0.6);
    box-shadow:
        0 20px 50px rgba(255, 20, 147, 0.4),
        0 0 40px rgba(255, 20, 147, 0.3);
}

.process-step[data-step="4"]:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow:
        0 20px 50px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.3);
}

.process-section.visible .process-step {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.process-section.visible .process-step[data-step="1"] {
    transition-delay: 0.1s;
}

.process-section.visible .process-step[data-step="2"] {
    transition-delay: 0.25s;
}

.process-section.visible .process-step[data-step="3"] {
    transition-delay: 0.4s;
}

.process-section.visible .process-step[data-step="4"] {
    transition-delay: 0.55s;
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    margin-bottom: var(--space-sm);
}

.step-icon-svg {
    width: 32px;
    height: 32px;
    color: #fff;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
    animation: neonPulse 2s ease-in-out infinite;
}

.process-step:hover .step-icon-svg {
    opacity: 1;
    transform: scale(1.2);
}

.process-step[data-step="1"] .step-icon-svg {
    filter: drop-shadow(0 0 12px var(--neon-purple-glow));
}

.process-step[data-step="2"] .step-icon-svg {
    filter: drop-shadow(0 0 12px var(--neon-cyan-glow));
}

.process-step[data-step="3"] .step-icon-svg {
    filter: drop-shadow(0 0 12px var(--neon-pink-glow));
}

.process-step[data-step="4"] .step-icon-svg {
    filter: drop-shadow(0 0 12px var(--neon-gold-glow));
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-connector {
    display: none;
}

@media (min-width: 900px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 50%;
        right: -30px;
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, var(--glass-border), transparent);
    }

    .process-step:last-child .step-connector {
        display: none;
    }
}

/* ========================================
   FLOW SECTION
   ======================================== */
.flow-section {
    padding: var(--space-xl) var(--space-md);
    max-width: 1100px;
    margin: 0 auto;
}

.flow-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--neon-cyan), #0064c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--neon-cyan-glow));
    animation: neonPulse 3s ease-in-out infinite;
}

.flow-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.flow-diagram {
    display: grid;
    grid-template-columns: 240px 1fr 100px 1fr 280px;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tablet: Hide SVG lines and use 3-column layout */
@media (max-width: 1024px) {
    .flow-diagram {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto;
        gap: var(--space-md);
    }

    .flow-in,
    .flow-out {
        display: none !important;
    }

    .flow-hub-container {
        grid-row: 1;
        grid-column: 2;
    }

    .flow-inputs {
        grid-row: 1;
        grid-column: 1;
    }

    .flow-output {
        grid-row: 1;
        grid-column: 3;
        justify-content: flex-end;
    }
}

/* Mobile: Stack everything vertically */
@media (max-width: 768px) {
    .flow-diagram {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
        text-align: center;
    }

    .flow-in,
    .flow-out,
    .flow-lines {
        display: none !important;
    }

    .flow-inputs {
        width: 100%;
        max-width: 320px;
        order: 1;
    }

    .flow-hub-container {
        order: 2;
    }

    .flow-hub {
        width: 100px;
        height: 100px;
    }

    .hub-core {
        width: 100px;
        height: 100px;
        aspect-ratio: 1 / 1;
    }

    .hub-logo {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .flow-output {
        width: 100%;
        max-width: 280px;
        order: 3;
        justify-content: center;
    }

    .output-card {
        width: 100%;
    }

    .input-item {
        justify-content: center;
    }
}

/* Small phones: Even more compact */
@media (max-width: 480px) {
    .flow-hub {
        width: 80px;
        height: 80px;
    }

    .hub-core {
        width: 80px;
        height: 80px;
    }

    .output-card {
        padding: 1.5rem;
    }
}

/* Flow Arrows (Mobile/Tablet only) */
.flow-arrow {
    display: none;
    color: var(--neon-purple);
    opacity: 0.8;
}

.flow-arrow svg {
    /* Internal SVG animation handles the flow effect */
    display: block;
}

@keyframes flowArrowBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

/* Show arrows on mobile only */
@media (max-width: 768px) {
    .flow-arrow {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: var(--space-sm) 0;
    }

    .flow-arrow-in {
        order: 1;
    }

    .flow-arrow-out {
        order: 3;
    }
}

/* Adjust order in mobile flexbox layout */
@media (max-width: 768px) {
    .flow-arrow-in {
        order: 2;
    }

    .flow-arrow-out {
        order: 4;
    }

    .flow-inputs {
        order: 1;
    }

    .flow-hub-container {
        order: 3;
    }

    .flow-output {
        order: 5;
    }
}

/* Flow Inputs */
.flow-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.input-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 1.25rem;
    background: rgba(15, 15, 35, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

.input-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.input-item:hover {
    background: rgba(25, 25, 50, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.input-item:hover {
    background: rgba(25, 25, 50, 0.5);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}


.input-item[data-delay="0"] {
    animation-delay: 0.2s;
}

.input-item[data-delay="200"] {
    animation-delay: 0.4s;
}

.input-item[data-delay="400"] {
    animation-delay: 0.6s;
}

.input-item[data-delay="600"] {
    animation-delay: 0.8s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
}

.input-icon svg {
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, 0.7);
    filter: drop-shadow(0 0 2px rgba(124, 77, 255, 0.3));
    transition: all 0.3s ease;
    animation: iconTwinkle 3s ease-in-out infinite;
}

/* Staggered Twinkle Delays - REMOVED for Unison */
.input-item .input-icon svg {
    animation-delay: 0s;
}

@keyframes iconTwinkle {

    0%,
    100% {
        stroke: rgba(255, 255, 255, 0.6);
        filter: drop-shadow(0 0 2px rgba(124, 77, 255, 0.2));
        transform: scale(1);
    }

    50% {
        stroke: #ffffff;
        filter: drop-shadow(0 0 15px rgba(124, 77, 255, 1));
        transform: scale(1.1);
    }
}

.input-item:hover .input-icon svg {
    stroke: #ffffff;
    filter: drop-shadow(0 0 10px rgba(124, 77, 255, 0.9));
    transform: scale(1.1);
    animation-play-state: paused;
    /* Pause twinkle on hover to keep bright */
}

.input-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Flow Lines SVG */
.flow-lines {
    display: block;
    width: 100%;
    height: 160px;
    position: relative;
}


.flow-svg {
    width: 100%;
    height: 100%;
}

.flow-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1.5;
    stroke-dasharray: 4, 4;
}

.flow-path.path-out {
    stroke: rgba(255, 255, 255, 0.15);
}

.comet {
    filter: drop-shadow(0 0 4px var(--glow-color));
}

/* Flow Hub */
.flow-hub-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-hub {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-core {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy-light), var(--primary-navy));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 30px rgba(124, 77, 255, 0.2);
    overflow: hidden;
    /* Ensure image stays inside border radius */
}

.hub-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hub-ring {
    position: absolute;
    inset: -10px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    animation: rotate 10s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.hub-pulse {
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(124, 77, 255, 0.3);
    border-radius: 22px;
    animation: hubPulse 2s ease-out infinite;
}

@keyframes hubPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Flow Output */
.flow-output {
    display: flex;
    justify-content: flex-start;
}

.output-card {
    padding: 2rem;
    background: rgba(15, 15, 35, 0.3);
    backdrop-filter: blur(28px) saturate(220%);
    -webkit-backdrop-filter: blur(28px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    text-align: center;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.output-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.output-card:hover {
    transform: scale(1.02) translateY(-8px);
    background: rgba(25, 25, 55, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.output-card:hover {
    transform: scale(1.02) translateY(-4px);
    background: rgba(25, 25, 50, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}


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

.output-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: #a5a5ff;
}

.output-icon svg {
    width: 32px;
    height: 32px;
    stroke: url(#gradientStroke);
    /* Fallback or if defs added */
    stroke: #a5a5ff;
    filter: drop-shadow(0 0 8px rgba(124, 77, 255, 0.4));
}

.output-card>span {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.output-stats {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.text-concept {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 4px;
    background: linear-gradient(to bottom right, #ffffff, #a5a5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: capitalize;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* ========================================
   STATS SECTION
   ======================================== */
/* ========================================
   STATS SECTION - Premium Glass UI
   ======================================== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 6rem var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.stat-card {
    background: rgba(15, 15, 35, 0.25);
    backdrop-filter: blur(28px) saturate(220%);
    -webkit-backdrop-filter: blur(28px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Subtle Noise Texture for Glass Realism */
.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

.stat-card:hover::before {
    transform: translate(10%, 10%);
    background: radial-gradient(circle at center, rgba(124, 77, 255, 0.1) 0%, transparent 60%);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    background: rgba(25, 25, 55, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(124, 77, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.stat-card>* {
    position: relative;
    z-index: 2;
}

.stat-number {
    display: block;
    margin-bottom: 1rem;
    transition: all var(--transition-medium);
}

.stat-number.text-concept {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #a5a5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-desc {
    color: #ffffff;
    opacity: 1;
    letter-spacing: 0.2em;
}

@media (max-width: 1024px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 4rem var(--space-md);
    }
}

@media (max-width: 600px) {
    .stats-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        min-height: 180px;
        padding: 2.5rem 1.5rem;
    }
}


/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--neon-pink), #c71585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--neon-pink-glow));
    animation: neonPulse 3.5s ease-in-out infinite;
}

.contact-content>p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2.5rem;
    background: var(--accent-white);
    color: var(--primary-navy);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-medium);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.contact-btn:hover .btn-arrow {
    transform: translateX(4px);
}


/* ========================================
   ARCADE SECTION
   ======================================== */
.arcade-section {
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
}

.arcade-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.arcade-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.arcade-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, #ffffff, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--neon-cyan-glow));
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes titlePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.arcade-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
}

.arcade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.game-card {
    position: relative;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.game-card:nth-child(2) {
    animation-delay: 2s;
}

.game-card:nth-child(3) {
    animation-delay: 4s;
}

.game-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover .game-card-glow {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.game-card-content {
    position: relative;
    z-index: 2;
}

.game-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 0 20px currentColor);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.game-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.game-description {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.game-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.game-card:hover .game-cta {
    gap: 1rem;
}

/* Hunt Card - Purple/Violet Theme */
.hunt-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(75, 0, 130, 0.2) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.2);
}

.hunt-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow:
        0 20px 60px rgba(138, 43, 226, 0.4),
        0 0 40px rgba(138, 43, 226, 0.3);
}

.hunt-card .game-icon {
    color: #8a2be2;
}

.hunt-card .game-cta {
    color: #8a2be2;
}

/* Merge Card - Cyan/Blue Theme */
.merge-card {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2) 0%, rgba(0, 100, 200, 0.2) 100%);
    border: 2px solid rgba(0, 191, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.2);
}

.merge-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow:
        0 20px 60px rgba(0, 191, 255, 0.4),
        0 0 40px rgba(0, 191, 255, 0.3);
}

.merge-card .game-icon {
    color: #00bfff;
}

.merge-card .game-cta {
    color: #00bfff;
}

/* Flow Card - Pink/Magenta Theme */
.flow-card {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.2) 0%, rgba(199, 21, 133, 0.2) 100%);
    border: 2px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.2);
}

.flow-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 20, 147, 0.6);
    box-shadow:
        0 20px 60px rgba(255, 20, 147, 0.4),
        0 0 40px rgba(255, 20, 147, 0.3);
}

.flow-card .game-icon {
    color: #ff1493;
}

.flow-card .game-cta {
    color: #ff1493;
}

/* Responsive Arcade */
@media (max-width: 768px) {
    .arcade-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        animation: none;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-xl) var(--space-md) var(--space-md);
    border-top: 1px solid var(--glass-border);
    margin-top: var(--space-xl);
    background: linear-gradient(to bottom, transparent, rgba(15, 15, 35, 0.4));
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Brand Column */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-ctas {
    display: flex;
    gap: var(--space-sm);
    margin-top: 0.5rem;
}

.footer-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-btn.primary {
    background: var(--accent-white);
    color: var(--primary-navy);
}

.footer-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.footer-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Nav Column */
.footer-col-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--text-secondary);
}

/* Contact Column */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    position: relative;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.social-icon-circle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icon-circle:hover {
    background: var(--accent-white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        grid-column: span 2;
        text-align: center;
        align-items: center;
    }

    .footer-logo-wrapper {
        justify-content: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-ctas {
        justify-content: center;
    }
}

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

    .brand-col,
    .footer-col {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }

    .footer-logo-wrapper {
        justify-content: center;
    }

    .footer-nav-list {
        align-items: center;
    }

    .contact-info-list {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
}

/* Disclaimer Section */
.disclaimer-container {
    max-width: 1000px;
    margin: var(--space-lg) auto var(--space-md);
    padding: var(--space-md);
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
}

.disclaimer-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-text strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.easter-egg-text {
    cursor: pointer;
    opacity: 0.3;
    transition: all var(--transition-fast);
}

.easter-egg-text:hover {
    opacity: 1;
    transform: rotate(45deg);
}

/* ========================================
   EASTER EGG MODAL
   ======================================== */
.easter-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.easter-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.easter-content {
    background: var(--primary-navy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    max-width: 400px;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.easter-modal.visible .easter-content {
    transform: scale(1);
}

.easter-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.easter-close:hover {
    color: var(--text-primary);
}

.easter-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.easter-message p {
    margin-bottom: var(--space-xs);
}

.easter-quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 600px) {
    .tagline-container {
        flex-direction: column;
        gap: 0.25em;
    }

    .tagline-rotator {
        min-width: auto;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
    }

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

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   HERO BRIDGE & ANIMATED STICKMEN
   ======================================== */
.hero-bridge-container {
    width: 100%;
    max-width: 800px;
    height: 140px;
    margin: 40px auto 0;
    position: relative;
    z-index: 5;
    pointer-events: none;
    margin-bottom: -2px;
}

.hero-bridge-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.bridge-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.walker {
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1.5;
    fill: none;
    offset-path: path('M100,95 L500,95');
    animation: bridge-walk 20s linear infinite;
}

.stickman-head {
    fill: rgba(255, 255, 255, 0.8);
    stroke: none;
}

.stickman-leg-l {
    animation: leg-swing-l 0.6s ease-in-out infinite alternate;
    transform-origin: 0 -10px;
}

.stickman-leg-r {
    animation: leg-swing-r 0.6s ease-in-out infinite alternate;
    transform-origin: 0 -10px;
}

.stickman-arm-l {
    animation: arm-swing-l 0.6s ease-in-out infinite alternate;
    transform-origin: 0 -18px;
}

.stickman-arm-r {
    animation: arm-swing-r 0.6s ease-in-out infinite alternate;
    transform-origin: 0 -18px;
}

@keyframes bridge-walk {
    0% {
        offset-distance: 0%;
        transform: scaleX(1);
    }

    48% {
        transform: scaleX(1);
    }

    50% {
        offset-distance: 100%;
        transform: scaleX(-1);
    }

    98% {
        transform: scaleX(-1);
    }

    100% {
        offset-distance: 0%;
        transform: scaleX(1);
    }
}

@keyframes leg-swing-l {
    from {
        transform: rotate(-25deg);
    }

    to {
        transform: rotate(25deg);
    }
}

@keyframes leg-swing-r {
    from {
        transform: rotate(25deg);
    }

    to {
        transform: rotate(-25deg);
    }
}

@keyframes arm-swing-l {
    from {
        transform: rotate(20deg);
    }

    to {
        transform: rotate(-20deg);
    }
}

@keyframes arm-swing-r {
    from {
        transform: rotate(-20deg);
    }

    to {
        transform: rotate(20deg);
    }
}


/* ========================================
   CONTACT DROPDOWN STYLES - Premium iOS Glass
   ======================================== */
.contact-wrapper {
    position: relative;
    display: inline-block;
}

.contact-btn {
    cursor: pointer;
    /* Isolate for stacking context */
    z-index: 20;
}

.contact-dropdown {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    width: 240px;

    /* iOS Glass Block Effect */
    background: rgba(30, 30, 45, 0.55);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);

    /* Premium Borders & Shadows */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 10px;

    opacity: 0;
    visibility: hidden;
    /* Spring physics for "pop" effect */
    transition:
        opacity 0.3s ease,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0.3s;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    z-index: 100;
}

.contact-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Glass Shine Overlay */
.contact-dropdown::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Options */
.contact-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}

.contact-option:last-child {
    margin-bottom: 0;
}

/* Option Hover Effect - Block Highlight */
.contact-option:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-option:active {
    transform: scale(0.98);
}

/* Icon Styling */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-option:hover .icon-box {
    background: rgba(124, 77, 255, 0.9);
    border-color: rgba(124, 77, 255, 0.5);
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
}

.social-icon {
    opacity: 0.9;
    color: #fff;
    transition: all 0.3s ease;
}

.contact-option:hover .social-icon {
    opacity: 1;
    transform: scale(1.1);
}

.option-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}


/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: var(--space-xl) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

/* Left: Company Description */
.about-content {
    max-width: 600px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1.4rem;
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeSlideDown 0.8s ease 0.2s forwards;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeSlideDown 0.8s ease 0.4s forwards;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeSlideDown 0.8s ease 0.6s forwards;
}

.about-description:nth-of-type(2) {
    animation-delay: 0.7s;
}

.about-description:nth-of-type(3) {
    animation-delay: 0.8s;
}

.about-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Right: Metrics Grid */
.about-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.metric-card {
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(20px);
}

.metric-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.metric-card:hover {
    transform: translateY(-4px);
    background: rgba(25, 25, 50, 0.45);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(124, 77, 255, 0.15);
}

.metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.2), rgba(124, 77, 255, 0.1));
    border-radius: 12px;
    margin-bottom: var(--space-sm);
    transition: all 0.3s ease;
}

.metric-card:hover .metric-icon {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.3), rgba(124, 77, 255, 0.15));
    transform: scale(1.1);
}

.metric-icon svg {
    color: rgba(124, 77, 255, 0.9);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Staggered Animation for Metric Cards */
.metric-card:nth-child(1) {
    transition-delay: 0.1s;
}

.metric-card:nth-child(2) {
    transition-delay: 0.2s;
}

.metric-card:nth-child(3) {
    transition-delay: 0.3s;
}

.metric-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-content {
        max-width: 100%;
    }

    .about-metrics {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: var(--space-lg) var(--space-sm);
    }

    .about-title {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-metrics {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .metric-value {
        font-size: 1.75rem;
    }
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    padding: var(--space-xl) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.team-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.team-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.team-header p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 400;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

/* Team Card with Glassmorphism */
.team-card {
    background: rgba(15, 15, 35, 0.4);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(30px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(25, 25, 50, 0.45);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(124, 77, 255, 0.15);
}

/* Image Wrapper with Glow Effect */
.team-image-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: var(--space-md);
}

.team-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.team-card:hover .team-image {
    border-color: rgba(124, 77, 255, 0.5);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(124, 77, 255, 0.3);
    transform: scale(1.05);
}

.team-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.team-card:hover .team-image-glow {
    opacity: 1;
}

/* Team Info */
.team-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-linkedin-btn {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: var(--space-sm);
    text-decoration: none;
}

.team-linkedin-btn:hover {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-purple-glow);
    transform: translateY(-2px) scale(1.1);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.team-role {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(124, 77, 255, 0.9);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.team-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-section {
        padding: var(--space-lg) var(--space-sm);
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .team-image-wrapper {
        width: 140px;
        height: 140px;
    }

    .team-image-glow {
        width: 160px;
        height: 160px;
    }
}

/* Staggered Animation for Cards */
.team-card:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:nth-child(2) {
    transition-delay: 0.2s;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: var(--space-lg) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--neon-pink-glow));
    animation: neonPulse 3s ease-in-out infinite;
}

.contact-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    max-width: 600px;
}

.contact-wrapper {
    position: relative;
    display: inline-block;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent-white);
    color: var(--primary-navy);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.contact-btn .btn-arrow {
    transition: transform var(--transition-fast);
}

.contact-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ========================================
   SECTION HEADING ENHANCEMENTS
   ======================================== */

/* Team Section Heading */
.team-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, #ffffff, var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--neon-purple-glow));
    animation: neonPulse 3.2s ease-in-out infinite;
}

/* About Section Heading */
.about-section h2 {
    background: linear-gradient(135deg, var(--neon-gold), #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--neon-gold-glow));
    animation: neonPulse 2.8s ease-in-out infinite;
}

/* Process Section Heading */
.process-header h2 {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--neon-purple-glow));
    animation: neonPulse 3.3s ease-in-out infinite;
}

/* ========================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Breakpoints: 480px (phones), 768px (tablets), 1024px (laptops)
   ======================================== */

/* ========================================
   LARGE PHONES & SMALL TABLETS (max-width: 768px)
   ======================================== */
@media screen and (max-width: 768px) {

    /* Global Spacing Adjustments */
    :root {
        --space-lg: 2rem;
        --space-xl: 4rem;
    }

    /* Hero Section */
    .hero {
        min-height: auto;
        padding-top: var(--space-md);
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .logo-text {
        font-size: clamp(1.8rem, 10vw, 3rem);
        flex-wrap: wrap;
        gap: 0;
    }

    .logo-and {
        margin: 0 0.2em;
    }

    .tagline-container {
        margin-bottom: 3rem;
        height: auto;
    }

    .tagline-statement {
        white-space: normal;
        text-align: center;
        padding: 0 var(--space-xs);
    }

    .description-glass {
        padding: 1.2rem 1.5rem;
        border-radius: 20px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .process-btn {
        padding: 0.9rem 1.6rem;
        font-size: 0.9rem;
    }

    /* Hero Bridge */
    .hero-bridge-container {
        max-width: 100%;
        height: 80px;
    }

    /* Process Section */
    .process-section {
        padding: 6rem var(--space-sm);
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        min-width: 100%;
        max-width: 100%;
    }

    /* Flow/Transformation Section */
    .flow-section {
        padding: 6rem var(--space-sm);
    }

    .flow-layout {
        flex-direction: column;
        gap: var(--space-md);
    }

    .flow-column {
        width: 100%;
    }

    .flow-hub {
        order: -1;
        margin-bottom: var(--space-md);
    }

    .hub-logo-wrapper {
        width: 80px;
        height: 80px;
    }

    /* About Section */
    .about-section {
        padding: 6rem var(--space-sm);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

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

    /* Team Section */
    .team-section {
        padding: 6rem var(--space-sm);
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .team-card {
        max-width: 100%;
    }

    .team-image-wrapper {
        width: 120px;
        height: 120px;
    }

    /* Contact Section */
    .contact-section {
        padding: 6rem var(--space-sm);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-dropdown {
        min-width: 200px;
    }

    /* Arcade Section */
    .arcade-section {
        padding: 6rem var(--space-sm);
    }

    .arcade-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .game-card {
        min-height: 200px;
    }

    /* Footer */
    .footer {
        padding: var(--space-lg) var(--space-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-nav-list {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
    }

    /* Disclaimer */
    .disclaimer-container {
        padding: var(--space-sm);
    }

    .disclaimer-text {
        font-size: 0.75rem;
    }

    /* Street Scene - Hide on mobile */
    .street-scene {
        display: none;
    }
}

/* ========================================
   SMALL PHONES (max-width: 480px)
   ======================================== */
@media screen and (max-width: 480px) {

    /* Even tighter spacing */
    :root {
        --space-md: 1.5rem;
        --space-lg: 1.5rem;
    }

    html {
        font-size: 14px;
    }

    /* Logo Container */
    .logo-icon-container {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .logo-icon-img {
        width: 36px;
        height: 36px;
    }

    /* Hero */
    .logo-text {
        font-size: clamp(1.5rem, 12vw, 2.2rem);
    }

    .glass-badge {
        padding: 0.4rem 1rem;
        font-size: 0.65rem;
    }

    .tagline-statement {
        font-size: 0.9rem;
    }

    .description-glass {
        padding: 1rem;
        border-radius: 16px;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .process-btn {
        padding: 0.8rem 1.4rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    /* Process Steps */
    .process-step {
        padding: var(--space-sm);
        border-radius: 24px;
    }

    .step-icon {
        width: 48px;
        height: 48px;
    }

    .step-icon-svg {
        width: 24px;
        height: 24px;
    }

    /* Flow Section */
    .flow-item {
        padding: var(--space-sm);
    }

    .output-card {
        padding: var(--space-sm);
    }

    .hub-logo-wrapper {
        width: 64px;
        height: 64px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: var(--space-sm);
    }

    /* Team */
    .team-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-role {
        font-size: 0.8rem;
    }

    /* Arcade */
    .arcade-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .game-card {
        min-height: 180px;
    }

    .game-title {
        font-size: 1.1rem;
    }

    .game-description {
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-brand-name {
        font-size: 0.9rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .social-icon-circle {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   TABLETS ONLY (481px - 900px)
   ======================================== */
@media screen and (min-width: 481px) and (max-width: 900px) {

    /* Process Grid - 2 columns */
    .process-timeline {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step {
        min-width: unset;
        max-width: unset;
    }

    /* Flow Layout - Stacked but wider */
    .flow-layout {
        flex-wrap: wrap;
    }

    .flow-column {
        flex: 1 1 45%;
    }

    .flow-hub {
        flex: 1 1 100%;
        order: -1;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
    }

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

    /* Team Grid - 2 columns */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Arcade Grid - 2 columns then 1 */
    .arcade-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .arcade-grid .game-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

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

/* ========================================
   LARGE SCREENS (min-width: 1200px)
   ======================================== */
@media screen and (min-width: 1200px) {

    .process-section,
    .flow-section,
    .about-section,
    .team-section,
    .contact-section {
        max-width: 1400px;
    }

    /* Reduce excessive padding on large screens */
    .team-section {
        padding: 4rem 2rem !important;
    }

    .contact-section {
        padding: 4rem 2rem !important;
    }

    /* Wider team grid for laptops */
    .team-grid {
        max-width: 1100px;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .description-glass {
        padding: 2rem 3rem;
    }
}

/* ========================================
   LANDSCAPE PHONE ORIENTATION
   ======================================== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: var(--space-sm);
    }

    .tagline-container {
        margin-bottom: 1.5rem;
    }

    .hero-bridge-container {
        display: none;
    }
}

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

    .street-scene,
    .walking-figures,
    .hero-bridge-container {
        display: none;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {

    .street-scene,
    .walking-figures,
    .hero-bridge-container,
    .arcade-section {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .glass-badge,
    .description-glass,
    .process-step,
    .team-card {
        background: #f5f5f5;
        border: 1px solid #ddd;
    }
}

/* ========================================
   MOBILE GRID FIXES (Added for proper collapse)
   ======================================== */
@media screen and (max-width: 600px) {

    /* Force single column on all grids */
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }

    .arcade-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }

    .process-timeline {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .process-step {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
    }

    /* Stats grid - force 2 columns max */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Game card adjustments */
    .game-card {
        padding: var(--space-md) !important;
        min-height: 160px !important;
    }

    .game-icon {
        font-size: 2.5rem !important;
        margin-bottom: var(--space-sm) !important;
    }

    .game-title {
        font-size: 1.3rem !important;
    }

    .game-description {
        font-size: 0.85rem !important;
    }

    /* Footer grid */
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    /* Flow layout stacking */
    .flow-layout {
        flex-direction: column !important;
    }

    .flow-column {
        width: 100% !important;
        flex: unset !important;
    }

    /* Team card sizing */
    .team-card {
        padding: var(--space-sm) !important;
    }

    .team-image-wrapper {
        width: 100px !important;
        height: 100px !important;
    }

    .team-name {
        font-size: 1rem !important;
    }

    .team-role {
        font-size: 0.75rem !important;
    }

    .team-bio {
        font-size: 0.8rem !important;
    }

    /* Contact dropdown positioning */
    .contact-dropdown {
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 85vw !important;
    }
}

/* Extra small phones (320px - 360px) */
@media screen and (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .logo-text {
        font-size: 1.4rem !important;
    }

    .description-glass {
        padding: 0.8rem !important;
    }

    .hero-description {
        font-size: 0.85rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .stat-card {
        padding: var(--space-xs) !important;
    }
}

/* ========================================
   PROCESS SECTION MOBILE FIX
   ======================================== */
@media screen and (max-width: 600px) {
    .process-timeline {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .process-step {
        flex: 0 0 auto !important;
        min-width: unset !important;
        width: 100% !important;
        max-width: none !important;
    }
}