/* IITCON — Modern, dark, global */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --navy:    #080f1e;
    --navy-2:  #0c1526;
    --blue:    #126bfa;
    --amber:   #f5a623;
    --white:   #ffffff;
    --off:     #f5f7fa;
    --muted:   #64748b;
    --border:  rgba(255,255,255,0.07);
    --max:     1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ── NAV ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(8,15,30,0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    transition: box-shadow .2s;
}
.nav-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; height: 60px; gap: 1.5rem;
}
.nav-logo img { height: 28px; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
    font-size: .84rem; font-weight: 500;
    color: rgba(255,255,255,.5); transition: color .15s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
    font-size: .78rem; font-weight: 600; white-space: nowrap;
    border: 1px solid rgba(18,107,250,.5); color: var(--blue);
    padding: .4rem .95rem; border-radius: 6px; transition: all .15s;
}
.btn-nav:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── BURGER ── */
.nav-burger {
    display: none;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 36px; height: 36px; min-width: 36px;
    background: none; border: none; cursor: pointer; padding: 4px;
    margin-left: auto; flex-shrink: 0;
}
.nav-burger span {
    display: block; width: 22px; height: 2px;
    background: rgba(255,255,255,.7); border-radius: 2px;
    transition: transform .22s, opacity .22s;
    transform-origin: center; flex-shrink: 0;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    min-height: 80vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(60px + 4.5rem) 0 5rem;
    position: relative; overflow: hidden;
}
.hero-grid-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(18,107,250,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18,107,250,.055) 1px, transparent 1px);
    background-size: 54px 54px;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-pre {
    font-size: .7rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--blue); margin-bottom: 1.75rem;
}
.hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 6rem);
    font-weight: 900; line-height: 1;
    letter-spacing: -1.5px; margin-bottom: 2rem;
    word-break: break-word; overflow-wrap: break-word;
}
.hero h1 em {
    font-style: normal;
    color: var(--blue); /* fallback; overridden by gradient below */
}
.hero-sub {
    font-size: clamp(.9rem, 1.5vw, 1.05rem);
    color: rgba(255,255,255,.5);
    line-height: 1.78; max-width: 560px;
}
.scroll-hint {
    position: absolute; bottom: 2.5rem; left: 2rem; z-index: 1;
    display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
}
.scroll-hint span {
    font-size: .6rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,.2);
}
.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
    0%, 100% { opacity: 1; }
    50%       { opacity: .25; }
}

/* ── MAP ── */
.map-section {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding-top: 0; padding-bottom: 0;
    overflow: hidden;
    position: relative;
}
.map-wrap {
    width: 100%; display: block; line-height: 0;
}
#world-map { display: block; width: 100%; }

/* Country fills */
.country          { fill: #192236; stroke: #243350; stroke-width: .35; }
.country-ukraine  { fill: var(--amber); filter: drop-shadow(0 0 10px rgba(245,166,35,.3)); }
.country-canada   { fill: var(--blue);  filter: drop-shadow(0 0 12px rgba(18,107,250,.35)); }

/* Markers */
.marker-dot  { fill: rgba(255,255,255,.9); }
.marker-ring {
    fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.5;
    animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
    0%   { r: 5;  opacity: .8; }
    100% { r: 18; opacity: 0;  }
}
.marker-label {
    fill: rgba(255,255,255,.75);
    font-family: 'Inter', sans-serif;
    font-size: 10px; font-weight: 500;
    pointer-events: none;
}

/* Map bottom bar */
.map-legend {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    justify-content: center;
    padding: 1.25rem 2rem .25rem;
    border-top: 1px solid var(--border);
}
.legend-item {
    display: flex; align-items: center; gap: .45rem;
    font-size: .72rem; color: rgba(255,255,255,.4);
}
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-ukraine { background: var(--amber); }
.dot-canada  { background: var(--blue); }
.dot-project { background: rgba(255,255,255,.65); }
.map-tagline {
    text-align: center;
    font-size: .68rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,.18);
    padding: .6rem 2rem 1.75rem;
}

