:root {
  --ink: #14212b;
  --ink-2: #43525e;
  --muted: #75838e;
  --line: #e3e1da;
  --bg: #fbfaf6;
  --card: #ffffff;
  --accent: #f04e23;
  --accent-deep: #c93a14;
  --accent-soft: #ffe9e1;
  --blue: #1d4ed8;
  --ok: #0f7a4f;
  --ok-soft: #e6f6ee;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --warn: #a35c00;
  --warn-soft: #fff3d6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 33, 43, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.wrap.narrow { width: min(760px, 92vw); }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 18px; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.logo-img { display: block; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 14px rgba(240, 78, 35, .28);
}
.brand-mark.big { width: 48px; height: 48px; border-radius: 14px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.site-nav a { color: var(--ink-2); }
.nav-login { font-weight: 600; color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 15px;
}
.nav-cta:hover { text-decoration: none; opacity: .9; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(240, 78, 35, .13), transparent 62%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 6px 12px; border-radius: 999px; font-weight: 700;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 18px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.cta-block { margin-top: 34px; }
.cta-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: min(460px, 100%);
  padding: 19px 26px; border: 0; border-radius: 14px;
  background: var(--accent); color: #fff; font-size: 19px; font-weight: 700; cursor: pointer;
  box-shadow: 0 14px 30px rgba(240, 78, 35, .3);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(240, 78, 35, .34); text-decoration: none; }
.cta-primary:active { transform: translateY(0); }
.cta-primary.copied { background: var(--ok); box-shadow: 0 14px 30px rgba(15, 122, 79, .28); }
.cta-icon { display: inline-flex; }
.cta-hint { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.cta-hint.copied { color: var(--ok); font-weight: 600; }
.cta-secondary { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.trust-row { display: flex; gap: 34px; list-style: none; padding: 0; margin: 38px 0 0; }
.trust-row li { display: flex; flex-direction: column; }
.trust-row strong { font-size: 24px; letter-spacing: -.01em; }
.trust-row span { font-size: 13px; color: var(--ink-2); }

/* chat demo */
.hero-demo { position: relative; }
.chat-window { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f6f5f1; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.chat-head em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 8px; }
.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #fff, #fdfcf8); }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 15px; }
.bubble.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: #f4f2ec; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-title { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.result-list li { display: flex; justify-content: space-between; font-size: 14px; }
.plat { color: var(--ink-2); }
.ok { color: var(--ok); font-weight: 600; }
.bubble-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.signal-wave { display: flex; gap: 6px; align-items: flex-end; justify-content: center; margin-top: 22px; height: 40px; }
.signal-wave span { width: 6px; background: var(--accent); border-radius: 4px; opacity: .8; animation: wave 1.6s ease-in-out infinite; }
.signal-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.signal-wave span:nth-child(2) { height: 22px; animation-delay: .15s; }
.signal-wave span:nth-child(3) { height: 34px; animation-delay: .3s; }
.signal-wave span:nth-child(4) { height: 20px; animation-delay: .45s; }
.signal-wave span:nth-child(5) { height: 10px; animation-delay: .6s; }
@keyframes wave { 0%, 100% { transform: scaleY(.55); opacity: .55; } 50% { transform: scaleY(1); opacity: .95; } }

/* ---------- sections ---------- */
.section { padding: 74px 0; }
.section.alt { background: #f4f2ec; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.01em; margin: 0 0 12px; }
.section-sub { color: var(--ink-2); margin: 0 0 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step-no { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.step h3 { font-size: 19px; margin: 10px 0 8px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }
.platform-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.platform-chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; font-size: 15px; color: var(--ink-2);
  box-shadow: 0 2px 6px rgba(20, 33, 43, .04);
}
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 16px 34px rgba(240, 78, 35, .14); position: relative; }
.price-card.featured::after {
  content: "最常用"; position: absolute; top: -12px; right: 18px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.price-tag { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent-deep); text-transform: uppercase; }
.price-amount { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; }
.price-amount span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-desc { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.price-card li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.price-note { margin-top: 24px; color: var(--muted); font-size: 14px; }
.faq { margin: 24px 0 0; }
.faq dt { font-weight: 700; margin-top: 22px; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); }
.final-cta { text-align: center; padding: 80px 0 96px; }
.final-cta h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 10px; }
.final-cta p { color: var(--ink-2); margin: 0 0 28px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #f6f5f1; padding: 34px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-brand strong { display: block; color: var(--ink); font-size: 16px; }
.footer-links { display: flex; gap: 18px; }
.footer-copy { width: 100%; font-size: 12px; }

/* ---------- auth/login ---------- */
.auth-page { padding: 64px 0 96px; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 40px 32px; text-align: center; }
.auth-brand h1 { font-size: 26px; margin: 16px 0 8px; }
.auth-brand p { color: var(--ink-2); margin: 0 0 24px; }
.auth-brand .brand-mark { margin: 0 auto; }
.auth-card .cta-primary { width: 100%; }
.auth-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- console ---------- */
.console { padding: 44px 0 90px; }
.console-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.console-head h1 { font-size: 30px; margin: 0 0 4px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.stat-card.highlight { background: var(--accent-soft); border-color: #ffd3c4; }
.stat-label { font-size: 13px; color: var(--muted); }
.stat-value { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.stat-value span { font-size: 14px; font-weight: 600; color: var(--muted); }
.stat-value.small { font-size: 20px; }
.stat-foot { font-size: 12px; color: var(--muted); margin-top: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 19px; margin: 0 0 14px; }
.panel h2.mt { margin-top: 26px; }
.code { background: #14212b; color: #eae7df; padding: 14px 16px; border-radius: 12px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.key { display: inline-block; background: #14212b; color: #ffd9a8; padding: 4px 10px; border-radius: 6px; font-size: 13px; word-break: break-all; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 10px 18px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn:hover { border-color: #ccc8bd; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-deep); }
.btn.ghost { background: transparent; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.field { display: block; margin: 14px 0; }
.field span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea, select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; background: #fff; color: var(--ink);
  font-family: inherit;
}
.field input:focus { outline: 2px solid #ffd3c4; border-color: var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; background: #fff; }
.quick-amounts { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.amount-btn {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; font-family: inherit;
}
.amount-btn.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.qr-row { display: flex; gap: 18px; margin: 16px 0; }
.qr-box { text-align: center; font-size: 12px; color: var(--muted); }
.qr-box img { width: 132px; height: 132px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; }
.alert { border-radius: 10px; padding: 12px 16px; margin: 14px 0; font-size: 14px; background: #f4f2ec; }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid #f0eee8; vertical-align: top; }
.table td.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.title-cell { max-width: 360px; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f0eee8; color: var(--ink-2); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.free { background: #e8efff; color: var(--blue); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); color: var(--ink-2); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab:hover { text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps, .price-cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { padding: 48px 0 40px; }
  .trust-row { gap: 24px; }
  .console-head h1 { font-size: 24px; }
}
@media (max-width: 520px) {
  .cta-primary { font-size: 17px; padding: 16px 20px; }
  .stat-grid { grid-template-columns: 1fr; }
  .wrap { width: 92vw; }
  .hero h1 { font-size: 34px; }
  .section { padding: 52px 0; }
}
