/* =================================================================
   QuantDinger — Landing Page Styles
   Dark, premium, responsive. Inter + JetBrains Mono.
   ================================================================= */

/* ----------- Reset & base ----------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: var(--text); }

button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ----------- Tokens ----------- */
:root {
  --bg:           #070814;
  --bg-2:         #0b0d1f;
  --surface:      rgba(255,255,255,0.04);
  --surface-2:    rgba(255,255,255,0.06);
  --border:       rgba(255,255,255,0.08);
  --border-2:     rgba(255,255,255,0.14);

  --text:         #eef0ff;
  --muted:        #9aa1c2;
  --muted-2:      #6b7399;

  --brand:        #7c5cff;
  --brand-2:      #22d3ee;
  --brand-grad:   linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --brand-grad-2: linear-gradient(135deg, #a88bff 0%, #22d3ee 100%);

  --up:   #22c55e;
  --down: #ef4444;
  --warn: #f59e0b;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-1: 0 10px 30px -10px rgba(0,0,0,.55);
  --shadow-2: 0 20px 60px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04);
  --shadow-glow: 0 0 60px -10px rgba(124,92,255,.55);

  --max: 1200px;
}

/* ----------- Layout primitives ----------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand-2);
  background: rgba(34,211,238,.06);
  margin-bottom: 20px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section--tight { padding: 72px 0; }

.section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section__title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
}

.section__lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------- Aurora background ----------- */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  will-change: transform;
}

.aurora__blob--1 {
  top: -200px;
  left: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 60%);
  animation: float 22s ease-in-out infinite;
}

.aurora__blob--2 {
  top: 20%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 60%);
  animation: float 26s ease-in-out infinite reverse;
  opacity: 0.3;
}

.aurora__blob--3 {
  top: 60%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ff6ec4 0%, transparent 60%);
  animation: float 30s ease-in-out infinite;
  opacity: 0.18;
}

.aurora__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -60px) scale(1.08); }
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ----------- Nav ----------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7,8,20,0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.nav.scrolled {
  background: rgba(7,8,20,0.82);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
  min-width: 0;
}

.brand__mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px -6px rgba(124,92,255,.55), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand__name { font-size: 17px; letter-spacing: -0.01em; }

.nav__links {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.6vw, 22px);
  font-size: 13px;
  color: var(--muted);
  min-width: 0;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-grad);
  border-radius: 2px;
  transition: width .25s ease, left .25s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { left: 0; width: 100%; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__cta .btn {
  padding: 8px 14px;
  font-size: 13px;
}

.nav__login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 12px;
}

.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  color: #0a0b14;
  background: var(--brand-grad);
  box-shadow: 0 10px 28px -10px rgba(124,92,255,0.6), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.btn--primary:hover {
  box-shadow: 0 16px 40px -10px rgba(124,92,255,0.75), inset 0 0 0 1px rgba(255,255,255,0.25);
  color: #0a0b14;
}

.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  color: var(--text);
}

/* ----------- Get-App button in nav ----------- */
.btn--app {
  position: relative;
  color: #0a0b14;
  background: linear-gradient(135deg, #22d3ee 0%, #22c55e 100%);
  box-shadow: 0 10px 26px -12px rgba(34, 211, 238, 0.7), inset 0 0 0 1px rgba(255,255,255,0.18);
  padding-right: 38px;
}
.btn--app:hover {
  color: #0a0b14;
  box-shadow: 0 14px 34px -12px rgba(34, 211, 238, 0.85), inset 0 0 0 1px rgba(255,255,255,0.3);
}
.nav__app-badge {
  position: absolute;
  top: -7px;
  right: -6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 0 2px #0a0b14, 0 4px 10px -2px rgba(239, 68, 68, 0.6);
  line-height: 1;
  animation: appNewPulse 2s ease-in-out infinite;
}
@keyframes appNewPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* ----------- Hero mobile promo strip ----------- */
.hero__mobile {
  max-width: 880px;
  margin: -40px auto 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 14px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(135deg, rgba(124,92,255,0.10) 0%, rgba(34,211,238,0.10) 100%),
    rgba(10, 11, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 48px -24px rgba(124,92,255,0.35);
  position: relative;
}
.hero__mobile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,92,255,0.6), rgba(34,211,238,0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}
.hero__mobile-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}
.hero__mobile-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #22d3ee;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.28);
}
.hero__mobile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  min-width: 0;
}
.hero__mobile-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero__mobile-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.hero__mobile-ctas {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.hero__mobile-btn {
  padding: 10px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}
@media (max-width: 760px) {
  .hero__mobile {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    margin: -20px auto 56px;
  }
  .hero__mobile-text { text-align: left; }
  .hero__mobile-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .hero__mobile-btn { justify-content: center; }
}

/* ----------- Mobile drawer ----------- */
.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(7,8,20,0.95);
  backdrop-filter: blur(20px);
}
.drawer a {
  padding: 14px 16px;
  color: var(--text);
  border-radius: 10px;
  font-weight: 500;
}
.drawer a:hover { background: rgba(255,255,255,0.05); }
.drawer .btn { justify-content: center; padding: 14px; margin-top: 8px; }

