/* ===========================================
   NEXUS DIGITAL — Style System
   IBM Blue (#0F62FE) | Dark + Glow Border Cards
   Font: Segoe UI (system font, clean + crisp)
   =========================================== */

:root {
    --blue: #0F62FE;
    --blue-light: #4589FF;
    --blue-dark: #0043CE;
    --blue-ghost: rgba(15, 98, 254, 0.12);
    --blue-glow: rgba(15, 98, 254, 0.25);
    --purple: #7C3AED;
    --purple-glow: rgba(124, 58, 237, 0.3);

    --bg: #161929;
    --bg-elevated: #1C2036;
    --surface: rgba(30, 35, 62, 0.7);
    --surface-solid: #1F2440;
    --surface-hover: rgba(36, 42, 72, 0.9);
    --border: rgba(15, 98, 254, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --text: #F2F4FA;
    --text-secondary: #AEB2CE;
    --text-muted: #7B7FA0;

    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-blue: 0 8px 32px rgba(15, 98, 254, 0.25);

    --font: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

/* Lenis smooth-scroll hooks — hand control to Lenis when it's active,
   fall back to native smooth scroll if the library doesn't load. */
.lenis, .lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===========================================
   NAVIGATION
   =========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(22, 25, 41, 0.88);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--blue);
    color: white;
    font-weight: 800;
    font-size: 18px;
    border-radius: var(--radius-xs);
}

.logo-mark-svg {
    width: 36px;
    height: auto;
}

.footer-logo-svg {
    width: 28px;
    height: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue-light);
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(15, 98, 254, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

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

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    position: relative;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-content--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main headline — slides up and fades in */
.hero-headline {
    margin-bottom: 16px;
}

.hero-headline__main {
    display: block;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    opacity: 0;
    transform: translateY(30px);
    animation: heroSlideUp 0.8s ease-out 0.3s forwards;
}

/* Rotating pain-point line */
.hero-rotator {
    height: 48px;
    overflow: hidden;
    margin-bottom: 24px;
    opacity: 0;
    animation: heroFadeIn 0.6s ease-out 1.1s forwards;
}

.hero-rotator__line {
    display: inline-block;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--text-secondary);
    font-style: italic;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-rotator__line.fade-out {
    opacity: 0;
    transform: translateY(-12px);
}

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

/* Punchline — the payoff */
.hero-punchline {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue-light), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    opacity: 0;
    animation: heroSlideUp 0.8s ease-out 3.6s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: scrollIndicatorFadeIn 1.2s ease-out 5.5s forwards;
    cursor: pointer;
    z-index: 5;
}

.hero-scroll-indicator svg {
    width: 56px;
    height: 34px;
    filter: drop-shadow(0 0 10px rgba(15, 98, 254, 0.45)) drop-shadow(0 0 24px rgba(139, 92, 246, 0.3)) drop-shadow(0 0 40px rgba(15, 98, 254, 0.15));
    animation: scrollBounce 2.4s ease-in-out 6.7s infinite;
}

@keyframes scrollIndicatorFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Glassmorphic logo watermark */
.hero-glass-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(95vw, 780px);
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.15s ease-out;
    filter: blur(0.5px);
}

.hero-glass-logo svg {
    width: 100%;
    height: auto;
}

/* Background floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

/* Keyframes */
@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    20% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.2;
        transform: translateY(-80px) scale(1);
    }
    80% {
        opacity: 0.3;
    }
}

.text-blue {
    color: var(--blue-light);
}

/* ===========================================
   SPIDER CHART / ASSESSMENT
   =========================================== */
.assessment {
    padding: 0;
    position: relative;
}

/* Scroll-scrubbed pin: the track is tall, the inner panel sticks while you
   scroll through it, and JS scrubs the radar chart to scroll position. */
.assessment-track {
    position: relative;
    height: 280vh;
}

.assessment-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* On phones (and for reduced-motion users) drop the pin and let the chart
   play once on view — pinning a tall section on a small screen feels off. */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .assessment-track { height: auto; }
    .assessment-sticky {
        position: static;
        min-height: 0;
        padding: 100px 0;
    }
}

.assessment-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.assessment-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-light);
    margin-bottom: 16px;
}

.assessment-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text);
}

