html { scroll-behavior: smooth; }

/* ── preserved utilities ── */
.data-grid-border { border: 1px solid rgba(0,0,0,0.08); }
.glass-panel {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.05);
}

/* ── reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ════════════════════════════════════════
   HERO — dark
════════════════════════════════════════ */

.hero-section {
  background: #080f14;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,102,133,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,133,.07) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* radar rings — right side desktop */
.radar-container {
  position: absolute;
  top: 50%; right: 0;
  transform: translate(35%, -50%);
  width: 700px; height: 700px;
  pointer-events: none;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,102,133,.18);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: rpulse 5s ease-in-out infinite;
}
.r1 { width: 260px; height: 260px; animation-delay: 0s; }
.r2 { width: 450px; height: 450px; animation-delay: .9s; }
.r3 { width: 660px; height: 660px; animation-delay: 1.8s; }

@keyframes rpulse {
  0%,100% { opacity: .7; }
  50% { opacity: .2; }
}

.radar-sweep-wrap {
  position: absolute;
  width: 260px; height: 260px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  overflow: hidden;
}
.radar-sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 75%,
    rgba(0,102,133,.35) 88%,
    rgba(0,229,255,.55) 100%
  );
  animation: rsweep 4s linear infinite;
}
@keyframes rsweep { to { transform: rotate(360deg); } }

@media (max-width: 1023px) {
  .radar-container { display: none; }
}

/* blips */
.blip {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00e5ff;
  animation: bpulse 2.5s ease-in-out infinite;
}
.blip::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,.5);
  animation: bring 2.5s ease-out infinite;
}
.b1 { top: 28%; right: 24%; animation-delay: 0s; }
.b2 { top: 58%; right: 17%; animation-delay: .8s; }
.b3 { top: 42%; right: 33%; animation-delay: 1.6s; }
@media (max-width: 1023px) { .blip { display: none; } }
@keyframes bpulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.7); }
}
@keyframes bring {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* hero vignette bottom */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #080f14);
  pointer-events: none;
  z-index: 1;
}

