/* ==========================================================================
   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
   ========================================================================== */
.ix-loader {
    position: fixed; inset: 0; z-index: 5000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; background: var(--bg-0);
    transition: opacity .6s ease, visibility .6s ease;
}
.ix-loader.done { opacity: 0; visibility: hidden; }
.ix-loader-mark { width: 64px; height: 64px; border-radius: 14px; animation: loader-pulse 1.4s ease-in-out infinite; box-shadow: var(--glow-cyan); }
.ix-loader-bar { width: 160px; height: 2px; background: rgba(30,255,255,.12); border-radius: 2px; overflow: hidden; }
.ix-loader-bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: loader-scan 1.1s ease-in-out infinite; }
@keyframes loader-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes loader-scan { 0% { transform: translateX(-160px); } 100% { transform: translateX(400px); } }

/* ==========================================================================
   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: 50px; 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: 6px; }
.ix-menu a {
    position: relative; display: block;
    padding: 10px 16px; border-radius: 999px;
    font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
    color: var(--text-soft);
    transition: color .3s ease, background .3s ease;
}
.ix-menu a:hover { color: var(--cyan); background: rgba(30,255,255,.06); }
.ix-menu a.active { color: var(--cyan); }
.ix-menu a.active::after {
    content: ""; position: absolute; left: 50%; bottom: 3px;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--cyan); transform: translateX(-50%);
    box-shadow: 0 0 8px var(--cyan);
}

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

/* ==========================================================================
   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;
}
.hero-stat b .plus { color: var(--cyan); }
.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; } }

/* 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); }

/* ==========================================================================
   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); }

/* 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); }

/* ==========================================================================
   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); }

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

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

/* 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);
}

/* 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); }

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

/* ==========================================================================
   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; }
}

/* 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; }
}
