/* ══════════════════════════════════════════════════
   NEXORA — Main Stylesheet
   Fonts → assets/fonts/
   Vendor JS → assets/js/
══════════════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS ──────────────────────────── */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

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

/* ── CSS VARIABLES ──────────────────────────────── */
:root {
    --cloud:    #F4F7FF;
    --midnight: #040C1E;
    --ink:      #0A1628;
    --electric: #2563EB;
    --plasma:   #7C3AED;
}

/* ── BASE ───────────────────────────────────────── */
html {
    background: var(--cloud);
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cloud);
    color: var(--midnight);
    overflow-x: hidden;
    cursor: none;
}

/* ══════════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════════ */
#cur-dot {
    width: 7px;
    height: 7px;
    background: var(--electric);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: transform;
}

#cur-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(37, 99, 235, .45);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    z-index: 9998;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, border-color .25s, background .25s;
    will-change: transform;
}

#cur-ring.hover {
    width: 64px;
    height: 64px;
    border-color: rgba(124, 58, 237, .6);
    background: rgba(124, 58, 237, .05);
}

/* ══════════════════════════════════════════════════
   NOISE GRAIN OVERLAY
══════════════════════════════════════════════════ */
#grain {
    position: fixed;
    inset: 0;
    z-index: 9997;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: .5;
}

/* ══════════════════════════════════════════════════
   DOT GRID BACKGROUND
══════════════════════════════════════════════════ */
.dot-grid {
    background-image: radial-gradient(circle, rgba(37, 99, 235, .18) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
#navbar {
    transition: background .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s;
}

#navbar.scrolled {
    background: rgba(244, 247, 255, .86);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(37, 99, 235, .1), 0 8px 40px rgba(4, 12, 30, .06);
}

.nav-link {
    position: relative;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: -.01em;
    cursor: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, var(--electric), var(--plasma));
    transition: width .35s cubic-bezier(.16, 1, .3, 1);
    border-radius: 2px;
}

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

/* ── NAV DROPDOWN ──────────────────────────────── */
.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 400px;
    background: rgba(250, 252, 255, .98);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(37, 99, 235, .1);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 32px 80px rgba(4, 12, 30, .15), 0 1px 0 rgba(255,255,255,.8) inset;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s cubic-bezier(.16,1,.3,1),
                transform .3s cubic-bezier(.16,1,.3,1),
                visibility .22s;
    pointer-events: none;
    z-index: 200;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0; right: 0;
    height: 18px;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 13px;
    cursor: none;
    transition: background .18s;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: rgba(37, 99, 235, .055);
}

.nav-dropdown-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform .2s cubic-bezier(.16,1,.3,1);
}

.nav-dropdown-item:hover .nav-dropdown-icon {
    transform: scale(1.08);
}

.nav-dropdown-text {
    flex: 1;
    min-width: 0;
}

.nav-dropdown-name {
    display: block;
    font-size: .82rem;
    font-weight: 650;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.2;
    transition: color .18s;
}

.nav-dropdown-item:hover .nav-dropdown-name {
    color: var(--electric);
}

.nav-dropdown-desc {
    display: block;
    font-size: .72rem;
    color: rgba(10, 22, 40, .42);
    line-height: 1.45;
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: -.005em;
}

.nav-dropdown-arrow {
    width: 16px; height: 16px;
    opacity: 0;
    color: var(--electric);
    flex-shrink: 0;
    transition: opacity .18s, transform .18s;
    transform: translateX(-4px);
}

.nav-dropdown-item:hover .nav-dropdown-arrow {
    opacity: 1;
    transform: translateX(0);
}

.nav-chevron {
    display: inline-block;
    width: 9px; height: 9px;
    margin-left: 3px;
    vertical-align: middle;
    transition: transform .25s cubic-bezier(.16,1,.3,1);
    opacity: .4;
    flex-shrink: 0;
}

.nav-item:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: .65;
}

/* ── LOGO MARK ──────────────────────────────────── */
.logo-mark {
    background: linear-gradient(135deg, var(--electric), var(--plasma));
    border-radius: 10px;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn-dark {
    position: relative;
    overflow: hidden;
    background: var(--midnight);
    color: var(--cloud);
    border-radius: 100px;
    padding: 13px 30px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .25s;
    border: none;
    outline: none;
}

.btn-dark::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--electric), var(--plasma));
    opacity: 0;
    transition: opacity .35s;
}