/* ── PAIN POINTS ── */
.pain-section {
    background: var(--off); color: #0f172a;
    padding: 6rem 0 7rem;
}
.pain-label {
    font-size: .7rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--blue); margin-bottom: .85rem;
}
.pain-title {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 900; line-height: 1.15; letter-spacing: -.75px;
    color: #080f1e; margin-bottom: 3rem;
    word-break: break-word;
}
.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #d1d5db;
    border-left: 1px solid #d1d5db;
    margin-bottom: 4rem;
}
.pain-item {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.75rem 1.75rem;
    border-right: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
    transition: background .18s;
}
.pain-item:hover { background: #edf2ff; }
.pain-n {
    font-size: .62rem; font-weight: 800;
    color: var(--blue); letter-spacing: 1.5px;
    flex-shrink: 0; padding-top: .2rem; min-width: 20px;
}
.pain-item p { font-size: .88rem; color: #374151; line-height: 1.72; }

.pain-cta { text-align: center; padding-top: .5rem; }
.pain-cta-pre {
    font-size: 1rem; font-weight: 600; color: #111827; margin-bottom: 1.5rem;
}
.btn-primary-lg {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--blue); color: var(--white);
    font-family: 'Inter', sans-serif; font-size: .97rem; font-weight: 700;
    padding: .95rem 2.1rem; border-radius: 8px; border: 2px solid var(--blue);
    transition: all .18s;
}
.btn-primary-lg:hover { background: #0d52c2; border-color: #0d52c2; transform: translateY(-1px); }
.pain-cta-note {
    font-size: .78rem; color: #9ca3af; margin-top: .85rem;
}

/* ── HERO SUB 2 ── */
.hero-sub-2 {
    margin-top: 1rem;
    color: rgba(255,255,255,.35);
}

/* ── BRIDGE SECTION ── */
.bridge-section {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 5rem 0 4rem;
}
.bridge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.bridge-card {
    display: block;
    padding: 1.6rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    transition: border-color .18s, background .18s;
    text-decoration: none;
}
.bridge-card:hover {
    border-color: rgba(18,107,250,.4);
    background: rgba(18,107,250,.05);
}
.bridge-num {
    display: block;
    font-size: .6rem; font-weight: 800; letter-spacing: 1.5px;
    color: var(--blue); margin-bottom: .65rem;
}
.bridge-card h3 {
    font-size: .95rem; font-weight: 700; margin-bottom: .6rem; line-height: 1.3;
}
.bridge-card p {
    font-size: .82rem; color: rgba(255,255,255,.4); line-height: 1.65;
}
.bridge-footer-link {
    text-align: center;
    font-size: .82rem;
}
.bridge-footer-link a {
    color: rgba(255,255,255,.35);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}
.bridge-footer-link a:hover { color: var(--white); }

/* ── TESTIMONIALS ── */
.testimonials-section {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding: 5rem 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.testimonial {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.02);
    display: flex; flex-direction: column; gap: 1.25rem;
}
.testimonial p {
    font-size: .88rem; color: rgba(255,255,255,.6);
    line-height: 1.8; font-style: italic;
    flex: 1;
}
.testimonial p::before { content: '\201C'; }
.testimonial p::after  { content: '\201D'; }
.testimonial cite {
    font-size: .72rem; font-style: normal;
    color: rgba(255,255,255,.25); font-weight: 500;
    letter-spacing: .3px;
}

/* ── CASE INDEX ── */
.case-index {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.case-index a {
    font-size: .72rem; font-weight: 600;
    color: rgba(255,255,255,.35);
    padding: .4rem .85rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all .15s;
    white-space: nowrap;
}
.case-index a:hover {
    color: var(--white);
    border-color: rgba(18,107,250,.5);
    background: rgba(18,107,250,.08);
}

/* ── FOOTER CITIES ── */
.footer-cities {
    font-size: .65rem; color: rgba(255,255,255,.15);
    letter-spacing: .5px; width: 100%;
    padding-top: .5rem;
    border-top: 1px solid var(--border);
}

/* ── SCROLL TO TOP ── */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(18,107,250,.85);
    border: 1px solid rgba(18,107,250,.4);
    color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(12px);
    transition: opacity .25s, transform .25s, background .15s;
    pointer-events: none;
    backdrop-filter: blur(8px);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--blue); }

/* ── OFN STRIP ── */
.ofn-strip {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding: 1.1rem 0;
}
.ofn-strip p {
    font-size: .75rem; color: rgba(255,255,255,.28);
    line-height: 1.65; text-align: center;
}
.ofn-strip a {
    color: rgba(255,255,255,.4);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s;
}
.ofn-strip a:hover { color: rgba(255,255,255,.7); }

/* ── SHARED CTA ── */
.about-cta {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 5rem 0;
}
.about-cta-inner {
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 0;
}
.about-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900; letter-spacing: -.75px;
    margin-bottom: .85rem; word-break: break-word;
}
.about-cta p {
    font-size: .95rem; color: rgba(255,255,255,.45);
    margin-bottom: 2rem; max-width: 480px;
}

