:root {
  --bg: #080c11;
  --bg-soft: #0d141c;
  --panel: rgba(16, 25, 35, 0.82);
  --panel-solid: #111b25;
  --line: rgba(166, 191, 216, 0.16);
  --line-strong: rgba(166, 191, 216, 0.28);
  --text: #edf4f7;
  --muted: #9cb0bf;
  --muted-2: #718897;
  --accent: #67e88c;
  --accent-2: #8ecbff;
  --accent-3: #f1be65;
  --danger: #ff7d7d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1000px 700px at 80% -10%, rgba(103, 232, 140, 0.10), transparent 62%),
    radial-gradient(900px 600px at 0% 30%, rgba(142, 203, 255, 0.07), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(103, 232, 140, 0.28); color: #fff; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #061009;
  font-weight: 700;
  transition: top 160ms ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 900px); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }
.section-sm { padding: 58px 0; }
.section-line { border-top: 1px solid var(--line); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(8, 12, 17, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(8, 12, 17, 0.94); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 18px rgba(103, 232, 140, 0.16); }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { font-size: 16px; letter-spacing: 0.1em; }
.brand-copy span { font-size: 11px; color: var(--muted); letter-spacing: 0.16em; margin-top: 3px; }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 150ms ease, background 150ms ease;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--text); background: rgba(255,255,255,0.055); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #07110a;
  font-weight: 700;
  font-size: 14px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(103, 232, 140, 0.16); }
.button.secondary { background: rgba(255,255,255,0.055); color: var(--text); border-color: var(--line-strong); }
.button.secondary:hover { background: rgba(255,255,255,0.09); box-shadow: none; }
.button.small { min-height: 38px; padding: 0 15px; font-size: 13px; }
.button.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 6vw, 82px); line-height: 1.08; letter-spacing: -0.045em; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.13; letter-spacing: -0.035em; }
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.3; }
h4 { margin-bottom: 8px; font-size: 16px; }
p { color: var(--muted); }
.lead { max-width: 720px; font-size: clamp(18px, 2vw, 22px); line-height: 1.72; color: #c3d0da; }
.gradient-text {
  color: transparent;
  background: linear-gradient(115deg, #f7fbff 5%, #a7e4b9 45%, #8ecbff 95%);
  -webkit-background-clip: text;
  background-clip: text;
}
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 86px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 840px;
  height: 840px;
  right: -300px;
  top: -360px;
  border-radius: 50%;
  border: 1px solid rgba(103, 232, 140, 0.20);
  box-shadow: inset 0 0 140px rgba(103, 232, 140, 0.06), 0 0 140px rgba(103, 232, 140, 0.04);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 78%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 64px; align-items: center; }
.hero-copy { max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted-2); }
.hero-visual { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.visual-card {
  position: relative;
  width: min(100%, 470px);
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(20,31,42,0.96), rgba(9,15,22,0.94));
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.visual-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(103,232,140,0.35), transparent 34%, rgba(142,203,255,0.22));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
}
.visual-card img { border-radius: 18px; }
.visual-chip {
  position: absolute;
  right: -22px;
  bottom: 42px;
  padding: 14px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(11,18,25,0.95);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 13px;
}
.visual-chip strong { display: block; color: var(--accent); font-size: 16px; }
.visual-orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px dashed rgba(142, 203, 255, 0.20);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.visual-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 22px var(--accent); }
.visual-dot.a { left: 34px; top: 62px; }
.visual-dot.b { right: 30px; bottom: 90px; background: var(--accent-2); box-shadow: 0 0 22px var(--accent-2); }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 68px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.stat { padding: 24px 26px; background: rgba(13,20,28,0.92); }
.stat strong { display: block; font-size: 23px; line-height: 1.2; }
.stat span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p { max-width: 680px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18,29,40,0.78), rgba(10,16,23,0.72));
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: linear-gradient(160deg, rgba(22,35,47,0.9), rgba(10,16,23,0.86)); }
.card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -78px; top: -92px; border-radius: 50%; background: radial-gradient(circle, rgba(103,232,140,0.11), transparent 68%); pointer-events: none; }
.card-kicker { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 18px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--text); font-weight: 700; font-size: 14px; }
.card-link::after { content: "↗"; color: var(--accent); }
.card-list { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.card-list li { display: flex; gap: 9px; color: var(--muted); font-size: 14px; }
.card-list li::before { content: ""; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--accent); flex: none; }

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(18,30,39,0.9), rgba(8,14,20,0.9));
}
.feature-band img { border-radius: 18px; border: 1px solid var(--line); }
.feature-band .button { margin-top: 24px; }
.check-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; color: #c6d4dd; }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; }

.pipeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 36px; }
.pipeline-step { position: relative; padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(15,24,33,0.7); }
.pipeline-step span { display: block; color: var(--muted-2); font-size: 11px; letter-spacing: 0.12em; margin-bottom: 8px; }
.pipeline-step strong { display: block; font-size: 14px; line-height: 1.4; }
.pipeline-step::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 12px; }
.pipeline-step:last-child::after { display: none; }