.btn-dark:hover::before { opacity: 1; }
.btn-dark > * { position: relative; z-index: 1; }

.btn-outline {
    position: relative;
    border: 1.5px solid rgba(4, 12, 30, .18);
    color: var(--midnight);
    border-radius: 100px;
    padding: 13px 30px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    outline: none;
    transition: border-color .3s, color .3s;
}

.btn-outline:hover {
    border-color: var(--electric);
    color: var(--electric);
}

/* ══════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════ */
.display {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.045em;
}

.text-grad {
    background: linear-gradient(135deg, var(--electric) 0%, var(--plasma) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════════════
   GLASS CARD
══════════════════════════════════════════════════ */
.glass {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 4px 24px rgba(37, 99, 235, .06), 0 1px 0 rgba(255, 255, 255, .8) inset;
}

/* ══════════════════════════════════════════════════
   GRADIENT ORBS
══════════════════════════════════════════════════ */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}

/* ══════════════════════════════════════════════════
   FLOAT ANIMATIONS
══════════════════════════════════════════════════ */
@keyframes floatA {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-14px) rotate(1.5deg); }
}

@keyframes floatB {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-10px) rotate(-1deg); }
}

.float-a { animation: floatA 6s ease-in-out infinite; }
.float-b { animation: floatB 7.5s ease-in-out infinite 1.2s; }
.float-c { animation: floatA 5.5s ease-in-out infinite 2.5s; }

/* ══════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════ */
.track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    animation: marquee 24s linear infinite;
}

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

/* ══════════════════════════════════════════════════
   PILL BADGE
══════════════════════════════════════════════════ */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, .07);
    border: 1px solid rgba(37, 99, 235, .18);
    color: var(--electric);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.pill-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--electric);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .25), 0 0 8px var(--electric);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 2px rgba(37, 99, 235, .25), 0 0 8px var(--electric); }
    50%       { box-shadow: 0 0 0 4px rgba(37, 99, 235, .1),  0 0 16px var(--electric); }
}

/* ══════════════════════════════════════════════════
   STAT / COUNTER
══════════════════════════════════════════════════ */
.stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: var(--midnight);
    line-height: 1;
}

.count-wrap { font-variant-numeric: tabular-nums; }

/* ══════════════════════════════════════════════════
   CANVAS (PARTICLE BACKGROUND)
══════════════════════════════════════════════════ */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════
   LINE WRAP (HEADLINE REVEAL CLIP)
══════════════════════════════════════════════════ */
.line-wrap { overflow: hidden; }

/* ══════════════════════════════════════════════════
   SCROLL INDICATOR
══════════════════════════════════════════════════ */
.scroll-track {
    width: 1px; height: 56px;
    background: linear-gradient(to bottom, var(--electric), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-track::after {
    content: '';
    position: absolute; top: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, .8), transparent);
    animation: scroll-slide 1.8s ease-in-out infinite;
}

@keyframes scroll-slide {
    from { top: -100%; }
    to   { top: 200%; }
}

/* ── BOUNCE ARROW ───────────────────────────────── */
@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

.bounce-arrow { animation: bounce-down 1.8s ease-in-out infinite; }

/* ── DECO VERTICAL LINE ─────────────────────────── */
.deco-line {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, .2), transparent);
}

/* ══════════════════════════════════════════════════
   DARK SECTION PILL BADGE
══════════════════════════════════════════════════ */
.pill-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .55);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════
   GHOST LIGHT BUTTON (for dark bg)
══════════════════════════════════════════════════ */
.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .65);
    border-radius: 100px;
    padding: 13px 30px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: none;
    background: transparent;
    outline: none;
    transition: border-color .3s, color .3s;
}

.btn-ghost-light:hover {
    border-color: rgba(37, 99, 235, .6);
    color: #fff;
}

/* ══════════════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════════════ */
.srv-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    transition: border-color .4s, background .4s, transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}

