/* ==========================================================================
   Minutes Network - Global Design System
   Brand Colors derived from minutesnetwork.io
   Deep navy/purple (#180c70) + Light blue (#80BAE8) + White
   ========================================================================== */

/* Prevent horizontal overflow on all devices */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors - White Theme */
    --mn-deep-navy: #ffffff;
    --mn-navy: #f8fafc;
    --mn-slate: #f1f5f9;
    --mn-card: #ffffff;
    --mn-purple: #180c70;
    --mn-blue: #2563eb;
    --mn-cyan: #0ea5e9;
    --mn-white: #0f172a;
    --mn-light: #334155;
    --mn-muted: #64748b;
    --mn-dim: #94a3b8;

    /* Gradients - Light Theme */
    --mn-gradient: linear-gradient(135deg, #180c70 0%, #80BAE8 100%);
    --mn-gradient-h: linear-gradient(90deg, #180c70 0%, #80BAE8 100%);
    --mn-gradient-subtle: linear-gradient(135deg, rgba(24,12,112,0.05) 0%, rgba(128,186,232,0.03) 100%);
    --mn-gradient-glow: radial-gradient(ellipse at center, rgba(128,186,232,0.06) 0%, transparent 70%);
    --mn-gradient-dark: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --mn-gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --max-width: 1280px;
    --max-width-wide: 1440px;
    --nav-height: 80px;

    /* Borders & Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --border-subtle: 1px solid rgba(0,0,0,0.08);
    --border-accent: 1px solid rgba(24,12,112,0.15);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
    --shadow-glow: 0 4px 30px rgba(24,12,112,0.08);
    --shadow-glow-strong: 0 8px 40px rgba(24,12,112,0.12);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 600ms;
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--mn-deep-navy);
    color: var(--mn-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    color: var(--mn-blue);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
    color: var(--mn-cyan);
}

ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--mn-white);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1.0625rem;
    color: var(--mn-muted);
    max-width: 65ch;
}

/* Remove max-width constraint on paragraphs inside cards */
.card p,
.card-wide p,
.card-full p,
.card-feature p,
.card-glow p,
.accordion-body-inner p,
table p {
    max-width: none;
}

.text-gradient {
    background: var(--mn-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 40px rgba(128,186,232,0.4);
}

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.5rem; }
.text-white { color: var(--mn-white); }
.text-muted { color: var(--mn-muted); }
.text-blue { color: var(--mn-blue); }

/* ---------- Layout Containers ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-sm {
    padding: var(--space-xl) 0;
}

.section-dark {
    background: var(--mn-navy);
}

.section-gradient {
    background: var(--mn-gradient-dark);
}

/* ---------- Grid System ---------- */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Varied Box Layout (orange.fr-style) ---------- */

/* Wide card: used in 2-col rows for more visual weight */
.card-wide {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding: 0;
    height: 100%;
}

.card-wide .card-wide-content {
    padding: var(--space-md) var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto 1fr;
    column-gap: var(--space-md);
    row-gap: 0;
    flex: 1;
}

/* Card-wide without icon: when h3 is first child, switch to simple flex */
.card-wide .card-wide-content > h3:first-child {
    grid-column: 1 / -1;
}

.card-wide .card-wide-content > h3:first-child ~ p {
    grid-column: 1 / -1;
}

.card-wide .card-wide-content > h3:first-child ~ .card-link {
    grid-column: 1 / -1;
}

.card-wide .card-wide-content .card-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    transform: translateY(6px);
}

.card-wide .card-wide-content h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: end;
    line-height: 1.3;
}

.card-wide .card-wide-content p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    align-self: start;
}

.card-wide .card-wide-content .card-link {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    margin-top: var(--space-sm);
}

.card-wide .card-wide-visual {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-wide .card-wide-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.6) 0%, transparent 40%);
}

.card-wide h3 {
    font-size: 1.375rem;
}

/* Full-width featured card: spans entire row */
.card-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.card-full .card-full-content {
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-full .card-full-visual {
    min-height: 280px;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-full .card-full-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, transparent 30%);
}

.card-full h3 {
    font-size: 1.5rem;
}

