:root {
  --bg: #0B1220;
  --bg-elev: #121a2b;
  --bg-card: rgba(22, 32, 52, 0.72);
  --bg-card-hover: rgba(28, 40, 64, 0.88);
  --line: rgba(45, 212, 191, 0.16);
  --line-soft: rgba(232, 238, 247, 0.08);
  --text: #E8EEF7;
  --muted: #8FA3BC;
  --teal: #2DD4BF;
  --teal-dim: #14B8A6;
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.15);
  --radius: 18px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --topbar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.atm-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 18%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 18%, #000 15%, transparent 72%);
}

.atm-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.atm-glow-a {
  top: -12%;
  left: 20%;
  width: 55vw;
  height: 45vh;
  background: rgba(45, 212, 191, 0.2);
}

.atm-glow-b {
  top: 8%;
  right: -5%;
  width: 35vw;
  height: 35vh;
  background: rgba(245, 158, 11, 0.1);
}

.atm-orb {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 68%);
}

/* —— Topbar —— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(45, 212, 191, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.topbar-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  justify-self: start;
}

.brand-mark {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(45, 212, 191, 0.5));
}

.brand-text {
  font-size: 1.22rem;
  background: linear-gradient(120deg, #fff 20%, var(--teal) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: center;
}

.top-nav a {
  color: #D7E2F0;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.14);
  background: rgba(18, 26, 43, 0.35);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.top-nav a:hover {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.14);
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.12);
}

.top-dl {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #04201c;
  background: linear-gradient(135deg, var(--teal), #5eead4);
  box-shadow: 0 6px 22px rgba(45, 212, 191, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.top-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(45, 212, 191, 0.42);
}

/* —— Hero: locked viewport, no sticky bleed —— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden; /* lock proof row + scroll cue inside hero */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* visual midline ~ viewport mid @1080p */
  /* topbar compensation so optical center sits in viewport mid, not under topbar */
  padding: calc(var(--topbar-h) + 0.75rem) 1.5rem 2.75rem;
  box-sizing: border-box;
}

.hero-stage {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.hero-copy {
  text-align: left;
  max-width: 36rem;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.38rem 1rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.08);
}

