/* ============================================
   PLAYU INC. — MODERN ENTERPRISE DESIGN SYSTEM
   Refined, premium, cinematic fintech aesthetic
   ============================================ */

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

:root {
    /* Core palette — deep, sophisticated navy with electric accents */
    --ink: #050B18;
    --ink-2: #0A1224;
    --navy: #0A2540;
    --navy-light: #14345C;
    --navy-dark: #051526;

    /* Vibrant accents */
    --blue: #0057FF;
    --blue-light: #3B82F6;
    --blue-glow: #4F8BFF;
    --violet: #7C3AED;
    --violet-light: #A78BFA;
    --cyan: #06B6D4;
    --mint: #10D4A2;

    /* Neutrals */
    --white: #FFFFFF;
    --cream: #FBFAF7;
    --gray-50: #F7F9FC;
    --gray-100: #EEF2F7;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Composition tokens */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;

    --shadow-sm: 0 2px 8px rgba(5, 11, 24, 0.06);
    --shadow: 0 8px 24px rgba(5, 11, 24, 0.08);
    --shadow-md: 0 16px 40px rgba(5, 11, 24, 0.10);
    --shadow-lg: 0 24px 60px rgba(5, 11, 24, 0.14);
    --shadow-xl: 0 40px 100px rgba(5, 11, 24, 0.20);
    --shadow-glow: 0 24px 60px rgba(0, 87, 255, 0.28);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
    --grad-cool: linear-gradient(135deg, #0057FF 0%, #06B6D4 100%);
    --grad-warm: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --grad-hero: radial-gradient(1200px 600px at 20% -10%, rgba(0, 87, 255, 0.10), transparent 60%),
                 radial-gradient(900px 500px at 90% 20%, rgba(124, 58, 237, 0.10), transparent 60%),
                 radial-gradient(700px 400px at 60% 110%, rgba(6, 182, 212, 0.08), transparent 60%),
                 linear-gradient(180deg, #FBFAF7 0%, #FFFFFF 60%);
    --grad-dark: linear-gradient(135deg, #050B18 0%, #0A2540 55%, #14345C 100%);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(0, 87, 255, 0.16);
    color: var(--navy);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}

.section {
    padding: 140px 0;
    background: var(--white);
    position: relative;
}

/* ============================================
   NAVIGATION — Floating Glass Bar
   ============================================ */
.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 96px);
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 22px;
    z-index: 1000;
    transition: all 0.5s var(--ease);
    box-shadow: 0 4px 24px rgba(5, 11, 24, 0.05), 0 1px 2px rgba(5, 11, 24, 0.04);
}

.nav.scrolled {
    top: 14px;
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(10, 37, 64, 0.12);
    box-shadow: 0 12px 40px rgba(5, 11, 24, 0.10);
}

.nav .container,
.nav-container {
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
    letter-spacing: -0.03em;
    transition: opacity 0.3s var(--ease);
    position: relative;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--grad-primary);
    box-shadow: 0 6px 16px rgba(0, 87, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    transition: transform 0.4s var(--ease);
}

.logo:hover::before {
    transform: rotate(-8deg) scale(1.08);
}

.logo:hover {
    opacity: 0.85;
}

.logo-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.3s var(--ease);
    position: relative;
    padding: 8px 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn-contact,
.btn-nav {
    padding: 12px 24px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.20);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-contact:hover,
.btn-nav:hover {
    background: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 37, 64, 0.28);
}

.menu-btn,
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-btn span,
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ============================================
   HERO — Immersive Dark Cinematic Opening
   ============================================ */
.hero {
    padding: 220px 0 160px;
    background:
        radial-gradient(700px 500px at 15% 25%, rgba(0, 87, 255, 0.42) 0%, transparent 55%),
        radial-gradient(650px 500px at 85% 15%, rgba(124, 58, 237, 0.38) 0%, transparent 55%),
        radial-gradient(600px 400px at 50% 105%, rgba(6, 182, 212, 0.28) 0%, transparent 55%),
        var(--grad-dark);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    z-index: -1;
    animation: gridDrift 30s linear infinite;
    opacity: 0.7;
}

@keyframes gridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 56px 56px, 56px 56px; }
}

.hero::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 87, 255, 0.35) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    animation: pulseGlow 8s var(--ease-in-out) infinite;
    pointer-events: none;
}

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

/* Floating orbs behind hero content */
.hero-content {
    position: relative;
}

.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite;
}

