/* ==========================================================================
   IMAGINATRIX — Futuristic Design System
   Accent: brand gradient  #147D6C (deep teal)  →  #1EFFFF (electric cyan)
   Fonts:  Space Grotesk (display) · Inter (body) · JetBrains Mono (labels)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg-0: #030809;
    --bg-1: #06100f;
    --bg-2: #0a1a19;
    --bg-3: #0e2422;

    --teal: #147d6c;
    --cyan: #1effff;
    --cyan-soft: #64f4e6;

    --text: #eafffb;
    --text-soft: #b8d6d1;
    --muted: #7d9b96;

    --line: rgba(30, 255, 255, 0.10);
    --line-strong: rgba(30, 255, 255, 0.25);
    --glass: rgba(13, 42, 40, 0.35);
    --glass-strong: rgba(13, 42, 40, 0.65);

    --grad: linear-gradient(120deg, var(--teal) 0%, var(--cyan) 100%);
    --grad-soft: linear-gradient(120deg, rgba(20,125,108,.35), rgba(30,255,255,.35));
    --glow-cyan: 0 0 24px rgba(30, 255, 255, 0.25), 0 0 64px rgba(30, 255, 255, 0.08);

    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "Consolas", monospace;

    --radius: 18px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 80px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-soft);
    background: var(--bg-0);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-soft); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--cyan); }
ul, ol { list-style: none; }
::selection { background: rgba(30,255,255,.25); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--teal), var(--bg-3)); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* Gradient text helper */
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-to-content {
    position: fixed; top: -80px; left: 24px; z-index: 3000;
    padding: 12px 22px; background: var(--bg-2); color: var(--text);
    border: 1px solid var(--line-strong); border-radius: 999px;
    transition: top .3s var(--ease);
}
.skip-to-content:focus { top: 16px; }

/* ==========================================================================
   Ambient background layers
   ========================================================================== */
#ix-canvas {
    position: fixed; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.ix-aurora {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    overflow: hidden;
}
.ix-aurora::before, .ix-aurora::after {
    content: ""; position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: .35;
    animation: aurora-drift 26s var(--ease) infinite alternate;
}
.ix-aurora::before {
    width: 55vw; height: 55vw; top: -20vw; right: -15vw;
    background: radial-gradient(circle, rgba(20,125,108,.5), transparent 65%);
}
.ix-aurora::after {
    width: 45vw; height: 45vw; bottom: -18vw; left: -12vw;
    background: radial-gradient(circle, rgba(30,255,255,.18), transparent 65%);
    animation-delay: -13s;
}
@keyframes aurora-drift {
    0%   { transform: translate3d(0,0,0) scale(1); }
    100% { transform: translate3d(-6vw, 5vh, 0) scale(1.15); }
}

/* faint grid overlay */
.ix-grid-overlay {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(30,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,255,255,.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 90%);
}

.page { position: relative; z-index: 1; }

/* ---------- Scroll progress ---------- */
.ix-progress {
    position: fixed; top: 0; left: 0; z-index: 2100;
    width: 100%; height: 2px; pointer-events: none;
}
.ix-progress span {
    display: block; height: 100%; width: 0;
    background: var(--grad);
    box-shadow: 0 0 12px rgba(30,255,255,.6);
}

/* ---------- Custom cursor glow (desktop) ---------- */
.ix-cursor {
    position: fixed; z-index: 2200; pointer-events: none;
    width: 380px; height: 380px; border-radius: 50%;
    left: 0; top: 0; opacity: 0;
    background: radial-gradient(circle, rgba(30,255,255,.07), transparent 60%);
    transform: translate(-50%, -50%);
    transition: opacity .4s ease;
}
@media (hover: hover) and (pointer: fine) {
    body:hover .ix-cursor { opacity: 1; }
}

/* ==========================================================================
   Page loader — HUD boot sequence
   ========================================================================== */
.ix-loader {
    position: fixed; inset: 0; z-index: 5000;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--bg-1) 0%, var(--bg-0) 72%);
    transition: opacity .5s ease, visibility .5s ease;
}
.ix-loader.done { opacity: 0; visibility: hidden; }

/* scanlines + drifting grid */
.ix-loader-fx { position: absolute; inset: 0; pointer-events: none; }
.ix-loader-fx::before {
    content: ""; position: absolute; inset: -10%;
    background-image:
        linear-gradient(rgba(30,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,255,255,.05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, black, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, black, transparent 85%);
    animation: hud-grid-pan 14s linear infinite;
}
.ix-loader-fx::after {
    content: ""; position: absolute; inset: -4px;
    background: repeating-linear-gradient(180deg, rgba(30,255,255,.055) 0 1px, transparent 1px 3px);
    animation: hud-scanlines 1s linear infinite;
}
@keyframes hud-grid-pan { to { background-position: 54px 54px, 54px 54px; } }
@keyframes hud-scanlines { to { transform: translateY(3px); } }

/* CRT sweep */
.ix-loader-sweep {
    position: absolute; left: 0; right: 0; top: -30vh; height: 24vh; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(30,255,255,.05) 46%, rgba(30,255,255,.11) 50%, rgba(30,255,255,.05) 54%, transparent);
    animation: hud-sweep 3.4s cubic-bezier(.55,0,.45,1) infinite;
}
@keyframes hud-sweep { to { transform: translateY(160vh); } }