/* Responsive: stack wide/full cards on mobile */
@media (max-width: 768px) {
    .card-wide,
    .card-full {
        grid-template-columns: 1fr;
    }

    .card-wide .card-wide-visual,
    .card-full .card-full-visual {
        min-height: 180px;
        order: -1;
    }

    .card-wide .card-wide-visual::after,
    .card-full .card-full-visual::after {
        background: linear-gradient(180deg, transparent 60%, rgba(255,255,255,0.8) 100%);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* ---------- Dark Zone Overrides (Hero, Nav, Footer, Page Heroes) ---------- */
/* These sections keep the dark brand aesthetic while the rest is white */
/* Dark zones: hero, nav (initial), footer, globe */
.hero,
.nav,
.footer,
.globe-section {
    --mn-white: #ffffff;
    --mn-light: #e2e8f0;
    --mn-muted: #94a3b8;
    --mn-dim: #64748b;
    --mn-card: #1e2444;
    --mn-slate: #1a1f36;
    --border-subtle: 1px solid rgba(128,186,232,0.1);
    --shadow-glow: 0 0 40px rgba(128,186,232,0.2);
    --mn-gradient-card: linear-gradient(145deg, #1e2444 0%, #151a30 100%);
    --mn-gradient-subtle: linear-gradient(135deg, rgba(24,12,112,0.3) 0%, rgba(128,186,232,0.1) 100%);
}

.hero {
    background: #0a0e1a;
}

.nav.scrolled {
    background: rgba(255, 255, 255, var(--nav-bg-opacity, 0.82));
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(0, 0, 0, calc(var(--nav-bg-opacity, 0.82) * 0.07));
    box-shadow:
        0 4px 24px rgba(0, 0, 0, calc(var(--nav-bg-opacity, 0.82) * 0.05)),
        0 1px 3px rgba(0, 0, 0, calc(var(--nav-bg-opacity, 0.82) * 0.02));
    --mn-white: #0f172a;
    --mn-light: #334155;
    --mn-muted: #64748b;
}

.footer {
    background: #0a0e1a !important;
    border-top: 1px solid rgba(128,186,232,0.1);
}

.footer h5 { color: #e2e8f0 !important; }
.footer p { color: #94a3b8 !important; }
.footer a { color: #64748b !important; }
.footer a:hover { color: #80BAE8 !important; }
.footer-brand p { color: #94a3b8 !important; }
.footer-bottom p { color: #64748b !important; }
.footer-bottom-links a { color: #64748b !important; }
.footer-social a { color: #94a3b8 !important; background: rgba(128,186,232,0.12) !important; border: 1px solid rgba(128,186,232,0.1); }
.footer-social a:hover { color: #80BAE8 !important; background: rgba(128,186,232,0.2) !important; border-color: rgba(128,186,232,0.25); }
.footer-bottom { border-top-color: rgba(128,186,232,0.1) !important; }

/* Page hero - dark immersive style with prominent background imagery */
.page-hero {
    background: #0c0a2e;
}

.page-hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero p {
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.page-hero .page-hero-badge,
.page-hero .overline {
    color: #80BAE8;
}

/* Page hero image - full vibrance, no desaturation */
.page-hero-img {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    animation: hero-bg-float 20s ease-in-out infinite, hero-shimmer 8s ease-in-out infinite alternate;
}

/* Gradient overlay - minimal, just enough for text readability at bottom */
.page-hero::before {
    background:
        linear-gradient(180deg, rgba(12,10,46,0.2) 0%, rgba(12,10,46,0.15) 40%, rgba(12,10,46,0.7) 100%) !important;
    opacity: 1 !important;
}

/* Animated glow pulse behind hero content */
.page-hero .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08) 0%, rgba(128, 186, 232, 0.03) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: hero-glow-pulse 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes hero-shimmer {
    0% { filter: brightness(1) saturate(1); }
    100% { filter: brightness(1.08) saturate(1.15); }
}

@keyframes hero-glow-pulse {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Text gradient override for dark hero - bright luminous gradient */
.page-hero .text-gradient {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
    color: #ffffff !important;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
}

/* Stats inside page hero - override for dark background */
.page-hero .stats-grid {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 100%;
}

.page-hero .stat-value {
    background: linear-gradient(90deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.page-hero .stat-label {
    color: #cbd5e1;
    white-space: nowrap;
}

/* Page hero grid overlay - subtle on dark */
.page-hero::after {
    background-image:
        linear-gradient(rgba(128,186,232,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128,186,232,0.04) 1px, transparent 1px);
}

/* Globe section stays dark */
.globe-section {
    background: #0a0e1a;
    color: #e2e8f0;
}

.globe-section h2 {
    color: #ffffff;
}

.globe-section p {
    color: #94a3b8;
}

.globe-section .feature-list-item {
    color: #e2e8f0;
}

.globe-section .feature-list-icon {
    background: linear-gradient(135deg, rgba(24,12,112,0.4), rgba(128,186,232,0.15)) !important;
    border: 1px solid rgba(128,186,232,0.2) !important;
    color: #00d4ff !important;
}

.globe-section .overline,
.globe-section span[style*="color:"] {
    color: #80BAE8 !important;
}

/* Card styling on white background */
.card {
    box-shadow: var(--shadow-sm);
}

.card:hover {
    box-shadow: var(--shadow-glow);
}

/* Card icon adjustments for white theme */

/* CTA section on white */
.cta-section {
    background: linear-gradient(135deg, rgba(24,12,112,0.04) 0%, rgba(128,186,232,0.03) 100%);
    border: 1px solid rgba(24,12,112,0.06);
}

.cta-section h2 {
    color: #0f172a;
}

.cta-section p {
    color: #64748b;
}

/* Stats section on white */
.stats-grid {
    background: linear-gradient(135deg, rgba(24,12,112,0.04) 0%, rgba(128,186,232,0.02) 100%);
    border: 1px solid rgba(0,0,0,0.06);
}

/* Feature visual on white - needs border definition */
.feature-visual {
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* Form inputs on white background */
.form-input,
.form-select,
.form-textarea {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-select {
    color: #0f172a;
}

.form-label {
    color: #334155;
}

.form-checkbox {
    color: #64748b;
}

/* Text gradient uses original brand colors regardless of theme */
.text-gradient,
.text-gradient-animated {
    --mn-blue: #80BAE8;
}

/* Feature list icons on white - already defined in base styles */

/* Card styling - more defined borders on white */
.card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 8px 30px rgba(24,12,112,0.08);
}

.card-glow:hover {
    border-top-color: #2563eb;
}

/* Card link color on white */
.card-link {
    color: #2563eb;
}
.card-link:hover {
    color: #1d4ed8;
}

/* Overline text on white */
.overline,
.feature-content .overline,
.section-header .overline {
    color: #2563eb;
}

.section-header .overline::before,
.section-header .overline::after {
    background: #2563eb;
}

/* Badge styling - elegant frosted glass pills */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.1rem;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    position: relative;
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all var(--duration-normal) var(--ease-out);
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
}

.badge-blue {
    background: linear-gradient(135deg, rgba(219,234,254,0.8), rgba(191,219,254,0.6));
    color: #1e40af;
}

.badge-blue::before {
    background: #3b82f6;
    box-shadow: 0 0 6px rgba(59,130,246,0.5);
}

.badge-purple {
    background: linear-gradient(135deg, rgba(237,233,254,0.8), rgba(221,214,254,0.6));
    color: #5b21b6;
}

.badge-purple::before {
    background: #8b5cf6;
    box-shadow: 0 0 6px rgba(139,92,246,0.5);
}

.badge-green {
    background: linear-gradient(135deg, rgba(209,250,229,0.8), rgba(167,243,208,0.6));
    color: #065f46;
}

.badge-green::before {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16,185,129,0.5);
}

/* Hero badge on white content (page heroes stay dark so this is fine) */
.page-hero-badge {
    color: #80BAE8;
}

/* ===== Stripe-style Morph Panel ===== */
.morph-panel {
    position: fixed;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transform-origin: top center;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

.morph-panel.morph-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Smooth morph between panel sizes */
.morph-panel.morph-morphing {
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The glass background shape */
.morph-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.10),
        0 8px 24px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Small arrow pointing to trigger */
.morph-arrow {
    position: absolute;
    top: -6px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
    border-right: none;
    border-radius: 3px 0 0 0;
    transform: rotate(45deg);
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.02);
}

/* Content panels */
.morph-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 20px 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    display: none;
    z-index: 2;
}

.morph-content.morph-active {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

/* Background fills the panel */
.morph-bg {
    width: 100% !important;
    height: 100% !important;
}

/* Grid layouts */
.morph-grid {
    display: grid;
    gap: 2px;
}
.morph-grid-2 { grid-template-columns: 1fr 1fr; min-width: 640px; }
.morph-grid-1 { grid-template-columns: 1fr; min-width: 320px; }

/* Individual items */
.morph-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.18s ease, transform 0.18s ease;
    position: relative;
}

.morph-item:hover {
    background: rgba(0, 0, 0, 0.035);
    transform: translateX(3px);
}

.morph-item h4,
.morph-item .morph-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px;
    transition: color 0.18s ease;
}

.morph-item p {
    font-size: 0.79rem;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

.morph-item:hover h4,
.morph-item:hover .morph-item-title {
    color: #2563eb;
}

/* Icon thumbnails */
.morph-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(24, 12, 112, 0.06);
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.morph-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.morph-item:hover .morph-icon {
    transform: scale(1.1);
    background: rgba(24, 12, 112, 0.1);
}

/* Active trigger highlight */
.morph-trigger-active > .nav-link {
    color: var(--mn-white) !important;
}

/* Hide old mega-menu system since morph panel replaces it */
.nav-mega-menu { display: none !important; }

/* Mega menu - light frosted glass panel */
.nav-mega-menu {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
}

.nav-mega-item:hover {
    background: rgba(0, 0, 0, 0.03) !important;
}

.nav-mega-text h4 {
    color: #0f172a !important;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 3px;
    transition: color 0.2s ease;
}

.nav-mega-text p {
    color: #64748b !important;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.nav-mega-item {
    color: #0f172a !important;
    text-decoration: none !important;
}

.nav-mega-item:hover .nav-mega-text h4 {
    color: #2563eb !important;
}

.nav-mega-item::before {
    background: linear-gradient(180deg, #180c70, #2563eb);
}

/* Accordion - polished FAQ styling */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md) !important;
    margin-bottom: var(--space-md) !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow var(--duration-normal);
}

.accordion-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.accordion-item.open {
    border-color: #c7d2fe;
    box-shadow: 0 4px 16px rgba(37,99,235,0.06);
}

.accordion-header {
    color: #0f172a !important;
    background: #ffffff !important;
    padding: var(--space-lg) var(--space-xl) !important;
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    border: none !important;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-item.open .accordion-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.accordion-header:hover {
    background: #f8fafc !important;
}

.accordion-icon {
    color: #2563eb !important;
    font-size: 1.25rem;
    font-weight: 400;
    transition: transform var(--duration-fast) var(--ease-out);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.accordion-body-inner {
    padding: var(--space-lg) var(--space-xl) var(--space-xl) !important;
}

.accordion-body-inner p {
    font-size: 0.9375rem !important;
    line-height: 1.8 !important;
    color: #475569 !important;
}

/* Table styling on white */
thead {
    background: #f8fafc;
}

th {
    color: #64748b;
    border-bottom-color: #e2e8f0;
}

td {
    color: #334155;
    border-bottom-color: #f1f5f9;
}

/* Toast on white */
.toast {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Cookie banner - polished dark frosted glass */
.cookie-banner {
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(24px) saturate(1.3) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.3) !important;
    border-top: none !important;
    border: 1px solid rgba(128,186,232,0.12) !important;
    border-radius: 18px !important;
    padding: var(--space-md) var(--space-xl) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    max-width: 680px;
    width: calc(100% - 2rem);
    bottom: var(--space-xl) !important;
}

.cookie-banner p {
    color: #cbd5e1 !important;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.cookie-banner-inner {
    gap: var(--space-lg);
}

.cookie-banner-actions {
    gap: var(--space-sm) !important;
}

.cookie-banner-actions .btn-primary {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.8125rem !important;
    border-radius: 0 !important;
}

.cookie-banner-actions .btn-ghost {
    color: #94a3b8 !important;
    font-size: 0.8125rem !important;
    padding: 0.6rem 1rem !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 0 !important;
    transition: all var(--duration-fast) !important;
}

.cookie-banner-actions .btn-ghost:hover {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.06) !important;
}

/* Back to top button */
.back-to-top {
    box-shadow: 0 4px 16px rgba(24,12,112,0.2);
}

/* Scroll progress bar */
.scroll-progress {
    background: linear-gradient(90deg, #180c70, #2563eb, #80BAE8);
}

/* Brand text selection */
::selection {
    background: rgba(24,12,112,0.15);
    color: #0f172a;
}

::-moz-selection {
    background: rgba(24,12,112,0.15);
    color: #0f172a;
}

/* Pricing cards on white */
.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.pricing-card.featured {
    border-color: #2563eb;
}

/* Team card borders on white */
.team-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.team-card:hover {
    box-shadow: 0 8px 30px rgba(24,12,112,0.06);
    border-color: #c7d2fe;
}

.team-card-info .role {
    color: #2563eb;
}

/* Timeline on white */
.timeline::before {
    opacity: 0.5;
}

.timeline-item::before {
    background: #2563eb;
    box-shadow: 0 0 12px rgba(37,99,235,0.3);
}

/* Dividers on white */
.divider {
    background: #e2e8f0;
}

/* Section-dark label text on white theme gray bg */
.section-dark p {
    color: #64748b !important;
}

.section-dark h2,
.section-dark h3 {
    color: #0f172a !important;
}

.section-dark .overline {
    color: #2563eb !important;
}

.section-dark .card h3 {
    color: #0f172a !important;
}

.section-dark .card p {
    color: #64748b !important;
}

/* Globe section overrides section-dark since it has a dark bg */
.globe-section.section-dark h2 { color: #ffffff !important; }
.globe-section.section-dark h3 { color: #ffffff !important; }
.globe-section.section-dark p { color: #94a3b8 !important; }
.globe-section.section-dark { background: #0a0e1a !important; }
.globe-section .feature-list-item { color: #e2e8f0 !important; }
.globe-section .feature-list-item span { color: #e2e8f0 !important; }
.globe-section .feature-list-icon {
    background: linear-gradient(135deg, rgba(24,12,112,0.4), rgba(128,186,232,0.15)) !important;
    border: 1px solid rgba(128,186,232,0.2) !important;
    color: #00d4ff !important;
}

/* Stat values - solid brand blue */
.stat-value {
    color: #2563eb;
}

/* Section-dark on white theme = light gray */
.section-dark {
    background: #f8fafc;
}

/* Hero badge on white pages */
.hero-badge {
    background: rgba(128,186,232,0.08);
    border-color: rgba(128,186,232,0.2);
}

/* Page hero grid pattern for white theme */
.page-hero::after {
    background-image:
        linear-gradient(rgba(128,186,232,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128,186,232,0.05) 1px, transparent 1px);
}

/* Accordion on white theme */
.accordion-header {
    background: rgba(0,0,0,0.02);
}

.accordion-header:hover {
    background: rgba(0,0,0,0.04);
}

/* Code blocks - polished dark terminal style that works on white */
.code-block {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    color: #80BAE8;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.8;
    padding: calc(var(--space-lg) + 28px) var(--space-xl) var(--space-lg);
    width: 100%;
    overflow-x: auto;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.code-block .comment { color: #475569; }
.code-block .keyword { color: #c084fc; }
.code-block .string { color: #34d399; }
.code-block .function { color: #60a5fa; }

/* Terminal header bar */
.code-block::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 18px 0 0 #eab308, 36px 0 0 #22c55e;
}

/* Make code blocks fill their feature-visual parent */
.feature-visual .code-block {
    width: 92%;
    max-height: 85%;
    margin: auto;
}

/* Team cards on white */
.team-card-img {
    background: #eef2ff !important;
}

.team-card-img span {
    color: #6366f1 !important;
    font-weight: 700;
}

/* Noise overlay - disabled on white */
body::after {
    display: none;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 var(--space-xl);
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

/* Logo swap: white visible by default, dark hidden */
.nav-logo-white { display: block; transition: opacity 0.4s ease; }
.nav-logo-dark { display: none; transition: opacity 0.4s ease; }

.nav.scrolled {
    background: rgba(255, 255, 255, var(--nav-bg-opacity, 0.82));
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(0, 0, 0, calc(var(--nav-bg-opacity, 0.82) * 0.07));
    box-shadow:
        0 4px 24px rgba(0, 0, 0, calc(var(--nav-bg-opacity, 0.82) * 0.05)),
        0 1px 3px rgba(0, 0, 0, calc(var(--nav-bg-opacity, 0.82) * 0.02));
    --mn-white: #0f172a;
    --mn-light: #334155;
    --mn-muted: #64748b;
}

/* Swap to dark logo on scroll over white content */
.nav.scrolled .nav-logo-white { display: none; }
.nav.scrolled .nav-logo-dark { display: block; }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-links a,
.nav-dropdown > .nav-link {
    color: var(--mn-light);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-links a:hover,
.nav-dropdown:hover > .nav-link {
    color: var(--mn-white);
    background: rgba(128,186,232,0.08);
}

.nav.scrolled .nav-links a,
.nav.scrolled .nav-dropdown > .nav-link {
    color: #475569;
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-dropdown:hover > .nav-link {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}

.nav-links a.active {
    color: var(--mn-blue);
}

/* Dropdown Menus */
.nav-dropdown {
    position: relative;
}

/* Bridge the gap between trigger and menu so hover isn't lost */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
    pointer-events: none;
}
.nav-dropdown:hover::after {
    pointer-events: auto;
}

.nav-dropdown-arrow {
    font-size: 0.6rem;
    transform: rotate(180deg);
    transition: transform var(--duration-fast) var(--ease-out);
}

.nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(0deg);
}

.nav-mega-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.97);
    transform-origin: top center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 20px;
    min-width: 720px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.nav-dropdown:hover .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: all;
}

.nav-mega-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: 10px 12px;
    border-radius: 12px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    position: relative;
}

.nav-mega-item:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateX(2px);
}

.nav-mega-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    overflow: hidden;
}

.nav-mega-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.nav-mega-item:hover .nav-mega-icon {
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
    transform: scale(1.05);
}

/* SVG line icons for glass mega-menu */
.nav-mega-icon--svg {
    color: #80BAE8;
    background: rgba(128, 186, 232, 0.08);
    border-color: rgba(128, 186, 232, 0.15);
}

.nav-mega-item:hover .nav-mega-icon--svg {
    color: #ffffff;
    background: rgba(128, 186, 232, 0.15);
    border-color: rgba(128, 186, 232, 0.3);
    box-shadow: 0 0 12px rgba(128, 186, 232, 0.2);
}

.nav-mega-text h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.nav-mega-text p {
    font-size: 0.8125rem;
    color: var(--mn-dim);
    line-height: 1.4;
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--mn-white);
    border-radius: 2px;
    transition: all var(--duration-fast) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-cta {
    margin-left: var(--space-sm);
}

/* Hidden by default - only shown on mobile via media query */
.mobile-dropdown {
    display: none;
}

@media (max-width: 1100px) {
    .nav-toggle { display: flex; }

    /* Hide the morph panel entirely on mobile */
    .morph-panel { display: none !important; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg) var(--space-xl);
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--duration-normal) var(--ease-out);
        overflow-y: auto;
        z-index: 9999;
    }
    .nav-links.open { transform: translateX(0); }

    /* Dark text on white mobile nav background */
    .nav-links a,
    .nav-dropdown > .nav-link {
        color: #0f172a !important;
        font-size: 1.0625rem !important;
        font-weight: 600 !important;
        padding: 0.875rem 0 !important;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0 !important;
        background: none !important;
    }

    .nav-links a:hover,
    .nav-dropdown:hover > .nav-link {
        color: #2563eb !important;
        background: none !important;
    }

    .nav-dropdown-arrow {
        color: #94a3b8 !important;
        font-size: 0.5rem !important;
        transition: transform 0.3s;
    }

    .nav-dropdown.open .nav-dropdown-arrow {
        transform: rotate(180deg) !important;
    }

    /* Mobile dropdown content from morph panel */
    .mobile-dropdown {
        display: none;
        padding: var(--space-sm) 0 var(--space-md);
    }

    .nav-dropdown.open .mobile-dropdown {
        display: block;
    }

    .mobile-dropdown a {
        display: flex !important;
        align-items: center;
        gap: var(--space-sm);
        padding: 0.625rem var(--space-md) !important;
        color: #475569 !important;
        font-size: 0.9375rem !important;
        font-weight: 500 !important;
        border-bottom: none !important;
        border-radius: var(--radius-sm) !important;
        text-decoration: none;
    }

    .mobile-dropdown a:hover {
        background: #f1f5f9 !important;
        color: #2563eb !important;
    }

    .mobile-dropdown .mobile-dd-icon {
        width: 32px;
        height: 32px;
        border-radius: var(--radius-sm);
        object-fit: cover;
        flex-shrink: 0;
    }

    .mobile-dropdown .mobile-dd-title {
        font-weight: 600;
        color: #0f172a;
        font-size: 0.875rem;
    }

    .mobile-dropdown .mobile-dd-desc {
        font-size: 0.75rem;
        color: #64748b;
        margin-top: 1px;
    }

    .nav-mega-menu {
        display: none !important;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-lg);
        text-align: center;
        border-bottom: none !important;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

/* Animated progress bar on bottom edge of all buttons */
.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(128,186,232,0.8), rgba(255,255,255,0.6));
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::after {
    width: 100%;
}

.btn-secondary::after {
    background: linear-gradient(90deg, rgba(24,12,112,0.2), rgba(37,99,235,0.5), rgba(24,12,112,0.2));
}

.btn-primary {
    background: linear-gradient(135deg, #180c70 0%, #2563eb 50%, #80BAE8 100%);
    background-size: 200% 200%;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(24, 12, 112, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(24, 12, 112, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    background-position: 100% 0;
    color: #ffffff !important;
}

/* btn-primary hover shine handled by background-position shift */

.btn-secondary {
    background: #ffffff;
    color: #180c70;
    border: 1.5px solid #c7d2fe;
    box-shadow: 0 1px 4px rgba(24,12,112,0.06);
}

.btn-secondary:hover {
    background: #f0f0ff;
    border-color: #818cf8;
    color: #180c70;
    box-shadow: 0 4px 16px rgba(24,12,112,0.10);
}

/* Secondary button in dark zones (home hero, footer, globe only) */
.hero .btn-secondary,
.footer .btn-secondary,
.globe-section .btn-secondary {
    color: #ffffff;
    border-color: rgba(128,186,232,0.3);
}

.hero .btn-secondary:hover,
.footer .btn-secondary:hover,
.globe-section .btn-secondary:hover {
    background: rgba(128,186,232,0.08);
    border-color: rgba(128,186,232,0.5);
    color: #ffffff;
}

.btn-ghost {
    background: transparent;
    color: var(--mn-blue);
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    background: rgba(128,186,232,0.08);
    color: var(--mn-cyan);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-icon {
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    transition: transform var(--duration-fast) var(--ease-out);
    line-height: 1;
}

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

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Waves Hero Layout ---------- */
.hero-waves-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-waves-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 115%;
    min-height: 115%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    animation: hero-waves-drift 25s ease-in-out infinite alternate;
}

@keyframes hero-waves-drift {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-48%, -51%) scale(1.06); }
    100% { transform: translate(-52%, -49%) scale(1.03); }
}

.hero-waves-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 70% 50%, transparent 30%, rgba(6,10,24,0.4) 70%),
                linear-gradient(90deg, rgba(6,10,24,0.7) 0%, rgba(6,10,24,0.2) 50%, transparent 100%);
    pointer-events: none;
}

.hero-waves-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - var(--nav-height));
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
}

.hero-waves-content h1 {
    font-size: clamp(1.75rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    margin-bottom: var(--space-lg);
    max-width: 100%;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6), 0 4px 60px rgba(0,0,0,0.3);
    animation: hero-text-up 1s var(--ease-out) 0.2s both;
}

.hero-waves-content h1 .text-gradient-animated {
    -webkit-text-fill-color: transparent;
}

.hero-waves-content p {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    font-weight: 500;
    color: #ffffff !important;
    -webkit-text-fill-color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto var(--space-2xl);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    animation: hero-text-up 1s var(--ease-out) 0.4s both;
}

.hero-waves-content .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: hero-text-up 1s var(--ease-out) 0.6s both;
}

@media (max-width: 768px) {
    .hero-waves-content .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-waves-content .hero-actions .btn {
        width: 100%;
    }
}

/* ---------- Globe Hero Layout ---------- */
.hero-globe-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--nav-height));
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-3xl);
}

.hero-globe-text {
    max-width: 550px;
    padding: var(--space-4xl) 0;
    flex-shrink: 0;
}

.hero-globe-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 80px rgba(128,186,232,0.15);
    animation: hero-text-up 1s var(--ease-out) 0.2s both;
}

.hero-globe-text h1 .text-gradient-animated {
    -webkit-text-fill-color: transparent;
}

.hero-globe-text p {
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
    color: #ffffff !important;
    -webkit-text-fill-color: #e2e8f0;
    max-width: 500px;
    margin-bottom: var(--space-2xl);
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    animation: hero-text-up 1s var(--ease-out) 0.4s both;
}

.hero-globe-text .hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: hero-text-up 1s var(--ease-out) 0.6s both;
}

/* Hero secondary button - high visibility on dark */
.hero-btn-secondary {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1.5px solid rgba(255,255,255,0.65) !important;
    background: rgba(255,255,255,0.14) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.24) !important;
    border-color: rgba(255,255,255,0.85) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}

@media (max-width: 1024px) {
    .hero-globe-content {
        justify-content: center;
        text-align: center;
        padding: 0 var(--space-xl);
    }
    .hero-globe-text {
        max-width: 100%;
    }
    .hero-globe-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-globe-text .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-globe-text .hero-actions {
        flex-direction: column;
    }
    .hero-globe-text .hero-actions .btn {
        width: 100%;
    }
}

/* ---------- Cinematic Hero Background ---------- */
.hero-cinema-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-cinema-img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 110%;
    min-height: 110%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    animation: hero-ken-burns 30s ease-in-out infinite alternate;
}

@keyframes hero-ken-burns {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    33% {
        transform: translate(-48%, -52%) scale(1.08);
    }
    66% {
        transform: translate(-52%, -48%) scale(1.05);
    }
    100% {
        transform: translate(-49%, -51%) scale(1.12);
    }
}

/* old ken-burns removed - see definition above */

.hero-cinema-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(10,14,26,0.5) 0%, rgba(10,14,26,0.3) 30%, rgba(10,14,26,0.55) 70%, rgba(10,14,26,0.7) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(10,14,26,0.3) 0%, transparent 60%);
    pointer-events: none;
}

.hero-cinema-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - var(--nav-height));
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
}

.hero-cinema-content h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 900px;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
    animation: hero-text-up 1s var(--ease-out) 0.2s both;
}

.hero-cinema-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
    color: rgba(255,255,255,0.95) !important;
    max-width: 620px;
    margin-bottom: var(--space-2xl);
    text-shadow: 0 0 20px rgba(0,0,0,0.9), 0 0 60px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.8);
    animation: hero-text-up 1s var(--ease-out) 0.4s both;
    -webkit-text-fill-color: rgba(255,255,255,0.95);
}