.hero-content::before {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55) 0%, transparent 65%);
    top: -80px;
    left: -160px;
}

.hero-content::after {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 65%);
    bottom: -60px;
    right: -140px;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.12); }
    66% { transform: translate(-30px, 40px) scale(0.92); }
}

/* Hero content colors on dark bg */
.hero .hero-heading {
    color: var(--white);
}

.hero .hero-heading-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #A78BFA 55%, #4F8BFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .hero-description {
    color: rgba(255, 255, 255, 0.78);
}

.hero .hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero .hero-badge-dot {
    background: var(--mint);
    box-shadow: 0 0 14px var(--mint);
}

.hero .hero-badge-dot::before {
    border-color: var(--mint);
}

/* Buttons inverted for dark hero */
.hero .btn-primary {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hero .btn-primary::before {
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
}

.hero .btn-primary:hover {
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(255, 255, 255, 0.25);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-trust {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    max-width: 640px;
    margin: 0 auto;
}

.hero-trust .trust-text {
    color: rgba(255, 255, 255, 0.55);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
    animation: fadeInDown 0.9s var(--ease) 0.15s backwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 12px var(--blue);
}

.hero-badge-dot::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    opacity: 0.5;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% { transform: scale(0.75); opacity: 0.7; }
    80%, 100% { transform: scale(1.8); opacity: 0; }
}

.hero-heading {
    font-size: clamp(44px, 6.8vw, 84px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--navy);
    margin-bottom: 28px;
    letter-spacing: -0.045em;
    animation: fadeInUp 1s var(--ease) 0.3s backwards;
}

.hero-heading-gradient,
.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

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

.hero-description {
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
    color: var(--gray-600);
    margin: 0 auto 48px;
    max-width: 720px;
    animation: fadeInUp 1s var(--ease) 0.5s backwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
    animation: fadeInUp 1s var(--ease) 0.7s backwards;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS — Cinematic, tactile
   ============================================ */
.btn-primary,
.btn-primary-large,
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    box-shadow: 0 10px 30px rgba(10, 37, 64, 0.25);
    isolation: isolate;
}

.btn-primary::before,
.btn-primary-large::before,
.btn-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: -1;
}

.btn-primary:hover,
.btn-primary-large:hover,
.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 87, 255, 0.35);
}

.btn-primary:hover::before,
.btn-primary-large:hover::before,
.btn-cta-primary:hover::before {
    opacity: 1;
}

.btn-secondary,
.btn-secondary-large,
.btn-cta-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--navy);
    text-decoration: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1.5px solid var(--gray-200);
    cursor: pointer;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn-secondary:hover,
.btn-secondary-large:hover,
.btn-cta-secondary:hover,
.btn-outline:hover {
    border-color: var(--navy);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(10, 37, 64, 0.10);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: all 0.4s var(--ease);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   SECTION HEADERS — Consistent rhythm
   ============================================ */
.section-header {
    text-align: left;
    max-width: 720px;
    margin-bottom: 72px;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label,
.section-badge,
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.08), rgba(124, 58, 237, 0.08));
    color: var(--navy);
    border: 1px solid rgba(0, 87, 255, 0.15);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
}

.section-label::before,
.section-badge::before,
.page-badge-dot {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue);
    display: inline-block;
}

.page-badge-dot {
    margin-right: 4px;
}

