/* ==========================================================================
   ALCHEMY AI - ULTRA-PREMIUM DESIGN SYSTEM
   Glassmorphism • Advanced Animations • Premium Aesthetics
   ========================================================================== */

/* --------------------------------------------------------------------------
   Local Fonts Loading (Euclid Square & Grift)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Euclid Square';
    src: url('/fonts/EuclidSquare-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Grift';
    src: url('/fonts/Grift-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Grift';
    src: url('/fonts/Grift-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Grift';
    src: url('/fonts/Grift-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Grift';
    src: url('/fonts/Grift-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   CSS Custom Properties (Brand Guidelines)
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-dark-blue: #0C3483;
    --color-bright-blue: #3498DB;
    --color-light-blue: #5DADE2;
    --color-white: #FFFFFF;
    --color-light-gray: #F0F8FF;
    --color-dark-gray: #333333;
    --color-medium-gray: #555555;
    --color-light-text: #AAAAAA;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0C3483 0%, #3498DB 100%);
    --gradient-hero: linear-gradient(180deg, #FFFFFF 0%, #F0F8FF 50%, #F5F9FC 100%);
    --gradient-cta: linear-gradient(135deg, #071224 0%, #0C3483 100%);
    --gradient-text: linear-gradient(135deg, #0C3483 0%, #3498DB 100%);

    /* Typography */
    --font-family: 'Grift', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-display: 'Euclid Square', 'DM Sans', sans-serif;
    --font-size-hero: clamp(36px, 4.4vw, 58px);
    --font-size-hero-accent: clamp(36px, 4.4vw, 58px);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-hover: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(52, 152, 219, 0.2);
    --glass-border-hover: rgba(52, 152, 219, 0.4);
    --glass-blur: blur(10px);
    --glass-blur-hover: blur(15px);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(12, 52, 131, 0.05);
    --shadow-md: 0 8px 24px rgba(12, 52, 131, 0.08);
    --shadow-lg: 0 16px 48px rgba(12, 52, 131, 0.12);
    --shadow-xl: 0 24px 64px rgba(12, 52, 131, 0.16);
    --shadow-glow: 0 0 60px rgba(52, 152, 219, 0.2);
    --shadow-button: 0 8px 24px rgba(52, 152, 219, 0.3);
    --shadow-button-hover: 0 12px 32px rgba(52, 152, 219, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Global Heading Font Family Settings */
h1, h2, h3, h4, h5, h6, .section-title, .hero-title, .hero-title-accent {
    font-family: var(--font-family-display) !important;
}


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

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

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--color-dark-blue);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Gradient Text Effect */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent-text {
    color: var(--color-bright-blue);
    text-shadow: 0 0 40px rgba(52, 152, 219, 0.3);
}

/* --------------------------------------------------------------------------
   Premium Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 48px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-primary {
    background: var(--color-bright-blue);
    color: var(--color-white);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background: #2A7BB0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-bright-blue);
    border-color: var(--color-bright-blue);
}

.btn-outline:hover {
    background: var(--color-light-gray);
    color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-bright-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gradient-hero);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(12, 52, 131, 0.06);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(245, 249, 254, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar.hero-dark {
    background: linear-gradient(135deg, #071224 0%, #0C3483 100%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar.hero-dark .logo-text,
.navbar.hero-dark .nav-link {
    color: var(--color-white);
}

.navbar.hero-dark .nav-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.navbar.hero-dark .nav-cta {
    background: var(--color-white);
    color: var(--color-dark-blue) !important;
}

.navbar.hero-dark .nav-cta:hover {
    background: rgba(255, 255, 255, 0.85);
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.logo-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark-blue);
    letter-spacing: -0.2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-medium-gray);
    transition: color var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--color-bright-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}

.nav-cta {
    padding: 9px 20px;
    font-size: 14px;
    background: var(--color-dark-blue);
    color: var(--color-white) !important;
    border-radius: 999px;
    font-weight: 700;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-bright-blue);
    color: var(--color-white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark-blue);
    transition: all var(--transition-base);
}

/* --------------------------------------------------------------------------
   Hero Section - Ultra Premium
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #F5F9FE 0%, #EAF2FB 100%);
    padding-top: 80px;
    padding-bottom: 60px;
    /* keeps the trust-metrics card clear of the overflow:hidden edge */
    overflow: hidden;
    transition: background 0.4s ease;
}

.hero:hover {
    background: linear-gradient(135deg, #071224 0%, #0C3483 100%);
}

/* Layered gradient meshes + faint dot grid — depth without images */
.hero-bg-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 700px at 85% 10%, rgba(52, 152, 219, 0.14) 0%, transparent 65%),
        radial-gradient(circle 600px at 5% 90%, rgba(12, 52, 131, 0.08) 0%, transparent 65%),
        radial-gradient(rgba(12, 52, 131, 0.07) 1px, transparent 1px);
    background-size: auto, auto, 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* ponytail: opacity dialed down so hero copy stays readable over the WebGL
   tubes; raise it if the effect should read as more dominant */
/* ponytail: hidden until the visitor hovers the hero — screen blend so only
   the bright tube/light pixels show, never tinting the gradient beneath */