.srv-card:hover {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(37, 99, 235, .35);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(37,99,235,.2), 0 0 40px rgba(37,99,235,.08);
}

/* Gradient shimmer bg on hover */
.srv-card-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,.1), transparent 70%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}
.srv-card:hover .srv-card-bg { opacity: 1; }

/* Large faded number */
.srv-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 4.5rem;
    line-height: 1;
    color: rgba(255, 255, 255, .04);
    letter-spacing: -.04em;
    transition: color .4s;
    user-select: none;
}
.srv-card:hover .srv-num { color: rgba(37, 99, 235, .12); }

/* Icon wrapper */
.srv-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, .1);
    border: 1px solid rgba(37, 99, 235, .2);
    transition: background .4s, border-color .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.srv-card:hover .srv-icon-wrap {
    background: rgba(37, 99, 235, .18);
    border-color: rgba(37, 99, 235, .45);
    transform: scale(1.08);
}

/* Title */
.srv-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, .88);
    letter-spacing: -.025em;
    margin-bottom: .85rem;
    transition: color .3s;
}
.srv-card:hover .srv-title { color: #fff; }

/* Description */
.srv-desc {
    font-size: .875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .50);
    font-weight: 400;
    transition: color .3s;
    padding-bottom: 2.5rem;
}
.srv-card:hover .srv-desc { color: rgba(255,255,255,.7); }

/* Arrow */
.srv-arrow {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(6px, 6px);
    transition: opacity .35s, transform .35s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.srv-arrow svg { width: 14px; height: 14px; color: rgba(255,255,255,.6); }
.srv-card:hover .srv-arrow {
    opacity: 1;
    transform: translate(0, 0);
    border-color: rgba(37,99,235,.4);
}

/* ══════════════════════════════════════════════════
   PROCESS SECTION
══════════════════════════════════════════════════ */

/* Step card */
.prc-card {
    background: #fff;
    border: 1px solid rgba(37, 99, 235, .08);
    border-radius: 20px;
    padding: 28px 28px 32px;
    position: relative;
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, border-color .4s;
}
.prc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(37,99,235,.1), 0 2px 0 rgba(37,99,235,.08) inset;
    border-color: rgba(37,99,235,.2);
}

/* Step circle */
.prc-step-num-wrap { display: flex; align-items: center; }

.prc-step-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(37,99,235,.2);
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    z-index: 1;
    transition: border-color .4s, box-shadow .4s, background .4s;
}
.prc-card:hover .prc-step-circle {
    border-color: var(--electric);
    box-shadow: 0 0 0 4px rgba(37,99,235,.1);
    background: linear-gradient(135deg, var(--electric), var(--plasma));
}

.prc-step-digit {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .02em;
    color: var(--electric);
    transition: color .3s;
}
.prc-card:hover .prc-step-digit { color: #fff; }

/* Last step circle — filled by default */
.prc-step-circle--last {
    background: linear-gradient(135deg, var(--electric), var(--plasma));
    border-color: transparent;
}
.prc-step-circle--last .prc-step-digit { color: #fff; }

/* Icon box */
.prc-icon-box {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(37,99,235,.07);
    border: 1px solid rgba(37,99,235,.12);
    transition: background .4s, border-color .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.prc-card:hover .prc-icon-box {
    background: rgba(37,99,235,.13);
    border-color: rgba(37,99,235,.3);
    transform: scale(1.1) rotate(-3deg);
}

/* Title */
.prc-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.12rem;
    color: var(--midnight);
    letter-spacing: -.025em;
    margin-bottom: .6rem;
}

/* Description */
.prc-desc {
    font-size: .875rem;
    line-height: 1.72;
    color: rgba(10,22,40,.5);
    font-weight: 400;
    margin-bottom: 1.4rem;
}

/* Time tag */
.prc-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(37,99,235,.07);
    border: 1px solid rgba(37,99,235,.12);
    color: var(--electric);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Bottom strip cards */
.prc-strip-card {
    background: #fff;
    border: 1px solid rgba(37,99,235,.08);
    border-radius: 20px;
    padding: 28px 32px;
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.prc-strip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(37,99,235,.09);
}

/* ══════════════════════════════════════════════════
   TRUSTED BY SECTION
══════════════════════════════════════════════════ */

/* Logo marquee tracks */
.logo-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: logo-scroll 28s linear infinite;
}
.logo-track--reverse {
    animation: logo-scroll-rev 32s linear infinite;
}
@keyframes logo-scroll     { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes logo-scroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.logo-item {
    flex-shrink: 0;
    padding: 14px 40px;
    margin-right: 4px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 100px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .04em;
    color: rgba(255,255,255,.3);
    transition: color .3s, background .3s, border-color .3s;
    cursor: default;
}
.logo-item:hover {
    color: rgba(255,255,255,.75);
    background: rgba(37,99,235,.1);
    border-color: rgba(37,99,235,.25);
}

/* Stats grid */
.stat-block {
    background: rgba(255,255,255,.03);
    transition: background .35s;
}
.stat-block:hover { background: rgba(255,255,255,.06); }

.stat-block-inner {
    padding: 40px 36px 36px;
    position: relative;
    overflow: hidden;
}

.stat-block-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.04em;
    color: #fff;
    margin-bottom: .75rem;
}

.stat-block-label {
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255,255,255,.35);
    line-height: 1.55;
    letter-spacing: .01em;
}

