:root {
  --ink: #0b1220;
  --navy: #0e1a2f;
  --navy-2: #12233f;
  --blue: #2f6df6;
  --blue-soft: #e9f0ff;
  --cyan: #18c3c5;
  --paper: #f7f9fc;
  --white: #ffffff;
  --muted: #5b677a;
  --line: #e3e9f2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --gold: #e8b55a;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(11, 18, 32, 0.12);
  --max: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: rgba(47, 109, 246, 0.18); }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow.on-dark { color: #8fb1ff; }

h1, h2, h3, h4 { margin: 0; line-height: 1.16; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); line-height: 1.8; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #2f6df6, #1956e0);
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 109, 246, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(47, 109, 246, 0.36); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: #b9c7db; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: background .2s ease;
}
.site-header.scrolled { background: rgba(11, 18, 32, 0.94); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .brand-sub { font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.58); letter-spacing: 0.02em; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, 0.72); font-size: 14px; transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 10px; }
.nav-cta .login { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; transition: .2s; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 76px;
  color: #fff;
  background:
    radial-gradient(900px 520px at 82% 18%, rgba(24, 195, 197, 0.16), transparent 60%),
    radial-gradient(760px 520px at 18% 22%, rgba(47, 109, 246, 0.28), transparent 62%),
    var(--ink);
}
.hero::before {
  content: "";
  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: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -220px; top: -220px;
  background: radial-gradient(circle, rgba(47,109,246,.35), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 .grad {
  background: linear-gradient(100deg, #8fb1ff 0%, #fff 46%, #73e3df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: rgba(255, 255, 255, 0.7); max-width: 600px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 26px; color: rgba(255, 255, 255, 0.66); font-size: 13px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(24,195,197,.12); }

.hero-visual { position: relative; }
.browser {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px 10px; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); }
.browser-bar .url {
  margin-left: 8px; flex: 1; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.4); font-size: 10px; display: flex; align-items: center; padding: 0 9px;
}
.browser img { border-radius: 10px; width: 100%; }
.hero-caption { margin-top: 14px; text-align: center; color: rgba(255,255,255,.42); font-size: 11px; }
.float-card {
  position: absolute; left: -26px; bottom: 62px;
  background: rgba(14, 26, 47, .92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.float-card .k { font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.5); text-transform: uppercase; }
.float-card .v { font-size: 18px; font-weight: 800; color: #fff; margin-top: 2px; }
.float-card .v em { font-style: normal; color: var(--cyan); font-size: 12px; margin-left: 4px; }

/* Logo strip */
.engine-strip { border-top: 1px solid rgba(255,255,255,.08); margin-top: 64px; padding-top: 22px; display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.engine-strip .label { color: rgba(255,255,255,.38); font-size: 12px; letter-spacing: .08em; }
.engine-chip { color: rgba(255,255,255,.64); font-size: 13px; font-weight: 600; padding: 6px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; }

/* Sections */
.section { padding: 92px 0; }
.section.soft { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { margin: 14px 0 16px; }
.section-head .lead { font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.problem .num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #9aa7ba; letter-spacing: .08em; }
.problem h3 { margin: 14px 0 8px; font-size: 18px; }
.problem p { color: var(--muted); font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5e0ef; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 15px;
}
.feature h3 { margin: 18px 0 8px; font-size: 18px; }
.feature p { color: var(--muted); font-size: 14px; }
.feature .tag { display: inline-block; margin-top: 14px; font-size: 11px; color: #7c8aa0; letter-spacing: .04em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #b9c7db; font-size: 13px; letter-spacing: .1em;
}
.step h3 { margin: 14px 0 8px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual { position: relative; }
.split .visual img { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split .copy h2 { margin: 14px 0 16px; }
.split .copy p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; color: #334155; font-size: 14px; }
.checklist li::before { content: "✓"; color: #0f9f8f; font-weight: 800; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat b { display: block; font-size: 22px; line-height: 1.2; }
.stat span { font-size: 11px; color: var(--muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 70px rgba(11,18,32,.22); transform: translateY(-8px); }
.price-card .plan { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.price-card.featured .plan { color: #8fb1ff; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 16px 0 4px; }
.price b { font-size: 42px; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 13px; }
.price-card.featured .price span { color: rgba(255,255,255,.55); }
.price-note { font-size: 12px; color: var(--muted); min-height: 20px; }
.price-card.featured .price-note { color: rgba(255,255,255,.55); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.price-card li { font-size: 13px; color: #42526a; display: flex; gap: 8px; }
.price-card li::before { content: "·"; color: var(--blue); font-weight: 800; }
.price-card.featured li { color: rgba(255,255,255,.74); }
.price-card.featured li::before { color: var(--cyan); }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card.featured .btn-outline { background: #fff; color: var(--ink); border-color: #fff; }
.price-foot { text-align: center; color: #8b97a9; font-size: 12px; margin-top: 24px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #98a6b9; font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 14px; padding-top: 10px; max-width: 700px; }

/* CTA */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 24px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,109,246,.38), transparent 68%); }
.cta-band h2 { font-size: clamp(26px, 3vw, 40px); margin: 10px 0 10px; position: relative; }
.cta-band p { color: rgba(255,255,255,.64); position: relative; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* Company */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.company .panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.company .panel h3 { font-size: 18px; }
.company .panel p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.company-list { display: grid; gap: 12px; margin-top: 22px; }
.company-list div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #3c4b61; }
.company-list b { color: var(--ink); min-width: 72px; }

/* Footer */
.site-footer { background: #08101d; color: rgba(255,255,255,.6); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: 13px; margin-top: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 13px; margin-bottom: 12px; letter-spacing: .04em; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.5); font-size: 13px; margin: 8px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.38); }

/* Downloads */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.download-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.download-card h3 { margin: 18px 0 8px; font-size: 20px; }
.download-card p { color: var(--muted); font-size: 14px; }
.download-card ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; }
.download-card li { font-size: 13px; color: #42526a; display: flex; gap: 8px; }
.download-card li::before { content: "·"; color: var(--blue); font-weight: 800; }
.download-card .btn { margin-top: auto; width: 100%; }
.code-card { background: #0b1220; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.code-head { display: flex; justify-content: space-between; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .08em; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code { margin: 0; padding: 18px; color: #c9d7f0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.8; overflow-x: auto; }
.code .c { color: #6f829e; }

/* Legal */
.legal-wrap { padding: 132px 0 80px; background: var(--paper); min-height: 100vh; }
.legal-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 44px 48px; }
.legal-card h1 { font-size: 34px; }
.legal-meta { color: #8b97a9; font-size: 12px; margin: 10px 0 26px; }
.legal-card h2 { font-size: 19px; margin: 28px 0 8px; }
.legal-card p, .legal-card li { color: #42526a; font-size: 14px; }
.legal-card ul { padding-left: 20px; }
.legal-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: #8b97a9; font-size: 12px; }
.back-link { display: inline-flex; gap: 6px; color: #64748b; font-size: 13px; margin-bottom: 20px; }

/* Reveal */
.no-js [data-reveal] { opacity: 1; transform: none; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 126px; }
  .hero-visual { max-width: 720px; }
  .feature-grid, .problem-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .company { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px; }
}
@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav-links { display: none; position: absolute; top: 72px; left: 16px; right: 16px; background: rgba(11,18,32,.98); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-points { gap: 10px 16px; }
  .browser { transform: none; }
  .float-card { left: 8px; bottom: 44px; }
  .feature-grid, .problem-grid, .steps, .stats-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .cta-band { padding: 30px 24px; }
  .legal-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal-wrap { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