/* viewport corner brackets */
.ix-loader-frame { position: absolute; inset: 0; pointer-events: none; }
.ix-loader-frame span {
    position: absolute; width: 26px; height: 26px;
    border: 1px solid var(--line-strong);
    animation: hud-bracket 2.8s ease-in-out infinite;
}
.ix-loader-frame span:nth-child(1) { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.ix-loader-frame span:nth-child(2) { top: 22px; right: 22px; border-left: 0; border-bottom: 0; animation-delay: .2s; }
.ix-loader-frame span:nth-child(3) { bottom: 22px; left: 22px; border-right: 0; border-top: 0; animation-delay: .4s; }
.ix-loader-frame span:nth-child(4) { bottom: 22px; right: 22px; border-left: 0; border-top: 0; animation-delay: .6s; }
@keyframes hud-bracket { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* HUD panel */
.ix-loader-hud {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.ix-loader-hud.jolt { animation: hud-jolt .18s steps(2, end); }
@keyframes hud-jolt {
    0%   { transform: translate(0); }
    25%  { transform: translate(-3px, 1px); }
    50%  { transform: translate(3px, -1px); }
    75%  { transform: translate(-2px, 0); }
    100% { transform: translate(0); }
}

.ix-hud-row {
    width: min(340px, 68vw);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .22em;
    text-transform: uppercase; color: var(--muted);
}
.ix-hud-dot::after {
    content: ""; display: inline-block; vertical-align: middle;
    width: 6px; height: 6px; margin-left: 8px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
    animation: hud-blink 1.2s steps(1, end) infinite;
}
@keyframes hud-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }
.ix-loader-status { color: var(--text-soft); }
.ix-loader-status::before { content: "> "; color: var(--cyan); }
.ix-loader-pct { color: var(--cyan); text-shadow: 0 0 10px rgba(30,255,255,.5); }
.ix-loader-pct::after { content: "%"; opacity: .5; margin-left: 2px; }

/* reticle */
.ix-loader-reticle { position: relative; width: 130px; height: 130px; display: grid; place-items: center; }
.ix-ret { position: absolute; border-radius: 50%; }
.ix-ret.r1 {
    inset: 0; border: 1px solid rgba(30,255,255,.14);
    border-top-color: var(--cyan); border-right-color: rgba(30,255,255,.45);
    animation: ret-spin 2.6s linear infinite;
}
.ix-ret.r2 {
    inset: 16px; border: 1px dashed rgba(30,255,255,.22);
    animation: ret-spin 7s linear infinite reverse;
}
.ix-ret-cross { position: absolute; inset: -12px; }
.ix-ret-cross::before, .ix-ret-cross::after {
    content: ""; position: absolute;
    background: linear-gradient(90deg, transparent, rgba(30,255,255,.4), transparent);
}
.ix-ret-cross::before { left: 0; right: 0; top: 50%; height: 1px; }
.ix-ret-cross::after {
    top: 0; bottom: 0; left: 50%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(30,255,255,.4), transparent);
}
@keyframes ret-spin { to { transform: rotate(360deg); } }

.ix-loader-mark {
    position: relative; z-index: 2;
    width: 56px; height: 56px; border-radius: 12px;
    box-shadow: var(--glow-cyan);
    animation: mark-flicker 3.6s steps(1, end) infinite;
}
@keyframes mark-flicker {
    0%, 45%, 48%, 70%, 72%, 100% { opacity: 1; filter: none; transform: none; }
    46% { opacity: .3; filter: hue-rotate(45deg) saturate(1.8); transform: translate(2px, -1px) skewX(7deg); }
    47% { opacity: .85; transform: translate(-2px, 1px); }
    71% { opacity: .5; filter: brightness(1.6); transform: translate(-3px, 0) skewX(-5deg); }
}

/* glitchy wordmark */
.ix-loader-word {
    position: relative;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(.95rem, 4.2vw, 2rem);
    letter-spacing: .32em; text-indent: .32em;
    color: var(--text); text-shadow: 0 0 18px rgba(30,255,255,.3);
}
.ix-loader-word::before, .ix-loader-word::after {
    content: attr(data-text); position: absolute; inset: 0;
    pointer-events: none;
}
.ix-loader-word::before { color: var(--cyan); animation: word-glitch-a 2.7s steps(1, end) infinite; }
.ix-loader-word::after  { color: #ff2e6b; animation: word-glitch-b 2.3s steps(1, end) infinite; }
@keyframes word-glitch-a {
    0%, 86%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
    88% { opacity: .9; clip-path: inset(10% 0 62% 0); transform: translate(-4px, -1px); }
    91% { opacity: .9; clip-path: inset(46% 0 28% 0); transform: translate(5px, 1px); }
    94% { opacity: .9; clip-path: inset(74% 0 6% 0); transform: translate(-3px, 0); }
}
@keyframes word-glitch-b {
    0%, 89%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
    90% { opacity: .7; clip-path: inset(28% 0 52% 0); transform: translate(4px, 1px); }
    93% { opacity: .7; clip-path: inset(62% 0 20% 0); transform: translate(-5px, -1px); }
}

/* segmented progress bar */
.ix-loader-bar {
    position: relative; width: min(340px, 68vw); height: 8px;
    background: rgba(30,255,255,.07);
    border: 1px solid var(--line); overflow: hidden;
}
.ix-loader-bar span {
    position: absolute; left: 0; top: 0; bottom: 0; width: 0;
    background: var(--grad); box-shadow: 0 0 14px rgba(30,255,255,.65);
    transition: width .3s var(--ease);
}
.ix-loader-bar i {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 10px, var(--bg-0) 10px 13px);
}

/* CRT power-off exit */
.ix-loader.glitch-out .ix-loader-hud { animation: hud-collapse .42s ease forwards; }
@keyframes hud-collapse {
    0%   { transform: none; opacity: 1; filter: none; }
    18%  { transform: translateX(-7px) skewX(-9deg); filter: hue-rotate(70deg) brightness(1.4); }
    36%  { transform: translateX(9px) skewX(7deg); }
    54%  { transform: none; filter: none; }
    100% { transform: scaleY(.005) scaleX(1.35); opacity: 0; filter: brightness(3); }
}
.ix-loader.glitch-out .ix-loader-fx,
.ix-loader.glitch-out .ix-loader-frame,
.ix-loader.glitch-out .ix-loader-sweep { opacity: 0; transition: opacity .25s ease; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.ix-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: height .4s var(--ease), background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
    border-bottom: 1px solid transparent;
}
.ix-nav.scrolled {
    height: 64px;
    background: rgba(4, 12, 12, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
}
.ix-nav-inner {
    width: 100%; max-width: 1320px; margin: 0 auto;
    padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.ix-logo { display: flex; align-items: center; gap: 12px; }
.ix-logo img {
    height: 45px; width: auto;
    filter: drop-shadow(0 0 14px rgba(30,255,255,.25));
    transition: transform .4s var(--ease), filter .4s ease;
}
.ix-logo:hover img { transform: scale(1.04); filter: drop-shadow(0 0 20px rgba(30,255,255,.45)); }
.ix-nav.scrolled .ix-logo img { height: 36px; }

.ix-menu { display: flex; align-items: center; gap: 8px; }
.ix-menu a {
    position: relative; display: block;
    padding: 10px 16px;
    font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
    color: var(--text-soft);
    transition: color .3s ease, background .3s ease, text-shadow .3s ease;
}
/* HUD targeting brackets — corners lock onto the active item */
.ix-menu a::before, .ix-menu a::after {
    content: ""; position: absolute; width: 9px; height: 9px;
    opacity: 0; pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(30, 255, 255, .8));
    transition: opacity .3s ease, transform .4s var(--ease);
}
.ix-menu a::before {
    top: 2px; left: 0;
    border-top: 1.5px solid var(--cyan); border-left: 1.5px solid var(--cyan);
    transform: translate(10px, 8px);
}
.ix-menu a::after {
    bottom: 2px; right: 0;
    border-bottom: 1.5px solid var(--cyan); border-right: 1.5px solid var(--cyan);
    transform: translate(-10px, -8px);
}
.ix-menu a:hover { color: var(--cyan); }
.ix-menu a:hover::before, .ix-menu a:hover::after { opacity: .45; transform: translate(0, 0); }
.ix-menu a.active {
    color: var(--cyan);
    text-shadow: 0 0 14px rgba(30, 255, 255, .5);
    background:
        linear-gradient(180deg, rgba(30, 255, 255, .09), transparent 55%),
        radial-gradient(60% 100% at 50% 100%, rgba(30, 255, 255, .12), transparent 70%);
}
.ix-menu a.active::before, .ix-menu a.active::after { opacity: 1; transform: translate(0, 0); }

.ix-nav-cta { display: flex; align-items: center; gap: 16px; }

/* Mobile toggle */
.ix-burger {
    display: none; position: relative; z-index: 2400;
    width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px;
    background: var(--glass); cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.ix-burger span {
    width: 18px; height: 2px; background: var(--cyan); border-radius: 2px;
    transition: transform .35s var(--ease), opacity .3s ease;
}
.ix-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ix-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ix-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.ix-drawer {
    position: fixed; inset: 0; z-index: 2300;
    background: rgba(3, 8, 9, 0.9);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
}
.ix-drawer.open { opacity: 1; visibility: visible; }
.ix-drawer-close {
    position: absolute; top: 18px; right: 20px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--glass); border: 1px solid var(--line-strong); border-radius: 12px;
    cursor: pointer;
    transform: scale(.6) rotate(-90deg); opacity: 0;
    transition: transform .4s var(--ease), opacity .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.ix-drawer.open .ix-drawer-close { transform: scale(1) rotate(0); opacity: 1; transition-delay: .15s; }
.ix-drawer-close svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; }
.ix-drawer-close:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(30,255,255,.3); }
.ix-drawer a {
    font-family: var(--font-display); font-size: clamp(28px, 7vw, 40px); font-weight: 700;
    color: var(--text); padding: 10px 24px;
    opacity: 0; transform: translateY(24px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s ease;
}
.ix-drawer.open a { opacity: 1; transform: translateY(0); }
.ix-drawer.open a:nth-of-type(1) { transition-delay: .05s; }
.ix-drawer.open a:nth-of-type(2) { transition-delay: .12s; }
.ix-drawer.open a:nth-of-type(3) { transition-delay: .19s; }
.ix-drawer.open a:nth-of-type(4) { transition-delay: .26s; }
.ix-drawer.open a:nth-of-type(5) { transition-delay: .33s; }
.ix-drawer a:hover, .ix-drawer a.active { color: var(--cyan); }

/* ---------- Services dropdown (desktop) ---------- */
.ix-menu .has-sub { position: relative; }
.ix-menu .has-sub > a { display: inline-flex; align-items: center; gap: 7px; }
.sub-chev {
    width: 13px; height: 13px;
    stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform .35s var(--ease);
}
.ix-menu .has-sub:hover .sub-chev,
.ix-menu .has-sub:focus-within .sub-chev { transform: rotate(180deg); }

/* invisible bridge (padding-top) keeps hover alive between trigger and panel */
.ix-sub {
    position: absolute; top: 100%; left: 50%; z-index: 60;
    min-width: 296px; padding-top: 14px;
    transform: translateX(-50%) translateY(10px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, transform .45s var(--ease), visibility .3s;
}
.ix-menu .has-sub:hover .ix-sub,
.ix-menu .has-sub:focus-within .ix-sub {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.ix-sub-panel {
    position: relative; padding: 12px;
    background:
        linear-gradient(rgba(4, 13, 13, .92), rgba(4, 13, 13, .92)) padding-box,
        linear-gradient(150deg, rgba(30,255,255,.45), rgba(30,255,255,.08) 45%, rgba(20,125,108,.4)) border-box;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .55), 0 0 28px rgba(30, 255, 255, .08);
}
/* HUD corner brackets lock onto the panel */
.ix-sub-panel::before, .ix-sub-panel::after {
    content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(30, 255, 255, .7));
}
.ix-sub-panel::before { top: -1px; left: -1px; border-top: 1.5px solid var(--cyan); border-left: 1.5px solid var(--cyan); border-top-left-radius: var(--radius-sm); }
.ix-sub-panel::after { bottom: -1px; right: -1px; border-bottom: 1.5px solid var(--cyan); border-right: 1.5px solid var(--cyan); border-bottom-right-radius: var(--radius-sm); }
.ix-sub-head {
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--teal); padding: 4px 12px 10px;
}
/* sub links: reset the top-level targeting brackets, own compact style */
.ix-menu .ix-sub a::before, .ix-menu .ix-sub a::after { content: none; }
.ix-menu .ix-sub a {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 12px; border-radius: 8px;
    font-size: 13.5px; white-space: nowrap;
    color: var(--text-soft);
    opacity: 0;
    transition: opacity .25s ease, background .25s ease, color .25s ease, transform .3s var(--ease), text-shadow .3s ease;
}
/* staggered reveal on open */
.ix-menu .has-sub:hover .ix-sub a,
.ix-menu .has-sub:focus-within .ix-sub a { opacity: 1; }
.ix-menu .has-sub:hover .ix-sub a:nth-child(3) { transition-delay: .03s; }
.ix-menu .has-sub:hover .ix-sub a:nth-child(4) { transition-delay: .06s; }
.ix-menu .has-sub:hover .ix-sub a:nth-child(5) { transition-delay: .09s; }
.ix-menu .has-sub:hover .ix-sub a:nth-child(6) { transition-delay: .12s; }
.ix-menu .has-sub:hover .ix-sub a:nth-child(7) { transition-delay: .15s; }
.ix-menu .has-sub:hover .ix-sub a:nth-child(8) { transition-delay: .18s; }
.ix-sub .num {
    font-family: var(--font-mono); font-size: 11px; color: var(--teal);
    transition: color .25s ease, text-shadow .25s ease;
}
.ix-menu .has-sub:hover .ix-sub a:hover,
.ix-menu .has-sub:focus-within .ix-sub a:hover { background: rgba(30, 255, 255, .07); color: var(--cyan); transform: translateX(4px); transition-delay: 0s; }
.ix-menu .ix-sub a:hover .num { color: var(--cyan); text-shadow: 0 0 8px rgba(30, 255, 255, .6); }
.ix-menu .ix-sub a.active { color: var(--cyan); background: rgba(30, 255, 255, .05); }
.ix-menu .ix-sub a.active .num { color: var(--cyan); }
.ix-menu .ix-sub .ix-sub-all {
    justify-content: space-between;
    margin-top: 8px; padding-top: 12px;
    border-top: 1px solid var(--line); border-radius: 0;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
    color: var(--cyan-soft);
}
.ix-sub-all svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.ix-menu .has-sub:hover .ix-sub a.ix-sub-all:hover,
.ix-menu .has-sub:focus-within .ix-sub a.ix-sub-all:hover { transform: none; background: rgba(30, 255, 255, .05); }
.ix-menu .ix-sub .ix-sub-all:hover svg { transform: translateX(4px); }

/* ---------- Services sub-links (mobile drawer) ---------- */
.ix-drawer-sub {
    display: grid; grid-template-columns: repeat(2, auto); gap: 2px 22px;
    margin: -4px 0 8px;
}
.ix-drawer .ix-drawer-sub a {
    font-family: var(--font-mono); font-size: 13px; font-weight: 400;
    letter-spacing: .04em; color: var(--muted);
    padding: 6px 10px;
}
.ix-drawer .ix-drawer-sub a::before { content: "// "; color: var(--teal); }
.ix-drawer .ix-drawer-sub a:hover, .ix-drawer .ix-drawer-sub a.active { color: var(--cyan); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 999px;
    font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .03em;
    cursor: pointer; border: none; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
    will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

.btn-grad { background: var(--grad); color: #03110f; box-shadow: 0 0 0 rgba(30,255,255,0); }
.btn-grad::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.5) 50%, transparent 75%);
    background-size: 250% 100%; background-position: 120% 0;
    transition: background-position .7s ease;
}
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(30,255,255,.3); color: #03110f; }
.btn-grad:hover::before { background-position: -120% 0; }

