/* ============================================================
   Vector7 — base system
   ============================================================ */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #05070c;
  --bg-soft: #070b14;
  --surface: #0a101d;
  --panel: rgba(11, 18, 32, .66);
  --panel-solid: #0a101d;
  --line: rgba(148, 186, 255, .14);
  --line-soft: rgba(148, 186, 255, .07);
  --line-strong: rgba(148, 186, 255, .26);
  --aqua: #4fe3ff;
  --aqua-deep: #1d9fc9;
  --indigo: #7b6cff;
  --rose: #ff62b0;
  --amber: #ffc36b;
  --text: #e8f1ff;
  --muted: rgba(232, 241, 255, .60);
  --faint: rgba(232, 241, 255, .36);
  --good: #4fe3b0;
  --bad: #ff6f9c;
  --radius: 20px;
  --radius-sm: 12px;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scroll-padding-top: 88px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}

body.booting { overflow: hidden; }

::selection { background: var(--aqua); color: #03131a; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060a11; }
::-webkit-scrollbar-thumb { background: #1b2638; border-radius: 99px; border: 2px solid #060a11; }
::-webkit-scrollbar-thumb:hover { background: #27384f; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
}

.mono { font-family: var(--font-mono); }
.hidden { display: none !important; }

.grad {
  background: linear-gradient(102deg, var(--aqua) 4%, var(--indigo) 46%, var(--rose) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- atmosphere ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.bg-orbs i {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .55;
}
.orb-a {
  width: 600px; height: 600px; top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(79, 227, 255, .20), transparent 68%);
  animation: orbDriftA 28s ease-in-out infinite alternate;
}
.orb-b {
  width: 720px; height: 720px; bottom: -300px; left: -240px;
  background: radial-gradient(circle, rgba(123, 108, 255, .18), transparent 68%);
  animation: orbDriftB 36s ease-in-out infinite alternate;
}
.orb-c {
  width: 500px; height: 500px; top: 42%; left: 58%;
  background: radial-gradient(circle, rgba(255, 98, 176, .10), transparent 68%);
  animation: orbDriftC 24s ease-in-out infinite alternate;
}
@keyframes orbDriftA { to { transform: translate(-80px, 100px) scale(1.12); } }
@keyframes orbDriftB { to { transform: translate(90px, -70px) scale(1.08); } }
@keyframes orbDriftC { to { transform: translate(-60px, -90px) scale(1.15); } }

.page-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
}

/* ---------- boot ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #04060b;
  transition: opacity .55s var(--ease), visibility .55s;
}
.boot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 50% 42%, rgba(79, 227, 255, .08), transparent 70%),
    linear-gradient(rgba(148, 186, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 186, 255, .035) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  mask-image: radial-gradient(closest-side, #000, transparent);
  animation: bootPulse 2.4s ease-in-out infinite;
}
.boot.done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes bootPulse { 50% { opacity: .55; } }

.boot-mark {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #070c15;
  border: 1px solid rgba(79, 227, 255, .35);
  box-shadow: 0 0 50px rgba(79, 227, 255, .18), inset 0 0 24px rgba(79, 227, 255, .08);
  overflow: hidden;
  animation: bootMark .9s var(--ease) both;
}
.boot-mark::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--aqua) 70%, transparent 85% 100%);
  animation: spin 2.6s linear infinite;
  opacity: .6;
}
.boot-mark span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(150deg, #fff, var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes bootMark { from { transform: scale(.86); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.boot-word {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .32em;
  font-weight: 500;
  animation: bootFade .8s .25s var(--ease) both;
}
.boot-word b { color: var(--aqua); }
.boot-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--faint);
  animation: bootFade .8s .4s var(--ease) both;
}
.boot-bar {
  width: min(260px, 60vw);
  height: 2px;
  background: rgba(148, 186, 255, .12);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
  animation: bootFade .8s .5s var(--ease) both;
}
.boot-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--aqua), var(--indigo), var(--rose));
  box-shadow: 0 0 16px rgba(79, 227, 255, .6);
  transition: width .18s linear;
}
.boot-num {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--faint);
  animation: bootFade .8s .5s var(--ease) both;
}
.boot-skip {
  position: absolute;
  bottom: 30px;
  right: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 14px;
  transition: color .2s, border-color .2s;
}
.boot-skip:hover { color: var(--text); border-color: var(--line-strong); }
@keyframes bootFade { from { opacity: 0; transform: translateY(8px); } }
/* fallback if JS never signals ready */
.boot { animation: bootSafety 0s 8s forwards; }
@keyframes bootSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-head.is-scrolled {
  background: rgba(5, 8, 14, .78);
  border-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.head-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .16em;
  color: var(--text);
  position: relative;
  white-space: nowrap;
}
.brand span { color: var(--aqua); text-shadow: 0 0 22px rgba(79, 227, 255, .55); }
.brand-caret {
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px var(--aqua);
  animation: blink 2.2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  font-size: 13.5px;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); background: rgba(148, 186, 255, .05); }
.main-nav a.is-active { color: var(--text); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
}
.nav-mobile-cta { display: none; }

.head-actions { display: flex; align-items: center; gap: 10px; }

.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 16, 29, .45);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-btn svg:first-child { width: 15px; height: 15px; }
.lang-btn .chev { width: 12px; height: 12px; transition: transform .25s; }
.lang-btn:hover, .lang-wrap.open .lang-btn { color: var(--text); border-color: var(--line-strong); background: rgba(18, 27, 45, .7); }
.lang-wrap.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: 178px;
  max-height: min(70vh, 380px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(8, 13, 23, .96);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang-wrap.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  transition: background .15s, color .15s;
}
.lang-option:hover { background: rgba(148, 186, 255, .07); color: var(--text); }
.lang-option b { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--faint); font-weight: 500; }
.lang-option.is-active { background: rgba(79, 227, 255, .08); color: var(--aqua); }
.lang-option.is-active b { color: var(--aqua); }