.hero-cinema-content .hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: hero-text-up 1s var(--ease-out) 0.6s both;
}

/* Ensure buttons in cinema hero are visible on dark bg */
.hero-cinema-content .btn-secondary {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.08) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    backdrop-filter: blur(8px);
}

.hero-cinema-content .btn-secondary:hover {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.6) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}

/* Canvas sits between image and overlay for subtle particle shimmer */
.hero .hero-bg {
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hero-cinema-content {
        padding: var(--space-xl) var(--space-md);
    }
    .hero-cinema-content .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-cinema-content .hero-actions .btn {
        width: 100%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 40%, rgba(24,12,112,0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 60%, rgba(128,186,232,0.08) 0%, transparent 45%),
        linear-gradient(180deg, rgba(10,14,26,0.1) 0%, rgba(10,14,26,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
}

/* ---------- Split Hero Layout (Twilio/Vonage style) ---------- */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-3xl);
    width: 100%;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    min-height: calc(100vh - var(--nav-height));
}

.hero-split-left {
    padding: var(--space-4xl) 0;
}

.hero-split-left h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    color: #ffffff;
    animation: hero-text-up 1s var(--ease-out) 0.2s both;
}

.hero-split-left p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 520px;
    margin-bottom: var(--space-2xl);
    animation: hero-text-up 1s var(--ease-out) 0.4s both;
}