.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    border-color: var(--cyan); color: var(--cyan);
    box-shadow: inset 0 0 24px rgba(30,255,255,.08), 0 0 24px rgba(30,255,255,.15);
    transform: translateY(-3px);
}

.btn-sm { padding: 10px 22px; font-size: 13.5px; }

/* text link with arrow */
.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 600; font-size: 15px;
    color: var(--cyan-soft); position: relative;
}
.link-arrow::after {
    content: ""; position: absolute; left: 0; bottom: -4px;
    width: 100%; height: 1px; background: var(--grad);
    transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Layout / sections
   ========================================================================== */
.ix-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.ix-section { position: relative; padding: 110px 0; }
.ix-section-tight { padding: 70px 0; }

.sec-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
    letter-spacing: .22em; text-transform: uppercase; color: var(--cyan);
    margin-bottom: 22px;
}
.sec-tag::before { content: ""; width: 32px; height: 1px; background: var(--grad); box-shadow: 0 0 8px rgba(30,255,255,.7); }

.sec-title { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 24px; }
.sec-lead { font-size: 17.5px; color: var(--muted); max-width: 640px; }
.sec-center { text-align: center; }
.sec-center .sec-tag::after { content: ""; width: 32px; height: 1px; background: var(--grad); box-shadow: 0 0 8px rgba(30,255,255,.7); }
.sec-center .sec-lead { margin-left: auto; margin-right: auto; }

.ix-divider {
    height: 1px; border: none;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.ix-hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 80px;
    overflow: hidden;
}
.ix-hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--glass);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--cyan-soft);
    margin-bottom: 34px;
}
.hero-badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
    animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }

.hero-title {
    font-size: clamp(42px, 7.4vw, 96px);
    line-height: 1.04; letter-spacing: -0.03em;
    margin-bottom: 34px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }

/* typed rotator */
.typed-wrap { display: inline-flex; align-items: baseline; }
.typed-caret {
    display: inline-block; width: 3px; height: .85em;
    background: var(--cyan); margin-left: 6px;
    box-shadow: 0 0 12px var(--cyan);
    animation: caret-blink 1s steps(1) infinite;
    align-self: center;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.hero-sub { font-size: clamp(16.5px, 1.25vw, 18.5px); color: var(--muted); max-width: 580px; margin-bottom: 46px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 70px; }

/* hero stats strip */
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 0;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    overflow: hidden; max-width: 720px;
}
.hero-stat { flex: 1 1 160px; padding: 24px 28px; border-left: 1px solid var(--line); }
.hero-stat:first-child { border-left: none; }
.hero-stat b {
    display: block; font-family: var(--font-display);
    font-size: 32px; font-weight: 700; color: var(--text); line-height: 1.1;
}
/* the +, %, ↗ and × marks beside a stat — sized in em so they track the numeral */
.hero-stat b .plus {
    color: var(--cyan);
    display: inline-block;
    width: .58em; height: .58em;
    margin-left: .03em;
    vertical-align: .3em;
    fill: none; stroke: currentColor;
    stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 0 7px rgba(30, 255, 255, .45));
}
.hero-stat small { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* rotating rings decoration */
.hero-rings { position: absolute; top: 50%; right: -220px; transform: translateY(-50%); z-index: 1; width: 720px; height: 720px; pointer-events: none; opacity: .8; }
.hero-rings .ring { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.hero-rings .ring:nth-child(1) { animation: ring-spin 36s linear infinite; border-style: dashed; }
.hero-rings .ring:nth-child(2) { inset: 90px; animation: ring-spin 28s linear infinite reverse; }
.hero-rings .ring:nth-child(3) { inset: 180px; animation: ring-spin 20s linear infinite; border-style: dashed; }
.hero-rings .ring:nth-child(2)::before {
    content: ""; position: absolute; top: 50%; left: -5px;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 16px var(--cyan);
}
.hero-rings .core {
    position: absolute; inset: 270px; border-radius: 50%;
    background: radial-gradient(circle, rgba(30,255,255,.14), rgba(20,125,108,.08) 55%, transparent 75%);
    animation: core-breathe 5s ease-in-out infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes core-breathe { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.12); opacity: 1; } }

/* ---------- Hero AI figure (particle-face artwork + roadmap HUD on hover) ---------- */
.hero-figure {
    position: absolute; inset: 40px 150px;
    pointer-events: auto; cursor: crosshair;
    perspective: 900px;
    animation: ai-float 7s ease-in-out infinite;
}
@keyframes ai-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* tilt target for the pointer parallax (HUD panels stay flat) */
.holo-wrap {
    position: absolute; inset: 0;
    transform-style: preserve-3d;
    transition: transform .25s ease-out;
    will-change: transform;
}
.holo-img {
    width: 100%; height: 110%; object-fit: contain;
    /* the PNG carries true alpha (luminance-keyed); only feather the top and
       bottom, where the artwork itself is cropped by its frame */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 86%, transparent 99%);
    mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 86%, transparent 99%);
    filter: brightness(1) saturate(1.05);
    transition: filter .5s ease;
    animation: holo-flicker 7s linear infinite;
}
.hero-figure:hover .holo-img {
    filter: brightness(1.16) saturate(1.2) drop-shadow(0 0 32px rgba(30, 255, 255, .22));
}

/* holographic instability: brief brightness dips */
@keyframes holo-flicker {
    0%, 100% { opacity: 1; }
    3% { opacity: .8; } 5% { opacity: 1; }
    42% { opacity: .9; } 44% { opacity: 1; }
    77% { opacity: .84; } 79% { opacity: 1; }
}

/* scanline sweeping down the figure */
.holo-scanline {
    position: absolute; left: 10%; right: 10%; top: 3%;
    height: 6px; border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(30, 255, 255, .4), transparent);
    pointer-events: none;
    animation: holo-scan 4.6s linear infinite;
}
@keyframes holo-scan {
    0% { transform: translateY(0); opacity: 0; }
    8% { opacity: .85; }
    88% { opacity: .85; }
    100% { transform: translateY(580px); opacity: 0; }
}