.hub-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px 38px;
  border: 1px solid rgba(103,232,140,0.28);
  border-radius: 26px;
  background: linear-gradient(110deg, rgba(103,232,140,0.10), rgba(142,203,255,0.055) 55%, rgba(10,16,23,0.8));
}
.hub-callout h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.hub-callout p { margin-bottom: 0; max-width: 700px; }
.badge { display: inline-flex; align-items: center; gap: 7px; margin-left: 10px; padding: 4px 9px; border: 1px solid rgba(103,232,140,0.28); border-radius: 999px; color: var(--accent); font-size: 11px; vertical-align: middle; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--line); }
.trust-item { padding: 26px; background: rgba(13,20,28,0.95); }
.trust-item span { display: block; color: var(--muted-2); font-size: 12px; letter-spacing: 0.12em; margin-bottom: 8px; }
.trust-item strong { display: block; font-size: 18px; }

.page-hero { padding: 88px 0 52px; }
.page-hero h1 { max-width: 980px; font-size: clamp(40px, 5vw, 68px); }
.page-hero .lead { max-width: 800px; }
.page-hero .hero-actions { margin-top: 26px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-meta span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { min-height: 260px; display: flex; flex-direction: column; }
.product-card .product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.product-card .product-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(103,232,140,0.10); color: var(--accent); font-weight: 800; }
.product-card p { margin-bottom: 0; }
.product-card .card-link { margin-top: auto; padding-top: 24px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 11px; white-space: nowrap; }
.status.live { color: var(--accent); border: 1px solid rgba(103,232,140,0.25); background: rgba(103,232,140,0.08); }
.status.beta { color: var(--accent-2); border: 1px solid rgba(142,203,255,0.25); background: rgba(142,203,255,0.08); }
.status.plan { color: var(--accent-3); border: 1px solid rgba(241,190,101,0.25); background: rgba(241,190,101,0.08); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; }
.split.sticky > :first-child { position: sticky; top: 108px; }
.info-box { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(15,24,33,0.7); }
.info-box + .info-box { margin-top: 14px; }
.info-box h4 { color: var(--text); }
.info-box p { margin-bottom: 0; font-size: 14px; }
.notice { padding: 18px 20px; border-left: 2px solid var(--accent-3); border-radius: 0 12px 12px 0; background: rgba(241,190,101,0.06); color: #d8d1c2; font-size: 14px; }

.download-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(15,24,33,0.72); }
.download-card + .download-card { margin-top: 14px; }
.download-card h3 { margin-bottom: 4px; }
.download-card p { margin-bottom: 0; font-size: 14px; }
.hash { display: block; margin-top: 12px; color: var(--muted-2); font-size: 11px; word-break: break-all; }
.steps { counter-reset: step; display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 16px 18px 16px 54px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: rgba(15,24,33,0.55); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 17px; top: 16px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(103,232,140,0.12); color: var(--accent); font-size: 12px; font-weight: 800; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card { min-height: 280px; }
.case-art { position: relative; height: 140px; margin: -30px -30px 24px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(103,232,140,0.16), rgba(142,203,255,0.10) 45%, rgba(241,190,101,0.08)); }
.case-art::before, .case-art::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; }
.case-art::before { width: 180px; height: 180px; right: -40px; top: -60px; }
.case-art::after { width: 90px; height: 90px; left: 28px; bottom: -38px; }
.case-art b { position: absolute; left: 28px; bottom: 20px; font-size: 28px; letter-spacing: -0.03em; }

.legal-section + .legal-section { margin-top: 42px; }
.legal-section h2 { font-size: 28px; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section li + li { margin-top: 8px; }
.site-footer { padding: 48px 0 30px; border-top: 1px solid var(--line); background: rgba(7,11,15,0.72); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.7fr 0.7fr; gap: 42px; }
.footer-brand p { max-width: 390px; margin: 16px 0 0; font-size: 14px; }
.footer-col h4 { margin-bottom: 14px; color: #c7d4dd; font-size: 12px; letter-spacing: 0.14em; }
.footer-col a { display: block; width: max-content; margin: 8px 0; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-legal a:hover { color: var(--text); }

@media (max-width: 1000px) {
  .hero-grid, .feature-band, .split { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { min-height: 390px; order: 2; }
  .visual-card { width: min(100%, 560px); transform: none; }
  .visual-orbit { width: 330px; height: 330px; }
  .grid-3, .trust-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipeline-step:nth-child(3n)::after { display: none; }
  .product-grid, .case-grid { grid-template-columns: 1fr; }
  .split.sticky > :first-child { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 68px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy span { font-size: 10px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .button { display: none; }
  .primary-nav {
    position: fixed;
    inset: 68px 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px;
    background: rgba(8, 12, 17, 0.98);
    border-top: 1px solid var(--line);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 15px 16px; font-size: 17px; border-radius: 12px; }
  .hero { padding: 72px 0 56px; }
  h1 { font-size: clamp(34px, 10.5vw, 52px); line-height: 1.12; letter-spacing: -0.05em; }
  .hero-grid { gap: 34px; }
  .hero-visual { min-height: 300px; }
  .visual-chip { right: 0; bottom: 12px; }
  .stat-strip { grid-template-columns: 1fr; margin-top: 42px; }
  .grid-2, .product-grid, .case-grid { grid-template-columns: 1fr; }
  .feature-band { padding: 26px; }
  .hub-callout { grid-template-columns: 1fr; padding: 26px; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline-step:nth-child(3n)::after { display: block; }
  .pipeline-step:nth-child(2n)::after { display: none; }
  .download-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .visual-orbit { width: 260px; height: 260px; }
}

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

.product-card .product-top { min-height: 44px; }
