:root {
  --bg: #0f172a;
  --panel: #111827;
  --panel-2: #0b1220;
  --border: #1f2937;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #22d3ee;
  --good: #10b981;
  --bad: #f43f5e;
  --warn: #f59e0b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--panel-2);
  position: sticky; top: 0; z-index: 10;
}
header.top .brand { font-weight: 700; letter-spacing: 0.5px; font-size: 16px; }
header.top nav a { margin-left: 16px; color: var(--muted); }
header.top nav a:hover { color: var(--text); }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.hero { padding: 48px 24px; text-align: center; }
.hero h1 { font-size: 32px; margin: 0 0 12px; }
.hero p { color: var(--muted); max-width: 720px; margin: 0 auto 24px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 6px; background: var(--accent); color: #001018; font-weight: 600; border: none; cursor: pointer; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.danger { background: var(--bad); color: #fff; }
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 18px; }
.card h3 { margin: 0 0 8px; }
.card .price { font-size: 28px; font-weight: 700; margin: 8px 0 12px; }
.muted { color: var(--muted); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; border: 1px solid var(--border); color: var(--muted); }
.tag.long { color: var(--good); border-color: var(--good); }
.tag.short { color: var(--bad); border-color: var(--bad); }
.tag.neutral { color: var(--warn); border-color: var(--warn); }
.tag.ok { color: var(--good); border-color: var(--good); }
.tag.warn { color: var(--warn); border-color: var(--warn); }
.tag.err { color: var(--bad); border-color: var(--bad); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; }
input, select, textarea {
  width: 100%; padding: 9px 12px; border-radius: 6px;
  background: var(--panel-2); border: 1px solid var(--border); color: var(--text);
  font: inherit;
}
label { display: block; margin: 12px 0 6px; color: var(--muted); font-size: 12px; }
.form-row { margin-bottom: 12px; }
.notice { padding: 10px 12px; border-radius: 6px; background: rgba(245,158,11,0.1); border: 1px solid var(--warn); color: var(--warn); font-size: 13px; }
.notice.ok { background: rgba(16,185,129,0.1); border-color: var(--ok); color: var(--ok); }
.disclaimer { font-size: 12px; color: var(--muted); padding: 12px 24px; border-top: 1px solid var(--border); text-align: center; margin-top: 32px; background: var(--panel-2); }
.kbd { background: var(--panel-2); border: 1px solid var(--border); padding: 1px 5px; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex.between { justify-content: space-between; }
.row-actions button { margin-right: 6px; }

/* ============================================================ */
/*  营销首页 (landing) 专用样式                                   */
/* ============================================================ */
.landing { background: #0b1220; }
.landing .container { max-width: 1180px; }

/* 大号按钮 */
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 8px; }

/* 通用 section 标题 */
.section-head { text-align: center; margin: 56px 0 24px; }
.section-head h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.2px; }
.section-head .muted { font-size: 15px; max-width: 720px; margin: 0 auto; }

/* 4 列栅格 */
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.cols-4 { grid-template-columns: 1fr; } }