.hero-split-left .hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    animation: hero-text-up 1s var(--ease-out) 0.6s both;
}

/* Trust bar in hero */
.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    animation: hero-text-up 1s var(--ease-out) 0.8s both;
}

.hero-trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    white-space: nowrap;
}

.hero-trust-logos {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.hero-trust-logos img {
    height: 22px;
    width: auto;
    opacity: 0.4;
    filter: brightness(2);
    transition: opacity 0.3s;
}

.hero-trust-logos img:hover {
    opacity: 0.7;
}

/* Right side - hero visual */
.hero-split-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: hero-text-up 1.2s var(--ease-out) 0.3s both;
}

.hero-visual {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(128,186,232,0.3));
    animation: hero-visual-float 8s ease-in-out infinite;
}

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

/* Mobile responsive */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--space-2xl);
    }
    .hero-split-left {
        padding: var(--space-xl) 0 0;
        order: 1;
    }
    .hero-split-left p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-split-left .hero-actions {
        justify-content: center;
    }
    .hero-trust {
        justify-content: center;
        flex-direction: column;
        gap: var(--space-sm);
    }
    .hero-split-right {
        order: 2;
    }
    .hero-visual {
        max-width: 400px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(128,186,232,0.08);
    border: var(--border-subtle);
    border-radius: 0;
    padding: 0.4rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--mn-blue);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mn-blue);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    margin-bottom: var(--space-lg);
    max-width: 800px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: var(--space-2xl);
    color: var(--mn-muted);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats {
    display: flex;
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: var(--border-subtle);
}