/* Gradient bar at bottom of each stat */
.stat-block-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--electric), var(--plasma));
    border-radius: 0 2px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.stat-block:hover .stat-block-bar,
.stat-block.in-view .stat-block-bar { transform: scaleX(1); }

/* Quote card */
.trs-quote-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 36px 40px;
    transition: border-color .4s;
}
.trs-quote-card:hover { border-color: rgba(37,99,235,.3); }

/* ══════════════════════════════════════════════════
   CAREERS SECTION
══════════════════════════════════════════════════ */

/* Perk pills */
.perk-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,.07);
    border: 1px solid rgba(37,99,235,.14);
    color: var(--ink);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

/* Job card */
.job-card {
    background: #fff;
    border: 1px solid rgba(37,99,235,.09);
    border-radius: 18px;
    padding: 26px 32px;
    transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
    position: relative;
    overflow: hidden;
}
.job-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--electric), var(--plasma));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
    border-radius: 0 2px 2px 0;
}
.job-card:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 40px rgba(37,99,235,.1);
    border-color: rgba(37,99,235,.2);
}
.job-card:hover::before { transform: scaleY(1); }

/* Job icon */
.job-icon-wrap {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: rgba(37,99,235,.07);
    border: 1px solid rgba(37,99,235,.14);
    transition: background .35s, transform .35s cubic-bezier(.16,1,.3,1);
}
.job-card:hover .job-icon-wrap {
    background: rgba(37,99,235,.14);
    transform: rotate(-6deg) scale(1.08);
}

.job-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--midnight);
    letter-spacing: -.025em;
}

.job-dept {
    font-size: .72rem;
    font-weight: 700;
    color: var(--electric);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.job-meta {
    font-size: .78rem;
    color: rgba(10,22,40,.4);
    font-weight: 500;
}
.job-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(10,22,40,.2);
    display: inline-block;
}

.job-badge {
    display: inline-flex; align-items: center;
    border-radius: 100px;
    padding: 5px 14px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.job-badge--open {
    background: rgba(74,222,128,.1);
    border: 1px solid rgba(74,222,128,.25);
    color: #16a34a;
}
.job-badge--soon {
    background: rgba(250,204,21,.08);
    border: 1px solid rgba(250,204,21,.2);
    color: #b45309;
}

.job-apply-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--midnight);
    color: #fff;
    border-radius: 100px;
    padding: 10px 22px;
    font-size: .82rem; font-weight: 600;
    letter-spacing: -.01em;
    cursor: none; border: none; outline: none;
    position: relative; overflow: hidden;
    transition: transform .25s;
    flex-shrink: 0;
}
.job-apply-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--electric), var(--plasma));
    opacity: 0; transition: opacity .3s;
}
.job-apply-btn:hover::before { opacity: 1; }
.job-apply-btn > * { position: relative; z-index: 1; }