.hero-tubes-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    mix-blend-mode: screen;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.hero:hover .hero-tubes-canvas {
    opacity: 0.85;
}

/* ponytail: background darkens under the tubes canvas on hover, so flip
   the readable text to white for contrast; revert to normal on mouse-out */
.hero:hover .hero-title,
.hero:hover .hero-subtitle,
.hero:hover .hero-note,
.hero:hover .metric-label,
.hero:hover .trust-back p {
    color: #FFFFFF;
}

.hero:hover .hero-title-accent,
.hero:hover .metric-value {
    background: none;
    -webkit-text-fill-color: #7FD4FF;
    color: #7FD4FF;
}

.hero:hover .trust-back strong {
    color: #7FD4FF;
}

.hero:hover .trust-metrics,
.hero:hover .metric + .metric {
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-title,
.hero-subtitle,
.hero-note,
.metric-label,
.hero-title-accent,
.metric-value,
.trust-back p,
.trust-back strong,
.trust-metrics,
.metric + .metric {
    transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

/* Eyebrow badge — pill with live dot */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-bright-blue);
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 100px;
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-bright-blue);
    box-shadow: 0 0 0 rgba(52, 152, 219, 0.5);
    animation: badgePulse 2.5s ease-out infinite;
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(52, 152, 219, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* Headline */
.hero-title {
    font-size: var(--font-size-hero);
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -1.2px;
    text-wrap: balance;
}

.hero-title-accent {
    text-wrap: balance;
}

.hero-title-accent {
    display: block;
    font-size: var(--font-size-hero-accent);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-bright-blue);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--color-medium-gray);
    margin-bottom: 14px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-note {
    font-size: 14px;
    color: var(--color-light-text);
    margin: 0 0 28px;
    max-width: 480px;
    animation: heroRise 0.6s ease-out 0.3s both;
}

/* Shared entrance — fade + rise, staggered per element */
@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-link,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-dark-blue);
    font-weight: 600;
    font-size: 15px;
}

/* Secondary CTA — outlined pill so it reads as a button, not a stray link */
.btn-ghost {
    padding: 14px 26px;
    border: 1.5px solid rgba(12, 52, 131, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    transition: border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.btn-ghost:hover {
    border-color: var(--color-bright-blue);
    background: var(--color-white);
    transform: translateY(-2px);
}

.play-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

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

/* Flip card wrapper — auto-flips between stats (front) and audience (back);
   hover pauses so it's readable */
.trust-flip {
    perspective: 1200px;
    width: fit-content;
    animation: heroRise 0.6s ease-out 0.45s both;
}

.trust-flip-inner {
    position: relative;
    transform-style: preserve-3d;
    animation: trustFlip 4s ease-in-out infinite;
}

.trust-flip:hover .trust-flip-inner {
    animation-play-state: paused;
}

/* continuous vertical flip: each face holds ~1s, then tumbles */
@keyframes trustFlip {

    0%,
    25% {
        transform: rotateX(0deg);
    }

    50%,
    75% {
        transform: rotateX(180deg);
    }

    100% {
        transform: rotateX(360deg);
    }
}

.trust-face {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* back face — plain text, no card chrome */
.trust-back {
    position: absolute;
    inset: 0;
    transform: rotateX(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
}

.trust-back p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-medium-gray);
    text-align: center;
    margin: 0;
}

.trust-back strong {
    color: var(--color-dark-blue);
}

/* Trust Metrics — plain stat row, no card chrome */
.trust-metrics {
    display: flex;
    gap: 24px;
    padding: 18px 24px 18px 0;
    border-top: 1px solid rgba(12, 52, 131, 0.1);
}

.metric {
    text-align: left;
    animation: heroRise 0.5s ease-out both;
    transition: transform var(--transition-base);
}

.metric:hover {
    transform: translateY(-2px) scale(1.05);
}

.metric:nth-child(1) { animation-delay: 0.55s; }
.metric:nth-child(2) { animation-delay: 0.65s; }
.metric:nth-child(3) { animation-delay: 0.75s; }
.metric:nth-child(4) { animation-delay: 0.85s; }

.metric + .metric {
    padding-left: 24px;
    border-left: 1px solid rgba(12, 52, 131, 0.1);
}

.metric-value {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.metric-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--color-light-text);
    margin-top: 6px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* CSS 3D tilt card — perspective + layered translateZ, no WebGL */
.hero-3d {
    perspective: 1200px;
    width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    touch-action: pan-y;
    /* horizontal drag spins the card; vertical still scrolls the page */
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

.hero-3d::before {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 52, 131, 0.35) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.hero-3d.is-hovered::before {
    opacity: 1;
}

.hero-3d img {
    -webkit-user-drag: none;
    pointer-events: none;
}

/* JS mouse-tilt targets this wrapper; idle sway animates the card inside —
   separate elements so the two transforms never fight */
.hero-3d-tilt {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* Orbit scene — logo floats alone, rings revolve around it in 3D */
.orbit-scene {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* Soft glow behind the logo */
.orbit-scene::before {
    content: '';
    position: absolute;
    inset: -60px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateZ(-60px);
    pointer-events: none;
}

.hero-logo {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(12, 52, 131, 0.30));
    transform-style: preserve-3d;
    animation: logoFloat3d 7s ease-in-out infinite;
}

@keyframes logoFloat3d {

    0%,
    100% {
        transform: translateZ(40px) translateY(0) rotateY(-8deg);
    }

    50% {
        transform: translateZ(40px) translateY(-16px) rotateY(8deg);
    }
}

/* Orbiting rings at different tilts, sizes, speeds and directions */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(52, 152, 219, 0.35);
    border-radius: 50%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.ring-1 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation: orbitSpin1 12s linear infinite;
}

.ring-2 {
    width: 380px;
    height: 380px;
    margin: -190px 0 0 -190px;
    border-color: rgba(93, 173, 226, 0.28);
    animation: orbitSpin2 18s linear infinite;
}

.ring-3 {
    width: 460px;
    height: 460px;
    margin: -230px 0 0 -230px;
    border-color: rgba(12, 52, 131, 0.20);
    animation: orbitSpin3 26s linear infinite;
}

/* Glowing satellite dot riding each ring */
.orbit-dot {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    background: var(--color-bright-blue);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(52, 152, 219, 0.9), 0 0 28px rgba(52, 152, 219, 0.5);
}

.ring-2 .orbit-dot {
    background: var(--color-light-blue);
}

.ring-3 .orbit-dot {
    background: var(--color-dark-blue);
}

/* Brand lockup at the center of the orbit */
.hero-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: brandFloat 7s ease-in-out infinite;
}

.hero-brand .hero-logo {
    animation: none;
}

.hero-brand-name {
    font-family: var(--font-family-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-dark-blue);
    white-space: nowrap;
}

@keyframes brandFloat {

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

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

/* Service planets — orbit the company, staying upright.
   rotate → translateX(radius) → counter-rotate keeps labels readable. */
.planet {
    --r: 205px;
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark-blue);
    padding: 7px 14px 7px 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 10px 28px rgba(12, 52, 131, 0.14);
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r)) rotate(0deg);
    animation: planetOrbit 30s linear infinite;
    z-index: 3;
}