.hero-stat {
    text-align: left;
    position: relative;
    padding-right: var(--space-3xl);
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(128,186,232,0.2), transparent);
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mn-white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--mn-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-xl);
    }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
    overflow: hidden;
    background: var(--mn-gradient-dark);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12,10,46,0.2) 0%, rgba(12,10,46,0.15) 40%, rgba(12,10,46,0.7) 100%);
    opacity: 1;
}

/* Page hero with background image */
.page-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    mix-blend-mode: normal;
    z-index: 0;
    mix-blend-mode: luminosity;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mn-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
}

.page-hero h1 {
    margin-bottom: var(--space-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-2xl);
    color: #ffffff;
}

/* Particle canvas for page heroes */
.page-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.4;
}

/* ---------- Cards ---------- */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Push card-link and last elements to bottom for vertical alignment across rows */
.card .card-link,
a.card .card-link {
    margin-top: auto !important;
    padding-top: var(--space-md);
}

/* Cards in grids: ensure equal height alignment */
.grid .card,
.grid a.card {
    display: flex !important;
    flex-direction: column !important;
}

.grid .card > .card-link,
.grid a.card > .card-link {
    margin-top: auto;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: 0 8px 30px rgba(24,12,112,0.08);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: transparent;
    margin-bottom: var(--space-lg);
    transition: all var(--duration-normal) var(--ease-out);
    overflow: hidden;
}

.card-icon img {
    width: 115%;
    height: 115%;
    object-fit: cover;
    object-position: center 35%;
    border-radius: inherit;
}

.card:hover .card-icon {
    border-color: #c7d2fe;
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.card p {
    font-size: 0.9375rem;
    color: var(--mn-muted);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mn-blue);
    margin-top: var(--space-lg);
    transition: all var(--duration-fast) var(--ease-out);
}

.card-link:hover {
    color: var(--mn-cyan);
    gap: 0.6rem;
}

/* Hover card - with top border glow */
.card-glow {
    border-top: 2px solid transparent;
}

.card-glow:hover {
    border-top-color: #2563eb;
}

/* Feature card with larger layout - override flex column */
/* Feature card: icon stacked above text for balanced layout */
.card-feature {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-feature .card-icon {
    width: 56px;
    height: 56px;
}

.card-feature h3 {
    font-size: 1.1875rem;
    margin-bottom: var(--space-xs);
}

.card-feature p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* When card-feature is combined with card-wide/card-full, the wide/full grid layout wins */
.card-wide.card-feature,
.card-full.card-feature {
    display: grid;
    flex-direction: unset;
}

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

.section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mn-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.section-header .overline::before,
.section-header .overline::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--mn-blue);
    opacity: 0.4;
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    margin: 0 auto;
    font-size: 1.125rem;
}

/* ---------- Stats Section ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.5vw, 2.75rem);
    font-weight: 800;
    color: #2563eb;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    white-space: nowrap;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--mn-dim);
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Partner Logos ---------- */
.partner-logos {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    padding: var(--space-xl) 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partner-logos-track {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    animation: marquee 25s linear infinite;
    flex-shrink: 0;
}

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

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

/* White section - used for partner logos and other light sections */
.section-white {
    background: #ffffff;
    padding: var(--space-xl) 0;
}

.partner-logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mn-dim);
    opacity: 0.4;
    transition: all var(--duration-normal) var(--ease-out);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
}

.partner-logo:hover {
    opacity: 1;
    color: var(--mn-blue);
    border-color: rgba(128,186,232,0.15);
    background: rgba(128,186,232,0.04);
}

/* Partner logo images */
.partner-logo-img {
    height: 66px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.6;
    transition: all var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
}

.partner-logo-img:hover {
    opacity: 1;
}

.partner-logos-track a {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    overflow: hidden;
    background: var(--mn-gradient-subtle);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4xl);
    text-align: center;
}

.cta-section > .cta-glow-bg {
    position: absolute;
    inset: 0;
    background: var(--mn-gradient-glow);
    pointer-events: none;
    border-radius: inherit;
}

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

.cta-section h2 { margin-bottom: var(--space-md); }

.cta-section p {
    margin: 0 auto var(--space-2xl);
    font-size: 1.125rem;
}

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

/* ---------- Feature Sections ---------- */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

@media (max-width: 768px) {
    .feature-split,
    .feature-split.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: var(--space-2xl);
    }
}

.feature-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: var(--space-md);
}

.feature-visual-glow {
    display: none;
}

.feature-content .overline {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mn-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.feature-content h2 {
    margin-bottom: var(--space-md);
}

.feature-content p {
    margin-bottom: var(--space-xl);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: #334155;
}

.feature-list-item span {
    color: #334155;
}

.feature-list-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ---------- Tabs ---------- */
.tabs {
    display: flex;
    gap: var(--space-xs);
    background: rgba(17,24,39,0.5);
    border-radius: 0;
    padding: 4px;
    border: var(--border-subtle);
    width: fit-content;
    margin: 0 auto var(--space-2xl);
}

.tab {
    padding: 0.625rem 1.5rem;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mn-muted);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    border: none;
    background: none;
    font-family: var(--font-primary);
}

.tab:hover { color: var(--mn-white); }
.tab.active {
    background: var(--mn-gradient);
    color: var(--mn-white);
    box-shadow: var(--shadow-sm);
}

/* ---------- Tables ---------- */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: var(--border-subtle);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(17,24,39,0.6);
}

th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mn-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: var(--border-subtle);
}

td {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9375rem;
    color: var(--mn-light);
    border-bottom: var(--border-subtle);
}

tr:last-child td { border-bottom: none; }

tr:hover td {
    background: rgba(128,186,232,0.03);
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    transition: all var(--duration-fast) var(--ease-out);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--mn-muted);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--mn-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
    background: var(--mn-navy);
    border-top: var(--border-subtle);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

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

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

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

.footer-brand p {
    font-size: 0.875rem;
    color: var(--mn-dim);
    margin-top: var(--space-md);
    max-width: 320px;
}

.footer-brand img {
    height: 36px;
    width: auto;
    margin-bottom: var(--space-md);
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(128,186,232,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mn-muted);
    font-size: 0.875rem;
    transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
    background: rgba(128,186,232,0.15);
    color: var(--mn-blue);
}

.footer-col h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mn-light);
    margin-bottom: var(--space-lg);
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--mn-dim);
    padding: 0.25rem 0;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-col a:hover { color: var(--mn-blue); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-2xl);
    border-top: var(--border-subtle);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--mn-dim);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: var(--mn-dim);
}

/* ---------- Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.float { animation: float 6s ease-in-out infinite; }
.float-delay { animation: float 6s ease-in-out 2s infinite; }

/* Shine sweep effect (from original brand) */
@keyframes shine-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    display: none;
}

/* Glow pulse on icons */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(128,186,232,0.1); }
    50% { box-shadow: 0 0 30px rgba(128,186,232,0.25); }
}