/* roadmap HUD panels — hidden until the hologram is hovered */
.holo-tip {
    position: absolute; bottom: -85px; left: 50%; transform: translateX(-50%);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
    color: var(--muted); white-space: nowrap;
    transition: opacity .35s ease;
}
.hero-figure:hover .holo-tip { opacity: 0; }
.holo-panel {
    position: absolute; width: 216px;
    padding: 13px 16px;
    background: var(--glass-strong);
    border: 1px solid var(--line-strong); border-radius: 10px;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; transform: translateX(-10px) scale(.96);
    transition: opacity .4s ease, transform .5s var(--ease);
    pointer-events: none;
}
.holo-panel b {
    display: block;
    font-family: var(--font-mono); font-size: 10px; font-weight: 500;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 6px;
}
.holo-panel h5 { font-size: 14px; margin-bottom: 5px; color: var(--text); }
.holo-panel p { font-size: 11.5px; line-height: 1.55; color: var(--muted); margin: 0; }
/* leader line pointing at the face */
.holo-panel::after {
    content: ""; position: absolute; top: 50%; right: -38px;
    width: 38px; height: 1px;
    background: linear-gradient(90deg, var(--cyan-soft), transparent);
    opacity: .7;
}
.holo-panel::before {
    content: ""; position: absolute; top: 50%; left: -4px; margin-top: -2px;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.hp0 { top: 34px; left: -120px; }
.hp1 { top: 178px; left: -190px; }
.hp2 { top: 322px; left: -120px; }
.hp3 { top: 466px; left: -100px; }
.hero-figure:hover .holo-panel { opacity: 1; transform: translateX(0) scale(1); }
.hero-figure:hover .hp0 { transition-delay: .05s; }
.hero-figure:hover .hp1 { transition-delay: .15s; }
.hero-figure:hover .hp2 { transition-delay: .25s; }
.hero-figure:hover .hp3 { transition-delay: .35s; }

/* below the wide-desktop breakpoint the rings shift/fade — disable the HUD */
@media (max-width: 1100px) {
    .hero-figure { pointer-events: none; }
    .holo-panel, .holo-tip { display: none; }
}

/* scroll indicator */
.scroll-hint {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em;
    text-transform: uppercase; color: var(--muted); z-index: 2;
}
.scroll-hint .mouse {
    width: 24px; height: 38px; border: 1.5px solid var(--line-strong); border-radius: 14px;
    display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint .mouse i {
    width: 3px; height: 8px; border-radius: 3px; background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Sub-page hero (shorter) */
.ix-hero-page { min-height: 62vh; padding-bottom: 60px; }
.ix-hero-page .hero-title { font-size: clamp(36px, 5.6vw, 72px); }

/* Compact hero (legal / utility pages): header only, content stays above the fold */
.ix-hero.ix-hero-compact { min-height: 0; padding: calc(var(--nav-h) + 64px) 0 12px; }
.ix-hero-compact .hero-title { font-size: clamp(30px, 4vw, 52px); margin-bottom: 18px; }
.ix-hero-compact .hero-sub { margin-bottom: 0; }
.ix-hero-compact .hero-badge { margin-bottom: 18px; }
.ix-hero-compact .hero-rings { opacity: .3; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.ix-marquee {
    position: relative; overflow: hidden; padding: 22px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13,42,40,.25), rgba(13,42,40,.05));
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ix-marquee-track {
    display: flex; gap: 0; width: max-content;
    animation: marquee 30s linear infinite;
}
.ix-marquee.reverse .ix-marquee-track { animation-direction: reverse; }
.ix-marquee:hover .ix-marquee-track { animation-play-state: paused; }
.ix-marquee-track span {
    display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(18px, 2.4vw, 28px); letter-spacing: .02em;
    color: var(--text-soft); white-space: nowrap;
}
.ix-marquee-track span::after {
    content: "✦"; font-size: .7em; color: var(--cyan);
    text-shadow: 0 0 12px var(--cyan);
}
.ix-marquee-track span.ghost {
    color: transparent; -webkit-text-stroke: 1px rgba(30,255,255,.35);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Cards
   ========================================================================== */
.ix-card {
    position: relative; border-radius: var(--radius);
    background:
        linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
        linear-gradient(150deg, rgba(30,255,255,.28), rgba(30,255,255,.04) 40%, rgba(20,125,108,.25)) border-box;
    border: 1px solid transparent;
    padding: 38px 32px;
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
    will-change: transform;
}
.ix-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(30,255,255,.09), transparent 65%);
    opacity: 0; transition: opacity .4s ease;
}
.ix-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,.45), var(--glow-cyan); }
.ix-card:hover::before { opacity: 1; }
.ix-card > * { position: relative; z-index: 1; }

.card-num {
    position: absolute; top: 24px; right: 28px;
    font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em;
    color: rgba(30,255,255,.4);
}

.card-icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 26px;
    background: linear-gradient(150deg, rgba(20,125,108,.35), rgba(30,255,255,.12));
    border: 1px solid var(--line-strong);
    box-shadow: inset 0 0 20px rgba(30,255,255,.08);
    transition: transform .5s var(--ease), box-shadow .5s ease;
}
.card-icon svg { width: 28px; height: 28px; stroke: var(--cyan); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(30,255,255,.5)); }
.ix-card:hover .card-icon { transform: translateY(-4px) rotate(-4deg); box-shadow: inset 0 0 20px rgba(30,255,255,.15), 0 0 24px rgba(30,255,255,.2); }

.ix-card h3 { font-size: 21px; margin-bottom: 14px; }
.ix-card p { font-size: 15px; color: var(--muted); }

/* whole-card link (product lineup) */
a.ix-card { display: block; color: inherit; }
.ix-card .card-more {
    display: inline-block; margin-top: 20px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
    color: var(--cyan-soft);
    transition: color .3s ease, transform .3s var(--ease);
}
a.ix-card:hover .card-more { color: var(--cyan); transform: translateX(5px); }

/* grid helpers */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Feature rows (icon + text, bordered left)
   ========================================================================== */
.feat-item { position: relative; padding: 6px 0 6px 26px; }
.feat-item::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
    background: linear-gradient(180deg, var(--cyan), rgba(30,255,255,.05));
}
.feat-item h4 { font-size: 18px; margin: 14px 0 10px; }
.feat-item p { font-size: 14.5px; color: var(--muted); }

/* Homepage "About" column — stacked pillars + signature line, sized so the
   column reads level with the portrait image in the opposite half */
.about-points { display: grid; gap: 30px; margin-bottom: 34px; }
.about-points .feat-item:first-child h4 { margin-top: 0; }
.about-sign {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
    color: var(--muted);
    padding-top: 20px; margin-bottom: 32px;
    border-top: 1px solid var(--line);
}
.about-sign b { color: var(--cyan); font-weight: 500; }

/* ==========================================================================
   Pricing cards
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 36px 32px 32px;
    border-radius: var(--radius);
    background:
        linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
        linear-gradient(150deg, rgba(30,255,255,.22), rgba(30,255,255,.04) 45%, rgba(20,125,108,.2)) border-box;
    border: 1px solid transparent;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,.45), var(--glow-cyan); }
.price-card.featured {
    background:
        linear-gradient(180deg, rgba(20,125,108,.28), transparent 45%) padding-box,
        linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
        var(--grad) border-box;
    box-shadow: 0 18px 44px rgba(0,0,0,.5), 0 0 34px rgba(30,255,255,.18);
}
@media (min-width: 1101px) {
    .price-card.featured { transform: translateY(-14px); }
    .price-card.featured:hover { transform: translateY(-22px); }
}
.price-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    padding: 6px 16px; border-radius: 999px;
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
    background: var(--grad); color: #03110f; font-weight: 600;
    box-shadow: 0 0 18px rgba(30,255,255,.45);
    white-space: nowrap;
}
.price-tier {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--cyan-soft);
    margin-bottom: 16px;
}
.price-amount {
    font-family: var(--font-display); font-weight: 700; line-height: 1;
    font-size: clamp(40px, 4vw, 52px);
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.price-amount.is-custom { font-size: clamp(32px, 3.2vw, 40px); padding-top: 8px; }
.price-unit { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-top: 8px; }
.price-time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--cyan-soft); margin-top: 10px; }
.price-tag { font-size: 14px; color: var(--text-soft); margin-top: 14px; }
.price-list { margin: 20px 0 28px; flex: 1; }
.price-list li {
    padding: 9px 0; font-size: 14px; color: var(--muted);
    border-bottom: 1px dashed var(--line);
}
.price-list li::before { content: "❯ "; color: var(--teal); }
.price-list li:last-child { border-bottom: none; }
.price-note {
    margin-top: 44px; text-align: center;
    font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}
/* currency switcher */
.cur-switch {
    display: inline-flex; gap: 4px;
    margin-top: 28px; padding: 5px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--glass);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cur-switch button {
    padding: 8px 18px; border-radius: 999px;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
    color: var(--muted);
    transition: color .3s ease, background .3s ease, box-shadow .3s ease;
}
.cur-switch button:hover { color: var(--cyan-soft); }
.cur-switch button.active {
    background: var(--grad); color: #03110f; font-weight: 600;
    box-shadow: 0 0 16px rgba(30,255,255,.35);
}
@media (max-width: 1100px) {
    .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   Service detail: process rail + FAQ
   ========================================================================== */
.proc-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 28px; }
.proc-rail::before {
    content: ""; position: absolute; top: 19px; left: 30px; right: 30px; height: 1px;
    background: linear-gradient(90deg, rgba(30,255,255,0), rgba(20,125,108,.55) 12%, rgba(30,255,255,.45) 88%, rgba(30,255,255,0));
}
.proc-step { position: relative; }
.proc-num {
    position: relative; z-index: 1;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
    color: var(--cyan); background: var(--bg-1);
    border: 1px solid var(--line-strong);
    box-shadow: 0 0 18px rgba(30, 255, 255, .12);
    margin-bottom: 18px;
}
.proc-body h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.proc-body p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }
@media (max-width: 1100px) {
    .proc-rail { grid-template-columns: 1fr; gap: 30px; max-width: 640px; margin-left: auto; margin-right: auto; }
    .proc-rail::before {
        top: 19px; bottom: 19px; left: 19px; right: auto; width: 1px; height: auto;
        background: linear-gradient(180deg, rgba(30,255,255,0), rgba(20,125,108,.55) 12%, rgba(30,255,255,.45) 88%, rgba(30,255,255,0));
    }
    .proc-step { display: grid; grid-template-columns: 38px 1fr; gap: 0 18px; align-items: start; }
    .proc-num { margin-bottom: 0; }
    .proc-body h4 { padding-top: 8px; }
}
.svc-faq { max-width: 820px; margin: 56px auto 0; }

/* ---------- Vertical process timeline (About › How we work) ---------- */
.proc-vrail { position: relative; margin: 26px 0 38px; }
/* glowing rail running through the node centres */
.proc-vrail::before {
    content: ""; position: absolute; left: 26px; top: 14px; bottom: 14px; width: 2px;
    background: linear-gradient(180deg, rgba(30,255,255,0), rgba(20,125,108,.5) 9%, rgba(30,255,255,.32) 91%, rgba(30,255,255,0));
}
/* a data pulse travelling down the rail */
.pv-pulse {
    position: absolute; left: 23px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(30,255,255,.5);
    z-index: 1; pointer-events: none;
    animation: pv-travel 3.8s ease-in-out infinite;
}
@keyframes pv-travel {
    0% { top: 1%; opacity: 0; } 12% { opacity: 1; }
    88% { opacity: 1; } 100% { top: 97%; opacity: 0; }
}