.planet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 14px;
    background: rgba(52, 152, 219, 0.12);
    border-radius: 50%;
}

/* staggered 6s apart on a 30s orbit */
.planet-1 { --r: 195px; animation-delay: 0s; }
.planet-2 { --r: 225px; animation-delay: -6s; }
.planet-3 { --r: 195px; animation-delay: -12s; }
.planet-4 { --r: 225px; animation-delay: -18s; }
.planet-5 { --r: 195px; animation-delay: -24s; }

@keyframes planetOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r)) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(var(--r)) rotate(-360deg);
    }
}

@keyframes orbitSpin1 {
    from { transform: rotateX(72deg) rotateZ(0deg); }
    to   { transform: rotateX(72deg) rotateZ(360deg); }
}

@keyframes orbitSpin2 {
    from { transform: rotateX(78deg) rotateY(18deg) rotateZ(360deg); }
    to   { transform: rotateX(78deg) rotateY(18deg) rotateZ(0deg); }
}

@keyframes orbitSpin3 {
    from { transform: rotateX(66deg) rotateY(-22deg) rotateZ(0deg); }
    to   { transform: rotateX(66deg) rotateY(-22deg) rotateZ(360deg); }
}

@media (prefers-reduced-motion: reduce) {

    .hero-3d-tilt,
    .orbit-ring,
    .hero-logo,
    .hero-note,
    .trust-flip,
    .trust-flip-inner,
    .metric {
        transition: none;
        animation: none;
    }
}

/* Scroll Indicator Removal - User scrolls naturally now */
.hero-scroll {
    display: none;
}

/* --------------------------------------------------------------------------
   Waitlist Section - High Conversion Glassmorphism
   -------------------------------------------------------------------------- */
.waitlist {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    z-index: 5;
    margin-top: -40px;
    /* Slight overlap for better transition */
}

.waitlist-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* White feature card with scroll-linked scale (see script.js) */
.waitlist-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--color-white);
    border: 1px solid rgba(52, 152, 219, 0.18);
    padding: 56px;
    border-radius: 28px;
    max-width: 960px;
    width: 100%;
    text-align: left;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* Accent wash in the corner */
.waitlist-card::after {
    content: '';
    position: absolute;
    top: -140px;
    right: -140px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.waitlist-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--color-light-text);
}

.waitlist-tag {
    display: inline-block;
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.25);
    color: var(--color-bright-blue);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.waitlist-title {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.waitlist-subtitle {
    font-size: 17px;
    color: var(--color-medium-gray);
    margin-bottom: 32px;
}

.waitlist-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: rgba(240, 248, 255, 0.7);
    border: 1px solid rgba(52, 152, 219, 0.15);
    border-radius: 14px;
    transition: transform var(--transition-base), background var(--transition-base),
        border-color var(--transition-base);
}

.benefit-item:hover {
    transform: translateX(6px);
    background: rgba(52, 152, 219, 0.08);
    border-color: rgba(52, 152, 219, 0.35);
}

.benefit-num {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-bright-blue);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.benefit-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark-gray);
}

.waitlist-cta {
    display: flex;
    justify-content: center;
}

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

    .waitlist-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 24px;
    }
}

/* --------------------------------------------------------------------------
   Stats Bar - Animated Counters
   -------------------------------------------------------------------------- */