.glow-pulse { /* disabled on white theme */ }

/* Count up animation placeholder */
.count-up {
    display: inline-block;
}

/* ---------- Globe Section ---------- */
.globe-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#globe-container {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 100%;
    z-index: 0;
}

@media (max-width: 768px) {
    #globe-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 400px;
    }
    .globe-section {
        flex-direction: column;
    }
}

.globe-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

/* ---------- Pricing / Plans ---------- */
.pricing-card {
    background: var(--mn-gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card.featured {
    border-color: var(--mn-blue);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mn-gradient);
    color: var(--mn-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 0;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

/* ---------- Team Cards ---------- */
.team-card {
    background: var(--mn-gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.team-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--mn-slate);
}

.team-card-info {
    padding: var(--space-lg);
}

.team-card-info h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.125rem;
}

.team-card-info .role {
    font-size: 0.8125rem;
    color: var(--mn-blue);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.team-card-info p {
    font-size: 0.875rem;
    color: var(--mn-muted);
    line-height: 1.6;
}

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

.team-card-social a {
    color: var(--mn-dim);
    font-size: 0.875rem;
    transition: color var(--duration-fast);
}

.team-card-social a:hover {
    color: var(--mn-blue);
}

/* ---------- Team Carousel ---------- */
.team-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 var(--space-xl);
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.team-carousel-track {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-md) 0 var(--space-xl);
    cursor: grab;
}

.team-carousel-track:active {
    cursor: grabbing;
}

.team-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Fixed-width cards inside carousel */
.team-carousel-track .team-card {
    flex: 0 0 340px;
    min-width: 340px;
    scroll-snap-align: start;
}

/* Navigation arrows */
.team-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #0f172a;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--duration-fast) var(--ease-out);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-carousel-btn:hover {
    background: #ffffff;
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 4px 20px rgba(37,99,235,0.15);
}

.team-carousel-btn-left {
    left: var(--space-lg);
}

.team-carousel-btn-right {
    right: var(--space-lg);
}

@media (max-width: 768px) {
    .team-carousel-track .team-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .team-carousel-btn {
        display: none;
    }
}

/* ---------- Accordion / FAQ ---------- */
/* Old accordion definitions - overridden by white theme accordion above */

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}

.accordion-body-inner {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.accordion-body-inner p {
    font-size: 0.9375rem;
    line-height: 1.8;
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding-left: var(--space-3xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--mn-gradient);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-3xl) - 5px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--mn-blue);
    box-shadow: 0 0 20px rgba(128,186,232,0.4);
}

/* ---------- Toast / Alert ---------- */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: var(--mn-slate);
    border: var(--border-accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transform: translateY(120%);
    transition: transform var(--duration-normal) var(--ease-out);
    max-width: 400px;
}

.toast.show { transform: translateY(0); }

/* ---------- Badge / Tag ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.75rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-blue {
    background: rgba(128,186,232,0.12);
    color: var(--mn-blue);
}

.badge-purple {
    background: rgba(24,12,112,0.3);
    color: #a78bfa;
}

.badge-green {
    background: rgba(0,196,140,0.12);
    color: #00c48c;
}

/* ---------- Dividers ---------- */
.divider {
    width: 100%;
    height: 1px;
    background: var(--border-subtle);
    border: none;
}

.divider-gradient {
    height: 1px;
    background: var(--mn-gradient-h);
    opacity: 0.2;
    border: none;
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #180c70 0%, #2563eb 50%, #80BAE8 100%);
    background-size: 200% 200%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    box-shadow: 0 4px 16px rgba(24, 12, 112, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all var(--duration-normal) var(--ease-out);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(24, 12, 112, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    background-position: 100% 0;
}

/* ---------- Loading / Skeleton ---------- */
@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.skeleton {
    background: var(--mn-slate);
    border-radius: var(--radius-sm);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* ---------- Technology visual blocks ---------- */
.tech-visual {
    position: relative;
    background: var(--mn-gradient-card);
    border: var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
}

.tech-visual canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Code-like display */
/* old code-block definition removed - see main definition above */
.code-block .function { color: var(--mn-blue); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--mn-gradient-h);
    z-index: 1001;
    transition: width 50ms linear;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,31,54,0.98);
    backdrop-filter: blur(20px);
    border-top: var(--border-subtle);
    padding: var(--space-lg) var(--space-xl);
    z-index: 1500;
    display: none;
}

.cookie-banner.show { display: flex; }

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    max-width: var(--max-width-wide);
    margin: 0 auto;
    width: 100%;
}

.cookie-banner p {
    font-size: 0.875rem;
    color: var(--mn-muted);
}

.cookie-banner-actions {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* ---------- Responsive Utilities ---------- */
.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .show-mobile { display: block; }
    .section { padding: var(--space-3xl) 0; }
    .container { padding: 0 var(--space-md); }
}

/* ---------- Enhanced Visual Refinements ---------- */

/* Gradient border effect for featured cards */
.card-highlight {
    position: relative;
    background: transparent;
    border: none;
}

.card-highlight::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: var(--mn-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity var(--duration-normal);
}

.card-highlight:hover::after {
    opacity: 0.6;
}

/* Glassmorphism card variant */
.card-glass {
    background: rgba(26, 31, 54, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(128,186,232,0.08);
}

/* Animated gradient text for headings */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-gradient-animated {
    background: linear-gradient(270deg, #00d4ff, #ffffff, #e879f9, #00d4ff, #ffffff);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

/* Improved nav mega menu items with subtle left border on hover */
.nav-mega-item {
    position: relative;
}

/* Feature visual image treatment - clean on white */
.feature-visual[style*="background"] {
    background-color: #f8fafc !important;
}

.feature-visual[style*="background"] .feature-visual-glow {
    display: none;
}

/* Improved section divider with glow */
.section + .section-dark::before,
.section-dark + .section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(128,186,232,0.2), transparent);
}

/* Better focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--mn-blue);
    outline-offset: 2px;
}

/* Smooth link underline effect */
.footer-col a,
.nav-mega-text h4 {
    position: relative;
}

/* Subtle noise texture overlay for depth */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Better mobile card spacing */
@media (max-width: 768px) {
    .card { padding: var(--space-xl); }
    .hero h1 { max-width: 100%; }
    .hero p { max-width: 100%; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn { width: 100%; }
    .cta-section { padding: var(--space-2xl); }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
    .page-hero { padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl); }
}

/* Smooth page load animation */
@keyframes page-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    animation: page-fade-in 0.4s ease-out;
}

/* ---------- Staggered Grid Card Reveal ---------- */
/* Cards within a revealed grid appear one by one for a cascading effect */
@keyframes card-stagger-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid.reveal > * {
    opacity: 0;
}

.grid.reveal.visible > * {
    animation: card-stagger-in 0.5s var(--ease-out) both;
}

.grid.reveal.visible > *:nth-child(1) { animation-delay: 0s; }
.grid.reveal.visible > *:nth-child(2) { animation-delay: 0.07s; }
.grid.reveal.visible > *:nth-child(3) { animation-delay: 0.14s; }
.grid.reveal.visible > *:nth-child(4) { animation-delay: 0.21s; }
.grid.reveal.visible > *:nth-child(5) { animation-delay: 0.28s; }
.grid.reveal.visible > *:nth-child(6) { animation-delay: 0.35s; }
.grid.reveal.visible > *:nth-child(7) { animation-delay: 0.42s; }
.grid.reveal.visible > *:nth-child(8) { animation-delay: 0.49s; }
.grid.reveal.visible > *:nth-child(9) { animation-delay: 0.56s; }
.grid.reveal.visible > *:nth-child(10) { animation-delay: 0.63s; }
.grid.reveal.visible > *:nth-child(11) { animation-delay: 0.70s; }
.grid.reveal.visible > *:nth-child(12) { animation-delay: 0.77s; }

/* ---------- Team Card Hover Effects ---------- */
.team-card:hover .team-card-img {
    background: linear-gradient(135deg, var(--mn-slate), rgba(24,12,112,0.3)) !important;
}

.team-card-img span {
    transition: color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.team-card:hover .team-card-img span {
    color: var(--mn-blue) !important;
    transform: scale(1.1);
}

/* ---------- Enhanced CTA Section Decorative Orbs ---------- */
.cta-section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(128,186,232,0.15), transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24,12,112,0.5), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