.assessment-lead {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.assessment-body {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.assessment-body strong {
    color: var(--blue-light);
    font-weight: 700;
}

.assessment-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot--before {
    background: rgba(15, 98, 254, 0.3);
    border: 2px solid rgba(15, 98, 254, 0.5);
}

.legend-dot--after {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 0 8px rgba(15, 98, 254, 0.4);
}

/* Chart wrapper */
.chart-wrapper {
    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.spider-svg {
    width: 100%;
    height: auto;
}

/* Grid rings */
.spider-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 1;
}

.spider-ring[data-ring="4"] {
    stroke: rgba(15, 98, 254, 0.12);
}

/* Axis lines */
.spider-axis {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1.5;
}

/* Data polygons */
.spider-area {
    transition: opacity 0.3s ease;
}

.spider-area--before {
    stroke: rgba(15, 98, 254, 0.4);
    stroke-width: 2;
    stroke-linejoin: round;
}

.spider-area--after {
    stroke: url(#chartStroke);
    stroke-width: 2.5;
    stroke-linejoin: round;
}

/* Data dots */
.spider-dot--after {
    fill: var(--blue-light);
    stroke: white;
    stroke-width: 2;
    opacity: 0;
    transition: r 0.2s ease;
}

.spider-dot--after:hover {
    r: 8;
}

/* Axis labels */
.spider-label {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    fill: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

/* Score labels */
.spider-score--before {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    fill: rgba(100, 170, 255, 0.9);
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .assessment-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .assessment-chart {
        order: -1;
    }

    .chart-wrapper {
        max-width: 460px;
    }

    .assessment-legend {
        flex-direction: row;
        gap: 24px;
    }
}

/* ===========================================
   SERVICES / CARDS — GLOW BORDER EFFECT
   =========================================== */
.services {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.cards-grid > .card {
    flex: 0 1 calc(33.333% - 16px);
    min-width: 320px;
}

/* Card with gradient glow border */
.card {
    position: relative;
    background: var(--surface-solid);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Gradient border glow — always visible */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.4),
        rgba(124, 58, 237, 0.3) 40%,
        rgba(15, 98, 254, 0.1) 60%,
        rgba(124, 58, 237, 0.4)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

/* Ambient glow behind card */
.card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius);
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.08),
        rgba(124, 58, 237, 0.06) 50%,
        rgba(15, 98, 254, 0.08)
    );
    filter: blur(20px);
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.card:hover {
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 98, 254, 0.15), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.7),
        rgba(124, 58, 237, 0.5) 40%,
        rgba(15, 98, 254, 0.3) 60%,
        rgba(124, 58, 237, 0.7)
    );
}

.card:hover::after {
    opacity: 1;
    filter: blur(30px);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Services CTA link — card-matched subtle button */
.services-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.services-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    background: var(--surface-solid);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 16px 32px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.services-cta-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.4),
        rgba(124, 58, 237, 0.3) 40%,
        rgba(15, 98, 254, 0.1) 60%,
        rgba(124, 58, 237, 0.4)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

.services-cta-link:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(15, 98, 254, 0.12), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.services-cta-link:hover::before {
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.7),
        rgba(124, 58, 237, 0.5) 40%,
        rgba(15, 98, 254, 0.3) 60%,
        rgba(124, 58, 237, 0.7)
    );
}

.services-cta-link svg {
    transition: transform 0.3s ease;
}

.services-cta-link:hover svg {
    transform: translateX(4px);
}

/* ===========================================
   HOW IT WORKS
   =========================================== */
.how-it-works {
    padding: 100px 24px;
    background: var(--bg-elevated);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.step {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    position: relative;
    transition: all 0.35s ease;
    background: rgba(15, 98, 254, 0.04);
}

/* Glow border on steps — always visible */
.step::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(
        180deg,
        rgba(15, 98, 254, 0.3),
        rgba(124, 58, 237, 0.15) 50%,
        transparent
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 1;
    transition: all 0.35s ease;
}

.step:hover {
    transform: translateY(-6px);
    background: rgba(15, 98, 254, 0.08);
    box-shadow: 0 12px 40px rgba(15, 98, 254, 0.15), 0 0 20px rgba(124, 58, 237, 0.08);
}

.step:hover::before {
    opacity: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 98, 254, 0.5),
        rgba(124, 58, 237, 0.3) 50%,
        rgba(15, 98, 254, 0.1)
    );
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--blue-ghost);
    color: var(--blue-light);
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 98, 254, 0.2);
}

.step h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===========================================
   ABOUT
   =========================================== */
.about {
    padding: 100px 24px;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content strong {
    color: var(--text);
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}

.cta-card {
    position: relative;
    background: var(--surface-solid);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 80px 60px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Welcome icon above CTA heading */
.cta-welcome-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.12), rgba(124, 58, 237, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 98, 254, 0.2);
    animation: welcomePulse 3s ease-in-out infinite;
}