.menu-btn { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; }

.head-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  overflow: hidden;
}
.head-progress i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--indigo), var(--rose));
  box-shadow: 0 0 10px rgba(79, 227, 255, .7);
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background .25s, color .25s;
  overflow: hidden;
  isolation: isolate;
}
.btn-sm { height: 36px; padding: 0 15px; font-size: 12.5px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 14px; }
.btn-primary {
  color: #041018;
  background: linear-gradient(118deg, #62eaff 0%, #6cd6ff 38%, #8b7bff 100%);
  box-shadow: 0 8px 30px -12px rgba(79, 227, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .5) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .65s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(79, 227, 255, .8); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(12, 19, 33, .5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(79, 227, 255, .55);
  background: rgba(18, 28, 46, .7);
  transform: translateY(-2px);
}
.btn-spark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #041018;
  box-shadow: 0 0 0 4px rgba(4, 16, 24, .12);
  animation: blink 1.8s steps(1) infinite;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: .7;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(148, 186, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 186, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, #000 25%, transparent 78%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 50% 38%, rgba(79, 227, 255, .09), transparent 70%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
  pointer-events: none;
}
.hero-seven {
  position: absolute;
  right: -6vw;
  bottom: -12vh;
  z-index: -2;
  font-family: var(--font-display);
  font-size: clamp(320px, 46vw, 760px);
  line-height: .7;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 186, 255, .11);
  user-select: none;
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(10, 17, 30, .55);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .17em;
  color: var(--muted);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.chip .dot, .term-live i, .sentiment i, .tag::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
  flex: 0 0 auto;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 50% { opacity: .35; transform: scale(.8); } }

.term {
  background: linear-gradient(180deg, rgba(9, 14, 25, .94), rgba(6, 10, 18, .96));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
  text-align: left;
}
.hero-term {
  width: min(700px, 100%);
  margin-top: 30px;
}
.term-head {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(148, 186, 255, .025);
}
.term-dots { display: flex; gap: 5px; }
.term-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(148, 186, 255, .18); }
.term-dots i:first-child { background: rgba(255, 98, 176, .5); }
.term-dots i:nth-child(2) { background: rgba(255, 195, 107, .45); }
.term-dots i:nth-child(3) { background: rgba(79, 227, 255, .45); }
.term-title {
  font-size: 9.5px;
  letter-spacing: .12em;
  color: var(--faint);
}
.term-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .06em;
}
.term-live i { width: 5px; height: 5px; }
.term-body {
  padding: 16px 18px;
  min-height: 154px;
  font-size: 12px;
  line-height: 1.95;
  letter-spacing: -.01em;
  white-space: pre-wrap;
  color: var(--muted);
}
.term-body .ln { display: block; opacity: 0; transform: translateY(2px); }
.term-body .ln.on { opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.term-body .ln-cmd { color: var(--text); }
.term-body .ln-cmd::before { content: "❯ "; color: var(--aqua); }
.term-body .ln-dim { color: var(--faint); }
.term-body .ln-ok { color: var(--good); }
.term-body .ln-ok::before { content: ""; }
.caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--aqua);
  animation: blink 1s steps(1) infinite;
}
.term-foot { height: 2px; background: rgba(148, 186, 255, .06); }
.term-foot i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--aqua), var(--indigo));
  box-shadow: 0 0 8px rgba(79, 227, 255, .6);
  transition: width .4s var(--ease);
}

.hero-title {
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  max-width: 900px;
}
.hero-sub {
  margin-top: 22px;
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(880px, 100%);
  margin-top: 54px;
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  gap: 10px;
}
.hero-stat {
  text-align: left;
  padding: 0 18px;
  border-left: 1px solid var(--line-soft);
}
.hero-stat:first-child { border-left: 0; padding-left: 0; }
.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.1;
}
.hero-stat b em { font-style: normal; color: var(--aqua); }
.hero-stat span {
  display: block;
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--faint);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  translate: -50% 0;
  width: 20px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  opacity: .7;
  transition: opacity .2s;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 99px;
  background: var(--aqua);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- ticker strip ---------- */