.section-title,
.section-heading {
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.section-subtitle,
.section-description,
.section-lead {
    font-size: clamp(17px, 1.3vw, 20px);
    color: var(--gray-600);
    line-height: 1.65;
    max-width: 640px;
}

.section-header.centered .section-subtitle,
.section-header.centered .section-description {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FEATURED — Home features grid
   ============================================ */
.featured {
    padding: 140px 0;
    background:
        radial-gradient(600px 300px at 90% 10%, rgba(0, 87, 255, 0.04), transparent 60%),
        radial-gradient(500px 300px at 10% 90%, rgba(124, 58, 237, 0.04), transparent 60%),
        var(--white);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 80px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 24px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(5, 11, 24, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.05), rgba(124, 58, 237, 0.04));
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: -1;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 87, 255, 0.10), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    z-index: -1;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 87, 255, 0.35);
    box-shadow: 0 30px 60px rgba(0, 87, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-item:hover::before,
.feature-item:hover::after {
    opacity: 1;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-primary);
    border-radius: 16px;
    color: var(--white);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    box-shadow: 0 10px 24px rgba(0, 87, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.feature-item:hover .feature-icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 16px 32px rgba(0, 87, 255, 0.4);
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.feature-content p {
    font-size: 15.5px;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ============================================
   SOLUTIONS — Cards
   ============================================ */
.solutions {
    padding: 140px 0;
    background:
        radial-gradient(800px 400px at 15% 20%, rgba(0, 87, 255, 0.06), transparent 60%),
        radial-gradient(700px 400px at 85% 80%, rgba(124, 58, 237, 0.06), transparent 60%),
        linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 87, 255, 0.2), transparent);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px rgba(5, 11, 24, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 0 40px 80px rgba(5, 11, 24, 0.14);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.solution-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border-radius: 16px;
    color: var(--white);
    transition: transform 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
    box-shadow: 0 10px 24px rgba(10, 37, 64, 0.2);
}

.solution-card:hover .solution-icon {
    transform: rotate(-4deg) scale(1.1);
    background: var(--grad-primary);
    box-shadow: 0 16px 32px rgba(0, 87, 255, 0.35);
}

.solution-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.solution-card p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 15.5px;
    transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.solution-link:hover {
    gap: 14px;
    color: var(--violet);
}

/* ============================================
   STATS BANNER — Dark, glowing
   ============================================ */
.stats-banner {
    padding: 110px 0;
    background: var(--grad-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.28) 0%, transparent 60%);
    filter: blur(40px);
    z-index: -1;
    animation: float 12s ease-in-out infinite;
}

.stats-banner::after {
    content: '';
    position: absolute;
    bottom: -45%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.24) 0%, transparent 60%);
    filter: blur(40px);
    z-index: -1;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-40px) translateX(20px); }
    66% { transform: translateY(20px) translateX(-30px); }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-row .stat-item + .stat-item {
    border-left: none;
}

.stat-item {
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.stat-value {
    font-size: clamp(36px, 4.4vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.035em;
    background: linear-gradient(135deg, #FFFFFF 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    line-height: 1.5;
}

/* ============================================
   CTA — Statement moment
   ============================================ */
.cta,
.cta-modern {
    padding: 140px 0;
    background: var(--white);
}

.cta-modern {
    padding: 100px 0 140px;
}

.cta-content {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
    padding: 96px 64px;
    background: var(--grad-dark);
    border-radius: var(--radius-2xl);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 40px 100px rgba(10, 37, 64, 0.3);
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.35) 0%, transparent 65%);
    filter: blur(30px);
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

.cta-content::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.30) 0%, transparent 65%);
    filter: blur(30px);
    z-index: -1;
    animation: float 12s ease-in-out infinite reverse;
}

.cta-content h2,
.cta-title {
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: var(--white);
}

.cta-content p,
.cta-description {
    font-size: clamp(17px, 1.5vw, 20px);
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta .btn-primary,
.cta-modern .btn-primary-large {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary::before,
.cta-modern .btn-primary-large::before {
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
}

.cta .btn-primary:hover,
.cta-modern .btn-primary-large:hover {
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.cta .btn-secondary,
.cta-modern .btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta .btn-secondary:hover,
.cta-modern .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

/* ============================================
   PAGE HEADER — Immersive dark hero for sub-pages
   ============================================ */
.page-header {
    padding: 220px 0 130px;
    background:
        radial-gradient(700px 500px at 15% 25%, rgba(0, 87, 255, 0.42) 0%, transparent 55%),
        radial-gradient(650px 500px at 85% 15%, rgba(124, 58, 237, 0.38) 0%, transparent 55%),
        radial-gradient(600px 400px at 50% 110%, rgba(6, 182, 212, 0.28) 0%, transparent 55%),
        var(--grad-dark);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    color: var(--white);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
    z-index: -1;
    animation: gridDrift 30s linear infinite;
    opacity: 0.7;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 87, 255, 0.32) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    animation: pulseGlow 8s var(--ease-in-out) infinite;
    pointer-events: none;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header-content::before,
.page-header-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite;
}

.page-header-content::before {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55) 0%, transparent 65%);
    top: -60px;
    left: -140px;
}

.page-header-content::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 65%);
    bottom: -40px;
    right: -120px;
    animation-delay: -10s;
}

.page-heading,
.page-title {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.045em;
    line-height: 1.06;
    animation: fadeInUp 0.9s var(--ease) 0.2s backwards;
}

