:root {
  --bg: #0b0c10;
  --panel: #14161c;
  --panel2: #1a1d25;
  --line: #262a33;
  --fg: #eef1f6;
  --muted: #9aa3b2;
  --accent: #7c5cff;
  --accent2: #b18cff;
  --ok: #3fb950;
  --r: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: -apple-system, "Segoe UI", "PingFang TC", "Noto Sans TC", Roboto, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sub { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }
.microcopy { color: var(--muted); font-size: 14px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-bottom: 1px solid var(--line); background: rgba(11,12,16,.7);
}
.brand { font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.logo { color: var(--accent); }
.navlinks { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.navlinks a:not(.btn) { color: var(--muted); }
.navlinks a:not(.btn):hover { color: var(--fg); }

/* buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 11px; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border: none; cursor: pointer;
  transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); filter: none; }

/* layout */
section { padding: 84px 24px; }
.section, .band, .hero { margin: 0 auto; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section > *, .band > *, .hero > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* hero */
.hero { text-align: center; padding: 96px 24px 84px; }
.badge { display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent2); font-size: 14px; margin-bottom: 26px; background: var(--panel); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 850; }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); max-width: 640px; margin: 22px auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

/* generic headings */
.band h2, .section h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.band > h2.center, .section > h2.center { margin-bottom: 14px; }

/* cards / cols */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card .ic, .feat .ic, .step .num { font-size: 28px; margin-bottom: 12px; }
.card h3, .feat h3 { font-size: 19px; margin-bottom: 8px; }
.card p, .feat p, .step p { color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.step { text-align: center; }
.step .num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 800; font-size: 20px; }
.step h3 { margin: 14px 0 6px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 40px auto 18px; }
.plan { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 22px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 700; }
.price { font-size: 38px; font-weight: 850; margin: 8px 0 18px; }
.price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin-bottom: 22px; flex: 1; }
.plan li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--fg); }
.plan li::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* waitlist */
.waitlist { text-align: center; }
.wform { display: flex; gap: 10px; max-width: 460px; margin: 0 auto 12px; }
.wform input { flex: 1; padding: 14px 16px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel2); color: var(--fg); font-size: 16px; }
.wform input:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wstatus { min-height: 22px; font-size: 15px; }
.wstatus.ok { color: var(--ok); }
.wstatus.err { color: #ff6b6b; }

/* footer */
.footer { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 56px 24px; border-top: 1px solid var(--line); }
.fcol { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.fcol strong { margin-bottom: 4px; }
.fcol a { color: var(--muted); }
.fcol a:hover { color: var(--fg); }
.copyright { grid-column: 1 / -1; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 30px 0 10px; }
.legal p, .legal li { color: #cdd3dd; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent2); }
.backlink { display: inline-block; margin-bottom: 24px; color: var(--muted); }

@media (max-width: 860px) {
  .cols3, .features, .steps, .pricing { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .navlinks a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .cols3, .features, .steps, .pricing, .footer { grid-template-columns: 1fr; }
  .wform { flex-direction: column; }
}