/* ---------- Nav CTA ---------- */
.nav-cta.btn-primary {
    background: linear-gradient(135deg, #180c70 0%, #2563eb 50%, #80BAE8 100%) !important;
    background-size: 200% 200% !important;
    color: #ffffff !important;
    padding: 0.6rem 1.5rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(24, 12, 112, 0.3), inset 0 1px 0 rgba(255,255,255,0.15) !important;
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.4s var(--ease-out) !important;
}

.nav-cta.btn-primary:hover {
    background-position: 100% 0 !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 40px rgba(128,186,232,0.15), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    border-color: rgba(128,186,232,0.4) !important;
    color: #ffffff !important;
}

.nav-cta.btn-primary:active {
    transform: translateY(0) scale(0.98) !important;
}

/* ---------- Stats Section Enhancement ---------- */
.stats-grid {
    background: var(--mn-gradient-subtle);
    border-radius: var(--radius-lg);
    border: var(--border-subtle);
    padding: var(--space-xl);
}



/* ---------- Smoother Card Link Arrow ---------- */
.card-link span {
    display: inline-block;
    transition: transform var(--duration-fast) var(--ease-out);
}

.card-link:hover span {
    transform: translateX(4px);
}

/* ---------- CSS Grid Pattern for Page Heroes ---------- */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(128,186,232,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128,186,232,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    pointer-events: none;
}

/* ---------- Mobile Partner Logo Scroll ---------- */
@media (max-width: 768px) {
    .partner-logos {
        flex-wrap: nowrap;
        overflow: hidden;
        justify-content: flex-start;
        gap: var(--space-2xl);
        padding-bottom: var(--space-md);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .partner-logos::-webkit-scrollbar { display: none; }
    .partner-logo-img {
        flex-shrink: 0;
    }
}

/* ==========================================================================
   SOPHISTICATED SCROLL & LOAD ANIMATIONS
   ========================================================================== */

/* --- Page load: staggered header reveal --- */
@keyframes hero-text-up {
    from { opacity: 0; transform: translateY(40px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero h1 { animation: hero-text-up 1s var(--ease-out) 0.2s both; }
.hero p { animation: hero-text-up 1s var(--ease-out) 0.4s both; }
.hero-badge { animation: hero-text-up 0.8s var(--ease-out) 0.1s both; }
.hero-actions { animation: hero-text-up 1s var(--ease-out) 0.6s both; }
.hero-stats { animation: hero-text-up 1s var(--ease-out) 0.8s both; }

/* --- Scroll reveal variants --- */
/* Fade up (default) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
    filter: blur(2px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Fade in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Feature split directional reveals --- */
.feature-split .feature-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.9s var(--ease-out) 0.1s, transform 0.9s var(--ease-out) 0.1s;
}

.feature-split .feature-visual {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s;
}

.feature-split.reverse .feature-content {
    transform: translateX(30px);
}

.feature-split.reverse .feature-visual {
    transform: translateX(-30px);
}

.feature-split.visible .feature-content,
.feature-split.visible .feature-visual {
    opacity: 1;
    transform: translateX(0);
}

/* --- Section header text clip reveal --- */
.section-header.visible h2 {
    animation: text-clip-reveal 0.8s var(--ease-out) both;
}

@keyframes text-clip-reveal {
    from {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

/* --- Smooth number counter glow pulse --- */
.stat-value {
    transition: transform 0.3s var(--ease-out);
}

.stat-item:hover .stat-value {
    transform: scale(1.05);
}

/* --- Card hover micro-interactions --- */
.card {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out), border-top-color 0.4s var(--ease-out);
}

/* Animated gradient bar on bottom of all cards on hover */
.card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #180c70, #2563eb, #00d4ff);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.card:hover::before {
    width: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(24,12,112,0.10), 0 4px 12px rgba(0,0,0,0.04);
}

.card-glow:hover {
    border-top-color: #2563eb;
    box-shadow: 0 16px 48px rgba(24,12,112,0.10), 0 4px 12px rgba(0,0,0,0.04), inset 0 1px 0 rgba(37,99,235,0.06);
}

.card-icon {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.card:hover .card-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(37,99,235,0.10);
}

/* --- Button press effect --- */
.btn:active {
    opacity: 0.9;
    transition-duration: 0.1s;
}

/* --- Partner logo marquee smooth pause --- */
.partner-logos-track {
    transition: animation-play-state 0.3s;
}

/* --- Globe section parallax-like depth --- */
.globe-section .globe-content {
    transition: transform 0.3s var(--ease-out);
}

/* --- Accordion smooth expand with easing --- */
.accordion-body {
    transition: max-height 0.5s var(--ease-out);
}

/* --- Page hero subtle float animation --- */
/* hero-bg-float and hero-shimmer are applied in the override block above */

@keyframes hero-bg-float {
    0% { transform: scale(1.02) translate(0, 0); }
    33% { transform: scale(1.05) translate(-6px, -4px); }
    66% { transform: scale(1.03) translate(4px, -6px); }
    100% { transform: scale(1.02) translate(0, 0); }
}

/* --- Nav link underline sweep on hover --- */
.nav.scrolled .nav-links > a:not(.nav-cta)::after,
.nav.scrolled .nav-dropdown > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, rgba(37,99,235,0.3));
    transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
    border-radius: 1px;
}

.nav.scrolled .nav-links > a,
.nav.scrolled .nav-dropdown > .nav-link {
    position: relative;
}

.nav.scrolled .nav-links > a:hover::after,
.nav.scrolled .nav-dropdown:hover > .nav-link::after {
    width: 60%;
    left: 20%;
}

/* --- Smooth scroll indicator fade --- */
.scroll-progress {
    transition: width 100ms linear, opacity 0.3s;
}

/* --- Feature list items staggered reveal --- */
.feature-list .feature-list-item {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.visible .feature-list .feature-list-item:nth-child(1) { transition-delay: 0.1s; }
.visible .feature-list .feature-list-item:nth-child(2) { transition-delay: 0.2s; }
.visible .feature-list .feature-list-item:nth-child(3) { transition-delay: 0.3s; }
.visible .feature-list .feature-list-item:nth-child(4) { transition-delay: 0.4s; }
.visible .feature-list .feature-list-item:nth-child(5) { transition-delay: 0.5s; }
.visible .feature-list .feature-list-item:nth-child(6) { transition-delay: 0.6s; }

.visible .feature-list .feature-list-item {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile cookie banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: var(--space-md) !important;
        padding: var(--space-sm) var(--space-md) !important;
    }
    .cookie-banner-inner {
        flex-direction: column !important;
        text-align: center;
        gap: var(--space-sm) !important;
    }
}

/* Legal pages — tighter heading sizes for body content */
.section [style*="max-width: 800px"] h2 {
    font-size: 1.35rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-sm);
}

.section [style*="max-width: 800px"] p {
    margin-bottom: var(--space-md);
}

.section [style*="max-width: 800px"] ul {
    margin-bottom: var(--space-lg);
}

/* Grid cards: icon + title are fixed height so descriptions always align */
.grid .card .card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
}

/* Cards: consistent spacing between all elements */
.card h3 {
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

.card > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.card .card-icon {
    margin-bottom: 16px !important;
}

/* Cards align content to top - no flex space distribution */
.grid .card {
    justify-content: flex-start !important;
}

/* Centered cards: override flex back to block for text-align to work */
.grid .card[style*="text-align: center"] h3 {
    display: block;
    text-align: center;
}

.grid .card[style*="text-align: center"] p {
    text-align: center;
}

/* Grid-4 cards: tighter text for 4-column layout */
.grid-4 .card h3 {
    font-size: 1.05rem;
}

.grid-4 .card p {
    font-size: 0.875rem;
}

.grid-4 .card .feature-list-item span {
    font-size: 0.8125rem;
}

/* ===== Featured Service Cards (homepage top row) ===== */
.featured-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.featured-service-card:hover {
    transform: translateY(-8px);
    border-color: #c7d2fe;
    box-shadow: 0 16px 48px rgba(24,12,112,0.10), 0 4px 12px rgba(0,0,0,0.04);
}

/* Background image panel at top */
.featured-service-bg {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-service-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(255,255,255,0.9) 100%);
}

/* Content area */
.featured-service-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* Icon overlapping the image/content boundary */
.featured-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -52px;
    margin-bottom: var(--space-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.featured-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.featured-service-card:hover .featured-service-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,99,235,0.12);
    border-color: #c7d2fe;
}