/* ── FOOTER ── */
.footer {
    background: var(--navy); border-top: 1px solid var(--border); padding: 1.75rem 0;
}
.footer-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-links {
    display: flex; align-items: center; gap: .65rem;
    font-size: .8rem; color: rgba(255,255,255,.35);
    flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,.4); transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-links span { color: rgba(255,255,255,.18); }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.22); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .pain-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .btn-nav { display: none; }
    .nav-burger { display: flex; }
    .nav-links {
        display: none;
        position: absolute; top: 60px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: rgba(8,15,30,.97);
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(16px);
        padding: .5rem 0;
        z-index: 99;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: .9rem 2rem;
        font-size: .95rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a:last-child { border-bottom: none; }
}
@media (max-width: 900px) {
    .bridge-grid { grid-template-columns: 1fr; gap: 1rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-sub { font-size: .92rem; }
    .pain-item { padding: 1.25rem; }
    .map-legend { gap: 1rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero { padding-top: calc(60px + 3rem); min-height: 70vh; }
    .hero h1 { font-size: 2.1rem; letter-spacing: -.5px; }
    .btn-primary-lg { font-size: .87rem; padding: .85rem 1.5rem; }
    .pain-title { font-size: 1.6rem; }
}


/* ══════════════════════════════════════════════════════════
   ANIMATIONS — intro, particles, scroll reveal, glitch
   ══════════════════════════════════════════════════════════ */

/* ── INTRO OVERLAY ── */
.intro-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 20px;
    transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.intro-overlay.intro-exit {
    opacity: 0; transform: translateY(-32px); pointer-events: none;
}
.intro-logo-wrap img {
    height: 208px; max-width: 78vw; width: auto;
    opacity: 0; filter: blur(10px); transform: scale(.88);
    animation: introLogoIn .9s cubic-bezier(.4,0,.2,1) .35s forwards;
}
.intro-rule {
    width: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    animation: introRuleExpand .7s ease .95s forwards;
}
.intro-label {
    font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
    color: rgba(255,255,255,.3);
    opacity: 0; transform: translateY(6px);
    animation: introLabelIn .5s ease 1.35s forwards;
}
@keyframes introLogoIn {
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}
@keyframes introRuleExpand {
    to { width: 160px; }
}
@keyframes introLabelIn {
    to { opacity: 1; transform: none; }
}

/* ── CANVAS PARTICLES ── */
.particles-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}
.hero { position: relative; overflow: hidden; }
.hero-content, .hero .scroll-hint, .hero-grid-bg { position: relative; z-index: 1; }
.svc-hero, .work-hero { position: relative; overflow: hidden; }
.svc-hero > :not(.particles-canvas),
.work-hero > :not(.particles-canvas) { position: relative; z-index: 1; }

/* ── HERO TEXT REVEAL (only when JS is active) ── */
.js-anim .hero-pre,
.js-anim .h1-line,
.js-anim .hero-sub {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}
.js-anim .hero-pre.hero-el-in,
.js-anim .h1-line.hero-el-in,
.js-anim .hero-sub.hero-el-in {
    opacity: 1; transform: none;
}
.h1-line { display: block; }

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity .5s ease, transform .5s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

/* ── GLITCH on <em> ── */
.hero h1 em {
    position: relative; display: inline-block;
}
.hero h1 em.glitch-active {
    animation: glitchText .65s steps(1) forwards;
}
@keyframes glitchText {
    0%   { clip-path: inset(0 0 100% 0); transform: translateX(0); }
    10%  { clip-path: inset(25% 0 55% 0); transform: translateX(-4px); filter: hue-rotate(90deg); }
    20%  { clip-path: inset(60% 0 15% 0); transform: translateX(4px); }
    30%  { clip-path: inset(10% 0 70% 0); transform: translateX(-2px); filter: hue-rotate(200deg); }
    40%  { clip-path: inset(45% 0 35% 0); transform: translateX(3px); }
    50%  { clip-path: inset(0 0 0 0);      transform: translateX(0); filter: none; }
    100% { clip-path: inset(0 0 0 0);      transform: translateX(0); filter: none; }
}

/* ── ENHANCED BUTTON GLOW ── */
.btn-primary-lg {
    position: relative; overflow: hidden;
}
.btn-primary-lg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s ease;
}
.btn-primary-lg:hover::after { transform: translateX(100%); }