.stats-bar {
    background: linear-gradient(135deg, #071224 0%, #0C3483 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 0 60px;
    position: relative;
    flex: 1;
    /* Allow equal distribution */
    min-width: 250px;
    /* Ensure enough space for 4-5 digits + suffix */
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: var(--color-light-blue);
    opacity: 0.4;
}

.stat-value {
    font-size: 56px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    /* Prevents shaking by making all numbers same width */
    display: block;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Agents Section - Glassmorphism Cards
   -------------------------------------------------------------------------- */
.services {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, transparent 49.5%, rgba(52, 152, 219, 0.03) 49.5%, rgba(52, 152, 219, 0.03) 50.5%, transparent 50.5%);
    background-size: 60px 60px;
    pointer-events: none;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Agent Card */
.agent-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px 40px;
    position: relative;
    transition: all var(--transition-smooth);
    overflow: hidden;
}

/* Premium Top Border Gradient */
.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.agent-card:hover {
    transform: translateY(-12px);
    background: var(--glass-bg-hover);
    backdrop-filter: var(--glass-blur-hover);
    -webkit-backdrop-filter: var(--glass-blur-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-xl);
}

.agent-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    color: var(--color-bright-blue);
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
    transition: all var(--transition-smooth);
}

.agent-card:hover .agent-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 50px rgba(52, 152, 219, 0.3);
}

.agent-icon svg {
    width: 48px;
    height: 48px;
}

.agent-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 6px;
}

.agent-tagline {
    font-size: 14px;
    color: var(--color-light-text);
    font-weight: 600;
    margin-bottom: 16px;
}

.agent-description {
    color: var(--color-medium-gray);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 16px;
}

.agent-features {
    margin-bottom: 24px;
}

.agent-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-dark-blue);
    padding: 6px 0;
}

.agent-features li::before {
    content: '✓';
    color: var(--color-bright-blue);
    font-weight: 700;
}

.agent-link {
    font-weight: 600;
    color: var(--color-bright-blue);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.agent-link::after {
    content: '→';
    transition: transform var(--transition-base);
}

.agent-link:hover {
    color: var(--color-dark-blue);
}

.agent-link:hover::after {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   How It Works - Vertical Timeline
   -------------------------------------------------------------------------- */
.how-it-works {
    padding: 100px 0;
    background: var(--color-light-gray);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Vertical Line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-bright-blue), var(--color-light-blue));
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-node {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border: 4px solid var(--color-bright-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-bright-blue);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all var(--transition-smooth);
    box-shadow: 0 0 0 8px rgba(52, 152, 219, 0.1);
}

.timeline-step:hover .step-node {
    background: var(--color-bright-blue);
    color: var(--color-white);
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(52, 152, 219, 0.2);
}

.step-content {
    flex: 1;
    background: var(--color-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.timeline-step:hover .step-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}

.step-time {
    font-size: 14px;
    color: var(--color-light-text);
    font-style: italic;
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--color-medium-gray);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Features Section - Bold Icons
   -------------------------------------------------------------------------- */
.features {
    padding: 100px 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    transition: all var(--transition-smooth);
}

.feature-card:hover {
    background: var(--color-light-gray);
    transform: translateY(-8px);
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 0 40px rgba(52, 152, 219, 0.15);
    transition: all var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.15);
    box-shadow: 0 0 60px rgba(52, 152, 219, 0.25);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--color-medium-gray);
    line-height: 1.6;
    font-size: 15px;
}


/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */
.team {
    padding: 100px 0;
    background: var(--color-white);
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.team-card {
    text-align: center;
    padding: 48px 32px;
    border-radius: 20px;
    background: var(--color-light-gray);
    transition: all var(--transition-smooth);
    flex: 1 1 350px;
    max-width: 450px;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    background: var(--color-white);
}

.team-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-bright-blue);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
    transition: all var(--transition-smooth);
}

.team-card:hover .team-image {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 50px rgba(52, 152, 219, 0.3);
}

.team-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 24px;
}

.team-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}

.team-role {
    font-size: 16px;
    color: var(--color-bright-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 14px;
    color: var(--color-medium-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-blue);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--color-bright-blue);
    color: var(--color-white);
    transform: scale(1.2);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   Pricing Section - 3D Effect
   -------------------------------------------------------------------------- */
.pricing {
    padding: 100px 0;
    background: var(--color-light-gray);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.toggle-label {
    font-weight: 500;
    color: var(--color-medium-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-badge {
    background: var(--color-bright-blue);
    color: var(--color-white);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    border-radius: 32px;
    transition: all var(--transition-base);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    left: 3px;
    bottom: 3px;
    background: var(--color-bright-blue);
    border-radius: 50%;
    transition: all var(--transition-smooth);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(28px);
    background: var(--color-dark-blue);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    perspective: 1000px;
}

.pricing-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 48px 40px;
    border: 1px solid rgba(12, 52, 131, 0.08);
    transition: all var(--transition-smooth);
    position: relative;
}


.pricing-card:first-child:hover,
.pricing-card:last-child:hover {
    transform: scale(1);
    opacity: 1;
    box-shadow: var(--shadow-xl);
}

/* Featured Card - Larger */
.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--color-bright-blue);
    box-shadow: 0 0 40px rgba(52, 152, 219, 0.2), var(--shadow-xl);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.08);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.pricing-description {
    font-size: 14px;
    color: var(--color-medium-gray);
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(12, 52, 131, 0.08);
}

.currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark-blue);
    vertical-align: top;
}

.amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--color-bright-blue);
    line-height: 1;
}

.amount.custom {
    font-size: 36px;
    color: var(--color-dark-blue);
}

.period {
    font-size: 16px;
    color: var(--color-medium-gray);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--color-dark-gray);
    font-size: 15px;
}

.pricing-features svg {
    width: 22px;
    height: 22px;
    color: var(--color-bright-blue);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA Section - Mega Impact
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 72px 0;
    background: linear-gradient(135deg, #071224 0%, #0C3483 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.cta-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    opacity: 0.05;
}

.cta-shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    animation: floatRotate 25s linear infinite;
}

.cta-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    animation: floatRotate 30s linear infinite reverse;
}

@keyframes floatRotate {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    50% {
        transform: rotate(180deg) translateY(-20px);
    }

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

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-section .cta-buttons .btn-white {
    box-shadow: 0 12px 24px rgba(12, 52, 131, 0.18);
    border: 1px solid rgba(12, 52, 131, 0.12);
}

.cta-buttons:has(.btn-outline-white) .btn-white {
    position: relative;
    z-index: 1;
    margin-right: -14px;
    transform-origin: bottom right;
    animation: leanSupport 3s ease-in-out infinite;
}

.cta-section .cta-buttons .btn-outline-white {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes leanSupport {

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

    50% {
        transform: rotate(5deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-buttons:has(.btn-outline-white) .btn-white {
        animation: none;
        transform: rotate(8deg);
    }
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: linear-gradient(135deg, #071224 0%, #0C3483 100%);
    padding: 40px 0 20px;
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 36px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 44px;
    width: auto;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    width: 44px;
    height: 44px;
}

.footer-social .social-link:hover {
    background: var(--color-bright-blue);
    transform: scale(1.1) translateY(-2px);
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all var(--transition-base);
}

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-base);
}

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

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directional variants — slide in from the sides on scroll */
.fade-in.from-left {
    transform: translateX(-60px);
}

.fade-in.from-right {
    transform: translateX(60px);
}

.fade-in.from-left.visible,
.fade-in.from-right.visible {
    transform: translateX(0);
}

/* Flip-up: card rotates up from flat */
.fade-in.flip-up {
    transform: perspective(900px) rotateX(35deg) translateY(30px);
    transform-origin: bottom;
}

.fade-in.flip-up.visible {
    transform: perspective(900px) rotateX(0) translateY(0);
}

/* keep the config-card hover lift winning over the .visible transform */
.config-card.flip-up.visible:hover {
    transform: translateY(-5px);
}

/* Zoom-in: grows from 85% */
.fade-in.zoom-in {
    transform: scale(0.85);
}

.fade-in.zoom-in.visible {
    transform: scale(1);
}

/* Card variant — rises further and scales in for a stronger entrance */
.reveal-card {
    transform: translateY(60px) scale(0.96);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-card.visible {
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

    .fade-in,
    .reveal-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Stagger Animation for Cards */
.stagger-fade .fade-in:nth-child(1) {
    transition-delay: 0ms;
}

.stagger-fade .fade-in:nth-child(2) {
    transition-delay: 100ms;
}

.stagger-fade .fade-in:nth-child(3) {
    transition-delay: 200ms;
}

.stagger-fade .fade-in:nth-child(4) {
    transition-delay: 300ms;
}

.stagger-fade .fade-in:nth-child(5) {
    transition-delay: 400ms;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .trust-flip {
        margin-inline: auto;
    }

    .trust-metrics {
        justify-content: center;
    }

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

    .hero-3d {
        width: 350px;
        height: 350px;
    }

    .orbit-scene {
        transform: scale(0.85);
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 40px;
    }

    .stat-item {
        padding: 0 40px;
        min-width: 200px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

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

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

    .team-grid {
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .pricing-card,
    .pricing-card:first-child,
    .pricing-card:last-child,
    .pricing-card.featured {
        transform: none;
        opacity: 1;
    }

    .pricing-card.featured {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-smooth);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .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);
    }

    .hero-title {
        font-size: clamp(32px, 7vw, 42px);
    }

    .hero-title-accent {
        font-size: clamp(32px, 7vw, 42px);
    }

    .trust-flip {
        width: 100%;
    }

    .trust-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }

    .metric {
        text-align: center;
    }

    .metric + .metric {
        padding-left: 0;
        border-left: none;
    }

    .section-title {
        font-size: clamp(28px, 6vw, 40px);
    }

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

    .timeline-container::before {
        left: 20px;
    }

    .timeline-step {
        gap: 24px;
    }

    .step-node {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

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

    .team-grid {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .testimonial-card {
        width: 320px;
    }
}

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

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-value {
        font-size: 40px;
    }

    .stat-item {
        min-width: 150px;
        padding: 0 10px;
    }

    .hero-3d {
        width: 280px;
        height: 280px;
    }

    .orbit-scene {
        transform: scale(0.62);
    }
}

/* --------------------------------------------------------------------------
   Configurator Section
   -------------------------------------------------------------------------- */
.configurator {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
    z-index: 2;
}

.config-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.config-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.config-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--glass-bg-hover);
}

.config-card.active {
    border-color: var(--color-bright-blue);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.config-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-light-text);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.config-card.active .config-check {
    background: var(--color-bright-blue);
    border-color: var(--color-bright-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

.config-icon {
    width: 48px;
    height: 48px;
    background: rgba(52, 152, 219, 0.1);
    color: var(--color-bright-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all var(--transition-base);
}

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

.config-card.active .config-icon {
    background: var(--color-bright-blue);
    color: var(--color-white);
    transform: scale(1.1);
}

.config-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}

.config-price {
    font-size: 14px;
    color: var(--color-medium-gray);
    font-weight: 500;
}

/* Configurator Summary */
.config-summary {
    background: var(--color-white);
    padding: 32px;
    border-radius: 16px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(12, 52, 131, 0.08);
}

.summary-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
}

.summary-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.summary-header p {
    font-size: 14px;
    color: var(--color-medium-gray);
}

.base-fee {
    font-weight: 700;
    color: var(--color-dark-blue);
}

.summary-total {
    text-align: center;
    margin-bottom: 24px;
}

.summary-total .amount {
    font-size: 48px;
    color: var(--color-dark-blue);
}

.total-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--color-bright-blue);
    line-height: 1;
}

.summary-note {
    text-align: center;
    font-size: 12px;
    color: var(--color-medium-gray);
    margin-top: 16px;
}

@media (max-width: 900px) {
    .config-container {
        grid-template-columns: 1fr;
    }

    .config-summary {
        position: static;
        margin-top: 40px;
    }
}

/* --------------------------------------------------------------------------
   Comparison Section - Hiring vs Alchemy
   -------------------------------------------------------------------------- */
.comparison {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
.comparison::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Controls Panel (Left) */
.comparison-controls {
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.comparison-controls h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.comparison-controls p {
    color: var(--color-medium-gray);
    margin-bottom: 32px;
}

/* Slider Styling */
.slider-group {
    margin-bottom: 40px;
}

.slider-group label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 16px;
}

.slider-group label .highlight {
    color: var(--color-bright-blue);
    font-size: 24px;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--color-light-gray);
    border-radius: 4px;
    outline: none;
    margin-bottom: 12px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-bright-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
    transition: transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-light-text);
    font-weight: 500;
}

/* Savings Callout */
.savings-callout {
    background: linear-gradient(135deg, #071224 0%, #0C3483 100%);
    padding: 24px;
    border-radius: 16px;
    color: var(--color-white);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.savings-callout::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.savings-label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    margin-bottom: 8px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.savings-amount {
    font-size: 48px;
    font-weight: 800;
    color: #2ecc71;
    /* Green for money/savings */
    margin: 0 0 8px 0;
    line-height: 1;
}

.savings-annual {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
}

/* Visual Chart (Right) */
.comparison-chart {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-end;
    height: 400px;
    padding-bottom: 40px;
    padding-top: 60px;
    /* Space for labels popping up */
}

.chart-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    width: 140px;
}

.bar-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.bar {
    width: 100%;
    border-radius: 12px 12px 0 0;
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy spring effect */
    position: relative;
    min-height: 2%;
    /* Ensure visibility */
}

.hiring-bar {
    background: linear-gradient(to top, #e74c3c, #ff7675);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.alchemy-bar {
    background: linear-gradient(to top, var(--color-bright-blue), var(--color-light-blue));
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.bar-value {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-dark-blue);
    background: var(--color-white);
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 0.5s 0.3s forwards;
}

.column-info {
    text-align: center;
    margin-top: 20px;
}

.column-info h4 {
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}

.column-info p {
    font-size: 12px;
    color: var(--color-light-text);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .comparison-chart {
        height: 300px;
    }
}
/* --------------------------------------------------------------------------
   Services / Proof-Before-Pitch / Case Studies (redesigned sections)
   -------------------------------------------------------------------------- */

/* 3D tilt on hover — perspective on the grids, rotate on the cards */
.agents-grid,
.proof-steps,
.case-grid {
    perspective: 1400px;
}

.agent-card:hover,
.proof-step:hover,
.case-card:hover {
    transform: translateY(-10px) rotateX(3deg) rotateY(-2deg);
}

.services .agents-grid { align-items: start; }

.service-card {
    display: flex;
    flex-direction: column;
}

.service-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: rgba(12, 52, 131, 0.08);
    line-height: 1;
    pointer-events: none;
}

.service-subhead {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin: 16px 0 6px;
}

.service-example {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-medium-gray);
    background: rgba(52, 152, 219, 0.07);
    border-left: 3px solid var(--color-bright-blue);
    border-radius: 8px;
    margin-bottom: 16px;
}

.service-example strong {
    color: var(--color-dark-blue);
}

.service-cost {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark-blue);
    padding-top: 14px;
    border-top: 1px solid rgba(12, 52, 131, 0.1);
    margin-top: auto; /* ponytail: only the price row pins to the bottom; content above flows naturally */
}