.featured-service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: #0f172a;
}

.featured-service-card p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.featured-service-card .card-link {
    margin-top: auto !important;
    padding-top: var(--space-md);
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.featured-service-card:hover .card-link {
    color: #1d4ed8;
}

.featured-service-card:hover h3 {
    color: #180c70;
}

/* Animated bottom bar on hover */
.featured-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #180c70, #2563eb, #00d4ff);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-service-card:hover::after {
    width: 100%;
}

/* ===== DESIGN BRIEF ADDITIONS ===== */

/* Item 8: Stats bar pin markers */
.stat-pin {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #00d4ff);
    margin: 0 auto var(--space-sm);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4), 0 0 20px rgba(37, 99, 235, 0.15);
    position: relative;
}

.stat-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.2);
    animation: stat-pin-pulse 2.5s ease-in-out infinite;
}

@keyframes stat-pin-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* Item 7: MinTech Focus Carousel */
.mintech-carousel {
    position: relative;
    overflow: hidden;
    margin-top: var(--space-xl);
}

.mintech-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.mintech-slide {
    min-width: 100%;
    padding: 0 10%;
    box-sizing: border-box;
    transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.mintech-slide:not(.mintech-slide-active) {
    filter: blur(2px);
    opacity: 0.4;
    transform: scale(0.92);
}

.mintech-slide.mintech-slide-active {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

.mintech-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-xl);
}

.mintech-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(24, 12, 112, 0.25);
    background: rgba(24, 12, 112, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mintech-dot.active,
.mintech-dot:hover {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Item 5: Globe/Network section — sequential scroll entrance */
.globe-content .overline,
.globe-content h2,
.globe-content p,
.globe-content .feature-list-item,
.globe-content .btn {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.globe-content.visible .overline { transition-delay: 0s; opacity: 1; transform: translateX(0); }
.globe-content.visible h2 { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
.globe-content.visible p { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
.globe-content.visible .feature-list-item:nth-child(1) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
.globe-content.visible .feature-list-item:nth-child(2) { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }
.globe-content.visible .feature-list-item:nth-child(3) { transition-delay: 0.5s; opacity: 1; transform: translateX(0); }
.globe-content.visible .feature-list-item:nth-child(4) { transition-delay: 0.6s; opacity: 1; transform: translateX(0); }
.globe-content.visible .btn { transition-delay: 0.7s; opacity: 1; transform: translateX(0); }

/* Item 6: Platform section — smooth fade-in for cards (re-triggers on every scroll entry) */
.reveal-retrigger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-retrigger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE OPTIMISATION PASS ===== */
@media (max-width: 768px) {

    /* Prevent any element from causing horizontal overflow */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    img, video, iframe, table, pre, code {
        max-width: 100% !important;
    }

    .code-block {
        overflow-x: auto !important;
        max-width: calc(100vw - 2rem) !important;
    }

    /* Cookie banner: constrain to viewport */
    .cookie-banner {
        max-width: calc(100vw - 2rem) !important;
        left: 1rem !important;
        right: 1rem !important;
        transform: none !important;
    }

    /* Force all reveal animations to be visible on mobile - prevents blank sections */
    .reveal, .reveal-left, .reveal-right, .reveal-scale,
    .feature-split, .section-header,
    .feature-split .feature-content,
    .feature-split .feature-visual {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    /* Tables: contain overflow on mobile */
    table {
        font-size: 0.8125rem !important;
        word-break: break-word;
    }

    table th, table td {
        padding: 10px 12px !important;
    }

    /* Force card text readable on light backgrounds (white theme sections) */
    .section:not(.globe-section) .card h3,
    .section-dark:not(.globe-section) .card h3,
    .section:not(.globe-section) .card-feature h3 {
        color: #0f172a !important;
    }

    .section:not(.globe-section) .card p,
    .section-dark:not(.globe-section) .card p,
    .section:not(.globe-section) .card-feature p {
        color: #475569 !important;
    }

    /* Section dark text on white theme backgrounds */
    .section-dark:not(.globe-section) h2 {
        color: #0f172a !important;
    }

    .section-dark:not(.globe-section) p {
        color: #475569 !important;
    }

    /* Card-wide: stack vertically, content grid collapses */
    .card-wide {
        flex-direction: column !important;
    }

    .card-wide .card-wide-content {
        grid-template-columns: 1fr !important;
        padding: var(--space-md) !important;
    }

    .card-wide .card-wide-content .card-icon {
        grid-row: auto !important;
        grid-column: auto !important;
        margin-bottom: var(--space-sm);
    }

    .card-wide .card-wide-content h3 {
        grid-row: auto !important;
        grid-column: auto !important;
    }

    .card-wide .card-wide-content p {
        grid-row: auto !important;
        grid-column: auto !important;
    }

    .card-wide .card-wide-content .card-link {
        grid-row: auto !important;
        grid-column: auto !important;
    }

    .card-wide .card-wide-visual {
        height: 160px !important;
    }

    /* Featured service cards: smaller image */
    .featured-service-bg {
        height: 120px;
    }

    .featured-service-icon {
        width: 56px;
        height: 56px;
        margin-top: -36px;
    }

    .featured-service-content {
        padding: var(--space-md) !important;
    }

    /* Stats grid: ensure visible with fallback colours */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: var(--space-sm) !important;
        gap: var(--space-sm) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        overflow: hidden !important;
    }

    .stat-item {
        padding: var(--space-sm) var(--space-xs) !important;
        text-align: center !important;
        display: block !important;
        overflow: hidden !important;
    }

    .stat-value {
        font-size: clamp(1.1rem, 4vw, 1.75rem) !important;
        white-space: nowrap !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        color: #2563eb !important;
        -webkit-text-fill-color: #2563eb !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }

    .stat-label {
        font-size: 0.6875rem !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        word-wrap: break-word !important;
    }

    .stat-value .count-up {
        color: #2563eb !important;
        -webkit-text-fill-color: #2563eb !important;
        background: none !important;
    }

    .stat-label {
        color: #64748b !important;
    }

    .stat-pin {
        display: block !important;
    }

    /* Footer: ensure visible and properly laid out */
    .footer {
        padding: var(--space-2xl) var(--space-md) !important;
    }

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

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

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

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Section padding tighter on mobile */
    .section {
        padding: var(--space-2xl) 0 !important;
    }

    .section-dark {
        padding: var(--space-2xl) 0 !important;
    }

    /* Container padding */
    .container {
        padding-left: var(--space-md) !important;
        padding-right: var(--space-md) !important;
    }

    /* Feature splits: single column */
    .feature-split,
    .feature-split.reverse {
        grid-template-columns: 1fr !important;
    }

    .feature-visual {
        min-height: 250px !important;
    }

    /* Globe section */
    .globe-section {
        min-height: auto !important;
    }

    .globe-content {
        padding: 0 var(--space-md);
    }

    /* MinTech carousel */
    .mintech-slide {
        padding: 0 var(--space-sm) !important;
    }

    /* CTA section */
    .cta-section {
        padding: var(--space-2xl) var(--space-md) !important;
    }

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

    .cta-actions .btn {
        width: 100%;
    }

    /* Card full: stack */
    .card-full {
        grid-template-columns: 1fr !important;
    }

    .card-full .card-full-visual {
        height: 160px !important;
    }

    /* Services divider smaller on mobile */
    .services-divider {
        margin: var(--space-2xl) auto var(--space-xl) !important;
    }

    /* Hero buttons stack on very small screens */
    .hero-actions {
        flex-direction: column;
        gap: var(--space-sm) !important;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Form grid single column */
    .form-grid {
        grid-template-columns: 1fr !important;
    }

    /* Team carousel cards */
    .team-card {
        min-width: 280px !important;
    }

    /* Morph panel hidden on mobile (uses mobile nav instead) */
    .morph-panel {
        display: none !important;
    }

    /* Page hero tighter */
    .page-hero {
        padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl) !important;
    }

    .page-hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    }

    .page-hero p {
        font-size: 0.9375rem !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: var(--space-md) !important;
    }

    .partner-logo-img {
        height: 40px !important;
    }

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

/* ---------- Print Styles ---------- */
@media print {
    .nav, .footer, .back-to-top, .cookie-banner, .hero-bg { display: none; }
    body { background: white; color: black; }
    * { box-shadow: none !important; }
}