.ticker-strip {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 10, 18, .7);
  overflow: hidden;
}
.ticker-tag {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px 0 24px;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--aqua);
  border-right: 1px solid var(--line-soft);
  background: rgba(6, 10, 18, .95);
}
.ticker-tag.is-demo { color: var(--amber); }
.ticker-mask {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 48s linear infinite;
  will-change: transform;
}
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ticker-group { display: flex; }
.tick {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  border-right: 1px solid var(--line-soft);
  height: 48px;
  line-height: 48px;
}
.tick-sym { color: var(--muted); letter-spacing: .05em; }
.tick-price { color: var(--text); }
.tick-chg { font-size: 10px; }
.tick-chg.up { color: var(--good); }
.tick-chg.down { color: var(--bad); }
.tick::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--aqua);
  opacity: .5;
  align-self: center;
}

/* ---------- sections ---------- */
.section { position: relative; padding: 104px 0; }
.sec-head { max-width: 760px; }
.sec-head h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 600;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--aqua);
  text-transform: uppercase;
}
.eyebrow i {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--aqua), transparent);
}
.sec-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 620px;
}

/* ---------- panel ---------- */
.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(15, 23, 40, .78), rgba(7, 12, 22, .72));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .035);
  overflow: hidden;
  isolation: isolate;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 227, 255, .09), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(79, 227, 255, .22), transparent 32%, transparent 68%, rgba(123, 108, 255, .18)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.panel:hover::after { opacity: 1; }
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(79, 227, 255, .06);
  color: var(--aqua);
}
.panel-icon svg { width: 17px; height: 17px; }
.panel h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.panel-desc {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 21px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .13em;
  color: var(--muted);
  background: rgba(148, 186, 255, .04);
}
.tag::before { width: 4px; height: 4px; }
.tag-live { color: var(--good); border-color: rgba(79, 227, 176, .3); background: rgba(79, 227, 176, .07); }
.tag-live::before { background: var(--good); box-shadow: 0 0 8px var(--good); }
.tag-demo { color: var(--amber); border-color: rgba(255, 195, 107, .28); background: rgba(255, 195, 107, .06); }
.tag-demo::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: none; }
.micro-note { font-size: 10.5px; color: var(--faint); }
.micro-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }
.reveal[data-delay="5"] { transition-delay: .35s; }

/* ---------- footer ---------- */
.site-foot {
  position: relative;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(4, 7, 12, .9));
  padding: 54px 0 40px;
}
.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { font-size: 12px; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--aqua); }
.foot-disclaimer {
  margin-top: 26px;
  max-width: 980px;
  font-size: 11px;
  line-height: 1.85;
  color: var(--faint);
}
.foot-disclaimer b { color: var(--muted); font-weight: 600; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 26px;
  font-size: 10px;
  color: rgba(232, 241, 255, .26);
}
.foot-bottom span:first-child { color: var(--faint); }

/* ---------- floating CTA ---------- */
.float-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(9, 15, 26, .88);
  border: 1px solid rgba(79, 227, 255, .4);
  box-shadow: 0 12px 34px -12px rgba(0, 0, 0, .9), 0 0 24px -8px rgba(79, 227, 255, .3);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, border-color .2s;
}
.float-cta.show { opacity: 1; visibility: visible; transform: none; }
.float-cta:hover { border-color: var(--aqua); }
.float-cta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px var(--aqua);
  animation: pulseDot 2s infinite;
}

/* ---------- responsive base ---------- */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .main-nav { display: none; }
  .head-cta { display: none; }
  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .menu-btn span {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    transition: transform .25s, opacity .2s;
  }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 22px;
    background: rgba(5, 9, 16, .97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    animation: navDrop .25s var(--ease);
  }
  .main-nav.open a { padding: 12px; font-size: 15px; border-radius: 10px; }
  .main-nav.open .nav-mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    color: #041018;
    background: linear-gradient(118deg, #62eaff, #8b7bff);
    font-weight: 600;
  }
  .main-nav.open a.is-active::after { display: none; }
  @keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .head-inner { height: 64px; gap: 14px; }
  .main-nav.open { top: 64px; }
  .brand { font-size: 17px; }
  .hero { min-height: auto; padding: 104px 0 64px; }
  .hero-seven { font-size: 300px; right: -80px; bottom: -40px; }
  .hero-term { margin-top: 24px; }
  .term-body { min-height: 168px; font-size: 10.5px; padding: 14px; }
  .term-title { font-size: 8px; }
  .hero-title { margin-top: 28px; font-size: clamp(34px, 9vw, 48px); }
  .hero-sub { font-size: 14px; margin-top: 18px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px 8px; margin-top: 38px; padding-top: 22px; }
  .hero-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stat b { font-size: 23px; }
  .hero-stat span { font-size: 10.5px; }
  .hero-scroll { display: none; }
  .hero-cta .btn { flex: 1; min-width: 150px; }
  .ticker-tag { padding-left: 16px; }
  .section { padding: 66px 0; }
  .site-foot { padding-top: 40px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .float-cta { right: 14px; bottom: 14px; height: 38px; padding: 0 15px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