.cta-welcome-icon svg {
    width: 26px;
    height: 26px;
}

@keyframes welcomePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(15, 98, 254, 0.15); }
    50% { box-shadow: 0 0 0 12px rgba(15, 98, 254, 0); }
}

/* Glow border on CTA card */
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.5),
        rgba(124, 58, 237, 0.3) 50%,
        rgba(15, 98, 254, 0.5)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Ambient glow behind CTA */
.cta-card::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: var(--radius);
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.1),
        rgba(124, 58, 237, 0.08) 50%,
        rgba(15, 98, 254, 0.1)
    );
    filter: blur(30px);
    z-index: -1;
}

/* Split layout — intro left, form right on wide screens */
.cta-card--split {
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .cta-card--split {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
        align-items: start;
        padding: 72px 64px;
    }

    .cta-intro {
        position: sticky;
        top: 120px;
    }

    .cta-intro h2 {
        text-align: left;
    }

    .cta-intro p {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    .cta-card--split .cta-toggle {
        max-width: 100%;
        margin: 0;
        flex-direction: column;
    }

    .cta-card--split .cta-form {
        max-width: 100%;
        margin: 0;
    }

    .cta-card--split .cta-card p {
        margin: 0 0 32px;
    }
}

.cta-intro p {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
}

.cta-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 30%, var(--blue-light) 70%, var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-card p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* CTA Toggle Buttons */
.cta-toggle {
    display: flex;
    gap: 0;
    margin: 0 auto 36px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 4px;
    border: 1px solid var(--border-subtle);
}

.cta-toggle__btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-xs);
    transition: all 0.3s ease;
}

.cta-toggle__btn:hover {
    color: var(--text-secondary);
}

.cta-toggle__btn--active {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    box-shadow: 0 4px 16px rgba(15, 98, 254, 0.3), 0 0 32px rgba(124, 58, 237, 0.1);
    transform: scale(1.02);
}

/* CTA Forms */
.cta-form {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
    animation: formFadeIn 0.4s ease;
}

.cta-form--hidden {
    display: none;
}

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

.cta-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.cta-form__field {
    margin-bottom: 16px;
}

.cta-form__field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cta-form__optional {
    font-weight: 400;
    color: var(--text-muted);
}

.cta-form__field input,
.cta-form__field select,
.cta-form__field textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    transition: all 0.35s ease;
    outline: none;
}

.cta-form__field input::placeholder,
.cta-form__field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.cta-form__field input:focus,
.cta-form__field select:focus,
.cta-form__field textarea:focus {
    border-color: rgba(15, 98, 254, 0.5);
    box-shadow: 0 0 0 3px var(--blue-ghost), 0 0 20px rgba(15, 98, 254, 0.08);
    background: rgba(15, 98, 254, 0.03);
}

.cta-form__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6F8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.cta-form__field select option {
    background: var(--bg-elevated);
    color: var(--text);
}

.cta-form__field textarea {
    resize: vertical;
    min-height: 80px;
}

.cta-form__submit {
    width: 100%;
    margin-top: 12px;
    font-size: 16px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
}

.cta-form__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: submitShimmer 3s ease-in-out infinite;
}

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

.cta-form__submit:hover {
    box-shadow: 0 8px 32px rgba(15, 98, 254, 0.35), 0 0 60px rgba(124, 58, 237, 0.15);
}

.cta-form__footnote {
    text-align: left;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 0;
    font-style: italic;
    opacity: 0.8;
}

.cta-form__status {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
}