/* ── PAIN ITEM hover glow ── */
.pain-item {
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pain-item:hover {
    border-color: rgba(18,107,250,.35);
    box-shadow: 0 0 0 1px rgba(18,107,250,.15), 0 8px 32px rgba(18,107,250,.08);
    transform: translateY(-2px);
}

/* ── BRIDGE CARD enhanced hover ── */
.bridge-card {
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bridge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(18,107,250,.12);
}

/* ── TESTIMONIALS NDA note ── */
.testimonials-nda {
    margin-top: 2.5rem;
    font-size: .72rem;
    color: rgba(255,255,255,.25);
    text-align: center;
    letter-spacing: .02em;
}

/* ── TEAM COMPOSITION grid ── */
.team-composition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}
.team-group {
    display: flex; align-items: flex-start; gap: .9rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255,255,255,.02);
}
.team-count {
    font-size: 1.8rem; font-weight: 800;
    color: var(--blue); line-height: 1;
    flex-shrink: 0; min-width: 2rem;
}
.team-group-text { display: flex; flex-direction: column; gap: .2rem; }
.team-group-text strong { font-size: .88rem; font-weight: 600; }
.team-group-text span { font-size: .78rem; color: rgba(255,255,255,.45); }
.team-note {
    font-size: .8rem; color: rgba(255,255,255,.38);
    margin-top: .5rem; line-height: 1.6;
}


/* ══════════════════════════════════════════════════════════
   WOW TIER v2 — scroll progress · orbs · noise · scan line
   marquee · stats bento · gradient border · tilt · parallax
   fullscreen menu · progress nav · sticky CTA · terminal
   process timeline · mouse-reactive gradient
   ══════════════════════════════════════════════════════════ */

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, #7c3aed 50%, var(--amber) 100%);
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 10000;
    will-change: transform;
    pointer-events: none;
}

/* ── HERO ORBS ── */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.hero-orb-1 {
    width: 700px; height: 700px;
    right: -150px; top: -150px;
    background: radial-gradient(circle at center,
        rgba(18,107,250,.13) 0%,
        rgba(124,58,237,.06) 45%,
        transparent 70%);
    filter: blur(65px);
    animation: orbDrift1 20s ease-in-out infinite;
}
.hero-orb-2 {
    width: 450px; height: 450px;
    left: -100px; bottom: 5%;
    background: radial-gradient(circle at center,
        rgba(245,166,35,.07) 0%,
        rgba(18,107,250,.06) 55%,
        transparent 70%);
    filter: blur(55px);
    animation: orbDrift2 26s ease-in-out infinite;
}
@keyframes orbDrift1 {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(-55px,45px) scale(1.06); }
    66%      { transform: translate(35px,-30px) scale(0.96); }
}
@keyframes orbDrift2 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(65px,-50px) scale(1.09); }
}

/* ── MARQUEE TICKER ── */
.marquee-strip {
    background: rgba(8,15,30,.96);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: .75rem 0;
    overflow: hidden;
    position: relative;
}
.marquee-inner {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    animation: marqueeScroll 35s linear infinite;
    will-change: transform;
}
.marquee-track span {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.22);
    white-space: nowrap;
    flex-shrink: 0;
}
.marquee-sep {
    color: var(--blue) !important;
    opacity: .7;
    font-size: .5rem !important;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track {
    animation-play-state: paused;
}

/* ── STATS BENTO ── */
.stats-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--border);
    gap: 1px;
}
.stat-card {
    background: var(--navy-2);
    padding: 3rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: background .25s;
}
.stat-card::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(18,107,250,.055) 0%, transparent 70%);
    pointer-events: none;
}
.stat-card:hover { background: rgba(18,107,250,.035); }
.stat-card-blue  { background: rgba(18,107,250,.07); }
.stat-card-blue:hover { background: rgba(18,107,250,.11); }
.stat-num-wrap {
    display: flex;
    align-items: baseline;
    gap: .15rem;
    line-height: 1;
}
.stat-num {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -2.5px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.stat-sup {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue);
    padding-bottom: .15rem;
}
.stat-special { color: var(--blue); letter-spacing: -1px; }
.stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    line-height: 1.7;
    letter-spacing: .01em;
}
@media (max-width: 900px) {
    .stats-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stats-bento { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 1.75rem 1.25rem 1.5rem; }
    .stat-num  { font-size: 2.4rem; }
}