/* Proof-Before-Pitch steps */
.proof-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.proof-step {
    position: relative;
    padding: 32px 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all var(--transition-smooth);
}

.proof-step:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-lg);
}

.proof-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-button);
}

.proof-title {
    font-size: 17px;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
}

.proof-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-medium-gray);
}

.proof-footer {
    text-align: center;
}

.proof-tagline {
    max-width: 560px;
    margin: 0 auto 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-medium-gray);
}

/* Case studies */
.case-studies {
    padding: 100px 0;
    background: var(--color-light-gray);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background: var(--color-white);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

.case-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--glass-border-hover);
}

.case-tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 16px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-bright-blue);
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 100px;
}

.case-title {
    font-size: 19px;
    line-height: 1.35;
    color: var(--color-dark-blue);
    margin-bottom: 12px;
}

.case-problem {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-medium-gray);
    margin-bottom: 16px;
}

.case-quote {
    margin-top: auto;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.55;
    font-style: italic;
    color: var(--color-dark-blue);
    background: rgba(52, 152, 219, 0.06);
    border-left: 3px solid var(--color-bright-blue);
    border-radius: 8px;
}

.case-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    color: var(--color-medium-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .proof-steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 640px) {
    .proof-steps {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .agent-card,
    .proof-step,
    .case-card {
        transition: none;
    }

    .agent-card:hover,
    .proof-step:hover,
    .case-card:hover {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Problem section + real pricing
   -------------------------------------------------------------------------- */
.problem {
    padding: 100px 0;
    background: var(--color-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    perspective: 1400px;
}

.problem-card {
    padding: 28px 24px;
    background: var(--color-light-gray);
    border: 1px solid rgba(12, 52, 131, 0.08);
    border-radius: 16px;
    transition: all var(--transition-smooth);
}

.problem-card:hover {
    transform: translateY(-8px) rotateX(3deg);
    box-shadow: var(--shadow-lg);
    background: var(--color-white);
}

.problem-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #C0392B;
    background: rgba(192, 57, 43, 0.08);
    border-radius: 50%;
}

.problem-title {
    font-size: 17px;
    color: var(--color-dark-blue);
    margin-bottom: 8px;
}

.problem-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-medium-gray);
}

.problem-closer {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-medium-gray);
}