.hero-title {
  margin: 0;
  font-size: clamp(3.4rem, 7.5vw, 5.6rem);
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.02;
  background: linear-gradient(165deg, #ffffff 6%, #c5f7ef 42%, var(--teal) 72%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 36px rgba(45, 212, 191, 0.25));
}

.hero-lead {
  margin: 1.2rem 0 1.65rem;
  max-width: 32rem;
  font-size: clamp(1.1rem, 2.1vw, 1.32rem);
  color: #B6C5D8;
  line-height: 1.72;
  font-weight: 450;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.pill:hover { transform: translateY(-2px); }

.pill-solid {
  color: #04201c;
  background: linear-gradient(135deg, var(--teal), #5eead4 42%, #99f6e4);
  box-shadow: 0 12px 36px rgba(45, 212, 191, 0.32);
}

.pill-solid:hover {
  box-shadow: 0 16px 42px rgba(45, 212, 191, 0.42);
}

.pill-outline {
  color: var(--text);
  background: rgba(22, 32, 52, 0.45);
  border-color: rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(6px);
}

.pill-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.pill-lg {
  min-height: 3.35rem;
  padding: 0.9rem 1.9rem;
  font-size: 1.08rem;
}

.pill.is-disabled,
.pill[aria-disabled="true"] {
  background: #2a3548;
  color: #94a3b8;
  box-shadow: none;
  pointer-events: none;
  cursor: not-allowed;
}

/* Proof row: NEVER sticky/fixed — stays in hero flow */
.hero-stats {
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  border-top: 1px solid var(--line-soft);
  position: static;
}

.hero-stats li {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(18, 26, 43, 0.45);
  border: 1px solid var(--line-soft);
}

.stat-label {
  display: block;
  font-weight: 750;
  font-size: 0.98rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.stat-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero visual / product frame */
.hero-visual {
  position: relative;
  min-height: 320px;
}

.product-frame {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: linear-gradient(160deg, rgba(18, 26, 43, 0.95), rgba(11, 18, 32, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(245, 158, 11, 0.08),
    inset 0 1px 0 rgba(232, 238, 247, 0.06);
  transform: none;
  transition: transform 0.35s ease;
}

.product-frame:hover {
  transform: translateY(-4px);
}

.product-frame-bar {
  display: flex;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: rgba(8, 14, 26, 0.9);
  border-bottom: 1px solid var(--line-soft);
}

.product-frame-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a4a63;
}

.product-frame-bar span:nth-child(1) { background: #F87171; }
.product-frame-bar span:nth-child(2) { background: #F59E0B; }
.product-frame-bar span:nth-child(3) { background: #2DD4BF; }

.product-frame-body {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
}

.hero-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(transparent, rgba(11, 18, 32, 0.92) 55%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.mini-dual {
  width: min(100%, 240px);
  height: auto;
}

.product-caption {
  margin: 0;
  font-size: 0.78rem;
  color: #A8BAD0;
  letter-spacing: 0.04em;
}

.hero-glow-shot {
  position: absolute;
  z-index: 1;
  right: -8%;
  bottom: -12%;
  width: 78%;
  max-width: 420px;
  opacity: 0.42;
  filter: blur(0.3px);
  pointer-events: none;
  border-radius: 16px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}

/* Scroll cue: in-flow at hero bottom — NOT fixed/sticky */
.hero-scroll {
  position: relative; /* was absolute; keep inside hero, no bleed */
  z-index: 1;
  flex-shrink: 0;
  margin: 1.5rem auto 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-scroll span {
  display: block;
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--muted);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--teal);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

/* —— Blocks —— */
.block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.block-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.block h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  letter-spacing: 0.02em;
  font-weight: 750;
}

.block-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.block-sub.tight { margin-bottom: 1.5rem; }
.block-sub.center { text-align: center; max-width: 32rem; margin-left: auto; margin-right: auto; }

/* —— Glass cards —— */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.glass-card {
  position: relative;
  padding: 1.65rem 1.45rem 1.7rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(45, 212, 191, 0.08);
}

.glass-card h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: 1.18rem;
}

.glass-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gicon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.gicon-teal {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--line);
}

.gicon-amber {
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

/* —— Trust split —— */
.trust { padding-top: 3.5rem; }

.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.trust-visual {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(45, 212, 191, 0.1), transparent 65%),
    var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dual-illu {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  margin: 0 auto;
}

.pulse-dot {
  animation: pulseCore 2.4s ease-in-out infinite;
}

.pulse-ring {
  transform-origin: 210px 170px;
  animation: pulseRing 2.4s ease-in-out infinite;
}

.pulse-path {
  animation: dashMove 8s linear infinite;
}

@keyframes pulseCore {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.4; }
}

@keyframes pulseRing {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.1; }
}

@keyframes dashMove {
  to { stroke-dashoffset: -80; }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.steps li {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(18, 26, 43, 0.55);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.steps li:hover {
  border-color: var(--line);
  transform: translateX(4px);
}

.step-n {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  color: var(--teal);
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.steps strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Download —— */
.download {
  padding-bottom: 4rem;
}

.dl-shell {
  text-align: center;
  padding: 3rem 1.75rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 70% at 50% 0%, rgba(45, 212, 191, 0.14), transparent 62%),
    radial-gradient(ellipse 40% 50% at 85% 80%, rgba(245, 158, 11, 0.06), transparent 55%),
    var(--bg-elev);
  box-shadow: var(--shadow);
}

.dl-shell h2 { margin-bottom: 0.65rem; }

.rel-meta {
  margin: 1.5rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  min-height: 1.5em;
}

.dl-hint {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.9;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.25rem 1.5rem 2.75rem;
  text-align: center;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  color: var(--text);
  font-weight: 650;
}

.footer-sep { margin: 0 0.35rem; opacity: 0.5; }

.footer-note {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: calc(var(--d, 0) * 0.08s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-copy {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
  }

  .hero-lead { margin-left: auto; margin-right: auto; }

  .hero-ctas { justify-content: center; }

  .product-frame {
    transform: none;
    max-width: 480px;
    margin: 0 auto;
  }

  .product-frame:hover { transform: translateY(-4px); }

  .hero-glow-shot {
    display: none;
  }

  .product-overlay { align-items: center; }
}

@media (max-width: 960px) {
  .glass-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-visual { order: -1; }

  .topbar-inner {
    grid-template-columns: auto 1fr auto;
  }

  .top-nav { gap: 1rem; }
}

@media (max-width: 720px) {
  .top-nav { display: none; }

  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .brand-text { font-size: 1.1rem; }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .pill { width: 100%; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--topbar-h) + 1.1rem);
    padding-bottom: 1.75rem;
  }

  .hero-scroll { display: none; }

  .block { padding: 3.25rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot, .pulse-ring, .pulse-path, .hero-scroll span::after { animation: none; }
  .pill:hover, .glass-card:hover, .steps li:hover, .top-dl:hover, .product-frame:hover { transform: none; }
}