.cta-form__status--success {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.cta-form__status--error {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.cta-form__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    padding: 60px 24px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.footer-brand .logo-text {
    color: var(--text);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 8px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-video {
        order: 2;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-scroll-indicator {
        bottom: 4px;
    }

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

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border-subtle);
        width: 100%;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .cards-grid > .card {
        flex: 1 1 100%;
        min-width: unset;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-toggle {
        flex-direction: column;
    }

    .cta-form__row {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   TACTIQ-STYLE GRADIENT GLOW BACKGROUND
   =========================================== */

/* Container for gradient glow elements */
.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

/* Primary glow — IBM Blue to magenta, large atmospheric blob */
.bg-orb--1 {
    position: absolute;
    top: -10%;
    left: -15%;
    width: 60%;
    height: 55%;
    background: #0F62FE;
    background: linear-gradient(90deg, rgba(15, 98, 254, 0.45), rgba(255, 56, 104, 0.32));
    filter: blur(130px);
    border-radius: 50%;
    animation: glow-drift1 16s ease-in-out infinite alternate;
}

/* Secondary glow — purple to blue, right side */
.bg-orb--2 {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 50%;
    height: 45%;
    background: #7C3AED;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.34), rgba(15, 98, 254, 0.28));
    filter: blur(130px);
    border-radius: 50%;
    animation: glow-drift2 20s ease-in-out infinite alternate;
}

/* Tertiary glow — subtle accent, bottom left */
.bg-orb--3 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 50%;
    height: 40%;
    background: linear-gradient(90deg, rgba(15, 98, 254, 0.26), rgba(255, 56, 104, 0.18));
    filter: blur(140px);
    border-radius: 50%;
    animation: glow-drift3 22s ease-in-out infinite alternate;
}

/* Faint centre fill — keeps the middle from going fully black */
.bg-orb--4 {
    position: absolute;
    top: 25%;
    left: 20%;
    width: 55%;
    height: 50%;
    background: radial-gradient(circle, rgba(15, 98, 254, 0.1), transparent 65%);
    filter: blur(80px);
    border-radius: 50%;
}

@keyframes glow-drift1 {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.75; }
    50%  { transform: translate(40px, 25px) scale(1.05); opacity: 0.85; }
    100% { transform: translate(-20px, 45px) scale(0.97); opacity: 0.75; }
}

@keyframes glow-drift2 {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50%  { transform: translate(-50px, -20px) scale(1.07); opacity: 0.8; }
    100% { transform: translate(30px, -30px) scale(0.95); opacity: 0.7; }
}

@keyframes glow-drift3 {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.65; }
    50%  { transform: translate(30px, -25px) scale(1.06); opacity: 0.75; }
    100% { transform: translate(-25px, 20px) scale(0.96); opacity: 0.65; }
}

/* Full-width nav pulse line — persistent gradient line with sweep */
.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--blue) 30%,
        #8B5CF6 50%,
        var(--blue) 70%,
        transparent
    );
    opacity: 0.7;
    box-shadow:
        0 0 8px rgba(15, 98, 254, 0.4),
        0 0 20px rgba(15, 98, 254, 0.2),
        0 1px 30px rgba(124, 58, 237, 0.15);
}

/* (Travelling pulse removed — too gimmicky for consultancy) */

/* Nav link hover pulse underline */
.nav-links a:not(.btn) {
    position: relative;
    overflow: visible;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), #8B5CF6);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    box-shadow: none;
}

.nav-links a:not(.btn):hover::after {
    transform: scaleX(1);
    opacity: 1;
    box-shadow:
        0 0 6px rgba(15, 98, 254, 0.5),
        0 0 16px rgba(15, 98, 254, 0.25),
        0 0 30px rgba(124, 58, 237, 0.12);
}

/* Pulse sweep animation on hover */
.nav-links a:not(.btn)::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: -20%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(69, 137, 255, 0.95),
        rgba(139, 92, 246, 1),
        transparent
    );
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.nav-links a:not(.btn):hover::before {
    animation: link-pulse 0.6s ease-out forwards;
}

@keyframes link-pulse {
    0%   { left: -20%; opacity: 0; }
    20%  { opacity: 1; }
    100% { left: 80%; opacity: 0; }
}

/* Soft glow behind hero heading */
.hero-content h1 {
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 140%;
    height: 120%;
    transform: translateY(-50%);
    background: radial-gradient(ellipse at center, rgba(15, 98, 254, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}

/* ===========================================
   SCROLL REVEAL ANIMATIONS
   =========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===========================================
   SECTION DIVIDERS
   =========================================== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(15, 98, 254, 0.3) 20%,
        rgba(124, 58, 237, 0.4) 50%,
        rgba(15, 98, 254, 0.3) 80%,
        transparent
    );
    margin: 0;
    border: none;
}

/* ===========================================
   STATS / CREDIBILITY BAR
   =========================================== */
.stats-bar {
    padding: 80px 24px;
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 98, 254, 0.2), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(15, 98, 254, 0.2), transparent);
}

.stat-number {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--blue-light), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.stat-sublabel {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

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

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

/* ===========================================
   TESTIMONIALS / SOCIAL PROOF
   =========================================== */
.testimonials {
    padding: 100px 24px;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    background: var(--surface-solid);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.2),
        rgba(124, 58, 237, 0.15) 50%,
        rgba(15, 98, 254, 0.1)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card:hover::before {
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.4),
        rgba(124, 58, 237, 0.3) 50%,
        rgba(15, 98, 254, 0.2)
    );
}