/* hero content */
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  flex: 1;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 80px;
}
@media (max-width: 1023px) {
  .hero-inner { flex-direction: column; text-align: center; padding-top: 48px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(0,102,133,.15);
  border: 1px solid rgba(0,102,133,.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #00e5ff;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.75rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  color: #fff;
}
.hero-headline em {
  color: #00e5ff;
  font-style: normal;
}

.hero-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  background: #006685;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.hero-btn-primary:hover {
  background: #0080a3;
  box-shadow: 0 0 0 4px rgba(0,229,255,.12), 0 8px 24px rgba(0,102,133,.45);
  transform: translateY(-1px);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.hero-btn-ghost:hover {
  border-color: rgba(0,229,255,.4);
  color: #00e5ff;
  background: rgba(0,229,255,.05);
}

/* ── data card (hero right) ── */
.data-card-hero {
  background: rgba(10,20,30,.92);
  border: 1px solid rgba(0,102,133,.4);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(0,229,255,.06),
    0 32px 80px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.04);
  width: 100%;
  max-width: 360px;
  animation: cardenter .9s cubic-bezier(.16,1,.3,1) forwards;
}
@media (max-width: 1023px) {
  .data-card-hero { max-width: 100%; }
}
@keyframes cardenter {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.dch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.dch-badge-green {
  background: rgba(74,222,128,.12);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}
.dcm {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 10px 12px;
}
.dcm-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.dcm-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-top: 2px;
}
.dch-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 12px 0;
}
.dcm-leg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 4px 0;
}
.leg-buy  { color: #4ade80; font-weight: 700; }
.leg-sell { color: #f87171; font-weight: 700; }
.leg-ticker { color: rgba(255,255,255,.8); }
.leg-price  { color: rgba(255,255,255,.5); }

.dch-cta {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 10px;
  background: rgba(0,102,133,.2);
  border: 1px solid rgba(0,102,133,.4);
  border-radius: 8px;
  color: #00e5ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: background .2s;
}
.dch-cta:hover { background: rgba(0,102,133,.35); }

/* ── ticker ── */
.ticker-wrap {
  position: relative; z-index: 2;
  height: 38px;
  background: rgba(255,255,255,.025);
  border-top: 1px solid rgba(0,102,133,.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: auto;
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: ticker 35s linear infinite;
}
.ti {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  border-right: 1px solid rgba(255,255,255,.07);
}
.ti .up { color: #4ade80; font-weight: 700; }
.ti .dn { color: #f87171; font-weight: 700; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   SECTION NAV
════════════════════════════════════════ */
#section-nav {
  background: #f8fafc;
  border-bottom: 1px solid #c1c7ce;
}
.section-anchor {
  flex-shrink: 0;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #41484d;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.section-anchor:hover { color: #006685; border-color: #006685; }
.section-anchor.sa-active { color: #006685; border-color: #006685; }

/* ════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════ */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid #c1c7ce;
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #006685;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #71787e;
  margin-top: 6px;
}

/* ════════════════════════════════════════
   VALUE PROP
════════════════════════════════════════ */
.vp-section { background: #f8fafc; }

/* ════════════════════════════════════════
   FEATURES — numbered editorial
════════════════════════════════════════ */
.feat-section { background: #0d1520; color: #fff; }

.feat-number {
  font-family: 'Syne', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: #006685;
  opacity: .18;
  position: absolute;
  top: -12px; left: -4px;
  pointer-events: none;
  user-select: none;
}
.feat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 24px;
  transition: background .2s, border-color .2s;
}
.feat-card:hover {
  background: rgba(0,102,133,.08);
  border-color: rgba(0,102,133,.3);
}
.feat-icon {
  width: 44px; height: 44px;
  background: rgba(0,102,133,.2);
  border: 1px solid rgba(0,102,133,.35);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #00e5ff;
  margin-bottom: 16px;
}
.feat-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feat-body { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* ════════════════════════════════════════
   PLATFORM SCREENSHOTS
════════════════════════════════════════ */
.platform-section { background: #f8fafc; }

.ss-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.ss-tab {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  border: 1px solid #c1c7ce;
  color: #41484d;
  background: transparent;
  transition: all .18s;
}
.ss-tab:hover { border-color: #006685; color: #006685; }
.ss-tab.active {
  background: #006685;
  border-color: #006685;
  color: #fff;
}
.ss-panel { display: none; }
.ss-panel.active { display: block; }
.ss-img {
  border-radius: 10px;
  border: 1px solid #c1c7ce;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  width: 100%;
  height: auto;
}

/* ════════════════════════════════════════
   API SECTION
════════════════════════════════════════ */
.api-section { background: #080f14; color: #fff; }

.terminal-card {
  background: #0d1520;
  border: 1px solid rgba(0,102,133,.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.terminal-topbar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.td-red    { background: #ff5f57; }
.td-yellow { background: #ffbc2e; }
.td-green  { background: #28c840; }
.terminal-title {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,.35);
}
.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  overflow-x: auto;
}
.tc-comment { color: rgba(255,255,255,.28); }
.tc-key     { color: #00e5ff; }
.tc-string  { color: #a8ff78; }
.tc-number  { color: #f59e0b; }
.tc-url     { color: #c084fc; }

/* ════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════ */
.cta-section {
  background: #080f14;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,102,133,.25), transparent);
  pointer-events: none;
}
.cta-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: #fff;
}
.cta-headline em {
  color: #00e5ff;
  font-style: normal;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: #006685;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 0 0 0 rgba(0,229,255,.2);
}
.cta-btn:hover {
  background: #0080a3;
  box-shadow: 0 0 0 6px rgba(0,229,255,.1), 0 12px 32px rgba(0,102,133,.5);
  transform: translateY(-2px);
}