/* ----------- Hero ----------- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero > .container {
  position: relative;
  isolation: isolate;
}

.hero > .container > :not(.hero-market) {
  position: relative;
  z-index: 2;
}

/* ----------- Hero financial telemetry ----------- */
.hero-market {
  --market-x: 0px;
  --market-y: 0px;
  position: absolute;
  z-index: 0;
  top: -58px;
  left: 50%;
  width: min(1420px, calc(100vw - 20px));
  height: 720px;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(calc(-50% + var(--market-x)), var(--market-y), 0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.hero-market::before,
.hero-market::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero-market::before {
  top: 110px;
  left: 50%;
  width: 720px;
  height: 420px;
  border: 1px solid rgba(34,211,238,.08);
  box-shadow: 0 0 100px rgba(34,211,238,.04), inset 0 0 90px rgba(124,92,255,.035);
  transform: translateX(-50%) perspective(500px) rotateX(62deg);
}
.hero-market::after {
  top: 222px;
  left: 50%;
  width: 11px;
  height: 11px;
  background: #22d3ee;
  box-shadow: 0 0 0 8px rgba(34,211,238,.08), 0 0 32px rgba(34,211,238,.65);
  opacity: .42;
  animation: hero-market-node 3.8s ease-in-out infinite;
}

.hero-market__tape {
  position: absolute;
  top: 0;
  right: 70px;
  left: 70px;
  height: 30px;
  overflow: hidden;
  border-top: 1px solid rgba(124,92,255,.09);
  border-bottom: 1px solid rgba(34,211,238,.08);
  background: linear-gradient(90deg, transparent, rgba(7,10,18,.48) 12%, rgba(7,10,18,.48) 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero-market__tape > div {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: hero-market-tape 30s linear infinite;
}
.hero-market__tape span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-right: 38px;
  color: #4b5676;
  font: 600 8px/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}
.hero-market__tape b { color: #8792b0; font-weight: 500; }
.hero-market__tape em,
.hero-market__tape i { padding: 3px 5px; border-radius: 3px; font-style: normal; }
.hero-market__tape em { color: #59db82; background: rgba(34,197,94,.07); }
.hero-market__tape i { color: #fb7185; background: rgba(244,63,94,.07); }

.hero-market__chart {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 1240px;
  height: 610px;
  overflow: visible;
  transform: translateX(-50%);
  opacity: .45;
}
.hero-market__area { fill: url(#heroMarketArea); }
.hero-market__line {
  fill: none;
  stroke: url(#heroMarketLine);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 7;
  animation: hero-market-line 20s linear infinite;
}
.hero-market__line--glow {
  stroke-width: 7;
  opacity: .15;
  filter: url(#heroMarketGlow);
}
.hero-market__candles line {
  stroke: #22c55e;
  stroke-width: 1;
  opacity: .46;
}
.hero-market__candles rect {
  fill: rgba(34,197,94,.12);
  stroke: #22c55e;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-market-candle 3.6s ease-in-out infinite;
  animation-delay: var(--candle-delay);
}
.hero-market__candles .is-down line { stroke: #f43f5e; }
.hero-market__candles .is-down rect { fill: rgba(244,63,94,.11); stroke: #f43f5e; }
.hero-market__beacon {
  fill: #22d3ee;
  stroke: rgba(34,211,238,.24);
  stroke-width: 10;
  animation: hero-market-beacon 2.6s ease-out infinite;
}

.hero-market__depth,
.hero-market__signal {
  position: absolute;
  top: 282px;
  width: 184px;
  padding: 10px;
  border: 1px solid rgba(128,145,190,.13);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(12,16,28,.58), rgba(7,10,18,.24));
  box-shadow: 0 18px 45px -28px rgba(34,211,238,.28), inset 0 1px rgba(255,255,255,.025);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: .67;
}
.hero-market__depth { left: 12px; transform: perspective(600px) rotateY(8deg); }
.hero-market__signal { right: 12px; transform: perspective(600px) rotateY(-8deg); }
.hero-market__hud-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(140,152,194,.11);
  color: #8590ae;
  font: 700 7px/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}
.hero-market__hud-head b { color: #22d3ee; font-size: 6px; }
.hero-market__depth-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  padding: 5px 4px;
  color: #75809f;
  font: 500 7px/1 'JetBrains Mono', monospace;
}
.hero-market__depth-row i {
  position: absolute;
  z-index: -1;
  top: 1px;
  right: 0;
  bottom: 1px;
  width: var(--depth);
  transform-origin: right;
  animation: hero-market-depth 4s ease-in-out infinite alternate;
}
.hero-market__depth-row.is-ask i { background: linear-gradient(90deg, transparent, rgba(244,63,94,.12)); }
.hero-market__depth-row.is-bid i { background: linear-gradient(90deg, transparent, rgba(34,197,94,.12)); }
.hero-market__depth-row.is-ask span { color: #e06a7d; }
.hero-market__depth-row.is-bid span { color: #57cf7a; }
.hero-market__depth-row b { color: #616b89; font-weight: 500; }
.hero-market__mid {
  display: flex;
  justify-content: space-between;
  margin: 2px 0;
  padding: 6px 4px;
  border-block: 1px solid rgba(34,211,238,.09);
  color: #c5d1e8;
  font: 700 8px/1 'JetBrains Mono', monospace;
}
.hero-market__mid em { color: #3ddc72; font-size: 6px; font-style: normal; }

.hero-market__signal {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
}
.hero-market__signal .hero-market__hud-head { grid-column: 1 / -1; }
.hero-market__signal-ring {
  display: grid;
  place-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(34,211,238,.35);
  border-radius: 50%;
  background: conic-gradient(from 20deg, rgba(34,211,238,.42) 0 84%, rgba(124,92,255,.06) 84%);
  box-shadow: inset 0 0 0 5px #090d17, 0 0 20px rgba(34,211,238,.12);
  color: #d9faff;
  font: 700 13px/1 'JetBrains Mono', monospace;
  animation: hero-market-signal 4s ease-in-out infinite;
}
.hero-market__signal-ring small { margin-top: 3px; color: #4e5b7b; font-size: 6px; letter-spacing: .12em; }
.hero-market__signal-copy { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.hero-market__signal-copy span { color: #596582; font: 500 6px/1 'JetBrains Mono', monospace; white-space: nowrap; }
.hero-market__signal-copy b,
.hero-market__signal-copy em,
.hero-market__signal-copy i { float: right; color: #6ee7b7; font-style: normal; font-weight: 700; }
.hero-market__signal-copy em { color: #67e8f9; }
.hero-market__signal-copy i { color: #c084fc; }

.hero-market__axis {
  position: absolute;
  right: 222px;
  color: rgba(117,128,159,.5);
  font: 500 7px/1 'JetBrains Mono', monospace;
}
.hero-market__axis::before { content: ''; position: absolute; top: 50%; right: calc(100% + 7px); width: 24px; height: 1px; background: rgba(117,128,159,.18); }
.hero-market__axis--one { top: 264px; }
.hero-market__axis--two { top: 365px; }
.hero-market__axis--three { top: 466px; }
.hero-market__crosshair {
  position: absolute;
  top: 189px;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translateX(-50%);
  opacity: .22;
}
.hero-market__crosshair i,
.hero-market__crosshair b { position: absolute; background: linear-gradient(90deg, transparent, #22d3ee, transparent); }
.hero-market__crosshair i { top: 50%; left: 0; width: 100%; height: 1px; }
.hero-market__crosshair b { top: 0; left: 50%; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, #22d3ee, transparent); }
.hero-market__crosshair span {
  position: absolute;
  right: -7px;
  bottom: 42px;
  padding: 4px 6px;
  border: 1px solid rgba(34,211,238,.25);
  border-radius: 3px;
  color: #67e8f9;
  font: 600 6px/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}

@keyframes hero-market-tape { to { transform: translateX(-50%); } }
@keyframes hero-market-line { to { stroke-dashoffset: -240; } }
@keyframes hero-market-candle { 0%,100% { transform: scaleY(.84); opacity: .65; } 50% { transform: scaleY(1.1); opacity: 1; } }
@keyframes hero-market-beacon { 0% { stroke-width: 4; stroke-opacity: .7; } 100% { stroke-width: 28; stroke-opacity: 0; } }
@keyframes hero-market-depth { from { transform: scaleX(.75); } to { transform: scaleX(1); } }
@keyframes hero-market-signal { 0%,100% { box-shadow: inset 0 0 0 5px #090d17, 0 0 16px rgba(34,211,238,.1); } 50% { box-shadow: inset 0 0 0 5px #090d17, 0 0 28px rgba(34,211,238,.28); } }
@keyframes hero-market-node { 0%,100% { opacity: .25; transform: translateX(-50%) scale(.8); } 50% { opacity: .58; transform: translateX(-50%) scale(1.08); } }

@media (max-width: 1100px) {
  .hero-market__depth,
  .hero-market__signal { opacity: .35; }
  .hero-market__depth { left: -55px; }
  .hero-market__signal { right: -55px; }
  .hero-market__axis { display: none; }
}

@media (max-width: 760px) {
  .hero-market { top: -45px; height: 660px; width: 100vw; mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent); }
  .hero-market__tape { right: 0; left: 0; opacity: .72; }
  .hero-market__chart { top: 68px; width: 760px; height: 480px; opacity: .28; }
  .hero-market__depth,
  .hero-market__signal,
  .hero-market__crosshair { display: none; }
  .hero-market::before { width: 420px; height: 260px; }
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero__pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.hero__title {
  font-size: clamp(40px, 6.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 auto 26px;
  max-width: 1000px;
}

[lang="en-US"] .hero__title {
  max-width: 1120px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.05;
}

[lang="zh-CN"] .hero__title > span,
[lang="zh-TW"] .hero__title > span {
  white-space: nowrap;
}

.hero__sub {
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 40px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* ----------- Hero live control plane ----------- */
.hero__system {
  max-width: 1200px;
  perspective: 1400px;
}

.hero__system::before {
  inset: -80px -60px -170px;
  background:
    radial-gradient(ellipse at 32% 35%, rgba(124,92,255,.34), transparent 52%),
    radial-gradient(ellipse at 72% 50%, rgba(34,211,238,.20), transparent 48%);
  filter: blur(46px);
}

.os-console {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(151,163,210,.22);
  border-radius: 22px;
  background:
    linear-gradient(rgba(103,119,164,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,119,164,.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 10%, rgba(124,92,255,.12), transparent 38%),
    #070a12;
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow:
    0 50px 110px -48px rgba(0,0,0,.95),
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 0 90px -44px rgba(34,211,238,.55);
  text-align: left;
  transform: rotateX(.7deg);
}

.os-console::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.035) 42%, transparent 60%);
  transform: translateX(-130%);
  animation: os-scan 9s ease-in-out infinite;
}

.os-console__glow {
  position: absolute;
  width: 440px;
  height: 440px;
  top: 18%;
  left: 33%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(83,65,189,.14);
  filter: blur(90px);
}

.os-console__bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(151,163,210,.14);
  background: rgba(5,7,13,.82);
  font-family: 'JetBrains Mono', monospace;
}

.os-console__identity,
.os-console__health,
.os-console__meta {
  display: flex;
  align-items: center;
}

.os-console__identity { gap: 9px; }
.os-console__identity img { width: 24px; height: 24px; border-radius: 7px; }
.os-console__identity span { color: #f3f5ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.os-console__identity b { color: #626c91; font-size: 10px; font-weight: 500; letter-spacing: .08em; }

.os-console__health {
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(34,197,94,.22);
  border-radius: 999px;
  background: rgba(34,197,94,.055);
  color: #8ce9aa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.os-console__health i,
.os-panel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.11), 0 0 14px rgba(34,197,94,.9);
  animation: os-heartbeat 2.2s ease-in-out infinite;
}

.os-console__meta { justify-content: flex-end; gap: 8px; }
.os-console__meta span,
.os-console__meta strong {
  padding: 5px 8px;
  border: 1px solid rgba(151,163,210,.14);
  border-radius: 5px;
  font-size: 9px;
  letter-spacing: .08em;
}
.os-console__meta span { color: #7d86a8; }
.os-console__meta strong { border-color: rgba(34,211,238,.22); color: #67e8f9; background: rgba(34,211,238,.06); }

.os-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 24px 28px 18px;
}

.os-flow__rail {
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 1px;
  overflow: hidden;
  background: rgba(125,136,177,.18);
}

.os-flow__rail span {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #22d3ee, #7c5cff, transparent);
  box-shadow: 0 0 12px #22d3ee;
  animation: os-rail 4.8s linear infinite;
}

.os-flow__step {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 8px;
  text-align: center;
}

.os-flow__step i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin: 0 auto 9px;
  border: 1px solid rgba(136,148,191,.28);
  border-radius: 50%;
  background: #0b0e18;
  color: #697394;
  font: 700 9px/1 'JetBrains Mono', monospace;
  transition: border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.os-flow__step span,
.os-flow__step small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-flow__step span { color: #8b94b4; font: 700 10px/1.3 'JetBrains Mono', monospace; letter-spacing: .06em; }
.os-flow__step small { margin-top: 4px; color: #4e5777; font: 500 9px/1.3 'JetBrains Mono', monospace; }
.os-flow__step:hover i,
.os-flow__step:focus-visible i { border-color: #22d3ee; color: #a5f3fc; transform: translateY(-2px); }
.os-flow__step:focus-visible { outline: 1px solid #22d3ee; outline-offset: 5px; border-radius: 5px; }
.os-flow__step.is-active i { border-color: #22d3ee; color: #d5fbff; background: rgba(34,211,238,.11); box-shadow: 0 0 0 5px rgba(34,211,238,.07), 0 0 24px rgba(34,211,238,.28); }
.os-flow__step.is-active span { color: #eefcff; }
.os-flow__step.is-active small { color: #67ddeb; }

.os-console__focus {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 13px;
  min-height: 42px;
  margin: 0 20px 14px;
  padding: 9px 13px;
  border: 1px solid rgba(34,211,238,.13);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(34,211,238,.055), rgba(124,92,255,.045), transparent);
  font-family: 'JetBrains Mono', monospace;
}
.os-console__focus-label { color: #22d3ee; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.os-console__focus strong { color: #dce2f8; font-size: 10px; white-space: nowrap; }
.os-console__focus > span:last-child { color: #727c9d; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.os-workspace {
  display: grid;
  grid-template-columns: .92fr 1.34fr .92fr;
  gap: 10px;
  padding: 0 20px 18px;
}

.os-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(140,152,194,.15);
  border-radius: 10px;
  background: rgba(7,10,18,.76);
  box-shadow: 0 14px 32px -26px rgba(0,0,0,.9);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.os-panel:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.27); background: rgba(9,13,23,.9); }
.os-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 39px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(140,152,194,.12);
  background: rgba(255,255,255,.018);
  color: #8790b0;
  font: 700 9px/1 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}
.os-panel__head span { display: inline-flex; align-items: center; gap: 8px; }
.os-panel__head b { color: #53dc80; font-size: 8px; }
.os-panel__verified { color: #67e8f9 !important; }

.os-agent { padding: 13px; font-family: 'JetBrains Mono', monospace; }
.os-agent__prompt {
  padding: 11px 12px;
  border-left: 2px solid #7c5cff;
  background: rgba(124,92,255,.075);
  color: #c9cee5;
  font-size: 10px;
  line-height: 1.55;
}
.os-agent__trace { padding: 9px 0 5px; }
.os-agent__trace p {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 7px;
  margin: 0;
  padding: 6px 0;
  color: #747e9e;
  font-size: 9px;
  line-height: 1.35;
  opacity: .38;
  animation: os-trace 4.2s ease-in-out infinite;
  animation-delay: var(--delay);
}
.os-agent__trace p span { color: #22d3ee; }
.os-agent__trace p b { color: inherit; font: inherit; }
.os-agent__tools { display: flex; flex-wrap: wrap; gap: 5px; }
.os-agent__tools span { padding: 5px 6px; border: 1px solid rgba(34,211,238,.13); border-radius: 4px; background: rgba(34,211,238,.045); color: #6f9fa8; font-size: 8px; }

.os-code {
  padding: 12px 0 9px;
  background: linear-gradient(90deg, rgba(124,92,255,.035), transparent 30%);
}
.os-code > div { display: grid; grid-template-columns: 34px 1fr; min-height: 22px; align-items: center; }
.os-code > div:hover { background: rgba(255,255,255,.025); }
.os-code i { padding-right: 10px; color: #343b55; text-align: right; font: normal 8px/1 'JetBrains Mono', monospace; user-select: none; }
.os-code code { overflow: hidden; color: #adb6d2; font: 500 9px/1.5 'JetBrains Mono', monospace; text-overflow: ellipsis; white-space: nowrap; }
.os-code code em { color: #c084fc; font-style: normal; }
.os-code code strong { color: #67e8f9; font-weight: 600; }
.os-code code q { color: #a7e07c; quotes: none; }
.os-code code u { color: #f6c177; text-decoration: none; }
.os-code__gap { min-height: 10px !important; }
.os-code__active { border-left: 2px solid #22c55e; background: linear-gradient(90deg, rgba(34,197,94,.09), transparent) !important; }
.os-code__active code::after { content: ''; display: inline-block; width: 5px; height: 11px; margin-left: 3px; vertical-align: -2px; background: #22c55e; animation: os-cursor 1s steps(1) infinite; }

.os-manifest { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(140,152,194,.12); }
.os-manifest span { padding: 10px 7px; border-right: 1px solid rgba(140,152,194,.1); color: #abb4ce; font: 700 8px/1.2 'JetBrains Mono', monospace; text-align: center; }
.os-manifest span:last-child { border-right: 0; }
.os-manifest small { display: block; margin-bottom: 5px; color: #4e5776; font-size: 7px; letter-spacing: .06em; }
.os-manifest b { color: inherit; font: inherit; }

.os-runtime {
  position: relative;
  height: 176px;
  margin: 8px 10px 4px;
}
.os-runtime__core,
.os-runtime__node { position: absolute; z-index: 2; font-family: 'JetBrains Mono', monospace; }
.os-runtime__core {
  top: 55px;
  left: 50%;
  display: grid;
  place-content: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(34,211,238,.46);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.13), rgba(7,10,18,.96) 66%);
  box-shadow: 0 0 34px rgba(34,211,238,.14), 0 0 0 7px rgba(34,211,238,.025);
  text-align: center;
  transform: translateX(-50%);
}
.os-runtime__core::before,
.os-runtime__core::after { content: ''; position: absolute; border: 1px solid rgba(124,92,255,.18); border-radius: 50%; inset: -8px; animation: os-orbit 7s linear infinite; }
.os-runtime__core::after { inset: -15px; border-style: dashed; animation-direction: reverse; animation-duration: 11s; }
.os-runtime__core span { color: #6d7697; font-size: 7px; letter-spacing: .1em; }
.os-runtime__core strong { margin-top: 3px; color: #ddfaff; font-size: 10px; letter-spacing: .08em; }
.os-runtime__core i { width: 5px; height: 5px; margin: 7px auto 0; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.os-runtime__node { width: 76px; padding: 7px; border: 1px solid rgba(129,141,181,.16); border-radius: 6px; background: #0a0e18; text-align: center; }
.os-runtime__node span { display: block; color: #9aa5c4; font-size: 7px; font-weight: 700; }
.os-runtime__node small { display: block; margin-top: 3px; color: #48516f; font-size: 6px; }
.os-runtime__node--api { top: 9px; left: 4px; }
.os-runtime__node--jobs { top: 9px; right: 4px; }
.os-runtime__node--db { bottom: 4px; left: 4px; }
.os-runtime__node--broker { right: 4px; bottom: 4px; }
.os-runtime__beam { position: absolute; z-index: 1; overflow: hidden; background: rgba(74,91,129,.2); }
.os-runtime__beam::after { content: ''; position: absolute; background: linear-gradient(90deg, transparent, #22d3ee, transparent); box-shadow: 0 0 8px #22d3ee; animation: os-packet 2.8s linear infinite; }
.os-runtime__beam--x { top: 92px; left: 35px; right: 35px; height: 1px; }
.os-runtime__beam--x::after { top: 0; left: 0; width: 40px; height: 1px; }
.os-runtime__beam--y { top: 32px; bottom: 26px; left: 50%; width: 1px; }
.os-runtime__beam--y::after { top: 0; left: 0; width: 1px; height: 32px; background: linear-gradient(180deg, transparent, #7c5cff, transparent); animation-name: os-packet-y; }

.os-guards { padding: 0 12px 11px; }
.os-guards div { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid rgba(140,152,194,.09); color: #687291; font: 500 8px/1.3 'JetBrains Mono', monospace; }
.os-guards b { color: #55d77c; font-size: 7px; letter-spacing: .06em; }

.os-console__bus {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 42px;
  border-top: 1px solid rgba(140,152,194,.13);
  background: rgba(3,5,10,.84);
  font-family: 'JetBrains Mono', monospace;
}
.os-console__bus-label { padding: 0 14px; color: #22d3ee; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.os-console__ticker { overflow: hidden; min-width: 0; width: 100%; contain: inline-size; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.os-console__ticker > div { display: flex; width: max-content; animation: os-ticker 24s linear infinite; }
.os-console__ticker span { margin-right: 28px; color: #687392; font-size: 8px; white-space: nowrap; }
.os-console__ticker i { margin-right: 6px; color: #404966; font-style: normal; }
.os-console__bus > strong { padding: 0 14px; color: #79e69b; font-size: 8px; }

@keyframes os-scan { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes os-heartbeat { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.8); } }
@keyframes os-rail { from { transform: translateX(-110%); } to { transform: translateX(310%); } }
@keyframes os-trace { 0%, 100% { opacity: .34; } 18%, 36% { opacity: 1; color: #b5bdd4; } }
@keyframes os-cursor { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes os-orbit { to { transform: rotate(360deg); } }
@keyframes os-packet { from { transform: translateX(-50px); } to { transform: translateX(250px); } }
@keyframes os-packet-y { from { transform: translateY(-35px); } to { transform: translateY(145px); } }
@keyframes os-ticker { from { transform: translateX(15%); } to { transform: translateX(-100%); } }

/* ----------- Stats strip ----------- */
.stats {
  padding: 30px 0 40px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  backdrop-filter: blur(10px);
}
.stats__item { text-align: center; }
.stats__val {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stats__label {
  color: var(--muted);
  font-size: 13px;
}

/* ----------- Cards (features) ----------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(124,92,255,0.12), transparent 40%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.25);
  color: #b7a6ff;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ----------- Markets ----------- */
.markets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.market {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.market:hover {
  border-color: var(--border-2);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.market__sym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 18px;
  background: var(--brand-grad);
  color: #0a0b14;
  flex: none;
}
.market b { font-size: 15px; display: block; margin-bottom: 2px; }
.market small { color: var(--muted); font-size: 12.5px; }

/* ----------- Steps ----------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.015) 100%);
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
}
.step__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.step h3 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ----------- Logos / AI stack ----------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.logo-chip {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  font-size: 14px;
  color: var(--muted);
  transition: all .2s ease;
}
.logo-chip:hover {
  color: var(--text);
  border-color: var(--border-2);
  background: rgba(255,255,255,0.05);
}

/* ----------- Pricing ----------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.015) 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-4px); }

.plan--featured {
  border-color: rgba(124,92,255,0.5);
  background:
    linear-gradient(180deg, rgba(124,92,255,0.1) 0%, rgba(34,211,238,0.04) 100%);
  box-shadow: 0 20px 60px -20px rgba(124,92,255,0.45);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--brand-grad);
  color: #0a0b14;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
}

.plan__name {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan__amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan__per {
  color: var(--muted);
  font-size: 14px;
}
.plan__desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.plan__list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan__list li {
  padding-left: 28px;
  position: relative;
  font-size: 14px;
  color: var(--text);
}
.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34,211,238,0.15);
}
.plan__list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}

.plan .btn { margin-top: auto; }

/* ----------- FAQ ----------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  padding: 0 22px;
  transition: border-color .2s ease, background .2s ease;
}
.faq__item[open] {
  border-color: var(--border-2);
  background: rgba(255,255,255,0.04);
}
.faq__item summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-weight: 400;
  font-size: 22px;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq__item[open] summary::after {
  content: '−';
  color: var(--brand-2);
}
.faq__item p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq__item code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(124,92,255,.12);
  color: #c4b5fd;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .92em;
}

/* ----------- CTA band ----------- */
.cta {
  padding: 90px 0 110px;
  position: relative;
}
.cta__inner {
  text-align: center;
  padding: 70px 40px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top, rgba(124,92,255,0.2) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 14px;
}
.cta p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 auto 30px;
  max-width: 520px;
}
.cta .hero__ctas { margin-bottom: 0; }

/* ----------- Footer ----------- */
.footer {
  padding: 70px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 64px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.footer__brand .brand { margin-bottom: 14px; }
.footer__tag {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  max-width: 320px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer__cols h4 {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__cols a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer__cols a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  color: var(--muted-2);
  font-size: 12.5px;
  flex-wrap: wrap;
}

/* ----------- Personas (Who it's for) ----------- */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.persona {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.015) 100%);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.persona:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
  background: linear-gradient(180deg, rgba(124,92,255,0.06) 0%, rgba(34,211,238,0.02) 100%);
}
.persona__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.25);
  color: #7dd3fc;
  margin-bottom: 14px;
}
.persona h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  font-weight: 700;
}
.persona p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ----------- Use cases ----------- */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.usecase {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.usecase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(124,92,255,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.usecase:hover {
  transform: translateY(-3px);
  border-color: var(--border-2);
}
.usecase:hover::before { opacity: 1; }
.usecase__num {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--brand-grad);
  color: #0a0b14;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.usecase h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  font-weight: 700;
  position: relative;
}
.usecase p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  position: relative;
}

/* ----------- Architecture diagram ----------- */
.arch__proofs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 0;
}
.arch__proofs span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.015em;
}
.arch {
  max-width: 980px;
  margin: 0 auto 44px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.arch__layer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.arch__layer:hover {
  border-color: var(--border-2);
  transform: translateY(-1px);
}
.arch__layer--client { background: linear-gradient(180deg, rgba(34,211,238,0.08) 0%, rgba(34,211,238,0.015) 100%); }
.arch__layer--edge   { background: linear-gradient(180deg, rgba(124,92,255,0.06) 0%, rgba(124,92,255,0.015) 100%); }
.arch__layer--app    {
  background: linear-gradient(180deg, rgba(124,92,255,0.09) 0%, rgba(34,211,238,0.03) 100%);
  border-color: rgba(124,92,255,0.28);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.arch__layer--app .arch__label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.arch__layer--state  { background: linear-gradient(180deg, rgba(34,197,94,0.05) 0%, rgba(34,197,94,0.01) 100%); }
.arch__layer--ext    { background: linear-gradient(180deg, rgba(245,158,11,0.05) 0%, rgba(245,158,11,0.015) 100%); }

.arch__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.arch__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
}
.arch__desc {
  font-size: 12px;
  color: var(--muted);
}

.arch__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.arch__chips--multi { gap: 8px; }
.arch__chip {
  padding: 7px 12px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  font-size: 12.5px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.01em;
}

.arch__services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.arch__service {
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition: transform .2s ease, border-color .2s ease;
}
.arch__service:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,255,0.5);
}
.arch__service-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,92,255,0.15);
  color: #c4b5fd;
  margin-bottom: 4px;
}
.arch__service b {
  font-size: 12px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.arch__service small {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.4;
}
.arch__runtime-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(0,0,0,0.2);
  font-family: 'JetBrains Mono', monospace;
}
.arch__runtime-flow span {
  padding: 5px 8px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  color: var(--text);
  background: rgba(124,92,255,0.08);
  font-size: 10.5px;
  line-height: 1.25;
  white-space: nowrap;
}
.arch__runtime-flow i {
  color: #a78bfa;
  font-style: normal;
  font-size: 13px;
}
.arch__frame-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .05em;
  text-align: center;
  padding-top: 2px;
}

.arch__link {
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.arch__link span {
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--brand) 50%, transparent 100%);
  opacity: 0.6;
  position: relative;
}
.arch__link span::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.7;
}
.arch__link--split {
  gap: 120px;
  justify-content: center;
}

/* ----------- Stack summary ----------- */
.stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.stack__item {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
  transition: border-color .2s ease, background .2s ease;
}
.stack__item:hover {
  border-color: var(--border-2);
  background: rgba(255,255,255,0.04);
}
.stack__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand-2);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stack__value {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}

/* ----------- Socials ----------- */
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.socials a:hover {
  color: var(--text);
  background: rgba(124,92,255,0.12);
  border-color: rgba(124,92,255,0.45);
  transform: translateY(-2px);
}

/* ----------- Language switcher ----------- */
.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.lang__btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}
.lang__label { min-width: 16px; text-align: center; }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  list-style: none;
  margin: 0;
  background: rgba(14,16,32,0.96);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.lang__menu::-webkit-scrollbar { width: 6px; }
.lang__menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 3px; }
.lang__menu::-webkit-scrollbar-track { background: transparent; }
.lang.open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang__menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13.5px;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease;
}
.lang__menu li:hover { background: rgba(124,92,255,0.15); }
.lang__menu li.active { background: rgba(34,211,238,0.12); color: var(--brand-2); }
.lang__menu li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

/* ----------- Mobile app section ----------- */
.mobile-sec { position: relative; }
.mobile-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(124,92,255,0.14), transparent 60%),
    radial-gradient(600px 320px at 90% 100%, rgba(34,211,238,0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.mobile-sec > .container { position: relative; z-index: 1; }

.mobile-hub {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 40px;
  align-items: center;
}

/* Phone mockup */
.mobile-hub__phone {
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 300px;
  height: 600px;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(180deg, #1a1c35 0%, #0e0f22 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 80px -20px rgba(124,92,255,0.45);
}
.phone::before,
.phone::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
.phone::before { left: -2px; top: 90px;  width: 2px; height: 36px; }
.phone::after  { left: -2px; top: 140px; width: 2px; height: 60px; }
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #05060d;
  border-radius: 16px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  background:
    linear-gradient(180deg, #0b0d1f 0%, #05060d 100%);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 44px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding: 0 4px 2px;
}
.phone__dots { display: flex; gap: 3px; }
.phone__dots span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted);
}
.phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 4px;
}
.phone__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
}
.phone__logo img {
  width: 22px; height: 22px; border-radius: 6px;
  object-fit: cover;
}
.phone__chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #0b0d1f;
}
.phone__hero {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.025);
}
.phone__equity {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}
.phone__eq-label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted-2);
}
.phone__eq-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 19px;
  font-weight: 700;
}
.phone__eq-chg {
  font-size: 11px;
  font-weight: 600;
}
.phone__eq-chg.up { color: var(--up); }
.phone__spark { height: 60px; }
.phone__spark svg { width: 100%; height: 100%; }

.phone__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}
.phone__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  font-size: 12px;
}
.phone__row .up   { color: var(--up);   font-family: 'JetBrains Mono', monospace; }
.phone__row .down { color: var(--down); font-family: 'JetBrains Mono', monospace; }
.phone__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(124,92,255,0.18);
  color: #b7a6ff;
}
.phone__tag--alt  { background: rgba(34,211,238,0.18);  color: #7ae8ff; }
.phone__tag--warn { background: rgba(245,158,11,0.2);   color: #fbbf24; }
.phone__tag--ok   { background: rgba(34,197,94,0.18);   color: #6ee7a7; }

.phone__nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted-2);
  text-align: center;
  font-weight: 600;
}
.phone__nav .active { color: var(--brand-2); }

/* Panel */
.mobile-hub__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-card {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  transition: border-color .2s ease, transform .2s ease;
}
.mobile-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.mobile-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.mobile-card__top h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mobile-card__top p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.mobile-card__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124,92,255,0.14);
  border: 1px solid rgba(124,92,255,0.28);
  color: #b7a6ff;
}
.mobile-card__icon--green {
  background: rgba(34,197,94,0.14);
  border-color: rgba(34,197,94,0.3);
  color: #6ee7a7;
}
.mobile-card__icon--mute {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: var(--muted);
}
.mobile-card__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.mobile-card__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
}
.mobile-card__qr img {
  width: 88px; height: 88px;
  display: block;
  border-radius: 6px;
}
.mobile-card__qr span {
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: .04em;
}
.mobile-card__url {
  display: inline-block;
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  background: rgba(0,0,0,0.35);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.mobile-card__note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.55;
}
.mobile-card__download {
  background-image: linear-gradient(135deg, #22c55e 0%, #22d3ee 100%);
}
.mobile-card__soon {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ----------- Reveal on scroll ----------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ----------- Responsive ----------- */
@media (max-width: 1024px) {
  .cards    { grid-template-columns: repeat(2, 1fr); }
  .markets  { grid-template-columns: repeat(3, 1fr); }
  .steps    { grid-template-columns: repeat(2, 1fr); }
  .personas { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .stack    { grid-template-columns: repeat(2, 1fr); }

  .mobile-hub { grid-template-columns: 1fr; gap: 32px; }
  .mobile-hub__phone { order: -1; }

  .arch__layer    { grid-template-columns: 1fr; gap: 14px; }
  .arch__services { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .os-console { transform: none; }
  .os-console__identity b { display: none; }
  .os-workspace { grid-template-columns: 1fr 1fr; }
  .os-panel--code { grid-column: 1 / -1; grid-row: 1; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols  { grid-template-columns: repeat(4, 1fr); }
}

.nav > .container {
  max-width: 1320px;
}

@media (max-width: 1180px) {
  .nav__links a[href="#license"] { display: none; }
}

@media (max-width: 1040px) {
  .nav__links a[href*="github.com"] { display: none; }
  .nav__links { gap: 14px; font-size: 12.5px; }
}

@media (max-width: 820px) {
  .section         { padding: 80px 0; }
  .section__head   { margin-bottom: 48px; }
  .stats__grid     { grid-template-columns: repeat(2, 1fr); padding: 28px 20px; }
  .footer__cols    { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .nav__links,
  .nav__login      { display: none; }
  .nav__burger     { display: inline-flex; }
  .drawer.open     { display: flex; }

  .os-console__bar { grid-template-columns: 1fr auto; }
  .os-console__health { display: none; }
  .os-flow { grid-template-columns: repeat(5, minmax(128px, 1fr)); overflow-x: auto; padding-inline: 18px; scrollbar-width: none; }
  .os-flow::-webkit-scrollbar { display: none; }
  .os-flow__rail { left: 70px; right: auto; width: 580px; }
  .os-console__focus { grid-template-columns: auto 1fr; }
  .os-console__focus > span:last-child { display: none; }
  .os-workspace { grid-template-columns: 1fr; }
  .os-panel--code { grid-column: auto; }

  .cta__inner      { padding: 56px 24px; }
}

@media (max-width: 560px) {
  .cards    { grid-template-columns: 1fr; }
  .markets  { grid-template-columns: repeat(2, 1fr); }
  .steps    { grid-template-columns: 1fr; }
  .personas { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: 1fr; }
  .stack    { grid-template-columns: 1fr; }
  .arch__services { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }

  .phone { width: 260px; height: 520px; }
  .mobile-card__row { grid-template-columns: 1fr; }
  .mobile-card__qr { justify-self: center; }

  .hero            { padding: 48px 0 30px; }
  .hero__ctas      { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }

  .hero__system { width: calc(100% + 24px); margin-left: -12px; }
  .os-console { border-radius: 14px; }
  .os-console__bar { min-height: 50px; padding: 0 12px; }
  .os-console__identity span { font-size: 9px; }
  .os-console__meta span { display: none; }
  .os-flow { padding-top: 18px; }
  .os-flow__rail { top: 32px; }
  .os-console__focus { margin-inline: 12px; }
  .os-workspace { padding-inline: 12px; }
  .os-code code { font-size: 8px; }
  .os-manifest { grid-template-columns: repeat(2, 1fr); }
  .os-manifest span:nth-child(2) { border-right: 0; }
  .os-console__bus { grid-template-columns: auto 1fr; }
  .os-console__bus > strong { display: none; }

  .nav__app        { display: none; }
  .lang__btn       { padding: 7px 8px; font-size: 12px; }

  .footer__inner   { padding-bottom: 36px; gap: 32px; }
}

/* ----------- Legal section ----------- */
#legal .section__title,
#legal .section__lead { text-align: center; }
#legal .eyebrow { display: block; text-align: center; }

.legal__alert {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  margin: 40px auto 28px;
  padding: 28px 30px;
  max-width: 1180px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,176,80,0.11), rgba(255,99,130,0.06)),
    rgba(22,18,26,0.65);
  border: 1px solid rgba(255,176,80,0.28);
  box-shadow:
    0 0 0 1px rgba(255,176,80,0.08) inset,
    0 30px 80px -40px rgba(255,120,60,0.35),
    0 20px 60px -30px rgba(0,0,0,0.7);
  overflow: hidden;
}
.legal__alert::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(255,176,80,0.16), transparent 60%),
    radial-gradient(500px 200px at 100% 100%, rgba(255,99,130,0.10), transparent 60%);
  opacity: 0.9;
}
.legal__alert > * { position: relative; z-index: 1; }

.legal__alert-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,176,80,0.22), rgba(255,99,130,0.16));
  border: 1px solid rgba(255,176,80,0.35);
  color: #ffd28a;
  box-shadow: 0 6px 18px -6px rgba(255,120,60,0.6);
  flex-shrink: 0;
}

.legal__alert-body h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.4;
  font-weight: 700;
  color: #ffe1b8;
  letter-spacing: -0.005em;
}
.legal__alert-body p {
  margin: 0 0 16px;
  color: rgba(235,225,215,0.82);
  font-size: 0.965rem;
  line-height: 1.7;
}
.legal__alert-body p strong {
  color: #ff9e7d;
  font-weight: 700;
}
.legal__alert-body code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.legal__official {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(10,10,16,0.55);
  border: 1px solid rgba(255,255,255,0.06);
}
.legal__official strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,210,160,0.9);
  margin-bottom: 10px;
}
.legal__official ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legal__official li { margin: 0; padding: 0; min-width: 0; }
.legal__official a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  text-align: center;
  color: rgba(255,230,200,0.92);
  background: rgba(255,176,80,0.08);
  border: 1px solid rgba(255,176,80,0.22);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  word-break: break-word;
}
.legal__official a:hover {
  background: rgba(255,176,80,0.18);
  border-color: rgba(255,176,80,0.45);
  color: #fff;
  transform: translateY(-1px);
}

.legal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.legal__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: rgba(18,19,34,0.6);
  border: 1px solid var(--border-2);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.legal__card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
  background: rgba(22,23,40,0.7);
}
.legal__card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}
.legal__card p {
  margin: 0;
  flex: 1;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.7;
}
.legal__card code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.84em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 1024px) {
  .legal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal__official ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .legal__alert {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 14px;
  }
  .legal__alert-icon { width: 48px; height: 48px; }
  .legal__alert-body h3 { font-size: 1.08rem; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__official ul { grid-template-columns: 1fr; }
}

/* ----------- RTL fine-tuning ----------- */
[dir="rtl"] .lang__menu {
  right: auto;
  left: 0;
}
[dir="rtl"] .os-console {
  direction: ltr;
  text-align: left;
}
[dir="rtl"] .os-flow__step,
[dir="rtl"] .os-console__focus,
[dir="rtl"] .os-agent__prompt,
[dir="rtl"] .os-agent__trace,
[dir="rtl"] .os-guards {
  direction: rtl;
}
[dir="rtl"] .arch__chip,
[dir="rtl"] .arch__frame-label,
[dir="rtl"] .stats__val,
[dir="rtl"] .usecase__num,
[dir="rtl"] .step__num,
[dir="rtl"] .plan__amount,
[dir="rtl"] .os-code {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] .logos,
[dir="rtl"] .hero__ctas {
  justify-content: center;
}
[dir="rtl"] .nav__links a::after {
  left: auto;
  right: 50%;
}
[dir="rtl"] .nav__links a:hover::after {
  right: 0;
  left: auto;
}
[dir="rtl"] .footer__bottom {
  text-align: right;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aurora__blob { animation: none; }
}

/* =============================================================
   AI Agents section (MCP · v5.0.1)
   ============================================================= */
.badge-new {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0b14;
  background: var(--brand-grad);
  border-radius: 999px;
  vertical-align: middle;
}

.code-snippet {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #d8defb;
  background: rgba(10, 12, 28, 0.65);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
  white-space: pre;
}
.code-snippet code { background: transparent; padding: 0; }

.agents-scopes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.scope-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #b7a6ff;
  background: rgba(124, 92, 255, 0.10);
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 999px;
  white-space: nowrap;
}
.scope-pill--guarded {
  color: #ffb1a3;
  background: rgba(255, 110, 97, 0.10);
  border-color: rgba(255, 110, 97, 0.32);
}

.agents-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.05) 0%, rgba(34, 211, 238, 0.03) 100%);
}
.agents-strip__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  padding: 6px 8px;
}
.agents-strip__ico {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.28);
  color: #b7a6ff;
}
.agents-strip__item strong {
  font-size: 14px;
  letter-spacing: -0.005em;
  color: #eef0ff;
}
.agents-strip__item span:not(.agents-strip__ico) {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.agents-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Architecture additions: highlight new chips/services */
.arch__chip--new {
  border-color: rgba(124, 92, 255, 0.45) !important;
  background: rgba(124, 92, 255, 0.10) !important;
  color: #d6cdff !important;
}
.arch__service--new {
  border-color: rgba(124, 92, 255, 0.40);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.10) 0%, rgba(124, 92, 255, 0.03) 100%);
}

@media (max-width: 1024px) {
  .agents-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .agents-cta { flex-direction: column; align-items: stretch; }
}

/* ============ Commercial license + modal ============ */
#license {
  position: relative;
  overflow: hidden;
}
#license::before {
  content: '';
  position: absolute;
  top: 16%;
  left: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.09), transparent 66%);
  filter: blur(18px);
  pointer-events: none;
}
#license .section__head { max-width: 920px; margin-bottom: 46px; }
#license .section__title { font-size: clamp(30px, 3.6vw, 46px); }
.license-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 8px;
}
.license-grid > .license-offer,
.license-grid > .license-form { height: 100%; }
.license-grid > .license-form {
  display: flex;
  flex-direction: column;
}
.license-offer {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(245,195,91,.23);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(245,158,11,.12), transparent 31%),
    radial-gradient(circle at 100% 22%, rgba(34,211,238,.1), transparent 36%),
    linear-gradient(155deg, rgba(24,19,29,.93), rgba(8,12,22,.9));
  box-shadow: 0 30px 80px -48px rgba(245,158,11,.4), inset 0 1px rgba(255,255,255,.045);
}
.license-offer::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -35%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.045), transparent);
  transform: rotate(22deg);
  animation: license-shine 7s ease-in-out infinite;
  pointer-events: none;
}
.license-offer__topline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.license-offer__step,
.license-form__step {
  color: #7d87a5;
  font: 700 9px/1 'JetBrains Mono', monospace;
  letter-spacing: .13em;
}
.license-offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 999px;
  background: rgba(245,158,11,.08);
  color: #f7cf7a;
  font: 700 8px/1 'JetBrains Mono', monospace;
  letter-spacing: .07em;
}
.license-offer__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 12px #f59e0b;
  animation: pulse 2.4s ease-in-out infinite;
}
.license-offer__price {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 92px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(245,195,91,.14);
}
.license-offer__currency {
  align-self: flex-start;
  margin-top: 10px;
  color: #f6cc75;
  font: 700 24px/1 'JetBrains Mono', monospace;
}
.license-offer__price > strong {
  color: #fff6dc;
  font: 800 78px/.82 'Inter', sans-serif;
  letter-spacing: -.065em;
  text-shadow: 0 0 32px rgba(245,158,11,.2);
}
.license-offer__price > small {
  margin: 0 0 5px 10px;
  color: #f3c86c;
  font: 700 12px/1 'JetBrains Mono', monospace;
  letter-spacing: .09em;
}
.license-offer__price > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  margin-bottom: 3px;
}
.license-offer__price > div b { color: #dfe5f7; font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .08em; }
.license-offer__price > div span { color: #62dc8b; font: 700 8px/1 'JetBrains Mono', monospace; letter-spacing: .07em; }
.license-offer__bundle {
  margin: 16px 0;
  color: #cbd1e5;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}
.license-offer__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.license-offer__benefit {
  display: flex;
  gap: 10px;
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(129,141,181,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.license-offer__benefit-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245,158,11,.28);
  border-radius: 10px;
  background: rgba(245,158,11,.09);
  color: #f5c35b;
}
.license-offer__benefit-icon--vip { border-color: rgba(34,211,238,.28); background: rgba(34,211,238,.08); color: #67e8f9; }
.license-offer__benefit div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.license-offer__benefit strong { color: #eef1ff; font-size: 12px; line-height: 1.25; }
.license-offer__benefit div span { color: #7f89a7; font-size: 10.5px; line-height: 1.45; }
.license-offer__includes {
  margin-bottom: 18px;
  padding: 14px 15px 15px;
  border: 1px solid rgba(124,92,255,.16);
  border-radius: 12px;
  background: rgba(124,92,255,.045);
}
.license-offer__includes > span { display: block; margin-bottom: 8px; color: #9789dc; font: 700 8px/1 'JetBrains Mono', monospace; letter-spacing: .1em; }
.license-scenarios {
  counter-reset: license-scenario;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.license-scenarios li {
  counter-increment: license-scenario;
  position: relative;
  min-width: 0;
  min-height: 82px;
  padding: 11px 10px 10px 35px;
  border: 1px solid rgba(129,141,181,.12);
  border-radius: 10px;
  background: rgba(6,9,17,.27);
}
.license-scenarios li::before {
  content: counter(license-scenario, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 10px;
  color: #5fe0f3;
  font: 700 8px/1 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.license-scenarios strong,
.license-scenarios span { display: block; }
.license-scenarios strong {
  margin-bottom: 4px;
  color: #e8ebfa;
  font-size: 10.5px;
  line-height: 1.35;
}
.license-scenarios span {
  color: #78839f;
  font-size: 9.5px;
  line-height: 1.48;
}
.license-offer__cta {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(115deg, #f3bd55 0%, #7c5cff 48%, #22d3ee 100%);
  background-size: 160% 100%;
  color: #090b12;
  box-shadow: 0 17px 36px -18px rgba(245,158,11,.68), inset 0 1px rgba(255,255,255,.32);
  font-weight: 800;
  transition: transform .18s ease, box-shadow .2s ease, background-position .35s ease;
}
.license-offer__cta:hover { color: #090b12; background-position: 100% 0; box-shadow: 0 22px 44px -17px rgba(34,211,238,.55); }
.license-offer__cta-sub { display: block; margin-top: 9px; color: #59637f; font-size: 10px; text-align: center; }
.license-offer__jump {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #9fa8c5;
  font-size: 12px;
  font-weight: 600;
}
.license-offer__jump:hover { color: #67e8f9; }
.license-grid__note {
  padding-top: 14px;
  border-top: 1px solid rgba(129,141,181,.1);
  font-size: 10.5px;
  line-height: 1.6;
  color: #626c88;
  margin: 16px 0 0;
}
.license-form {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34,211,238,.07), transparent 30%),
    linear-gradient(180deg, rgba(124,92,255,.07) 0%, rgba(10,11,20,.3) 100%);
  box-shadow: 0 28px 70px -52px rgba(124,92,255,.7), inset 0 1px rgba(255,255,255,.03);
}
.license-form__intro {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(129,141,181,.13);
}
.license-form__intro h3 { margin: 9px 0 7px; color: #f0f2ff; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.license-form__intro p { margin: 0; color: #7f89a7; font-size: 12px; line-height: 1.55; }
.license-form__step { color: #67e8f9; }
.license-form__field--member {
  margin-bottom: 18px;
  padding: 13px;
  border: 1px solid rgba(245,158,11,.16);
  border-radius: 12px;
  background: rgba(245,158,11,.035);
}
.license-form__field--member > span { color: #ebcb86; font-weight: 600; }
.license-form__field--member input { background: rgba(8,11,19,.5); }
.license-form--modal .license-form__field--member { padding: 0; border: 0; background: transparent; }
@keyframes license-shine {
  0%, 18% { transform: translateX(-130%) rotate(22deg); opacity: 0; }
  35% { opacity: 1; }
  58%, 100% { transform: translateX(360%) rotate(22deg); opacity: 0; }
}
.license-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.license-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.license-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #c8cbdc;
}
.license-form__field input,
.license-form__field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #eef0ff;
  font: inherit;
}
.license-form__field select {
  width: 100%;
  padding: 10px 36px 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: #14151f;
  color: #eef0ff;
  font: inherit;
  cursor: pointer;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8adc4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.license-form__field select option {
  background-color: #14151f;
  color: #eef0ff;
}
.license-form__field select option:checked,
.license-form__field select option:hover {
  background-color: #2a2540;
  color: #ffffff;
}
.license-form__field select option:disabled {
  color: #8b8fa3;
}
.license-form__field input:focus,
.license-form__field select:focus,
.license-form__field textarea:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}
.license-grid > .license-form .license-form__field--message { flex: 1; }
.license-grid > .license-form .license-form__field--message textarea {
  flex: 1;
  min-height: 124px;
  resize: vertical;
}
.license-form__actions { margin-top: 4px; }
.license-grid > .license-form .license-form__actions { margin-top: auto; }
.license-form:not(.license-form--modal) .license-form__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 13px 18px;
}
.license-form__status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
}
.license-form__status--ok {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
  color: #bbf7d0;
}
.license-form__status--error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
}
.btn--block { width: 100%; justify-content: center; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 12, 0.72);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(480px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 24px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: #0f101a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.modal__panel h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.modal__sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #c8cbdc;
  cursor: pointer;
}
.modal__close:hover { color: #fff; border-color: rgba(124, 92, 255, 0.45); }
body.modal-open { overflow: hidden; }

@media (max-width: 860px) {
  .license-grid { grid-template-columns: 1fr; }
  .license-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .license-offer,
  .license-form { padding: 20px; border-radius: 17px; }
  .license-offer__topline { align-items: flex-start; flex-direction: column; }
  .license-offer__price > strong { font-size: 66px; }
  .license-offer__price > div { gap: 5px; }
  .license-offer__benefits { grid-template-columns: 1fr; }
  .license-offer__benefit { min-height: 0; }
  .license-scenarios { grid-template-columns: 1fr; }
  .license-scenarios li { min-height: 0; }
}