/* ── ANIMATED GRADIENT BORDER on main CTA ── */
@property --btn-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
.btn-gradient {
    position: relative;
    isolation: isolate;
}
.btn-gradient::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 9px;
    background: conic-gradient(from var(--btn-angle),
        var(--blue) 0%,
        #7c3aed 35%,
        var(--amber) 60%,
        var(--blue) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1.5px;
    animation: btnBorderSpin 3.5s linear infinite;
    z-index: -1;
    opacity: .8;
}
@keyframes btnBorderSpin {
    to { --btn-angle: 360deg; }
}

/* ── HERO EM — gradient shimmer ── */
.hero h1 em {
    background: linear-gradient(135deg, var(--blue) 0%, #7c3aed 50%, var(--blue) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ── 3D TILT — preserve transforms ── */
.bridge-card, .testimonial {
    transform-style: flat;
    will-change: transform;
}

/* ── NAV active link ── */
.nav-links a.nav-active {
    color: var(--white);
    position: relative;
}
.nav-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1.5px;
    background: var(--blue);
    border-radius: 2px;
}

/* ── HERO NOISE TEXTURE ── */
.hero-noise {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none; opacity: .032;
    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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 300px 300px;
}

/* ── HERO SCANNING LINE ── */
.hero-scan-line {
    position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(18,107,250,.12) 25%,
        rgba(18,107,250,.28) 50%,
        rgba(18,107,250,.12) 75%,
        transparent 100%);
    z-index: 1; pointer-events: none;
    animation: scanDown 8s ease-in-out infinite;
}
@keyframes scanDown {
    0%   { top: 0%;   opacity: 0; }
    3%   { opacity: 1; }
    97%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ── HERO MOUSE REACTIVE GRADIENT — updated via JS only ── */
.hero {
    --mx: 50%; --my: 50%;
}

/* ── FULLSCREEN MENU ── */
.fs-menu {
    position: fixed; inset: 0; z-index: 800;
    background: rgba(4,9,20,.97);
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    padding: 5rem 8vw 4rem;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .45s cubic-bezier(.4,0,.2,1),
                visibility .45s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.fs-menu.fs-open {
    opacity: 1; visibility: visible; pointer-events: auto;
}
.fs-bg-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(18,107,250,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18,107,250,.03) 1px, transparent 1px);
    background-size: 54px 54px;
}
.fs-close {
    position: absolute; top: 1.75rem; right: 2rem;
    background: none; border: none; color: rgba(255,255,255,.4);
    cursor: pointer; padding: .5rem; z-index: 1;
    transition: color .15s;
}
.fs-close:hover { color: var(--white); }
.fs-nav {
    display: flex; flex-direction: column;
    gap: .25rem; position: relative; z-index: 1;
    margin-bottom: 4rem;
}
.fs-link {
    display: flex; align-items: baseline; gap: 1.1rem;
    font-size: clamp(2.2rem, 6vw, 5rem);
    font-weight: 900; letter-spacing: -1.5px;
    color: rgba(255,255,255,.12);
    text-decoration: none; line-height: 1.15;
    transform: translateX(-40px);
    opacity: 0;
    transition: opacity .4s ease, transform .4s ease, color .18s ease;
}
.fs-menu.fs-open .fs-link { opacity: 1; transform: none; }
.fs-menu.fs-open .fs-link:nth-child(1) { transition-delay: .04s; }
.fs-menu.fs-open .fs-link:nth-child(2) { transition-delay: .10s; }
.fs-menu.fs-open .fs-link:nth-child(3) { transition-delay: .16s; }
.fs-menu.fs-open .fs-link:nth-child(4) { transition-delay: .22s; }
.fs-link:hover { color: var(--white); }
.fs-link:hover .fs-num { opacity: 1; }
.fs-num {
    font-size: .38em; font-weight: 700;
    color: var(--blue); letter-spacing: 2px;
    opacity: .6;
    transition: opacity .15s;
}
.fs-footer {
    display: flex; flex-wrap: wrap; align-items: center; gap: .65rem;
    font-size: .82rem; color: rgba(255,255,255,.28);
    position: relative; z-index: 1;
    opacity: 0; transform: translateY(10px);
    transition: opacity .35s ease .3s, transform .35s ease .3s;
}
.fs-menu.fs-open .fs-footer { opacity: 1; transform: none; }
.fs-footer a { color: rgba(255,255,255,.45); transition: color .15s; }
.fs-footer a:hover { color: var(--white); }
.fs-footer-sep { color: rgba(255,255,255,.18); }
.fs-cities { width: 100%; font-size: .7rem; color: rgba(255,255,255,.18); margin-top: .15rem; }