.pv-step {
    position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 0 22px;
    padding-bottom: 22px;
}
.pv-step:last-child { padding-bottom: 0; }

.pv-node {
    position: relative; z-index: 2;
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--cyan);
    background: radial-gradient(circle at 50% 38%, rgba(30,255,255,.14), var(--bg-1) 72%);
    border: 1px solid var(--line-strong);
    box-shadow: 0 0 18px rgba(30,255,255,.14), inset 0 0 14px rgba(30,255,255,.06);
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* orbiting dashed ring */
.pv-node::before {
    content: ""; position: absolute; inset: -5px; border-radius: 50%;
    border: 1px dashed rgba(30,255,255,.38);
    animation: ring-spin 15s linear infinite;
}

.pv-card {
    position: relative; align-self: start;
    padding: 15px 20px 16px;
    background: var(--glass);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: border-color .35s var(--ease), transform .4s var(--ease), box-shadow .35s var(--ease);
}
/* connector line from node to card */
.pv-card::after {
    content: ""; position: absolute; left: -22px; top: 26px; width: 22px; height: 1px;
    background: linear-gradient(90deg, rgba(30,255,255,.55), rgba(30,255,255,.12));
}
/* HUD corner bracket */
.pv-card::before {
    content: ""; position: absolute; top: 9px; right: 9px; width: 11px; height: 11px;
    border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
    opacity: .6; transition: opacity .3s ease, border-color .3s ease;
}
.pv-label {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--teal); margin-bottom: 5px;
}
.pv-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pv-card p { font-size: 13.6px; line-height: 1.7; color: var(--muted); }

.pv-step:hover .pv-node { border-color: var(--cyan); box-shadow: 0 0 28px rgba(30,255,255,.35), inset 0 0 14px rgba(30,255,255,.1); }
.pv-step:hover .pv-node::before { animation-duration: 4s; border-color: rgba(30,255,255,.7); }
.pv-step:hover .pv-card { border-color: var(--line-strong); transform: translateX(5px); box-shadow: -8px 8px 30px rgba(0,0,0,.35), 0 0 22px rgba(30,255,255,.09); }
.pv-step:hover .pv-card::before { opacity: 1; border-color: var(--cyan); }