/* HERO */
.hero-x { position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero-x__inner { position: relative; text-align: center; }
.hero-bg {
  position: absolute; inset: -10% -5% 0 -5%;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(40% 30% at 80% 30%, rgba(34,211,238,0.12), transparent 60%),
    radial-gradient(30% 25% at 15% 40%, rgba(245,158,11,0.08), transparent 60%);
  filter: blur(0.5px);
  pointer-events: none;
}
.hero-x .pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.hero-x h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -1px;
  font-weight: 700;
}
.hero-x h1 .grad {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 50%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 720px) { .hero-x h1 { font-size: 32px; } .hero-x { padding: 56px 0 40px; } }
.hero-x__sub {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.7;
}
.hero-x__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-x__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 720px) { .hero-x__kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  text-align: center;
  padding: 16px 8px;
  background: rgba(17,24,39,0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.kpi__num {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.kpi__label { color: var(--muted); font-size: 12px; margin-top: 4px; }

/* WHY: feature 卡 */
.feat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  transition: transform 0.2s, border-color 0.2s;
}
.feat:hover { transform: translateY(-2px); border-color: rgba(56,189,248,0.4); }
.feat__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #001018; font-weight: 700;
  margin-bottom: 12px;
}
.feat__title { font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.feat__body { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* HOW IT WORKS */
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.step__num {
  position: absolute;
  top: -16px; left: 24px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  color: #001018;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.step__title { font-weight: 600; font-size: 16px; margin-top: 6px; margin-bottom: 8px; }
.step__body { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* SAMPLE SIGNAL PREVIEW */
.signal-preview {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  color: #1f2937;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(56,189,248,0.3);
  border: 1px solid #e5e7eb;
}
.sp__head {
  padding: 16px 22px;
  background: linear-gradient(90deg, #1f6feb, #3aa1ff);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.sp__brand { font-size: 12px; opacity: 0.85; }
.sp__title { font-size: 18px; font-weight: 600; margin-top: 2px; }
.sp__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.badge-major { background: #b25400; }
.badge-extreme { background: #c4302b; }
.badge-routine { background: #1c884e; }
.badge-ok { background: #1c884e; }
.badge-soft { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.sp__meta { width: 100%; padding: 10px 22px; }
.sp__meta td { padding: 7px 0; border-bottom: 1px solid #f3f4f6; color: #6b7280; font-size: 13px; }
.sp__meta td:last-child { text-align: right; color: #1f2937; }
.sp__ai { padding: 16px 22px; background: #f8fafc; border-top: 1px solid #e5e7eb; }
.sp__ai-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sp__ai-h b { color: #1f2937; font-size: 14px; }
.sp__ai-headline { font-weight: 600; color: #1f2937; margin-bottom: 8px; font-size: 15px; }
.sp__ai-meta { font-size: 12px; margin-bottom: 8px; color: #6b7280 !important; }
.sp__ai-meta b { color: #1f2937; }
.sp__ai-judgment { font-size: 13px; line-height: 1.65; color: #374151; margin-bottom: 14px; }
.sp__ai-block { margin-bottom: 12px; }
.sp__ai-label { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.sp__bull .sp__ai-label { color: #1c884e; }
.sp__bear .sp__ai-label { color: #c4302b; }
.sp__ai-block ul { list-style: none; margin: 0; padding: 0; }
.sp__ai-block li {
  margin: 4px 0; padding: 4px 0 4px 10px;
  border-left: 3px solid;
  font-size: 13px;
  line-height: 1.55;
  color: #374151;
}
.sp__bull li { border-left-color: #1c884e; }
.sp__bear li { border-left-color: #c4302b; }
.sp__ai-invalid {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #5c4400;
  margin-top: 10px;
}
.sp__models { margin-top: 12px !important; font-size: 11px !important; color: #9ca3af !important; }
.sp__models code { background: #f3f4f6; padding: 1px 5px; border-radius: 3px; }
.sp__foot { padding: 12px 22px; font-size: 11px; border-top: 1px solid #e5e7eb; background: #fafbfc; color: #6b7280 !important; }
.sp__foot a { color: #1f6feb; }

/* LIVE DEMO 信号卡 */
.sigcard__ai {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.sigcard__hl { font-weight: 600; margin-top: 6px; font-size: 14px; line-height: 1.4; }

/* PRICING */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan h3 { font-size: 18px; }
.plan .price { font-size: 32px; }
.plan__feats { list-style: none; padding: 0; margin: 12px 0 16px; }
.plan__feats li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.plan__feats li:last-child { border-bottom: 0; }
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 20px 60px -20px rgba(56,189,248,0.4);
  position: relative;
  transform: scale(1.02);
}
@media (max-width: 800px) { .plan--featured { transform: none; } }
.plan__badge {
  position: absolute;
  top: -10px; right: 16px;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  color: #001018;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

/* REFUND */
.refund__title { font-weight: 600; margin-bottom: 8px; color: var(--accent); }
.refund__body { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.refund__body b { color: var(--text); }

/* FAQ */
.faq__item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
  cursor: pointer;
}
.faq__item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  margin: 12px 0 0;
}

/* FINAL CTA */
.final-cta { margin: 56px 0; }
.final-cta__card {
  text-align: center;
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(34,211,238,0.06));
  border: 1px solid rgba(56,189,248,0.4);
  padding: 40px 24px;
}
.final-cta__card h2 { font-size: 28px; margin: 0 0 12px; }
.final-cta__card p { font-size: 15px; max-width: 560px; margin: 0 auto 24px; }
.final-cta__card .btn { margin: 0 6px; }
.final-cta__fine { max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* signal direction tag (lower-case 兼容旧代码) */
.tag.long { color: var(--good); border-color: var(--good); }
.tag.short { color: var(--bad); border-color: var(--bad); }
.tag.neutral { color: var(--warn); border-color: var(--warn); }