.problem-closer strong {
    color: var(--color-dark-blue);
}

/* Pricing — 4 retainer cards + range prices */
.pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-price .amount.range {
    font-size: 32px;
}

.pricing-note {
    max-width: 720px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-medium-gray);
}

.pricing-note strong {
    color: var(--color-dark-blue);
}

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

@media (max-width: 640px) {
    .problem-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Booking modal (custom Calendly-style)
   -------------------------------------------------------------------------- */
.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 52, 131, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* display:flex above beats the browser's [hidden] rule — restore it */
.booking-overlay[hidden] {
    display: none;
}

.booking-modal {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    width: min(760px, 100%);
    max-height: 90vh;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: heroRise 0.35s ease-out both;
}

.booking-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    color: var(--color-medium-gray);
    background: var(--color-light-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.booking-close:hover {
    color: var(--color-dark-blue);
    background: rgba(52, 152, 219, 0.15);
}

.booking-left {
    padding: 36px 28px;
    border-right: 1px solid rgba(12, 52, 131, 0.1);
}

.booking-logo {
    width: 56px;
    margin-bottom: 16px;
}

.booking-team {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-light-text);
    margin-bottom: 6px;
}

.booking-event {
    font-size: 22px;
    color: var(--color-dark-gray);
    margin-bottom: 18px;
}

.booking-meta {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-medium-gray);
    margin-bottom: 12px;
}

.booking-meta svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.booking-right {
    padding: 36px 32px;
    overflow-y: auto;
}

.booking-title {
    font-size: 18px;
    color: var(--color-dark-gray);
    margin-bottom: 18px;
}

/* Calendar */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cal-month {
    font-weight: 700;
    color: var(--color-dark-gray);
}

.cal-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
    color: var(--color-bright-blue);
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.cal-nav:hover {
    background: rgba(52, 152, 219, 0.1);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-days span {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-medium-gray);
    text-align: center;
    padding: 6px 0;
}

.cal-date {
    aspect-ratio: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-bright-blue);
    background: rgba(52, 152, 219, 0.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cal-date:hover:not(:disabled) {
    background: var(--color-bright-blue);
    color: var(--color-white);
}

.cal-date:disabled {
    color: var(--color-light-text);
    background: none;
    cursor: default;
}

.cal-today:not(:disabled) {
    box-shadow: inset 0 0 0 1.5px var(--color-bright-blue);
}

.booking-tz {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-medium-gray);
}

/* Slots */
.booking-back {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-bright-blue);
    background: none;
    border: none;
    cursor: pointer;
}

.slot-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.slot-btn {
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-bright-blue);
    background: none;
    border: 1.5px solid rgba(52, 152, 219, 0.4);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slot-btn:hover {
    background: var(--color-bright-blue);
    color: var(--color-white);
    border-color: var(--color-bright-blue);
}

/* Form */
.booking-chosen {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 16px;
}

.booking-label {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-medium-gray);
}