.testimonial-quote {
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: -4px;
    font-size: 60px;
    font-style: normal;
    line-height: 1;
    background: linear-gradient(135deg, var(--blue-light), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* Stars */
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
}

/* ===========================================
   ENHANCED ABOUT SECTION
   =========================================== */
.about-badges {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(15, 98, 254, 0.06);
    border: 1px solid rgba(15, 98, 254, 0.12);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.about-badge:hover {
    background: rgba(15, 98, 254, 0.1);
    border-color: rgba(15, 98, 254, 0.25);
    transform: translateY(-2px);
}

.about-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-light);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.about-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===========================================
   ENHANCED FOOTER
   =========================================== */
.footer {
    padding: 80px 24px 40px;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-about {
    max-width: 280px;
}

.footer-about p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 24px auto 0;
}

.footer-bottom .footer-copy {
    margin: 0;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--blue-ghost);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: var(--text-muted);
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: var(--blue-light);
}

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

    .footer-about {
        grid-column: 1 / -1;
    }

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

    .about-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ===========================================
   CARD ICON GLOW ON HOVER
   =========================================== */
.card:hover .card-icon svg {
    filter: drop-shadow(0 0 8px rgba(15, 98, 254, 0.5));
    transition: filter 0.4s ease;
}

/* ===========================================
   NOISE TEXTURE OVERLAY
   =========================================== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    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");
    background-repeat: repeat;
    mix-blend-mode: overlay;
}

/* ===========================================
   NEXA — AI ASSISTANT WIDGET
   =========================================== */

/* Container — fixed bottom-right */
.nexa-widget {
    position: fixed;
    bottom: 48px;
    right: 28px;
    z-index: 9000;
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

/* Speech bubble — themed card style */
.nexa-bubble {
    position: relative;
    background: var(--surface-solid);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    max-width: 220px;
    box-shadow: var(--shadow), 0 0 24px rgba(15, 98, 254, 0.08);
    opacity: 0;
    transform: translateX(20px);
    animation: nexaBubbleIn 0.6s ease-out 2s forwards, nexaBubbleOut 0.6s ease-in 5s forwards;
    cursor: pointer;
    overflow: hidden;
}

/* Glow border — matches card style */
.nexa-bubble::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.35),
        rgba(124, 58, 237, 0.25) 50%,
        rgba(15, 98, 254, 0.15)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Tail pointing right towards Nexa */
.nexa-bubble::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 18px;
    width: 16px;
    height: 16px;
    background: var(--surface-solid);
    border-right: 1px solid rgba(15, 98, 254, 0.25);
    border-bottom: 1px solid rgba(15, 98, 254, 0.25);
    transform: rotate(-45deg);
    border-radius: 0 0 3px 0;
}

.nexa-bubble-text {
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.5;
}

.nexa-bubble-text strong {
    color: var(--blue-light);
    font-weight: 700;
}

/* Nexa character button */
.nexa-character {
    width: 120px;
    height: 120px;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateX(80px);
    animation: nexaFlyIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
    transition: transform 0.3s ease;
}

.nexa-character:hover {
    transform: scale(1.08);
}

.nexa-character:active {
    transform: scale(0.95);
}

/* Character image */
.nexa-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(15, 98, 254, 0.3)) drop-shadow(0 0 24px rgba(124, 58, 237, 0.15));
}

/* Idle bob animation */
.nexa-character--idle {
    animation: nexaFlyIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards,
               nexaBob 3s ease-in-out 2s infinite;
}

/* Glow ring around character — disabled, character has transparent bg */
.nexa-character::before {
    display: none;
}

/* Blink state — swap via JS */
.nexa-character .nexa-open {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.1s ease;
}

.nexa-character .nexa-open img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nexa-character .nexa-blink {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.nexa-character .nexa-blink img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Fly in from right */
@keyframes nexaFlyIn {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Gentle bob/hover */
@keyframes nexaBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Bubble slides in */
@keyframes nexaBubbleIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bubble fades out */
@keyframes nexaBubbleOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Glow pulse */
@keyframes nexaGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Hide bubble when chat is open */
.nexa-widget--chat-open .nexa-bubble {
    display: none;
}

.nexa-widget--chat-open .nexa-character {
    display: none;
}

/* Chat window */
.nexa-chat {
    display: none;
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 380px;
    height: 520px;
    background: var(--surface-solid);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(15, 98, 254, 0.1);
    z-index: 9001;
    overflow: hidden;
    flex-direction: column;
    animation: nexaChatOpen 0.35s ease-out;
}

.nexa-chat--open {
    display: flex;
}

/* Chat glow border */
.nexa-chat::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(15, 98, 254, 0.4),
        rgba(124, 58, 237, 0.3) 50%,
        rgba(15, 98, 254, 0.2)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nexa-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(15, 98, 254, 0.06);
    border-bottom: 1px solid var(--border);
}

.nexa-chat-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
}

