:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #5b6572;
  --accent: #4f46e5;
  --accent-dark: #4338ca;
  --border: #e5e7eb;
  --ok: #0e9f6e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
nav { display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--muted); }
nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #eef0ff 0%, var(--bg) 100%);
  padding: 50px 0 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.2);
  margin-bottom: 18px;
}
.kicker {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.hero .tag {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}
.need {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.need li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
}
.get-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.get-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  width: 100%;
}
.get-note a { color: var(--accent); }
.stage { text-align: center; }
.phone-shot {
  display: inline-block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  border: 4px solid #fff;
}
.phone-shot img {
  width: 100%;
  max-width: 320px;
  height: auto;
}
.stage-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background .15s;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn-line {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }

/* TOC anchor bar */
.toc {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.toc-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
}
.toc-inner a {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
}
.toc-inner a:hover { color: var(--accent); border-color: var(--accent); background: #eef2ff; }

/* Sections */
section { padding: 44px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: 26px; margin: 0 0 12px; }
.section-note { color: var(--muted); max-width: 700px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Concepts */
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.concept {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px;
}
.concept strong { display: block; margin-bottom: 6px; }
.concept span { color: var(--muted); font-size: 15px; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 15px;
}
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #fafafa; font-weight: 600; }
tr:last-child td { border-bottom: none; }

/* Steps */
.steps { counter-reset: step; margin-top: 24px; }
.step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step .num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 6px 18px rgba(79, 70, 229, .12); }
.plan .tag {
  position: absolute;
  top: -11px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
}
.plan h3 { margin: 0 0 6px; font-size: 18px; }
.plan .price { font-size: 28px; font-weight: 800; margin: 4px 0 12px; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan .desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan ul li { padding: 6px 0; font-size: 15px; color: var(--text); border-bottom: 1px dashed var(--border); }
.plan ul li:last-child { border-bottom: none; }
.plan ul li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.plan .btn { text-align: center; }

/* FAQ */
.faq { max-width: 780px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* CTA band */
.cta-band {
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 44px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: #f0f0ff; }

/* Footer */
.site-footer {
  background: #1b2230;
  color: #aeb6c2;
  padding: 32px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-inner h3 { color: #fff; margin: 0 0 8px; font-size: 16px; }
.footer-inner p { margin: 0; color: #94a3b8; }
.footer-links { display: flex; gap: 16px; }
.site-footer a { color: #cdd3dc; }
.footer-copy {
  color: #94a3b8;
  border-top: 1px solid #2a3345;
  padding-top: 16px;
  font-size: 13px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero-inner { grid-template-columns: 1fr; }
  .stage { order: 2; }
  .grid, .concepts, .plans, .grid.cols-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  nav { gap: 12px; font-size: 14px; }
  .footer-inner { flex-direction: column; }
}
