/* =========================================================
   Oxiaim Techbreed — Design System
   ========================================================= */
:root {
  /* Brand */
  --navy-950: #010540;
  --navy-900: #020a5c;
  --navy: #020a82;
  --navy-600: #1b25a8;
  --navy-100: #e8eafc;
  --navy-50: #f3f4fe;
  --orange: #f35b00;
  --orange-600: #d94f00;
  --orange-100: #ffe9db;
  --orange-50: #fff5ee;

  /* Neutrals */
  --ink: #0b1033;
  --ink-2: #3c4263;
  --ink-3: #6b7090;
  --line: #e6e8f2;
  --line-2: #eff0f7;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;

  --grad-brand: linear-gradient(120deg, var(--navy) 0%, #3a2fd1 45%, var(--orange) 100%);
  --grad-warm: linear-gradient(120deg, #ff8a3d, var(--orange));

  /* Type */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Radii / shadows */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-sm: 0 1px 2px rgba(11, 16, 51, .06), 0 1px 1px rgba(11, 16, 51, .04);
  --sh: 0 8px 24px -6px rgba(11, 16, 51, .12), 0 2px 6px rgba(11, 16, 51, .05);
  --sh-lg: 0 30px 60px -20px rgba(2, 10, 130, .28), 0 12px 24px -12px rgba(11, 16, 51, .14);
  --sh-orange: 0 10px 30px -8px rgba(243, 91, 0, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2 { text-wrap: balance; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; stroke-width: 2.2; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

/* ---------- Preloader / progress / cursor ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999; background: #fff;
  display: grid; place-content: center; justify-items: center; gap: 20px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader img { animation: spin-in 1.2s var(--ease) infinite alternate; }
.preloader-bar { width: 120px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.preloader-bar i { display: block; height: 100%; width: 40%; background: var(--grad-warm); border-radius: 3px; animation: load 1s ease-in-out infinite; }
body.loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes spin-in { from { transform: rotate(-20deg) scale(.92); } to { transform: rotate(20deg) scale(1.04); } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(243, 91, 0, .10), rgba(2, 10, 130, .06) 40%, transparent 70%);
  opacity: 0; transition: opacity .4s; will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--bh); padding: 0 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  isolation: isolate; overflow: hidden;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--sh-orange); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--navy), #2b2fc7); transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 12px 30px -10px rgba(2, 10, 130, .55); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.btn-light:hover { background: var(--orange-50); }
.btn-link { padding: 0 6px; height: auto; color: var(--navy); }
.btn-link:hover { color: var(--orange); }
.btn-link:hover .ico { transform: translate(2px, -2px); }

.link-quiet { font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.link-quiet:hover { color: var(--navy); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s, transform .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(11,16,51,.25);
  --header-h: 66px;
}
.header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-200deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.brand-text small { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-top: 3px; }

.nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy); background: var(--navy-50); }
.nav-link .ico { transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav-link.is-current { color: var(--navy); }
.nav-cta-mobile { display: none; }

.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 620px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 14px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: 20% 0;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s; }
.mega-item:hover { background: var(--bg-soft); }
.mega-item strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.mega-item small { color: var(--ink-3); font-size: 13px; }
.mega-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff); transition: transform .3s var(--ease), background .3s, color .3s;
}
.mega-item:hover .mega-ico { transform: scale(1.08) rotate(-4deg); background: var(--c); color: #fff; }
.mega-foot {
  display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 14px 16px;
  background: var(--bg-soft); border-radius: 14px; font-size: 14px; color: var(--ink-3);
}
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); position: relative; background: #fff; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 0; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: linear-gradient(180deg, #fbfbff 0%, #fff 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float-blob 18s ease-in-out infinite alternate; }
.blob-1 { width: 560px; height: 560px; background: #c9cdfb; top: -180px; left: -140px; }
.blob-2 { width: 480px; height: 480px; background: #ffd6bd; top: 40px; right: -120px; animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; background: #e2d9ff; bottom: -60px; left: 38%; animation-delay: -12s; }
@keyframes float-blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.1); } 100% { transform: translate(-40px, 20px) scale(.95); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(2,10,130,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(2,10,130,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: border-color .3s, box-shadow .3s;
}
.eyebrow-pill:hover { border-color: var(--orange); box-shadow: 0 6px 20px -8px rgba(243,91,0,.4); }
.eyebrow-pill .ico { color: var(--orange); transition: transform .3s var(--ease); }
.eyebrow-pill:hover .ico { transform: translateX(3px); }
.pill-tag { padding: 3px 10px; border-radius: 999px; background: var(--grad-warm); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }

.hero-title { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin: 24px 0 22px; }
.rotator { position: relative; display: inline-grid; vertical-align: top; }
.rotator-word {
  grid-area: 1 / 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em; opacity: 0; transform: translateY(40%); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease);
}
.rotator-word.is-active { opacity: 1; transform: none; filter: none; }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-40%); filter: blur(6px); }

.hero-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.hero-assurances li { display: inline-flex; align-items: center; gap: 6px; }
.hero-assurances .ico { color: #12a150; }

/* Hero dashboard */
.hero-visual { position: relative; perspective: 1400px; }
.dash {
  position: relative; background: #fff; border-radius: 20px; border: 1px solid var(--line);
  box-shadow: var(--sh-lg), 0 0 0 8px rgba(255,255,255,.6); overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.dash-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #fbfbfe; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.dash-url { flex: 1; text-align: center; font: 500 12px var(--font-mono); color: var(--ink-3); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-body { display: grid; grid-template-columns: 56px 1fr; min-height: 420px; }
.dash-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0; border-right: 1px solid var(--line-2); background: #fcfcff; }
.dash-side img { margin-bottom: 8px; }
.side-i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--ink-3); }
.side-i .ico { width: 18px; height: 18px; }
.side-i.is-on { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -6px rgba(2,10,130,.6); }
.dash-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-head small { display: block; color: var(--ink-3); font-size: 12px; }
.dash-head strong { font-family: var(--font-display); font-size: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line-2); white-space: nowrap; }
.chip-live { background: #e8f8ef; color: #12804a; border-color: #cdeedc; }
.chip-live i { width: 7px; height: 7px; border-radius: 50%; background: #18b45c; box-shadow: 0 0 0 0 rgba(24,180,92,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(24,180,92,.55); } 70% { box-shadow: 0 0 0 8px rgba(24,180,92,0); } 100% { box-shadow: 0 0 0 0 rgba(24,180,92,0); } }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; min-width: 0; }
.kpi small { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; margin: 2px 0; }
.kpi em { font-style: normal; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.kpi em.up { color: #12a150; }

.chart-card { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 12px 6px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 6px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); }
.legend i { width: 10px; height: 3px; border-radius: 2px; display: inline-block; }
.legend .l1 { background: var(--orange); }
.legend .l2 { background: #b7bcef; margin-left: 6px; }
.line-chart { width: 100%; height: 120px; overflow: visible; }
.gridlines path { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 4; }
.line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.line-1 { stroke: var(--orange); }
.line-2 { stroke: #b7bcef; stroke-width: 2; }
.area { opacity: 0; transition: opacity 1s .8s; }
.chart-dot { fill: #fff; stroke: var(--orange); stroke-width: 3; opacity: 0; }
.is-visible .line { animation: draw 2s var(--ease) forwards .3s; }
.is-visible .line-2 { animation-delay: .1s; }
.is-visible .area { opacity: 1; }
.is-visible .chart-dot { animation: dot-in .5s 1.8s forwards, dot-pulse 2s 2.3s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot-in { to { opacity: 1; } }
@keyframes dot-pulse { 50% { r: 7; } }

.dash-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.mini-list { border: 1px solid var(--line-2); border-radius: 12px; padding: 6px; min-width: 0; }
.ml-item { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 8px; font-size: 12px; min-width: 0; }
.ml-item > span:nth-child(2) { flex: 1; min-width: 0; }
.ml-item strong { display: block; font-size: 12px; }
.ml-item small { display: block; color: var(--ink-3); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-item em { font-style: normal; color: var(--ink-3); font-size: 11px; font-family: var(--font-mono); }
.av {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: hsl(var(--h) 70% 35%); background: hsl(var(--h) 85% 92%);
}
.ring-card { position: relative; border: 1px solid var(--line-2); border-radius: 12px; display: grid; place-items: center; padding: 8px; }
.ring { width: 86px; height: 86px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line-2); stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--navy); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.8s var(--ease) .5s; }
.is-visible .ring-fg, .sc-panel.is-active .ring-fg { stroke-dashoffset: calc(201 - 201 * var(--p)); }
.ring-val { position: absolute; display: grid; place-items: center; line-height: 1.1; }
.ring-val strong { font-family: var(--font-display); font-size: 17px; }
.ring-val small { font-size: 10px; color: var(--ink-3); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border: 1px solid rgba(230,232,242,.9);
  border-radius: 14px; box-shadow: var(--sh-lg); font-size: 13px; white-space: nowrap; z-index: 2;
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 13px; }
.float-card small { color: var(--ink-3); font-size: 12px; }
.fc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--c); }
.fc-ico .ico { width: 18px; height: 18px; }
.fc-1 { top: -26px; left: -36px; }
.fc-2 { bottom: 18%; right: -30px; animation-delay: -2s; }
.fc-3 { bottom: -22px; left: 14%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Trust marquee */
.trust { margin-top: 96px; padding: 32px 0 40px; border-top: 1px solid var(--line-2); }
.trust-title { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #9da2bf; white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: var(--navy); }
.marquee-track .ico { width: 24px; height: 24px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Stats ---------- */
.stats { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 15% 0%, rgba(243,91,0,.25), transparent 70%), radial-gradient(700px 240px at 85% 100%, rgba(70,80,255,.35), transparent 70%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(36px, 4vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, #c5c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 10px; color: rgba(255,255,255,.65); font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.section-head.split p { margin-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-light { background: linear-gradient(120deg, #ffb27f, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.7); }

/* ---------- Products showcase ---------- */
.products { background: var(--bg-soft); }
.products::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 50% 0%, #fff, transparent 70%); pointer-events: none; }
.showcase { position: relative; display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
.showcase-tabs { display: flex; flex-direction: column; gap: 8px; }
.sc-tab {
  position: relative; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border-radius: var(--r);
  background: transparent; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease); overflow: hidden;
}
.sc-tab:hover { background: rgba(255,255,255,.7); transform: translateX(4px); }
.sc-tab.is-active { background: #fff; border-color: var(--line); box-shadow: var(--sh); transform: none; }
.sc-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); transition: background .3s, color .3s; flex-shrink: 0; }
.sc-tab.is-active .sc-ico { background: var(--c); color: #fff; box-shadow: 0 8px 18px -8px var(--c); }
.sc-txt strong { display: block; font-family: var(--font-display); font-size: 17px; }
.sc-txt small { color: var(--ink-3); font-size: 13px; }
.sc-progress { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: transparent; border-radius: 2px; overflow: hidden; }
.sc-progress i { display: block; height: 100%; width: 0; background: var(--c); }
.sc-tab.is-active .sc-progress i { animation: tab-progress var(--dur, 7s) linear forwards; }
.showcase.is-paused .sc-tab.is-active .sc-progress i { animation-play-state: paused; }
@keyframes tab-progress { to { width: 100%; } }

.showcase-panels { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh); overflow: hidden; min-height: 520px; }
.sc-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px; align-items: center; height: 100%; }
.sc-panel[hidden] { display: none; }
.sc-panel.is-active .sc-info > * { animation: fade-up .7s var(--ease) both; }
.sc-panel.is-active .sc-info > *:nth-child(2) { animation-delay: .05s; }
.sc-panel.is-active .sc-info > *:nth-child(3) { animation-delay: .1s; }
.sc-panel.is-active .sc-info > *:nth-child(4) { animation-delay: .15s; }
.sc-panel.is-active .sc-info > *:nth-child(5) { animation-delay: .2s; }
.sc-panel.is-active .sc-visual { animation: zoom-in .9s var(--ease) both .1s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94) translateY(16px); } to { opacity: 1; transform: none; } }
.sc-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.sc-info h3 { font-size: 40px; font-weight: 800; letter-spacing: -.035em; margin: 16px 0 12px; }
.sc-info > p { color: var(--ink-2); }
.checks { display: grid; gap: 10px; margin: 22px 0 28px; }
.checks li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; stroke-width: 3; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); margin-top: 2px; }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sc-panel .btn-primary { background: var(--c); box-shadow: 0 10px 26px -10px var(--c); }

.sc-visual { position: relative; }
.sc-visual::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 18%, transparent), transparent 65%); z-index: 0; }
.mock { position: relative; z-index: 1; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--sh-lg); padding: 18px; min-height: 340px; overflow: hidden; }
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; }

/* map mock */
.mock-map { padding: 0; background: #f4f6fb; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(#e3e7f3 1px, transparent 1px), linear-gradient(90deg, #e3e7f3 1px, transparent 1px); background-size: 28px 28px; }
.map-grid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(243,91,0,.08), transparent 50%), linear-gradient(115deg, transparent 40%, rgba(2,10,130,.05) 40%, rgba(2,10,130,.05) 46%, transparent 46%); }
.map-route { position: absolute; inset: 10% 6% 22%; width: 88%; height: 68%; overflow: visible; }
.map-route path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 7 7; stroke-linecap: round; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(2,10,130,.4); }
.pin i { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--navy); opacity: 0; animation: ping 2.4s infinite; }
.p1 { left: 9%; top: 72%; } .p2 { left: 43%; top: 42%; } .p3 { left: 89%; top: 22%; }
.p2 i { animation-delay: .8s; } .p3 i { animation-delay: 1.6s; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.mover { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(243,91,0,.2), var(--sh); offset-path: path("M30 180 C80 150 70 90 130 100 S200 40 270 50"); animation: move-route 7s var(--ease) infinite alternate; left: 6%; top: 10%; }
@keyframes move-route { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.map-card { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border-radius: 14px; box-shadow: var(--sh); font-size: 13px; }
.map-card > span:nth-child(2) { flex: 1; min-width: 0; }
.map-card strong { display: block; font-size: 14px; }
.map-card small { color: var(--ink-3); }
.map-stat { position: absolute; top: 16px; right: 16px; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 12px; box-shadow: var(--sh); }
.map-stat small { display: block; font-size: 11px; opacity: .7; }
.map-stat strong { font-family: var(--font-display); font-size: 18px; }

/* inventory mock */
.bars { display: grid; gap: 14px; margin-bottom: 18px; }
.bar-row { display: grid; grid-template-columns: 100px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.bar-row em { font-style: normal; font-weight: 600; font-size: 12px; text-align: right; }
.bar { height: 8px; background: var(--line-2); border-radius: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6e83ff, var(--c)); border-radius: 8px; transition: width 1.4s var(--ease) .3s; }
.bar i.warn { background: linear-gradient(90deg, #ffb27f, var(--orange)); }
.sc-panel.is-active .bar i { width: var(--w); }
.inv-list { display: grid; gap: 8px; }
.inv-list div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; }
.inv-list span { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.tag.ok { background: #e8f8ef; color: #12804a; }
.tag.due { background: var(--orange-100); color: var(--orange-600); }

/* dish mock */
.col-bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; padding: 0 4px 10px; border-bottom: 1px dashed var(--line); }
.col-bars i { flex: 1; height: 4%; border-radius: 8px 8px 4px 4px; background: color-mix(in srgb, var(--c) 25%, #fff); transition: height 1.2s var(--ease); }
.col-bars i.hi { background: linear-gradient(180deg, #2fd3bd, var(--c)); }
.sc-panel.is-active .col-bars i { height: var(--h); }
.sc-panel.is-active .col-bars i:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms + .2s); }
.dish-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.dish-kpis div { padding: 12px; border-radius: 12px; background: var(--bg-soft); }
.dish-kpis small { display: block; font-size: 11px; color: var(--ink-3); }
.dish-kpis strong { font-family: var(--font-display); font-size: 18px; }

/* clinic mock */
.token { text-align: center; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, var(--c), #f06595); color: #fff; margin-bottom: 16px; }
.token small { display: block; opacity: .8; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.token strong { display: block; font-family: var(--font-display); font-size: 44px; letter-spacing: -.02em; line-height: 1.1; animation: token-pop 3s var(--ease) infinite; }
.token span { font-size: 13px; opacity: .9; }
@keyframes token-pop { 0%, 80%, 100% { transform: scale(1); } 85% { transform: scale(1.08); } }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { text-align: center; padding: 9px 0; border-radius: 10px; font: 500 13px var(--font-mono); border: 1px solid var(--line); color: var(--ink-2); }
.slot.done { background: var(--bg-soft); color: var(--ink-3); text-decoration: line-through; border-color: transparent; }
.slot.now { background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 6px 16px -6px var(--c); }
.slot.booked { border-color: color-mix(in srgb, var(--c) 40%, #fff); color: var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); }
.toast-ok { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 10px; background: #e8f8ef; color: #12804a; font-size: 13px; font-weight: 500; }

/* autotask mock */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kcol { background: var(--bg-soft); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.kcol small { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.kcol small em { font-style: normal; color: var(--ink-3); }
.kcard { position: relative; display: block; padding: 10px 10px 22px; background: #fff; border-radius: 10px; box-shadow: var(--sh-sm); font-size: 12px; font-weight: 500; border-left: 3px solid var(--c); }
.kcard i { position: absolute; right: 8px; bottom: 6px; width: 14px; height: 14px; border-radius: 50%; background: hsl(var(--h) 80% 70%); }
.kcard.done { border-left-color: #18b45c; color: var(--ink-3); text-decoration: line-through; }
.kmove { animation: kmove 5s var(--ease) infinite; }
@keyframes kmove { 0%, 30% { transform: none; } 45%, 75% { transform: translate(6px, -4px) rotate(2deg); box-shadow: var(--sh); } 90%, 100% { transform: none; } }
.perf { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 12px; border: 1px solid var(--line-2); border-radius: 14px; }
.perf .ring { width: 64px; height: 64px; }
.perf .ring-fg { stroke: var(--c); }
.perf strong { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; }
.perf small { color: var(--ink-3); font-size: 13px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
.bento-card {
  position: relative; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.bento-card h3 { font-size: 21px; margin: 20px 0 8px; }
.bento-card p { color: var(--ink-2); font-size: 15px; }
.b-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); transition: transform .4s var(--ease), background .4s, color .4s; }
.bento-card:hover .b-ico { transform: rotate(-8deg) scale(1.06); background: var(--orange); color: #fff; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(243,91,0,.10), transparent 45%);
}
.spotlight::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(243,91,0,.7), rgba(2,10,130,.4) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }
.b-lg { grid-column: span 2; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; gap: 28px; background: linear-gradient(160deg, #fff 40%, var(--navy-50)); }
.b-copy { max-width: 460px; }
.b-lg h3 { font-size: 28px; }
.code-win { background: #0b0f3a; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-lg); align-self: end; transform: translateY(10px); transition: transform .5s var(--ease); }
.b-lg:hover .code-win { transform: translateY(0); }
.code-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #10154a; font: 500 12px var(--font-mono); color: #8f95d6; }
.code-win pre { margin: 0; padding: 20px; overflow-x: auto; font: 500 13.5px/1.75 var(--font-mono); color: #d9dcff; }
.code-win .k { color: #ff9a5c; } .code-win .f { color: #7ee0ff; } .code-win .s { color: #a7f3a0; } .code-win .c { color: #6c72b5; }
.b-wide { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; }
.b-dark { background: radial-gradient(500px 200px at 90% 0%, rgba(243,91,0,.45), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy)); border-color: transparent; color: #fff; }
.b-dark h3 { color: #fff; }
.b-dark p { color: rgba(255,255,255,.75); max-width: 460px; }
.b-dark .b-ico { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Industries ---------- */
.industries { background: var(--bg-soft); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.ind-card {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), border-color .4s; transform-style: preserve-3d; overflow: hidden;
}
.ind-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.ind-card:hover { box-shadow: var(--sh-lg); border-color: transparent; }
.ind-card:hover::after { transform: scaleX(1); }
.ind-num { position: absolute; top: 20px; right: 24px; font: 800 44px var(--font-display); color: var(--line-2); letter-spacing: -.04em; transition: color .4s; }
.ind-card:hover .ind-num { color: var(--orange-100); }
.ind-ico { width: 40px; height: 40px; stroke-width: 1.5; color: var(--navy); transform: translateZ(30px); }
.ind-card h3 { font-size: 20px; margin: 24px 0 10px; transform: translateZ(20px); }
.ind-card p { font-size: 15px; color: var(--ink-2); }
.ind-tag { display: inline-block; margin-top: 18px; font: 500 12px var(--font-mono); color: var(--orange); }

/* ---------- Process ---------- */
.process-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.process-sticky { position: sticky; top: calc(var(--header-h) + 48px); }
.process-sticky h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 18px; }
.process-sticky p { font-size: 18px; color: var(--ink-2); margin-bottom: 30px; }
.timeline { position: relative; display: grid; gap: 20px; }
.timeline-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline-line i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--orange), var(--navy)); border-radius: 2px; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; }
.tl-step > div { padding: 26px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .4s, transform .4s var(--ease), border-color .4s; }
.tl-step:hover > div { box-shadow: var(--sh); transform: translateX(6px); border-color: transparent; }
.tl-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 800 18px var(--font-display); background: #fff; border: 2px solid var(--line); color: var(--ink-3); transition: all .5s var(--ease); }
.tl-step.is-lit .tl-dot { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 8px var(--orange-100); }
.tl-step h3 { font-size: 21px; margin-bottom: 8px; }
.tl-step p { color: var(--ink-2); font-size: 15px; }
.tl-meta { display: inline-block; margin-top: 14px; font: 500 12px var(--font-mono); color: var(--navy); background: var(--navy-50); padding: 4px 10px; border-radius: 999px; }

/* ---------- Why (dark) ---------- */
.why { background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.why-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(800px 400px at 10% 0%, rgba(243,91,0,.22), transparent 60%),
  radial-gradient(900px 500px at 100% 100%, rgba(60,70,255,.35), transparent 60%); }
.why-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(8px); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.why-card:hover { background: rgba(255,255,255,.08); border-color: rgba(243,91,0,.5); transform: translateY(-6px); }
.why-card .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, var(--orange), #ff8a3d); color: #fff; box-shadow: var(--sh-orange); }
.why-card h3 { color: #fff; font-size: 20px; margin: 22px 0 8px; }
.why-card p { color: rgba(255,255,255,.65); font-size: 15px; }
.stack { margin-top: 72px; text-align: center; }
.stack-label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.stack-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.stack-list span { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); font: 500 14px var(--font-mono); color: rgba(255,255,255,.8); transition: all .3s var(--ease); }
.stack-list span:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }

/* ---------- Testimonials ---------- */
.t-slider { overflow: hidden; }
.t-track { display: flex; gap: 24px; transition: transform .7s var(--ease); }
.t-card { flex: 0 0 calc((100% - 48px) / 3); margin: 0; padding: 34px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; transition: box-shadow .4s, border-color .4s; }
.t-card:hover { box-shadow: var(--sh); border-color: transparent; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 18px; height: 18px; fill: #ffb400; }
.t-card blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.t-card .av { width: 44px; height: 44px; font-size: 14px; }
.t-card figcaption strong { display: block; font-family: var(--font-display); }
.t-card figcaption small { color: var(--ink-3); font-size: 13px; }
.t-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; }
.t-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); background: #fff; }
.t-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.t-prev .ico { transform: rotate(180deg); }
.t-dots { display: flex; gap: 8px; }
.t-dots button { width: 8px; height: 8px; border-radius: 8px; background: var(--line); transition: all .4s var(--ease); }
.t-dots button[aria-selected="true"] { width: 28px; background: var(--orange); }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 40px; }
.cta-box {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
  padding: 64px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(600px 300px at 0% 100%, rgba(243,91,0,.55), transparent 60%), linear-gradient(120deg, var(--navy-900), var(--navy) 60%, #2a24c4);
}
.cta-logo { position: absolute; right: 22%; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); opacity: .08; z-index: -1; animation: slow-spin 40s linear infinite; filter: brightness(10); }
@keyframes slow-spin { to { transform: translateY(-50%) rotate(360deg); } }
.cta-copy h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; max-width: 620px; }
.cta-copy p { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 18px; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact-info h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.035em; margin: 14px 0 18px; }
.contact-info > p { font-size: 18px; color: var(--ink-2); }
.contact-list { display: grid; gap: 14px; margin-top: 36px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.contact-list li:hover { border-color: transparent; box-shadow: var(--sh); }
.contact-list small { display: block; color: var(--ink-3); font-size: 13px; }
.contact-list a { font-weight: 600; color: var(--navy); }
.ci { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }

.contact-form { position: relative; padding: 40px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 8px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.field textarea { min-height: 120px; }
.field label { position: absolute; left: 17px; top: 16px; font-size: 15px; color: var(--ink-3); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px var(--navy-100); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.field .err { display: none; font-size: 12px; color: #d6336c; margin-top: 6px; }
.field.invalid input { border-color: #d6336c; }
.field.invalid .err { display: block; }
.chips-field { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.chips-field label { cursor: pointer; }
.chips-field input { position: absolute; opacity: 0; pointer-events: none; }
.chips-field span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .25s var(--ease); }
.chips-field label:hover span { border-color: var(--navy); }
.chips-field input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips-field input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { padding: 12px 14px; border-radius: 12px; background: #fdecf2; color: #b02a5b; font-size: 14px; }
.form-error[hidden] { display: none; }
.form-error a { font-weight: 600; text-decoration: underline; }
.form-note { font-size: 13px; color: var(--ink-3); text-align: center; }
.form-success { position: absolute; inset: 0; border-radius: inherit; background: #fff; display: grid; place-content: center; justify-items: center; text-align: center; padding: 40px; gap: 10px; animation: fade-up .6s var(--ease); }
.form-success[hidden] { display: none; }
.fs-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #e8f8ef; color: #12a150; margin-bottom: 8px; }
.fs-ico .ico { width: 34px; height: 34px; stroke-width: 2.5; }
.form-success h3 { font-size: 28px; }
.form-success p { color: var(--ink-2); max-width: 340px; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.7); padding: 88px 0 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-light .brand-text strong { color: #fff; }
.brand-light img { background: #fff; border-radius: 50%; padding: 3px; }
.footer-brand p { margin-top: 20px; max-width: 360px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer-col a { font-size: 15px; transition: color .2s, transform .2s; width: fit-content; }
.footer-col a:hover { color: var(--orange); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px 0; font-size: 14px; position: relative; z-index: 1; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }
.footer-word { font: 800 clamp(80px, 19vw, 280px)/.8 var(--font-display); letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 80%); -webkit-background-clip: text; background-clip: text; margin-bottom: -.12em; user-select: none; }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--sh-lg); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.to-top .ico { transform: rotate(-90deg); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hide-md { display: none; }
  .fc-1 { left: -16px; }
  .fc-2 { right: -10px; }
  .showcase { grid-template-columns: 260px 1fr; }
  .sc-panel { grid-template-columns: 1fr; padding: 36px; }
  .sc-visual { max-width: 520px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: #fff; padding: 24px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 24px;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: all .35s var(--ease);
  }
  .header.menu-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .header.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-2); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 18px; font-weight: 600; color: var(--ink); border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 16px; transform: none; display: none; opacity: 1; visibility: visible; }
  .has-mega.is-open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-foot { display: none; }
  .nav-cta-mobile { display: inline-flex; --bh: 54px; }

  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-ctas, .hero-assurances { justify-content: center; }
  .hero-visual { max-width: 680px; margin: 0 auto; width: 100%; }
  .dash { transform: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }

  .section { padding: 96px 0; }
  .section-head.split { grid-template-columns: 1fr; gap: 18px; }

  .showcase { grid-template-columns: 1fr; }
  .showcase-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .showcase-tabs::-webkit-scrollbar { display: none; }
  .sc-tab { flex: 0 0 auto; scroll-snap-align: start; padding: 12px 16px 14px 12px; }
  .sc-tab:hover { transform: none; }
  .sc-panel { grid-template-columns: 1fr 1fr; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-lg { grid-column: span 2; grid-row: auto; }
  .b-wide { grid-column: span 2; flex-direction: row; align-items: center; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .process-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-sticky { position: static; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .t-card { flex-basis: calc((100% - 24px) / 2); }
  .cta-box { grid-template-columns: 1fr; padding: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cursor-glow { display: none; }
}

@media (max-width: 760px) {
  .sc-panel { grid-template-columns: 1fr; padding: 28px 22px; }
  .sc-info h3 { font-size: 32px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-title { font-size: clamp(34px, 9.6vw, 48px); }
  .rotator { display: grid; }
  .btn-lg { --bh: 52px; padding: 0 22px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .fc-2 { display: flex; bottom: -20px; right: 8px; }
  .dash-body { grid-template-columns: 1fr; min-height: 0; }
  .dash-side { display: none; }
  .dash-main { padding: 14px; }
  .kpi strong { font-size: 16px; }
  .dash-row { grid-template-columns: 1fr; }
  .ring-card { display: none; }
  .trust { margin-top: 72px; }
  .showcase-tabs { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head p, .process-sticky p, .contact-info > p { font-size: 16px; }
  .stat { padding: 32px 12px; }
  .bento, .ind-grid, .why-grid { grid-template-columns: 1fr; }
  .b-lg, .b-wide { grid-column: auto; }
  .b-wide { flex-direction: column; align-items: flex-start; }
  .bento-card { padding: 26px; }
  .code-win pre { font-size: 12px; padding: 16px; }
  .t-card { flex-basis: 100%; padding: 26px; }
  .tl-step { grid-template-columns: 44px 1fr; gap: 14px; }
  .tl-dot { width: 44px; height: 44px; font-size: 16px; }
  .timeline-line { left: 21px; }
  .tl-step > div { padding: 20px; }
  .cta-box { padding: 36px 24px; }
  .cta-actions .btn { width: 100%; }
  .contact-form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .to-top { right: 16px; bottom: 16px; }
  .kanban { grid-template-columns: 1fr 1fr; }
  .kcol:last-child { display: none; }
  .mock { min-height: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .line { stroke-dashoffset: 0; }
  .hero-canvas, .cursor-glow { display: none; }
}