.nexa-chat-header-info {
    flex: 1;
}

.nexa-chat-header-name {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.nexa-chat-header-status {
    font-size: 12px;
    color: var(--blue-light);
    font-weight: 500;
}

.nexa-chat-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 18px;
    font-family: var(--font);
}

.nexa-chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.nexa-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.nexa-chat-input-wrap {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: rgba(15, 98, 254, 0.03);
}

.nexa-chat-input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.nexa-chat-input:focus {
    border-color: rgba(15, 98, 254, 0.4);
}

.nexa-chat-input::placeholder {
    color: var(--text-muted);
}

.nexa-chat-send {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    border-radius: var(--radius-xs);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nexa-chat-send:hover {
    box-shadow: 0 4px 16px rgba(15, 98, 254, 0.4);
    transform: translateY(-1px);
}

@keyframes nexaChatOpen {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Status dot */
.nexa-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 4px;
    animation: nexaStatusPulse 2s ease-in-out infinite;
}

@keyframes nexaStatusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Chat message bubbles */
.nexa-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
    animation: nexaMsgIn 0.25s ease-out;
    word-wrap: break-word;
}

.nexa-msg--user {
    margin-left: auto;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    border-bottom-right-radius: 4px;
}

.nexa-msg--bot {
    margin-right: auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border-bottom-left-radius: 4px;
}

.nexa-msg--bot strong {
    color: var(--blue-light);
}

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

/* Typing indicator */
.nexa-typing {
    display: flex;
    gap: 5px;
    padding: 14px 18px;
    width: fit-content;
}

.nexa-typing span {
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: nexaDot 1.2s ease-in-out infinite;
}

.nexa-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.nexa-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes nexaDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Scrollbar for messages */
.nexa-chat-messages::-webkit-scrollbar {
    width: 5px;
}

.nexa-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.nexa-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nexa-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Nexa contact handoff button */
.nexa-contact-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #0F62FE, #7C3AED);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.nexa-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 98, 254, 0.4);
}

.nexa-contact-btn:active {
    transform: translateY(0);
}

/* Disabled send button */
.nexa-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile: full-width chat */
@media (max-width: 480px) {
    .nexa-chat {
        width: calc(100vw - 24px);
        height: calc(100vh - 80px);
        bottom: 12px;
        right: 12px;
    }

    .nexa-widget {
        bottom: 16px;
        right: 16px;
    }
}

/* ===========================================
   NEWS PAGE
   =========================================== */

.nav-link--active {
    color: var(--blue-light) !important;
}

/* News Hero */
.news-hero {
    padding: clamp(140px, 18vh, 200px) 0 clamp(40px, 6vh, 80px);
    text-align: center;
}

.news-eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue-light);
    margin-bottom: 16px;
}

.news-headline {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 30%, var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    font-weight: 500;
}

/* News Section */
.news-section {
    padding-bottom: 80px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* News Cards */
.news-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.news-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.news-card--featured {
    border-color: var(--border);
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.06), rgba(124, 58, 237, 0.04));
}

.news-card--featured .news-card-title {
    font-size: 22px;
}

.news-card-image {
    width: 180px;
    min-height: 140px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.03);
}

.news-card-inner {
    padding: 28px;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue-light);
    background: var(--blue-ghost);
    padding: 4px 10px;
    border-radius: 20px;
}

.news-card-date {
    font-size: 13px;
    color: var(--text-muted);
}

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text);
}

.news-card-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--blue-light);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: gap 0.2s;
}

.news-card-read:hover {
    gap: 10px;
}

.news-card-read svg {
    transition: transform 0.2s;
}

.news-card-read:hover svg {
    transform: translateX(2px);
}

/* Pagination */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.news-page-btn {
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.news-page-btn:hover {
    border-color: var(--border);
    color: var(--text);
}

.news-page-info {
    font-size: 13px;
    color: var(--text-muted);
}

/* Empty state */
.news-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-size: 16px;
}

/* Article Modal */
.news-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.news-modal--open {
    display: flex;
}