.booking-label input,
.booking-label textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    font: inherit;
    font-size: 16px;
    color: var(--color-dark-gray);
    border: 1.5px solid rgba(12, 52, 131, 0.15);
    border-radius: 10px;
    transition: border-color var(--transition-fast);
    min-height: 44px;
}

.booking-label input:focus,
.booking-label textarea:focus {
    outline: none;
    border-color: var(--color-bright-blue);
}

.booking-error {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #C0392B;
}

/* Success */
.booking-success {
    text-align: center;
    padding-top: 24px;
}

.booking-check {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-button);
}

@media (max-width: 640px) {
    .booking-modal {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }

    .booking-left {
        padding: 28px 24px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(12, 52, 131, 0.1);
    }

    .booking-right {
        padding: 24px;
    }

    .booking-close {
        width: 44px;
        height: 44px;
    }

    .slot-list {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Layout variety: horizontal team cards + inverted featured pricing
   -------------------------------------------------------------------------- */

/* Team — horizontal split cards, one per row, alternating direction */
.team-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    max-width: 820px;
    width: 100%;
    padding: 40px 44px;
}

.team-card:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.team-card:nth-child(even) .team-social {
    justify-content: flex-end;
}

.team-card .team-image {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    margin: 0;
}

.team-social {
    display: flex;
    gap: 12px;
}

@media (max-width: 640px) {
    .team-card,
    .team-card:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .team-card .team-social,
    .team-card:nth-child(even) .team-social {
        justify-content: center;
    }
}

/* Featured pricing card — inverted dark gradient so it breaks the white row */
.pricing-card.featured {
    background: var(--gradient-cta);
    border: none;
}

.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-price .amount,
.pricing-card.featured .pricing-price .period,
.pricing-card.featured .pricing-features li {
    color: var(--color-white);
}

.pricing-card.featured .pricing-description {
    color: rgba(255, 255, 255, 0.75);
}

.pricing-card.featured .pricing-features svg {
    color: #7FD4FF;
}

/* --------------------------------------------------------------------------
   Interactive services widget (index.html #agents)
   -------------------------------------------------------------------------- */

.services-widget {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: 32px;
    margin: 40px 0 8px;
    align-items: stretch;
}

.services-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    font-family: var(--font-family);
    transition: all var(--transition-smooth);
    min-height: 44px;
}

.service-nav-item:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateX(4px);
}

.service-nav-item:focus-visible {
    outline: 2px solid var(--color-bright-blue);
    outline-offset: 2px;
}

.service-nav-item.active {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.service-nav-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    color: var(--color-bright-blue);
    transition: all var(--transition-smooth);
}

.service-nav-icon svg {
    width: 22px;
    height: 22px;
}

.service-nav-item.active .service-nav-icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
}

.service-nav-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.service-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark-blue);
    transition: color var(--transition-smooth);
}

.service-nav-sub {
    font-size: 13px;
    color: var(--color-medium-gray);
    transition: color var(--transition-smooth);
}

.service-nav-item.active .service-nav-title,
.service-nav-item.active .service-nav-sub {
    color: var(--color-white);
}

.service-nav-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.service-nav-item.active .service-nav-progress {
    opacity: 1;
}

.service-nav-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--color-white);
}

.service-nav-item.active .service-nav-progress-fill {
    animation: serviceNavProgress 6s linear;
}

@keyframes serviceNavProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.services-panel-wrap {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px 44px;
    overflow: hidden;
}

.services-panel-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.service-panel {
    animation: servicePanelIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes servicePanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .service-panel { animation: none; }
    .service-nav-item.active .service-nav-progress-fill { animation: none; width: 100%; }
}

.service-panel-num {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: rgba(12, 52, 131, 0.08);
    line-height: 1;
    margin-bottom: 8px;
}

.service-panel-title {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--color-dark-blue);
}

.service-panel-problem {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-medium-gray);
    margin-bottom: 20px;
}

.service-panel-problem strong {
    color: var(--color-dark-blue);
}

.service-panel-example {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-medium-gray);
    background: rgba(52, 152, 219, 0.07);
    border-left: 3px solid var(--color-bright-blue);
    border-radius: 8px;
    margin-bottom: 28px;
}

.service-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(12, 52, 131, 0.1);
}

.service-panel-cost {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark-blue);
}

.service-panel-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.service-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-bright-blue);
    text-decoration: none;
    min-height: 44px;
    padding: 12px 4px;
    transition: color var(--transition-smooth);
}

.service-panel-link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-smooth);
}

.service-panel-link:hover {
    color: var(--color-dark-blue);
}

.service-panel-link:hover svg {
    transform: translateX(3px);
}

.service-panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-bright-blue);
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    min-height: 44px;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.service-panel-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-smooth);
}

.service-panel-cta:hover {
    background: var(--color-dark-blue);
    box-shadow: var(--shadow-lg);
}

.service-panel-cta:hover svg {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .services-widget {
        grid-template-columns: 1fr;
    }

    .services-panel-wrap {
        padding: 36px 28px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .services-panel-wrap { padding: 28px 20px; }
    .service-panel-title { font-size: 22px; }
    .service-nav-item { padding: 14px 16px; gap: 12px; }
}

.pricing-card.featured .btn-primary {
    background: var(--color-white);
    color: var(--color-dark-blue);
}