/* ── PROGRESS SIDEBAR DOTS ── */
.progress-nav {
    position: fixed; right: 1.5rem; top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex; flex-direction: column; gap: .65rem;
    align-items: center;
}
.prog-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: none; padding: 0; cursor: pointer;
    transition: background .25s, transform .25s, width .25s, height .25s;
    position: relative;
}
.prog-dot::after {
    content: attr(title);
    position: absolute; right: calc(100% + 10px); top: 50%;
    transform: translateY(-50%);
    font-size: .6rem; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; white-space: nowrap;
    color: rgba(255,255,255,.5);
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
}
.prog-dot:hover::after { opacity: 1; }
.prog-dot.active {
    background: var(--blue);
    transform: scale(1.5);
}
@media (max-width: 900px) { .progress-nav { display: none; } }

/* ── STICKY CTA BAR ── */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 300;
    background: rgba(8,15,30,.95);
    border-top: 1px solid rgba(18,107,250,.25);
    backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: center;
    gap: 1.25rem; flex-wrap: wrap;
    padding: .85rem 2rem;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.23,1,.32,1);
}
.sticky-cta.sticky-visible { transform: translateY(0); }
.sticky-cta p {
    font-size: .82rem; color: rgba(255,255,255,.45);
    margin: 0;
}
.sticky-cta p strong { color: rgba(255,255,255,.7); font-weight: 600; }
.sticky-cta-btn {
    font-size: .8rem; font-weight: 700;
    background: var(--blue); color: var(--white);
    padding: .45rem 1.1rem; border-radius: 6px;
    white-space: nowrap; transition: background .15s;
}
.sticky-cta-btn:hover { background: #0d52c2; }
.sticky-cta-close {
    position: absolute; right: 1rem;
    background: none; border: none;
    color: rgba(255,255,255,.3); cursor: pointer;
    padding: .35rem; transition: color .15s;
    display: flex; align-items: center;
}
.sticky-cta-close:hover { color: rgba(255,255,255,.7); }

/* ── PROCESS SECTION ── */
.process-section {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 5.5rem 0 6rem;
}
.process-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 900; line-height: 1.12;
    letter-spacing: -.75px;
    margin-bottom: 3.5rem;
    word-break: break-word;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.process-step {
    padding: 0 2rem 0 0;
    position: relative;
}
.step-hd {
    display: flex; align-items: center; gap: 0;
    margin-bottom: 1.25rem;
}
.step-num {
    font-size: .62rem; font-weight: 800;
    color: var(--blue); letter-spacing: 2px;
    flex-shrink: 0;
    padding: .3rem .55rem;
    border: 1px solid rgba(18,107,250,.35);
    border-radius: 4px;
    background: rgba(18,107,250,.06);
}
.step-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(18,107,250,.3), rgba(18,107,250,.08) 80%, transparent);
    margin-left: .75rem;
    position: relative;
    overflow: hidden;
}
.step-line::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(18,107,250,.6), transparent);
    animation: lineSweep 3s ease-in-out infinite;
}
@keyframes lineSweep {
    0%   { left: -100%; }
    100% { left: 100%; }
}
.step-line-last { background: transparent; }
.step-line-last::after { display: none; }
.process-step h3 {
    font-size: .95rem; font-weight: 700;
    margin-bottom: .65rem; line-height: 1.3;
}
.process-step p {
    font-size: .82rem; color: rgba(255,255,255,.4);
    line-height: 1.72;
}
@media (max-width: 900px) {
    .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .step-line { display: none; }
}
@media (max-width: 600px) {
    .process-steps { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── TERMINAL SECTION ── */
.terminal-section {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding: 5.5rem 0 6rem;
}
.terminal-window {
    border: 1px solid rgba(18,107,250,.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 2.5rem 0 2rem;
    box-shadow: 0 0 60px rgba(18,107,250,.06), 0 24px 64px rgba(0,0,0,.4);
    max-width: 780px;
}
.terminal-titlebar {
    background: #0e1a2e;
    border-bottom: 1px solid rgba(18,107,250,.12);
    padding: .7rem 1rem;
    display: flex; align-items: center; gap: .4rem;
}
.t-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.t-red    { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green  { background: #28c840; }
.t-title {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: .68rem; color: rgba(255,255,255,.25);
    margin-left: .5rem; letter-spacing: .02em;
}
.terminal-body {
    background: #070e1c;
    padding: 1.5rem 1.75rem;
    height: 470px;            /* fixed: console is filled in place, no page reflow as lines type */
    overflow-y: auto;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: .8rem;
    line-height: 1.85;
}
@media (max-width: 600px) {
    .terminal-body { height: 560px; }   /* long lines wrap on narrow screens */
}
.t-line { display: flex; align-items: baseline; gap: .5rem; white-space: pre-wrap; word-break: break-word; }
.t-prompt { color: var(--blue); user-select: none; }
.t-cmd    { color: rgba(255,255,255,.75); }
.t-out    { color: rgba(255,255,255,.38); padding-left: 1.2rem; }
.t-warn   { color: var(--amber); padding-left: 1.2rem; }
.t-ok     { color: #28c840; padding-left: 1.2rem; }
.t-err    { color: #ff5f57; padding-left: 1.2rem; }
.t-cursor {
    display: inline-block; width: .5em; height: 1em;
    background: var(--blue); vertical-align: text-bottom;
    animation: blink .85s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.terminal-note {
    font-size: .82rem; color: rgba(255,255,255,.3);
    line-height: 1.75; max-width: 600px;
}
.terminal-note a {
    color: var(--blue); text-decoration: underline;
    text-underline-offset: 3px; transition: color .15s;
}
.terminal-note a:hover { color: #4a8fff; }

/* ── CLIP-PATH SECTION REVEAL ── */
.reveal-clip {
    clip-path: inset(100% 0 0 0);
    transition: clip-path .65s cubic-bezier(.23,1,.32,1);
}
.reveal-clip.revealed { clip-path: inset(0 0 0 0); }

/* ── SECTION LABELS (index-only override) ── */
.bridge-section .section-label-light,
.testimonials-section .section-label-light,
.process-section .section-label-light,
.terminal-section .section-label-light {
    font-size: .62rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,.22);
    margin-bottom: 1.1rem;
    display: flex; align-items: center; gap: .75rem;
}
.bridge-section .section-label-light::before,
.testimonials-section .section-label-light::before,
.process-section .section-label-light::before,
.terminal-section .section-label-light::before {
    content: '';
    display: inline-block; width: 20px; height: 1px;
    background: var(--blue); opacity: .6;
    flex-shrink: 0;
}

/* scanlines removed — was hiding OS cursor */

/* ── HERO PARALLAX container ── */
.hero-content {
    will-change: transform;
}

/* ── BRIDGE SECTION ID ── */
.bridge-section { scroll-margin-top: 70px; }
.testimonials-section { scroll-margin-top: 70px; }
.process-section { scroll-margin-top: 70px; }
#pain, #map, #hero { scroll-margin-top: 70px; }

/* ── CONTACT PAGE ── */
.contact-hero {
    position: relative; overflow: hidden;
    padding: 9rem 0 6rem;
    background: var(--navy);
}
.contact-wrap {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 4.5rem;
    align-items: start;
}
.contact-intro h1 { margin: .5rem 0 1.5rem; }
.contact-points {
    list-style: none; padding: 0; margin: 1.75rem 0 1.5rem;
    display: flex; flex-direction: column; gap: .7rem;
}
.contact-points li {
    position: relative; padding-left: 1.4rem;
    color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.5;
}
.contact-points li::before {
    content: ""; position: absolute; left: 0; top: .55em;
    width: 6px; height: 6px; background: var(--blue); border-radius: 50%;
}
.contact-direct { font-size: .9rem; color: rgba(255,255,255,.4); margin-top: 1.5rem; }
.contact-direct a { color: rgba(255,255,255,.75); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-direct a:hover { color: var(--white); }

.contact-form {
    background: var(--navy-2, rgba(255,255,255,.02));
    border: 1px solid var(--border, rgba(255,255,255,.08));
    border-radius: 14px; padding: 2.25rem;
    display: flex; flex-direction: column; gap: 1.1rem;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.cf-field { display: flex; flex-direction: column; gap: .45rem; }
.cf-field > span {
    font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255,255,255,.55);
}
.cf-field > span em { color: var(--blue); font-style: normal; }
.cf-field input, .cf-field textarea {
    width: 100%; box-sizing: border-box;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
    padding: .8rem .9rem;
    color: var(--white); font: inherit; font-size: .95rem;
    transition: border-color .15s, background .15s;
}
.cf-field textarea { resize: vertical; min-height: 140px; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(255,255,255,.3); }
.cf-field input:focus, .cf-field textarea:focus {
    outline: none; border-color: var(--blue); background: rgba(0,0,0,.35);
}
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-turnstile { min-height: 0; }
.cf-submit { align-self: flex-start; margin-top: .25rem; cursor: pointer; border: none; }
.cf-submit:disabled { opacity: .55; cursor: default; }
.cf-status { font-size: .9rem; margin: 0; min-height: 1.2em; }
.cf-status-ok { color: #4ade80; }
.cf-status-err { color: #f87171; }
.cf-fineprint { font-size: .78rem; color: rgba(255,255,255,.35); margin: 0; }
@media (max-width: 860px) {
    .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-hero { padding: 7rem 0 4rem; }
}
@media (max-width: 520px) {
    .cf-row { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }
}

/* ── GEO FOOTER (CA / US variants) ──
   Canadian content is the default (shown for Canada, the rest of the world,
   and when JS is disabled). US visitors get body.geo-us, which swaps the
   .geo-*-only spans. */
.geo-us-only { display: none; }
body.geo-us .geo-us-only { display: inline; }
body.geo-us .geo-ca-only { display: none; }
.footer-address { font-size: .82rem; color: rgba(255,255,255,.45); margin: .2rem 0 0; line-height: 1.5; }

/* ── VMware / Nutanix migration band (tasteful, vendor-neutral) ── */
.migrate-section {
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4.5rem 0;
}
.migrate-band {
    display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 3.5rem; align-items: center;
}
.migrate-label {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: .62rem; font-weight: 700; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem;
}
.migrate-copy h2 {
    font-size: 1.7rem; font-weight: 800; letter-spacing: -.5px;
    line-height: 1.16; color: var(--white); margin: 0 0 1rem;
    text-wrap: balance; max-width: 20ch;
}
.migrate-copy > p {
    color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.65;
    max-width: 54ch; margin: 0 0 1.9rem;
}
.migrate-logos {
    display: flex; align-items: center; justify-content: center; gap: 1.9rem;
    flex-wrap: wrap;
    padding: 2.4rem 2rem; border: 1px solid var(--border); border-radius: 14px;
    background: rgba(255,255,255,.015);
}
.migrate-cap {
    flex-basis: 100%; text-align: center; margin-top: .5rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: .6rem; letter-spacing: 1.8px; text-transform: uppercase;
    color: rgba(255,255,255,.3);
}
/* Bounding-box so a wide wordmark and a compact mark read balanced */
.mlogo {
    max-height: 30px; max-width: 130px; width: auto; height: auto;
    opacity: .82; transition: opacity .18s;
}
.migrate-logos:hover .mlogo { opacity: 1; }
.migrate-arrow { color: var(--blue); display: inline-flex; flex-shrink: 0; opacity: .8; }

@media (max-width: 820px) {
    .migrate-section { padding: 3.2rem 0; }
    .migrate-band { grid-template-columns: 1fr; gap: 2rem; }
    .migrate-copy h2 { font-size: 1.4rem; max-width: none; }
    .migrate-logos { padding: 1.8rem 1.2rem; gap: 1.3rem; }
    .mlogo { max-height: 26px; max-width: 108px; }
}