.page-description {
    font-size: clamp(17px, 1.5vw, 21px);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
    animation: fadeInUp 0.9s var(--ease) 0.4s backwards;
}

.page-header .page-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInDown 0.7s var(--ease) 0.1s backwards;
}

.page-header .page-badge::before,
.page-header .page-badge-dot {
    background: var(--mint);
    box-shadow: 0 0 12px var(--mint);
}

.page-header .gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #A78BFA 55%, #4F8BFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header .hero-heading-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #A78BFA 55%, #4F8BFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 100px 0 140px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.contact-intro {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(5, 11, 24, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.contact-method:hover {
    transform: translateX(6px);
    border-color: rgba(0, 87, 255, 0.4);
    box-shadow: 0 12px 28px rgba(0, 87, 255, 0.10);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-primary);
    border-radius: 12px;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 87, 255, 0.25);
}

.contact-method h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.contact-method a,
.contact-method p {
    font-size: 16px;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

.contact-method a:hover {
    color: var(--blue);
}

.contact-cta-box {
    padding: 32px;
    background: var(--grad-dark);
    border-radius: var(--radius-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.35), transparent 65%);
    filter: blur(20px);
    z-index: -1;
}

.contact-cta-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.contact-cta-box p {
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 24px;
}

.contact-cta-box .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    padding: 14px 28px;
    font-size: 15px;
}

.contact-cta-box .btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 60px rgba(5, 11, 24, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--navy);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    font-family: inherit;
}

.contact-form .btn-primary-large {
    margin-top: 12px;
    padding: 18px 32px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
}

/* ============================================
   FOOTER — Traditional (index, agentic-ai)
   ============================================ */
.footer {
    background: var(--ink);
    color: var(--white);
    padding: 96px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 87, 255, 0.4), rgba(124, 58, 237, 0.4), transparent);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 80px;
    margin-bottom: 72px;
}

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

.footer-logo {
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo::before {
    content: '';
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--grad-primary);
    box-shadow: 0 6px 16px rgba(0, 87, 255, 0.35);
}

.footer-brand p {
    font-size: 15.5px;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 22px;
    color: var(--white);
}

.footer-col a {
    display: block;
    padding: 8px 0;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s var(--ease);
}

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

/* ============================================
   FOOTER MODERN — About, contact, capabilities, services, solutions
   ============================================ */
.footer-modern {
    background: var(--ink);
    color: var(--white);
    padding: 96px 0 36px;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 87, 255, 0.4), rgba(124, 58, 237, 0.4), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 2.5fr;
    gap: 80px;
    padding-bottom: 64px;
}

.footer-modern .footer-brand {
    max-width: 320px;
}

.footer-modern .footer-logo {
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-modern .footer-logo::before {
    content: '';
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--grad-primary);
    box-shadow: 0 6px 16px rgba(0, 87, 255, 0.35);
}

.footer-tagline {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.65;
}