/* sweeping scanline for the paired image frame */
.media-frame.media-scan::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24%; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(30,255,255,.14), transparent);
    animation: media-scan 4.6s linear infinite;
}
@keyframes media-scan { 0% { transform: translateY(-30%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(430%); opacity: 0; } }

@media (max-width: 640px) {
    .proc-vrail::before { left: 22px; }
    .pv-pulse { left: 19px; }
    .pv-step { grid-template-columns: 46px 1fr; gap: 0 18px; }
    .pv-node { width: 46px; height: 46px; font-size: 13px; }
    .pv-card::after { left: -18px; }
}

/* ==========================================================================
   Frequencies — floating audio bubble (/ampratyay)
   ========================================================================== */
.freq { position: fixed; left: 22px; bottom: 22px; z-index: 80; }
.freq-bubble {
    position: relative; width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: var(--glass-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line-strong); color: var(--cyan);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .45), 0 0 18px rgba(30, 255, 255, .12);
    transition: transform .35s var(--ease), border-color .3s ease, box-shadow .3s ease;
}
.freq-bubble:hover { transform: translateY(-3px) scale(1.05); border-color: var(--cyan); box-shadow: 0 10px 32px rgba(0, 0, 0, .5), 0 0 26px rgba(30, 255, 255, .3); }
.freq-bubble > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.freq-ping { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(30, 255, 255, .55); opacity: 0; pointer-events: none; }
.freq.playing .freq-ping { animation: freqPing 2.2s ease-out infinite; }
@keyframes freqPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }
.freq-mutebadge {
    position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    background: var(--bg-1); border: 1px solid var(--err, #ff6b7a);
}
.freq-mutebadge svg { width: 9px; height: 9px; fill: none; stroke: var(--err, #ff6b7a); stroke-width: 2.5; stroke-linecap: round; }
.freq.muted .freq-mutebadge { display: flex; }

/* hover pill — mini visualizer + track title */
.freq-pill {
    position: absolute; left: 66px; bottom: 8px; height: 42px;
    display: flex; align-items: center; gap: 10px; white-space: nowrap;
    max-width: 0; padding: 0; opacity: 0; overflow: hidden; pointer-events: none;
    border-radius: 999px; border: 1px solid var(--line-strong);
    background: var(--glass-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: max-width .5s var(--ease), padding .5s var(--ease), opacity .25s ease;
}
@media (hover: hover) {
    .freq:not(.open):hover .freq-pill { max-width: 340px; padding: 0 18px 0 14px; opacity: 1; }
}
.freq-pill-eq { display: flex; align-items: flex-end; gap: 2.5px; width: 20px; height: 18px; flex: 0 0 20px; }
.freq-pill-eq i { flex: 1; height: 20%; border-radius: 1.5px; background: var(--grad); }
.freq.playing .freq-pill-eq i { animation: freqEq 1.05s ease-in-out infinite; }
.freq.playing .freq-pill-eq i:nth-child(2) { animation-delay: .16s; animation-duration: .85s; }
.freq.playing .freq-pill-eq i:nth-child(3) { animation-delay: .32s; animation-duration: 1.25s; }
.freq.playing .freq-pill-eq i:nth-child(4) { animation-delay: .08s; }
@keyframes freqEq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.freq-pill-title { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--text-soft); max-width: 250px; overflow: hidden; text-overflow: ellipsis; }

/* popup card — the video player */
.freq-pop {
    position: absolute; left: 0; bottom: 74px; width: 342px;
    border-radius: var(--radius); overflow: hidden;
    background: var(--bg-1); border: 1px solid var(--line-strong);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .6), 0 0 42px rgba(30, 255, 255, .08);
    opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom left;
    pointer-events: none; visibility: hidden;
    transition: opacity .35s ease, transform .45s var(--ease), visibility 0s linear .45s;
}
.freq.open .freq-pop { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.freq-bar {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.freq-bar .dots { display: flex; gap: 4px; }
.freq-bar .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(30, 255, 255, .18); }
.freq-bar .dots i:first-child { background: var(--grad); }
.freq-status { margin-left: auto; color: var(--cyan-soft); }
.freq.playing .freq-status { color: var(--cyan); text-shadow: 0 0 10px rgba(30, 255, 255, .5); }
.freq-close { background: none; border: none; padding: 3px; cursor: pointer; color: var(--muted); display: flex; transition: color .3s ease, transform .3s ease; }
.freq-close:hover { color: var(--cyan); transform: rotate(90deg); }
.freq-close svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.freq-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.freq-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.freq-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px 0; }
.freq-info { min-width: 0; }
.freq-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.freq-artist { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.freq-idx { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.freq-progress { padding: 10px 16px 2px; cursor: pointer; }
.freq-progress .rail { position: relative; height: 4px; border-radius: 999px; background: rgba(30, 255, 255, .12); }
.freq-progress .fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0%; border-radius: 999px; background: var(--grad); box-shadow: 0 0 10px rgba(30, 255, 255, .45); }
.freq-progress .fill::after { content: ""; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px rgba(30, 255, 255, .8); }
.freq-controls { display: flex; align-items: center; gap: 10px; padding: 10px 16px 14px; }
.freq-time { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .04em; margin-right: 2px; }
.freq-btn {
    width: 34px; height: 34px; border-radius: 50%; cursor: pointer; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line-strong); color: var(--cyan);
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.freq-btn:hover { border-color: var(--cyan); box-shadow: 0 0 14px rgba(30, 255, 255, .25); }
.freq-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.freq-play { width: 40px; height: 40px; background: var(--grad); border: none; color: #03110f; box-shadow: 0 0 16px rgba(30, 255, 255, .3); }
.freq-play svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.freq-play .ic-pause { display: none; }
.freq.playing .freq-play .ic-play { display: none; }
.freq.playing .freq-play .ic-pause { display: block; }
.freq-vol { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.freq-mute .ic-off { display: none; }
.freq.muted .freq-mute .ic-on { display: none; }
.freq.muted .freq-mute .ic-off { display: block; }
.freq.muted .freq-mute { border-color: var(--err, #ff6b7a); color: var(--err, #ff6b7a); }
.freq-vol input[type="range"] { -webkit-appearance: none; appearance: none; width: 72px; height: 4px; border-radius: 999px; background: rgba(30, 255, 255, .15); outline: none; cursor: pointer; }
.freq-vol input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 11px; height: 11px; border-radius: 50%; border: none; background: var(--cyan); box-shadow: 0 0 9px rgba(30, 255, 255, .7); }
.freq-vol input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border-radius: 50%; border: none; background: var(--cyan); box-shadow: 0 0 9px rgba(30, 255, 255, .7); }
@media (max-width: 480px) {
    .freq { left: 14px; bottom: 14px; }
    .freq-pop { width: min(322px, calc(100vw - 28px)); }
}
@media (prefers-reduced-motion: reduce) {
    .freq.playing .freq-ping { animation: none; opacity: 0; }
    .freq.playing .freq-pill-eq i { animation: none; height: 60%; }
}

/* ==========================================================================
   Industry sector grid
   ========================================================================== */
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sector-cell {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 17px 18px; border-radius: var(--radius-sm);
    background:
        linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
        linear-gradient(150deg, rgba(30,255,255,.22), rgba(30,255,255,.03) 45%, rgba(20,125,108,.2)) border-box;
    border: 1px solid transparent;
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
/* scanning shine sweeps across on hover */
.sector-cell::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
    left: -60%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(30,255,255,.08), transparent);
    transform: skewX(-18deg);
    transition: left .6s var(--ease);
}
.sector-cell:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 22px rgba(30,255,255,.12); }
.sector-cell:hover::after { left: 120%; }
.sector-icon {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, rgba(20,125,108,.35), rgba(30,255,255,.1));
    border: 1px solid var(--line-strong);
    transition: transform .4s var(--ease), box-shadow .4s ease;
}
.sector-icon svg {
    width: 19px; height: 19px;
    stroke: var(--cyan); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(30,255,255,.5));
}
.sector-cell:hover .sector-icon { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 16px rgba(30,255,255,.25); }
.sector-cell h4 { font-size: 15.5px; font-weight: 600; }
.sector-cell .code {
    margin-left: auto; flex: 0 0 auto;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
    color: var(--muted); transition: color .3s ease;
}
.sector-cell:hover .code { color: var(--cyan); }

@media (max-width: 640px) {
    .sector-grid { grid-template-columns: 1fr; }
}
/* wide-screen 3-column variants (fall back to the base 2/1-column rules below the breakpoint) */
@media (min-width: 1101px) {
    .sector-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .roadmap-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   AI Roadmap timeline
   ========================================================================== */
.roadmap { margin-top: 96px; }
.roadmap-head { max-width: 640px; margin-bottom: 56px; }
.roadmap-grid {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
/* the rail the phases sit on */
.roadmap-grid::before {
    content: ""; position: absolute; top: 6px; left: 8px; right: 8px; height: 1px;
    background: linear-gradient(90deg, rgba(30,255,255,.5), var(--line-strong) 55%, transparent);
}
.roadmap-item { position: relative; padding-top: 36px; }
.roadmap-item::before {
    content: ""; position: absolute; top: 0; left: 2px;
    width: 13px; height: 13px; border-radius: 50%;
    border: 1.5px solid var(--line-strong); background: var(--bg-1);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.roadmap-item:hover::before { border-color: var(--cyan); box-shadow: 0 0 12px rgba(30,255,255,.5); }
/* completed phase */
.roadmap-item.done::before { border-color: var(--teal); background: var(--teal); }
/* current phase: filled node + expanding radar ping */
.roadmap-item.current::before {
    border-color: var(--cyan); background: var(--cyan);
    box-shadow: 0 0 14px rgba(30,255,255,.8);
}
.roadmap-item.current::after {
    content: ""; position: absolute; top: 0; left: 2px;
    width: 13px; height: 13px; border-radius: 50%;
    border: 1.5px solid var(--cyan);
    animation: roadmap-ping 2.2s var(--ease) infinite;
}
@keyframes roadmap-ping {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(3); opacity: 0; }
}
.roadmap-phase {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em;
    line-height: 1.9; text-transform: uppercase; color: var(--muted);
    margin-bottom: 12px;
}
.roadmap-phase b { color: var(--cyan); font-weight: 500; }
.roadmap-phase i { font-style: normal; color: var(--text-soft); }
.roadmap-item.current .roadmap-phase b { text-shadow: 0 0 10px rgba(30,255,255,.6); }
.roadmap-item h4 { font-size: 18.5px; margin-bottom: 10px; }
.roadmap-item.current h4 {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.roadmap-item p { font-size: 14px; color: var(--muted); }
/* phases not yet reached render as holographic outlines */
.roadmap-item.future { opacity: .85; }
.roadmap-item.future h4 { color: var(--text-soft); }

@media (max-width: 1100px) {
    .roadmap-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
    .roadmap-grid::before { right: 40%; }
}
@media (max-width: 640px) {
    .roadmap-grid { grid-template-columns: 1fr; gap: 36px; }
    /* vertical rail on phones */
    .roadmap-grid::before {
        top: 8px; bottom: 8px; left: 8px; right: auto; width: 1px; height: auto;
        background: linear-gradient(180deg, rgba(30,255,255,.5), var(--line-strong) 55%, transparent);
    }
    .roadmap-item { padding-top: 0; padding-left: 36px; }
    .roadmap-item::before, .roadmap-item.current::after { top: 2px; left: 2px; }
}

/* ==========================================================================
   Stats / counters
   ========================================================================== */
.stat-big b {
    display: block; font-family: var(--font-display); font-weight: 700;
    font-size: clamp(44px, 5vw, 64px); line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.stat-big small {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--muted);
}

/* ==========================================================================
   Split layouts / media
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }

.media-frame {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
}
.media-frame img { width: 100%; transition: transform .8s var(--ease); }
.media-frame::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(30,255,255,.12), transparent 40%, rgba(3,8,9,.5));
    pointer-events: none;
}
.media-frame:hover img { transform: scale(1.05); }

/* corner brackets */
.media-frame .corner { position: absolute; width: 22px; height: 22px; z-index: 2; }
.media-frame .corner::before, .media-frame .corner::after { content: ""; position: absolute; background: var(--cyan); box-shadow: 0 0 8px rgba(30,255,255,.8); }
.media-frame .corner::before { width: 100%; height: 2px; }
.media-frame .corner::after { width: 2px; height: 100%; }
.media-frame .corner.tl { top: 14px; left: 14px; }
.media-frame .corner.tr { top: 14px; right: 14px; transform: rotate(90deg); }
.media-frame .corner.br { bottom: 14px; right: 14px; transform: rotate(180deg); }
.media-frame .corner.bl { bottom: 14px; left: 14px; transform: rotate(270deg); }

/* frame that stretches to match its sibling column, cropping the image */
.media-frame.media-fill { height: 100%; min-height: 420px; }
.media-frame.media-fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.media-float { animation: media-float 7s ease-in-out infinite; }
@keyframes media-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* HUD chip over images */
.hud-chip {
    position: absolute; z-index: 3;
    padding: 12px 18px; border-radius: var(--radius-sm);
    background: rgba(4,12,12,.8);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
    color: var(--cyan-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.hud-chip b { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Process timeline (accordion)
   ========================================================================== */
.ix-acc { border-top: 1px solid var(--line); }
.ix-acc-item { border-bottom: 1px solid var(--line); }
.ix-acc-head {
    width: 100%; display: flex; align-items: center; gap: 20px;
    padding: 24px 4px; background: none; border: none; cursor: pointer;
    text-align: left; color: var(--text);
    font-family: var(--font-display); font-size: 19px; font-weight: 600;
    transition: color .3s ease, padding-left .35s var(--ease);
}
.ix-acc-head .idx { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); letter-spacing: .08em; min-width: 34px; }
.ix-acc-head .chev { margin-left: auto; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease), background .3s ease, border-color .3s ease; }
.ix-acc-head .chev svg { width: 14px; height: 14px; stroke: var(--cyan); fill: none; stroke-width: 2; }
.ix-acc-head:hover { color: var(--cyan); padding-left: 10px; }
.ix-acc-item.open .ix-acc-head { color: var(--cyan); }
.ix-acc-item.open .chev { transform: rotate(180deg); background: rgba(30,255,255,.1); border-color: var(--cyan); }
.ix-acc-body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.ix-acc-body p { padding: 0 4px 26px 54px; color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Services explorer (tabs + console panel)
   ========================================================================== */
.svc-tabs { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--line); }
.svc-tab {
    position: relative;
    display: flex; align-items: center; gap: 18px;
    padding: 17px 22px; margin-left: -1px;
    background: none; border: none; border-left: 2px solid transparent; cursor: pointer;
    font-family: var(--font-display); font-size: 16.5px; font-weight: 600; text-align: left;
    color: var(--muted);
    transition: color .3s ease, background .3s ease, border-color .3s ease, padding-left .35s var(--ease);
}
.svc-tab .num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; min-width: 22px; transition: color .3s ease; }
.svc-tab .go {
    margin-left: auto; display: flex;
    opacity: 0; transform: translateX(-10px);
    transition: opacity .35s ease, transform .35s var(--ease);
}
.svc-tab .go svg { width: 15px; height: 15px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-tab:hover {
    color: var(--text-soft);
    background: linear-gradient(90deg, rgba(30,255,255,.05), transparent 70%);
    padding-left: 28px;
}
.svc-tab.active {
    color: var(--text);
    border-left-color: var(--cyan);
    background: linear-gradient(90deg, rgba(30,255,255,.09), transparent 75%);
    padding-left: 28px;
}
.svc-tab.active .num { color: var(--cyan); text-shadow: 0 0 10px rgba(30,255,255,.6); }
.svc-tab.active .go, .svc-tab:hover .go { opacity: 1; transform: translateX(0); }
/* "launching soon" beacon on a tab */
.svc-tab .soon-dot {
    flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
    margin-left: 2px;
    background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
    animation: dot-pulse 1.6s ease-in-out infinite;
}

.svc-panel { display: none; animation: panel-in .55s var(--ease); }
.svc-panel.active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* holo-console card */
.svc-console {
    border-radius: var(--radius); overflow: hidden;
    background:
        linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
        linear-gradient(150deg, rgba(30,255,255,.35), rgba(30,255,255,.06) 45%, rgba(20,125,108,.3)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.svc-console-bar {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(30,255,255,.03);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted);
}
.svc-console-bar .dots { display: flex; gap: 6px; }
.svc-console-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(30,255,255,.15); }
.svc-console-bar .dots i:first-child { background: var(--teal); }
.svc-console-bar .dots i:nth-child(2) { background: var(--cyan); box-shadow: 0 0 8px rgba(30,255,255,.6); }
.svc-console-bar .path { flex: 1; min-width: 0; color: var(--cyan-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-console-bar .status { margin-left: auto; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.svc-console-bar .status::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
    animation: dot-pulse 2s ease-in-out infinite;
}
.svc-console-bar .status.soon { color: var(--cyan-soft); text-shadow: 0 0 10px rgba(30,255,255,.4); }
.svc-console-bar .status.soon::before { animation-duration: .9s; }
.svc-console-media { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; }
.svc-console-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-console:hover .svc-console-media img { transform: scale(1.05); }
.svc-console-media::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(200deg, rgba(30,255,255,.1), transparent 40%, rgba(3,8,9,.65));
}
/* sweeping scanline */
.svc-console-media::after {
    content: ""; position: absolute; left: 0; right: 0; top: -25%; height: 20%; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(30,255,255,.14) 50%, transparent);
    animation: console-scan 5s linear infinite;
}
@keyframes console-scan { to { top: 125%; } }
.svc-console-media .corner { position: absolute; width: 20px; height: 20px; z-index: 2; }
.svc-console-media .corner::before, .svc-console-media .corner::after { content: ""; position: absolute; background: var(--cyan); box-shadow: 0 0 8px rgba(30,255,255,.8); }
.svc-console-media .corner::before { width: 100%; height: 2px; }
.svc-console-media .corner::after { width: 2px; height: 100%; }
.svc-console-media .corner.tl { top: 12px; left: 12px; }
.svc-console-media .corner.br { bottom: 12px; right: 12px; transform: rotate(180deg); }

.svc-console-body { padding: 28px 30px 32px; }
.svc-console-body h4 { font-size: 23px; margin-bottom: 12px; }
.svc-console-body p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.svc-chips span {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
    padding: 6px 13px; border-radius: 999px;
    color: var(--cyan-soft);
    border: 1px solid var(--line-strong);
    background: rgba(30,255,255,.04);
}
.svc-chips span svg {
    width: 13px; height: 13px; flex: 0 0 13px;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: .9;
}
.svc-chips span svg text { fill: currentColor; stroke: none; font-family: var(--font-mono); font-weight: 700; letter-spacing: 0; }

/* marquee variant — tags scroll on a single line with faded edges */
.svc-chips-marquee {
    display: block; overflow: hidden;
    /* left + right blur/fade so chips dissolve into the panel edges */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
}
.svc-chips-track {
    display: flex; align-items: center; width: max-content;
    will-change: transform;
    animation: chip-marquee 26s linear infinite;
}
/* per-chip margin (gap:0) keeps the two duplicated halves seamless at -50% */
.svc-chips-marquee .svc-chips-track span { flex: 0 0 auto; margin-right: 8px; white-space: nowrap; }
.svc-chips-marquee:hover .svc-chips-track { animation-play-state: paused; }
@keyframes chip-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* small screens: tabs become a scrollable pill rail */
@media (max-width: 860px) {
    .svc-tabs {
        flex-direction: row; overflow-x: auto; gap: 4px;
        border-left: none; border-bottom: 1px solid var(--line);
        padding-bottom: 8px; margin-bottom: 26px;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .svc-tabs::-webkit-scrollbar { display: none; }
    .svc-tab {
        flex: 0 0 auto; margin-left: 0; padding: 11px 16px !important;
        font-size: 14.5px; border-left: none; border-radius: 999px;
        border: 1px solid transparent;
    }
    .svc-tab.active { border-color: var(--line-strong); background: linear-gradient(120deg, rgba(20,125,108,.25), rgba(30,255,255,.08)); }
    .svc-tab .go { display: none; }
    .svc-console-body { padding: 22px 20px 26px; }
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-card { max-width: 380px; margin: 0 auto; text-align: center; }
.team-photo {
    position: relative; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); margin-bottom: 24px;
    background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
}
.team-photo img { width: 100%; transition: transform .7s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(3,8,9,.75), transparent 45%);
}
.team-socials {
    position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
    display: flex; justify-content: center; gap: 12px;
}
.team-socials a {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(4,12,12,.7); border: 1px solid var(--line-strong);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transform: translateY(10px); opacity: 0;
    transition: all .4s var(--ease);
}
.team-socials a svg { width: 16px; height: 16px; fill: var(--cyan-soft); }
.team-socials a:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(30,255,255,.35); transform: translateY(0) scale(1.1) !important; }
.team-card:hover .team-socials a { transform: translateY(0); opacity: 1; }
.team-card:hover .team-socials a:nth-child(2) { transition-delay: .06s; }
.team-card:hover .team-socials a:nth-child(3) { transition-delay: .12s; }
.team-name { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--text); }
.team-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-soft); margin-top: 6px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.ix-cta {
    position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
    padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 80px);
    background:
        radial-gradient(900px circle at 15% 0%, rgba(30,255,255,.14), transparent 55%),
        radial-gradient(700px circle at 90% 110%, rgba(20,125,108,.35), transparent 60%),
        var(--bg-1);
    border: 1px solid var(--line-strong);
    text-align: center;
}
.ix-cta::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(30,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}
.ix-cta h2 { font-size: clamp(30px, 4.6vw, 54px); margin-bottom: 20px; position: relative; }
.ix-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 38px; position: relative; }
.ix-cta .btn { position: relative; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-card { text-align: center; }
.contact-card .card-icon { margin-left: auto; margin-right: auto; }
.contact-card h4 { font-size: 18px; margin-bottom: 10px; }
.contact-card .val { color: var(--text-soft); font-size: 15px; word-break: break-word; margin-bottom: 18px; }

/* form */
.ix-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ix-form .full { grid-column: 1 / -1; }
.ix-field { position: relative; }
.ix-field label {
    display: block; margin-bottom: 10px;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--muted);
}
.ix-field input, .ix-field textarea {
    width: 100%; padding: 16px 20px;
    background: var(--glass); color: var(--text);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 15px;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
    resize: vertical;
}
.ix-field input::placeholder, .ix-field textarea::placeholder { color: rgba(125,155,150,.6); }
.ix-field input:focus, .ix-field textarea:focus {
    outline: none; border-color: var(--cyan);
    background: rgba(13,42,40,.5);
    box-shadow: 0 0 0 3px rgba(30,255,255,.12), 0 0 24px rgba(30,255,255,.1);
}