.news-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.news-modal-content {
    position: relative;
    margin: auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 720px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    padding: clamp(28px, 5vw, 48px);
    animation: newsModalIn 0.3s ease-out;
}

@keyframes newsModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.news-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.news-modal-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.news-modal-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.news-modal-title {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 28px;
}

.news-modal-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 0 24px 0;
}

.news-modal-body {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.news-modal-body p {
    margin-bottom: 16px;
}

.news-modal-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.news-modal-body li {
    margin-bottom: 8px;
}

.news-modal-body strong {
    color: var(--text);
}

/* Modal scrollbar */
.news-modal-content::-webkit-scrollbar { width: 5px; }
.news-modal-content::-webkit-scrollbar-track { background: transparent; }
.news-modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* Responsive: 2-col grid on wider screens */
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card--featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .news-card-image { width: 120px; min-height: 100px; }
    .news-card-inner { padding: 20px; }
    .news-modal-content { width: 96%; padding: 20px; }
}

/* ── Newsletter Signup ─────────────────────────────────────────────────── */

.newsletter-section {
    padding: 80px 0 60px;
}

.newsletter-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
}

.newsletter-content {
    text-align: center;
    margin-bottom: 32px;
}

.newsletter-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.newsletter-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto;
}

.newsletter-fields {
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-ghost);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-input--email {
    flex: 1.5;
}

.newsletter-prefs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.newsletter-consent {
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.newsletter-checkbox input {
    display: none;
}

.newsletter-check-mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-subtle);
    border-radius: 4px;
    background: var(--bg);
    position: relative;
    transition: all 0.2s;
    margin-top: 1px;
}

.newsletter-checkbox input:checked + .newsletter-check-mark {
    background: var(--blue);
    border-color: var(--blue);
}

.newsletter-checkbox input:checked + .newsletter-check-mark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.newsletter-checkbox:hover .newsletter-check-mark {
    border-color: var(--blue-light);
}

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

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    border: none;
    border-radius: var(--radius-xs);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    justify-content: center;
}

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

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-msg {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    min-height: 24px;
}

.newsletter-msg--ok {
    color: #34d399;
}

/* ===========================================
   RADAR HERO (homepage) — spider-chart hero
   Scoped under .rhero so it can't touch the
   rest of the site. Adapted from the mockup.
   =========================================== */