.footer-modern .footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column a {
    display: block;
    padding: 7px 0;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14.5px;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-modern .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-modern .footer-legal {
    display: flex;
    gap: 28px;
}

.footer-modern .footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s var(--ease);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.fade-in {
    animation: fadeInUp 0.9s var(--ease) backwards;
}

/* ============================================
   SCROLL-REVEAL — Fast, GPU-accelerated
   ============================================ */
.reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Feature and solution cards are revealed via JS scroll observer (see .reveal) */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav {
        width: calc(100% - 48px);
    }

    .solutions-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 32px 24px;
    }

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

    .footer-main,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 56px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        top: 12px;
        width: calc(100% - 24px);
        border-radius: 18px;
    }

    .nav .container,
    .nav-container {
        padding: 0 18px;
        height: 60px;
    }

    .nav-inner {
        height: 60px;
    }

    .logo {
        font-size: 17px;
    }

    .logo::before {
        width: 22px;
        height: 22px;
    }

    .btn-contact,
    .btn-nav {
        display: none;
    }

    .menu-btn,
    .mobile-toggle {
        display: flex;
    }

    /* HERO — Mobile */
    .hero {
        padding: 130px 0 80px;
    }

    .hero-heading {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 36px;
    }

    .hero-badge {
        font-size: 12.5px;
        padding: 8px 16px;
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto 48px;
        gap: 12px;
    }

    /* Contain the floating orbs so they don't cause horizontal overflow */
    .hero-content::before,
    .hero-content::after,
    .page-header-content::before,
    .page-header-content::after {
        width: 240px;
        height: 240px;
        filter: blur(40px);
    }

    .hero-content::before {
        left: -80px;
    }

    .hero-content::after {
        right: -60px;
    }

    /* BUTTONS — Mobile */
    .btn-primary,
    .btn-primary-large,
    .btn-secondary,
    .btn-secondary-large,
    .btn-outline,
    .btn-outline-light,
    .btn-cta-primary,
    .btn-cta-secondary {
        justify-content: center;
        padding: 15px 26px;
        font-size: 15px;
        width: 100%;
    }

    /* SECTIONS — Mobile */
    .featured,
    .solutions,
    .cta,
    .cta-modern,
    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 44px;
    }

    .section-title,
    .section-heading {
        font-size: 30px;
        line-height: 1.15;
    }

    .section-subtitle,
    .section-description,
    .section-lead {
        font-size: 16px;
    }

    .features,
    .solutions-grid {
        gap: 16px;
    }

    .feature-item {
        flex-direction: column;
        padding: 28px 24px;
        gap: 18px;
    }

    .feature-content h3 {
        font-size: 19px;
    }

    .feature-content p {
        font-size: 15px;
    }

    .solution-card {
        padding: 32px 24px;
    }

    .solution-card h3 {
        font-size: 22px;
    }

    .solution-card p {
        font-size: 15.5px;
    }

    /* STATS — Mobile */
    .stats-banner {
        padding: 72px 0;
    }

    .stats-row {
        gap: 14px;
    }

    .stat-item {
        padding: 28px 20px;
    }

    /* CTA — Mobile */
    .cta-content {
        padding: 48px 24px;
        border-radius: 24px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    /* PAGE HEADER — Mobile */
    .page-header {
        padding: 130px 0 60px;
    }

    .page-heading,
    .page-title {
        font-size: 36px;
    }

    .page-description {
        font-size: 16px;
    }

    /* CONTACT — Mobile */
    .contact-info h2 {
        font-size: 28px;
    }

    .contact-intro {
        font-size: 15.5px;
        margin-bottom: 28px;
    }

    .contact-method {
        padding: 16px;
        gap: 14px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    .contact-cta-box {
        padding: 24px;
    }

    .contact-form-container {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* FOOTER — Mobile accordion */
    .footer,
    .footer-modern {
        padding: 56px 0 24px;
    }

    .footer-links,
    .footer-modern .footer-links {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-col,
    .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-links > .footer-col:first-child,
    .footer-modern .footer-links > .footer-column:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-col > h4,
    .footer-column > h4 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        padding: 18px 0;
        margin-bottom: 0;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        letter-spacing: 0.14em;
        transition: color 0.25s var(--ease);
    }

    .footer-col > h4:hover,
    .footer-column > h4:hover {
        color: rgba(255, 255, 255, 0.85);
    }

    .footer-col > h4::after,
    .footer-column > h4::after {
        content: '';
        width: 8px;
        height: 8px;
        border-top: 2px solid rgba(255, 255, 255, 0.55);
        border-right: 2px solid rgba(255, 255, 255, 0.55);
        transform: rotate(45deg);
        transition: transform 0.35s var(--ease), border-color 0.25s var(--ease);
        flex-shrink: 0;
        margin-left: 12px;
        margin-right: 4px;
    }

    .footer-col.open > h4::after,
    .footer-column.open > h4::after {
        transform: rotate(135deg) translate(-2px, -2px);
        border-color: var(--white);
    }

    .footer-col > a,
    .footer-column > a {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0;
        margin: 0;
        transform: translateY(-4px);
        transition: max-height 0.4s var(--ease), opacity 0.25s ease-out, padding 0.4s var(--ease), transform 0.4s var(--ease);
    }

    .footer-col.open > a,
    .footer-column.open > a {
        max-height: 48px;
        opacity: 1;
        padding: 9px 0;
        transform: translateY(0);
    }

    .footer-col.open > a:last-child,
    .footer-column.open > a:last-child {
        padding-bottom: 18px;
    }

    .footer-col > a:hover,
    .footer-column > a:hover {
        transform: translate(4px, 0);
    }

    .footer-bottom,
    .footer-modern .footer-bottom {
        flex-direction: column;
        gap: 18px;
        text-align: center;
        padding-top: 28px;
    }

    .footer-legal,
    .footer-modern .footer-legal {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   SMALL SCREENS (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        top: 10px;
        width: calc(100% - 20px);
    }

    .nav .container,
    .nav-container {
        padding: 0 14px;
        height: 56px;
    }

    .nav-inner {
        height: 56px;
    }

    .hero {
        padding: 110px 0 64px;
    }

    .hero-heading {
        font-size: 32px;
        letter-spacing: -0.03em;
    }

    .hero-description {
        font-size: 15px;
    }

    .page-header {
        padding: 110px 0 48px;
    }

    .page-heading,
    .page-title {
        font-size: 30px;
    }

    .section-title,
    .section-heading {
        font-size: 26px;
    }

    .featured,
    .solutions,
    .cta,
    .cta-modern,
    .section,
    .stats-banner {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .feature-item,
    .solution-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .stat-value {
        font-size: 34px !important;
    }

    .stat-item {
        padding: 24px 18px;
    }

    .cta-content {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .cta-content h2,
    .cta-title {
        font-size: 26px;
    }

    .contact-form-container {
        padding: 24px 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 13px 16px;
        font-size: 14.5px;
    }

    .footer,
    .footer-modern {
        padding: 48px 0 20px;
    }

    .footer-col > h4,
    .footer-column > h4 {
        padding: 16px 0;
        font-size: 11.5px;
    }

    .footer-col.open > a,
    .footer-column.open > a {
        padding: 8px 0;
        font-size: 14px;
    }

    /* Smaller mobile menu links */
    .nav-menu.active {
        padding: 80px 18px max(20px, env(safe-area-inset-bottom));
        gap: 6px;
    }

    .nav-menu.active .nav-link {
        font-size: 16px;
        padding: 12px 18px;
        border-radius: 12px;
    }

    .nav-menu.active::after {
        padding: 13px 20px;
        font-size: 14.5px;
        margin-top: 10px;
        border-radius: 12px;
    }
}

/* ============================================
   MOBILE NAV — Full-screen glass drawer
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        z-index: 999;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 8px;
        padding: 88px 22px max(24px, env(safe-area-inset-bottom));
        background:
            radial-gradient(600px 400px at 15% 20%, rgba(0, 87, 255, 0.35), transparent 55%),
            radial-gradient(500px 400px at 85% 80%, rgba(124, 58, 237, 0.32), transparent 55%),
            rgba(5, 11, 24, 0.92);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        border: none;
        border-radius: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        animation: menuFadeIn 0.35s var(--ease);
    }

    .nav-menu.active .nav-link {
        color: var(--white);
        font-size: 18px;
        font-weight: 700;
        padding: 14px 20px;
        border-radius: 14px;
        width: 100%;
        text-align: left;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        letter-spacing: -0.02em;
        opacity: 0;
        transform: translateY(20px);
        animation: menuLinkIn 0.5s var(--ease) forwards;
        transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
        flex-shrink: 0;
    }

    .nav-menu.active .nav-link::after {
        display: none;
    }

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.08s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.22s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.29s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.36s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.43s; }

    .nav-menu.active .nav-link:hover,
    .nav-menu.active .nav-link:active {
        background: rgba(255, 255, 255, 0.10);
        border-color: rgba(255, 255, 255, 0.20);
    }

    .nav-menu.active .nav-link.active {
        background: linear-gradient(135deg, rgba(0, 87, 255, 0.25), rgba(124, 58, 237, 0.20));
        border-color: rgba(79, 139, 255, 0.4);
        color: var(--white);
    }

    /* CTA button injected into mobile menu */
    .nav-menu.active::after {
        content: 'Contact Sales';
        display: block;
        padding: 15px 22px;
        background: var(--white);
        color: var(--navy);
        border-radius: 14px;
        font-size: 15px;
        font-weight: 700;
        text-align: center;
        margin-top: 12px;
        box-shadow: 0 12px 32px rgba(0, 87, 255, 0.25);
        opacity: 0;
        transform: translateY(20px);
        animation: menuLinkIn 0.5s var(--ease) 0.5s forwards;
        letter-spacing: -0.01em;
        flex-shrink: 0;
    }

    /* Hamburger to X animation */
    .menu-btn,
    .mobile-toggle {
        z-index: 1001;
        position: relative;
    }

    .menu-btn.active span,
    .mobile-toggle.active span {
        background: var(--white);
    }

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

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

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

    /* When mobile menu is open, keep nav bar transparent on top */
    body:has(.nav-menu.active) {
        overflow: hidden;
    }
}

@keyframes menuFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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