/* ---------- Terminal contact form ---------- */
/* window chrome reuses .svc-console / .svc-console-bar */
.term-body {
    padding: 26px 28px 30px;
    font-family: var(--font-mono);
    background:
        radial-gradient(700px circle at 80% -20%, rgba(30,255,255,.05), transparent 60%),
        rgba(3, 8, 9, .55);
}
.term-hint { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.term-hint::before { content: "// "; color: var(--teal); }

.term-line {
    display: flex; align-items: baseline; gap: 12px;
    padding: 11px 2px;
    border-bottom: 1px dashed var(--line);
    transition: border-color .3s ease;
}
.term-line label {
    flex: 0 0 auto;
    font-size: 12.5px; letter-spacing: .08em;
    color: var(--cyan-soft);
    white-space: nowrap;
    transition: color .3s ease, text-shadow .3s ease;
}
.term-line label::before { content: "❯ "; color: var(--teal); transition: color .3s ease; }
.term-line input, .term-line textarea {
    flex: 1; min-width: 0;
    background: transparent; border: none; outline: none;
    font-family: var(--font-mono); font-size: 13.5px;
    color: var(--text);
    caret-color: var(--cyan);
    padding: 2px 0;
    resize: vertical;
}
.term-line input::placeholder, .term-line textarea::placeholder { color: rgba(125,155,150,.45); }
.term-line:focus-within { border-bottom-color: var(--line-strong); }
.term-line:focus-within label { color: var(--cyan); text-shadow: 0 0 10px rgba(30,255,255,.5); }
.term-line:focus-within label::before { color: var(--cyan); }
/* message field: prompt on its own line */
.term-line.block { flex-direction: column; align-items: stretch; gap: 8px; }
.term-line.block textarea { width: 100%; }

.term-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.term-submit {
    display: inline-flex; align-items: center;
    font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em;
    padding: 12px 22px; cursor: pointer;
    color: var(--cyan);
    background: rgba(30,255,255,.05);
    border: 1px solid var(--line-strong); border-radius: 8px;
    transition: box-shadow .35s var(--ease), background .3s ease, border-color .3s ease, transform .35s var(--ease);
}
.term-submit::before { content: "$ "; color: var(--teal); }
.term-submit::after {
    content: ""; width: 8px; height: 15px; margin-left: 10px;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
    animation: caret-blink 1s steps(1) infinite;
    align-self: center;
}
.term-submit:hover {
    border-color: var(--cyan);
    background: rgba(30,255,255,.1);
    box-shadow: 0 0 24px rgba(30,255,255,.25), inset 0 0 18px rgba(30,255,255,.06);
    transform: translateY(-2px);
}
.term-output { font-size: 12px; color: var(--cyan-soft); min-height: 18px; }
.term-output:empty::before { content: "awaiting input…"; color: var(--muted); }
.term-output.error { color: var(--err); }

/* validation states */
:root { --err: #ff6b7a; }
.term-line.error { border-bottom-color: rgba(255, 107, 122, .45); }
.term-line.error label, .term-line.error label::before {
    color: var(--err);
    text-shadow: 0 0 10px rgba(255, 107, 122, .4);
}
.term-error {
    font-family: var(--font-mono); font-size: 11.5px;
    color: var(--err);
    padding: 8px 2px 0;
    animation: term-error-in .3s var(--ease);
}
.term-error::before { content: "✗ err: "; opacity: .75; }
@keyframes term-error-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
/* console shakes when a submit is rejected */
.svc-console.shake { animation: term-shake .4s var(--ease); }
@keyframes term-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-7px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(3px); }
}