.rhero {
    position: relative;
    min-height: 100svh;
    padding-top: 74px;            /* clear the fixed nav */
    overflow: hidden;
    isolation: isolate;
    /* background removed — transparent so the site background shows through (no dark block / seam) */
    background: transparent;
}
/* top divider line removed — was the double line under the nav */
.rhero-inner {
    position: relative;
    z-index: 2;
    width: min(1500px, calc(100% - 8vw));
    min-height: calc(100svh - 74px);
    margin: auto;
    display: grid;
    grid-template-columns: minmax(370px, .86fr) minmax(610px, 1.14fr);
    align-items: center;
    gap: 2vw;
    padding: 45px 0 50px;
}
.rhero .copy { padding-left: 2vw; transform: translateY(-2vh); }
.rhero .copy-message { transition: opacity 420ms ease, transform 420ms ease; }
.rhero .copy-message.changing { opacity: 0; transform: translateY(10px); }
.rhero .copy-logo {
    display: block;
    width: min(310px, 70%);
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 14px rgba(99, 78, 255, .45));
}
.rhero .copy-message.nexus-overview { width: min(520px, 100%); text-align: center; }
.rhero .copy-message.nexus-overview .lede {
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text);
    font-size: clamp(25px, 2.5vw, 38px);
    font-weight: 760;
    line-height: 1.13;
    letter-spacing: -.045em;
    text-align: center;
}
.rhero .copy-message.nexus-overview .copy-logo { margin-left: auto; margin-right: auto; }
.rhero h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(54px, 5vw, 82px);
    font-weight: 760;
    line-height: 1.04;
    letter-spacing: -.065em;
    text-shadow: 0 5px 35px rgba(97, 102, 255, .12);
}
.rhero .lede {
    max-width: 570px;
    margin: 36px 0 44px;
    color: #a8b2d2;
    font-size: clamp(20px, 1.75vw, 28px);
    line-height: 1.55;
    letter-spacing: -.025em;
}
.rhero .visual {
    position: relative;
    width: 100%;
    max-width: 790px;
    justify-self: end;
    perspective: 1100px;
}
.rhero .chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0);
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    will-change: transform;
}
.rhero .grid { fill: none; stroke: url(#gridLine); stroke-width: 1; opacity: .56; }
.rhero .axis { stroke: url(#gridLine); stroke-width: 1; opacity: .58; }
.rhero .axis.top-axis { stroke: #3975ff; }
.rhero .area {
    fill: url(#areaFill);
    stroke: url(#areaStroke);
    stroke-width: 2.1;
    filter: url(#edgeGlow);
}
.rhero .facet { stroke: rgba(133, 170, 255, .07); stroke-width: .55; }
.rhero .facet-highlight {
    fill: none;
    stroke: rgba(111, 154, 255, .16);
    stroke-width: .75;
    opacity: .42;
}
.rhero .joint { fill: #ffffff; stroke: rgba(221, 239, 255, .75); stroke-width: 1; filter: url(#jointGlow); }
.rhero .node-ring { fill: rgba(8, 11, 29, .8); stroke: url(#areaStroke); stroke-width: 1; }
.rhero .node-hit { fill: transparent; stroke: none; pointer-events: all; }
.rhero .node-icon { fill: none; stroke: url(#areaStroke); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rhero .chart-label { fill: #eef2ff; font-size: 16px; font-weight: 450; }
.rhero .service-node {
    --glow-blur: 1px;
    --glow-alpha: 0;
    --active-color: #5b78ff;
    --label-color: #eef2ff;
    --icon-opacity: .82;
    --label-opacity: .78;
    --label-scale: 1;
    cursor: pointer;
}
.rhero .service-node .node-ring,
.rhero .service-node .node-icon,
.rhero .service-node .chart-label {
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 var(--glow-blur) rgb(141 238 255 / var(--glow-alpha)));
}
.rhero .service-node .node-ring { stroke: var(--active-color); }
.rhero .service-node .node-icon { stroke: var(--active-color); opacity: var(--icon-opacity); }
.rhero .service-node .chart-label {
    fill: var(--label-color);
    opacity: var(--label-opacity);
    transform: scale(var(--label-scale));
}
.rhero .center-ring { fill: rgba(6, 8, 23, .88); stroke: url(#areaStroke); stroke-width: 1.2; filter: url(#softGlow); }
.rhero .center-logo {
    filter: drop-shadow(0 0 3px rgba(84, 139, 255, .48)) drop-shadow(0 0 7px rgba(139, 53, 255, .24));
    transform: translate3d(var(--logo-shift-x, 0px), var(--logo-shift-y, 0px), 46px);
    transform-origin: 380px 365px;
    transform-box: view-box;
    will-change: transform;
    pointer-events: none;
}
.rhero .feature-logo-use,
.rhero .copy-logo use { opacity: .7; }
.rhero .center-logo-hit { fill: #ffffff; fill-opacity: .001; stroke: none; pointer-events: all; cursor: pointer; }
.rhero .scroll-cue {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 22px;
    height: 22px;
    border-right: 2px solid #248dff;
    border-bottom: 2px solid #248dff;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 6px #168dff);
    cursor: pointer;
}
@media (max-width: 1050px) {
    .rhero-inner { grid-template-columns: 1fr; width: min(760px, calc(100% - 30px)); padding-top: 70px; }
    .rhero .copy { padding: 0 18px; text-align: center; transform: none; }
    .rhero h1 { margin-inline: auto; }
    .rhero .lede { margin: 25px auto 30px; }
    .rhero .visual { justify-self: center; margin-top: 12px; }
    .rhero .scroll-cue { display: none; }
}
@media (max-width: 560px) {
    .rhero h1 { font-size: clamp(42px, 13vw, 61px); }
    .rhero .lede { font-size: 18px; }
    .rhero .lede br { display: none; }
    .rhero .visual { width: 100%; margin-left: 0; }
    .rhero .chart-label { font-size: clamp(22px, 6vw, 28px); }
}

/* Remove browser focus outline on SVG chart nodes (click/tap white border) */
.rhero .service-node:focus,
.rhero .service-node:focus-visible,
.rhero .center-logo-hit:focus,
.rhero .center-logo-hit:focus-visible {
    outline: none;
}

.newsletter-msg--err {
    color: #f87171;
}

@media (max-width: 600px) {
    .newsletter-card {
        padding: 28px 20px;
    }

    .newsletter-input-row {
        flex-direction: column;
    }

    .newsletter-title {
        font-size: 1.4rem;
    }
}

/* ===========================================
   Global heading font — Segoe UI, weight 760
   Matches the radar hero headings site-wide.
   !important so it wins over per-heading rules
   that set their own family/weight.
   =========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 760 !important;
}