.job-apply-btn--dim {
    background: rgba(10,22,40,.08);
    color: rgba(10,22,40,.4);
    border: 1px solid rgba(10,22,40,.1);
}
.job-apply-btn--dim::before { display: none; }

/* ══════════════════════════════════════════════════
   FOOTER — MINIMAL TYPOGRAPHIC STYLE
══════════════════════════════════════════════════ */

/* Column title */
.ft-col-title {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(10,22,40,.3);
    margin-bottom: 1.1rem;
}

/* Links */
.ft-link {
    display: block;
    font-size: .875rem;
    font-weight: 400;
    color: rgba(10,22,40,.45);
    transition: color .22s;
    line-height: 1;
}
.ft-link:hover { color: var(--midnight); }

/* Giant brand name — JS will override font-size to fit exactly */
.ft-giant {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    line-height: .82;
    letter-spacing: -.04em;
    color: var(--midnight);
    font-size: 18.5vw;
    white-space: nowrap;
    display: block;
    width: 100%;
    transition: opacity .4s;
}
.ft-giant:hover { opacity: .85; }

/* ══════════════════════════════════════════════════
   MOBILE RESPONSIVE OVERRIDES
══════════════════════════════════════════════════ */

/* Navbar */
@media (max-width: 1023px) {
    #navbar { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Hero */
@media (max-width: 767px) {
    #hero { min-height: 100svh; }

    /* Reduce heavy padding */
    #hero > .relative.z-10 {
        padding-top: 7rem;
        padding-bottom: 5rem;
    }

    /* Headline size already clamped — fine */

    /* Sub text full width */
    #hero-sub { max-width: 100% !important; }

    /* Stats grid already 3-col via tailwind */

    /* Scroll indicator hide on very small */
    #scroll-ind { display: none; }
}

/* Services section */
@media (max-width: 767px) {
    #services .grid { gap: .75rem; }
    .srv-card { padding: 1.5rem; }
    .srv-num  { font-size: 3rem; }
}

/* Process section */
@media (max-width: 1023px) {
    /* Hide connecting line on non-desktop */
    #prc-steps-wrap > .absolute { display: none !important; }
}
@media (max-width: 767px) {
    .prc-card { padding: 1.5rem 1.5rem 2rem; }
    #prc-strips .prc-strip-card { padding: 1.5rem; }
}

/* Trusted section — stat grid 2-col already handled by tailwind */
@media (max-width: 767px) {
    .stat-block-inner { padding: 28px 22px 28px; }
    .stat-block-num   { font-size: clamp(2rem,8vw,3.5rem); }
    .trs-quote-card   { padding: 1.5rem; }
}

/* Careers */
@media (max-width: 767px) {
    .job-card  { padding: 1.25rem 1.25rem; }
    .job-card:hover { transform: none; }
    .job-title { font-size: .95rem; }
}

/* Footer top links — stack columns on mobile */
@media (max-width: 1023px) {
    #footer .border-b > div {
        flex-direction: column;
        gap: 2rem;
    }
    #footer .border-b > div > div { flex-wrap: wrap; }
}
@media (max-width: 639px) {
    #footer .border-b > div > div { gap: 2rem !important; }
}

/* Marquee — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .track, .logo-track, .logo-track--reverse { animation: none; }
    .underline-bar { animation: none; clip-path: inset(0 0% 0 0 round 4px); }
}

/* ══════════════════════════════════════════════════
   HEADLINE UNDERLINE — draw in / draw out loop
══════════════════════════════════════════════════ */
.text-underline-wrap {
    position: relative;
    display: inline-block;
}

.underline-bar {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--electric), var(--plasma), var(--electric));
    background-size: 200% auto;
    clip-path: inset(0 100% 0 0 round 4px);
    animation: line-draw 3.2s cubic-bezier(.76, 0, .24, 1) infinite 1.8s;
}

@keyframes line-draw {
    0%   { clip-path: inset(0 100% 0 0    round 4px); }   /* hidden → draws in from left */
    38%  { clip-path: inset(0 0%   0 0    round 4px); }   /* fully visible */
    62%  { clip-path: inset(0 0%   0 0    round 4px); }   /* hold */
    100% { clip-path: inset(0 0    0 100% round 4px); }   /* erases to right */
}