/* FAQ */
.faq-wrap { max-width: 100%; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ix-footer {
    position: relative; margin-top: 40px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(13,42,40,.25));
}
.ix-footer-top {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
    padding: 80px 0 60px;
}
.ix-footer .ix-logo { margin-bottom: 20px; }
.ix-footer-about p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; max-width: 340px; }
.ix-footer h5 {
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    letter-spacing: .2em; text-transform: uppercase; color: var(--cyan);
    margin-bottom: 22px;
}
.ix-footer-menu li { margin-bottom: 12px; }
.ix-footer-menu a { color: var(--muted); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; transition: color .3s ease, transform .3s var(--ease); }
.ix-footer-menu a:hover { color: var(--cyan); transform: translateX(4px); }
.ix-footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14.5px; color: var(--muted); }
.ix-footer-contact b { color: var(--cyan-soft); font-family: var(--font-mono); font-weight: 500; }
.ix-footer-contact a { color: var(--muted); } .ix-footer-contact a:hover { color: var(--cyan); }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: var(--glass);
    transition: all .35s var(--ease);
}
.footer-socials a svg { width: 17px; height: 17px; fill: var(--text-soft); transition: fill .3s ease; }
.footer-socials a:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(30,255,255,.2); }
.footer-socials a:hover svg { fill: var(--cyan); }

.ix-footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    font-size: 13px; color: var(--muted);
}
.ix-footer-bottom .cin { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; opacity: .7; display: block; margin-top: 4px; }
.ix-footer-bottom .tagline { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--cyan-soft); }

/* ---------- Floating WhatsApp button (HUD-styled, brand accent) ---------- */
.wa-float {
    position: fixed; left: 26px; bottom: 26px; z-index: 1500;
    display: flex; align-items: center;
    height: 58px; border-radius: 999px;
    background:
        linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box,
        linear-gradient(150deg, rgba(30,255,255,.45), rgba(30,255,255,.08) 45%, rgba(20,125,108,.4)) border-box;
    border: 1px solid transparent;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 22px rgba(30, 255, 255, .15);
    transition: transform .4s var(--ease), box-shadow .35s var(--ease);
    will-change: transform;
}
/* cyan radar ping around the badge */
.wa-float::before {
    content: ""; position: absolute; left: 5px; top: 5px;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid rgba(30, 255, 255, .8);
    animation: wa-ping 2.6s var(--ease) infinite;
    pointer-events: none;
}
@keyframes wa-ping {
    0% { transform: scale(1); opacity: .9; }
    70%, 100% { transform: scale(2); opacity: 0; }
}
.wa-badge {
    position: relative;
    flex: 0 0 46px; width: 46px; height: 46px; margin: 5px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad);
    box-shadow: 0 0 16px rgba(30, 255, 255, .35);
}
.wa-badge svg { width: 25px; height: 25px; fill: #03110f; transform-origin: 50% 60%; }
/* orbiting dashed ring */
.wa-badge::after {
    content: ""; position: absolute; inset: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(30, 255, 255, .55);
    animation: ring-spin 12s linear infinite;
}
/* attention wave every few seconds */
@keyframes wa-wave {
    0%, 76%, 100% { transform: rotate(0); }
    80% { transform: rotate(-12deg); }
    84% { transform: rotate(10deg); }
    88% { transform: rotate(-8deg); }
    92% { transform: rotate(6deg); }
    96% { transform: rotate(0); }
}
.wa-badge svg { animation: wa-wave 7s ease-in-out infinite; }

.wa-label {
    font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em;
    color: var(--cyan-soft); white-space: nowrap;
    max-width: 0; opacity: 0; padding-right: 0; overflow: hidden;
    transition: max-width .45s var(--ease), opacity .3s ease, padding-right .45s var(--ease), color .3s ease;
}
.wa-label::before { content: "// "; color: var(--teal); }
.wa-float:hover, .wa-float:focus-visible {
    box-shadow: 0 14px 36px rgba(0, 0, 0, .5), 0 0 34px rgba(30, 255, 255, .35), inset 0 0 20px rgba(30, 255, 255, .06);
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label {
    max-width: 150px; opacity: 1; padding-right: 22px; color: var(--cyan);
}
.wa-float:hover .wa-badge::after { animation-duration: 3s; }
@media (max-width: 640px) {
    .wa-float { left: 16px; bottom: 16px; height: 52px; }
    .wa-float::before { left: 4px; top: 4px; width: 42px; height: 42px; }
    .wa-badge { flex-basis: 42px; width: 42px; height: 42px; margin: 4px; }
    .wa-badge svg { width: 22px; height: 22px; }
}

.to-top {
    position: fixed; right: 26px; bottom: 26px; z-index: 1500;
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--glass-strong); border: 1px solid var(--line-strong);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 2; }
.to-top:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); transform: translateY(-4px); }

/* ==========================================================================
   404
   ========================================================================== */
.glitch-num {
    position: relative;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(110px, 22vw, 260px); line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    letter-spacing: -0.04em;
}
.glitch-num::before, .glitch-num::after {
    content: attr(data-text); position: absolute; inset: 0;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glitch-num::before { animation: glitch-a 2.4s steps(2) infinite; clip-path: inset(20% 0 55% 0); opacity: .8; }
.glitch-num::after { animation: glitch-b 1.9s steps(2) infinite; clip-path: inset(60% 0 10% 0); opacity: .8; }
@keyframes glitch-a { 0%,88%,100% { transform: none; } 90% { transform: translate(-8px, 3px); } 94% { transform: translate(6px, -2px); } }
@keyframes glitch-b { 0%,84%,100% { transform: none; } 87% { transform: translate(9px, -3px); } 92% { transform: translate(-6px, 2px); } }

/* ==========================================================================
   Legal pages (privacy / terms / refund)
   ========================================================================== */
.ix-legal { max-width: 860px; margin: 0 auto; counter-reset: legal; }
.legal-updated {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
    color: var(--cyan-soft);
    padding: 8px 16px; margin-bottom: 40px;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--glass);
}
.legal-updated b { color: var(--teal); font-weight: 500; }
.ix-legal h2 {
    counter-increment: legal;
    font-size: clamp(19px, 2.2vw, 24px);
    margin: 52px 0 16px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.ix-legal h2::before {
    content: "/" counter(legal, decimal-leading-zero) " ";
    font-family: var(--font-mono); font-weight: 500;
    font-size: .75em; letter-spacing: .08em;
    color: var(--cyan);
}
.ix-legal h3 { font-size: 16.5px; margin: 28px 0 10px; color: var(--text); }
.ix-legal p { font-size: 15px; margin-bottom: 16px; color: var(--text-soft); }
.ix-legal ul { margin: 0 0 18px; }
.ix-legal ul li {
    position: relative; padding-left: 24px; margin-bottom: 10px;
    font-size: 15px; color: var(--text-soft);
}
.ix-legal ul li::before {
    content: "//"; position: absolute; left: 0; top: 1px;
    font-family: var(--font-mono); font-size: 12px; color: var(--teal);
}
.ix-legal a { border-bottom: 1px dotted rgba(30,255,255,.35); }
.ix-legal a:hover { border-bottom-color: var(--cyan); }
.legal-card {
    margin-top: 20px; padding: 26px 28px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--glass);
}
.legal-card li { margin-bottom: 8px; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
    opacity: 0; transform: translateY(36px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--rd, 0s);
    will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="zoom"]  { transform: scale(.9); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* word-by-word title reveal */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-words .w > i {
    display: inline-block; font-style: normal;
    transform: translateY(110%);
    transition: transform .9s var(--ease);
    transition-delay: calc(var(--wi) * 0.055s);
}
.split-words.revealed .w > i { transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-rings { right: -380px; opacity: .45; }
    .ix-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .ix-menu, .ix-nav-cta .btn { display: none; }
    .ix-burger { display: flex; }
    .split { grid-template-columns: 1fr; gap: 44px; }
    .ix-section { padding: 80px 0; }
    .hero-stats { max-width: 100%; }
}

@media (max-width: 640px) {
    .ix-container { padding: 0 20px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .ix-form { grid-template-columns: 1fr; }
    .hero-stat { flex: 1 1 100%; border-left: none; border-top: 1px solid var(--line); }
    .hero-stat:first-child { border-top: none; }
    .ix-footer-top { grid-template-columns: 1fr; gap: 36px; }
    .scroll-hint { display: none; }
    .hero-rings { display: none; }
    .ix-section { padding: 64px 0; }
    /* smaller pill badges so long labels don't spill onto a second line */
    .hero-badge { gap: 7px; padding: 6px 13px; font-size: 10.5px; letter-spacing: .1em; }
    .hero-badge .dot { width: 6px; height: 6px; }
}

/* Shorter screens (laptops, ~1080p with browser chrome): compact the hero so
   the stats strip and scroll hint fit inside the first viewport */
@media (min-width: 861px) and (max-height: 980px) {
    .ix-hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 118px; }
    .hero-badge { margin-bottom: 22px; padding: 7px 16px; }
    .hero-title { font-size: clamp(40px, 6.2vw, 78px); margin-bottom: 26px; }
    .hero-sub { margin-bottom: 34px; }
    .hero-actions { margin-bottom: 46px; }
    .hero-stat { padding: 18px 24px; }
    .hero-stat b { font-size: 27px; }
    .scroll-hint .mouse { width: 22px; height: 34px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal], .split-words .w > i { opacity: 1 !important; transform: none !important; }
    .ix-cursor, #ix-canvas { display: none; }
}
