/* =========================================================
   渲境 XuanJing — Marketing Site Design System
   Pure CSS, no framework. Brand orange #F0831E accent.
   ========================================================= */

:root {
  /* Brand */
  --brand: #F0831E;
  --brand-dark: #D9701A;
  --brand-darker: #B85C12;
  --brand-light: #FFB266;
  --brand-50: #FFF6EC;
  --brand-100: #FFE9D2;

  /* Engine accents (for dual-engine story) */
  --engine-bailian: #2F6BFF;   /* 阿里云百炼 - blue */
  --engine-mulerun: #11A97B;   /* 骡子快跑 - green */

  /* Neutrals */
  --ink: #1A1A20;
  --ink-soft: #3A3A45;
  --muted: #6B6B78;
  --line: #ECECF0;
  --line-strong: #DADAE2;
  --bg: #FFFFFF;
  --bg-soft: #FAFAF7;
  --bg-tint: #F6F4F0;

  /* Status */
  --success: #1BA672;

  /* Shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(26,26,32,.06), 0 2px 8px rgba(26,26,32,.05);
  --shadow: 0 6px 20px rgba(26,26,32,.08);
  --shadow-lg: 0 20px 50px rgba(26,26,32,.12);
  --shadow-brand: 0 14px 34px rgba(240,131,30,.30);

  /* Layout */
  --maxw: 1180px;
  --nav-h: 80px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--hero-soft { background: linear-gradient(180deg, var(--brand-50) 0%, var(--bg) 40%); }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); color: var(--ink); }
.section-sub {
  margin-top: 16px; font-size: clamp(16px, 2vw, 18px);
  color: var(--muted); max-width: 680px; margin-left: auto; margin-right: auto;
}
.center { text-align: center; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(240,131,30,.38); }
.btn-secondary {
  background: #fff; color: var(--ink); border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--brand-dark); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,250,244,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--brand-100);
  box-shadow: 0 1px 0 rgba(240,131,30,.06);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { background: rgba(255,250,244,.96); border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand__logo { width: 30px; height: 30px; }
.brand__name { color: var(--ink); }
.brand__name span { color: var(--brand); }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 600;
  color: var(--ink-soft); transition: background .15s ease, color .15s ease;
}
.nav__links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
/* 导航右侧按钮统一略缩小，确保「免费开始生成」与登录/昵称同高协调 */
.nav__cta .btn,
.nav__cta .user-menu__btn { padding: 9px 18px; font-size: 14px; line-height: 1.2; box-sizing: border-box; }
.nav__cta .user-menu__btn { padding: 9px 14px; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 80px; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(700px 380px at 85% -8%, rgba(240,131,30,.18), transparent 60%),
    radial-gradient(620px 420px at 8% 12%, rgba(47,107,255,.08), transparent 60%),
    linear-gradient(180deg, var(--brand-50) 0%, #FFFDFB 30%, var(--bg-soft) 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px 7px 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(27,166,114,.18); }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -.02em; }
.hero h1 .hl { color: var(--brand); }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-soft); max-width: 540px; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 16px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { color: var(--success); flex: none; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: #fff;
}
.hero__card img { width: 100%; height: 360px; object-fit: cover; }
.hero__card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; gap: 12px; border-top: 1px solid var(--line); background: #fff;
}
.hero__card-meta .tag { font-size: 13px; font-weight: 700; color: var(--muted); }
.hero__chips { display: flex; gap: 8px; }
.hero__chips .chip { font-size: 12px; font-weight: 700; color: #fff; padding: 5px 10px; border-radius: 999px; }
.chip--bailian { background: var(--engine-bailian); }
.chip--mulerun { background: var(--engine-mulerun); }

.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.float-badge .fb-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fb-ico--brand { background: var(--brand-50); color: var(--brand); }
.fb-ico--bailian { background: rgba(47,107,255,.12); color: var(--engine-bailian); }
.fb-ico--mulerun { background: rgba(17,169,123,.12); color: var(--engine-mulerun); }
.float-badge .fb-num { font-size: 20px; font-weight: 800; line-height: 1; }
.float-badge .fb-label { font-size: 12.5px; color: var(--muted); }
.fb-1 { top: 18px; left: -26px; }
.fb-2 { bottom: 64px; right: -22px; }

/* ---------- Auth: user menu (logged-in) ---------- */
.user-menu { position: relative; }
.user-menu__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.user-menu__btn:hover { border-color: var(--brand); box-shadow: var(--shadow-brand); }
.user-menu__btn svg { color: var(--brand); }
.user-menu__panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 180px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 50;
}
.user-menu__name { padding: 8px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-menu__item {
  width: 100%; text-align: left; padding: 10px 12px; border: 0; background: transparent;
  border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.user-menu__item:hover { background: rgba(240,131,30,.08); color: var(--brand-dark); }

/* ---------- Modal (login + confirm) ---------- */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,16,12,.55); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 420px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 30px 26px;
  animation: modalPop .22s ease;
}
.modal--sm { max-width: 380px; padding: 26px; }
@keyframes modalPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 14px; right: 16px; width: 32px; height: 32px;
  border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--muted);
  cursor: pointer; border-radius: 8px;
}
.modal__close:hover { background: var(--warm-50, #fff6ee); color: var(--ink); }
.modal__head { text-align: center; margin-bottom: 22px; }
.modal__logo {
  width: 54px; height: 54px; border-radius: 14px; margin: 0 auto 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.modal__head h2 { font-size: 21px; font-weight: 800; color: var(--ink); }
.modal__head p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240,131,30,.18); }
.uppercase { text-transform: uppercase; letter-spacing: .3em; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; min-width: 0; }
.captcha-btn {
  flex: none; height: 44px; width: 104px; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; cursor: pointer; background: var(--warm-50, #fff6ee); padding: 0; display: grid; place-items: center;
}
.captcha-btn:hover { opacity: .9; }
.captcha-btn img { max-width: 100%; max-height: 100%; object-fit: contain; }
.form-error {
  margin: -4px 0 14px; font-size: 13.5px; color: #d23f3f; background: #fdecec;
  border: 1px solid #f5c2c2; border-radius: 9px; padding: 9px 12px;
}
.crypto-warn { margin-top: 14px; font-size: 12.5px; color: #9a6a00; background: #fff7e6; border: 1px solid #ffe1a6; border-radius: 9px; padding: 9px 12px; line-height: 1.6; }
.modal__title { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.modal__msg { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 22px; }
.modal__actions { display: flex; gap: 12px; justify-content: flex-end; }
.btn-danger { background: #e04848; color: #fff; }
.btn-danger:hover { background: #c93b3b; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(224,72,72,.32); }

/* ---------- Trust bar ---------- */
.trust { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 38px; }
.trust__label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.trust__stat { font-size: 14px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.trust__stat b { color: var(--brand-dark); font-size: 17px; }

/* ---------- Problem / Value ---------- */
.problem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.problem__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.problem__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.problem__item h3 { font-size: 18px; margin-bottom: 8px; }
.problem__item p { color: var(--muted); font-size: 15px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.feature__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.feature__ico--1 { background: linear-gradient(135deg,#F0831E,#D9701A); }
.feature__ico--2 { background: linear-gradient(135deg,#2F6BFF,#1E4FD0); }
.feature__ico--3 { background: linear-gradient(135deg,#11A97B,#0C8A63); }
.feature__ico--4 { background: linear-gradient(135deg,#8B5CF6,#6D3CE0); }
.feature__ico--5 { background: linear-gradient(135deg,#F59E0B,#E0790B); }
.feature__ico--6 { background: linear-gradient(135deg,#EC4899,#C9317F); }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature ul.ticks { margin-top: 14px; display: grid; gap: 8px; }
.feature ul.ticks li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 9px; align-items: flex-start; }
.feature ul.ticks svg { color: var(--brand); flex: none; margin-top: 3px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; text-align: center; padding-top: 8px; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
  background: #fff; border: 2px solid var(--brand-100); color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); }
.step::after {
  content: ""; position: absolute; top: 34px; left: 60%; width: 80%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }

/* ---------- Dual engine compare ---------- */
.engine-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.engine {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff;
}
.engine__head { padding: 22px 26px; color: #fff; display: flex; align-items: center; gap: 14px; }
.engine--bailian .engine__head { background: linear-gradient(135deg, var(--engine-bailian), #1E4FD0); }
.engine--mulerun .engine__head { background: linear-gradient(135deg, var(--engine-mulerun), #0C8A63); }
.engine__emoji { font-size: 26px; }
.engine__head h3 { color: #fff; font-size: 19px; }
.engine__head p { color: rgba(255,255,255,.85); font-size: 13.5px; }
.engine__body { padding: 24px 26px; }
.engine__body ul { display: grid; gap: 12px; }
.engine__body li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.engine__body svg { color: var(--success); flex: none; margin-top: 3px; }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.showcase__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.showcase__media img { width: 100%; height: 460px; object-fit: cover; }
.showcase ul.ticks { display: grid; gap: 14px; margin-top: 22px; }
.showcase ul.ticks li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-soft); align-items: flex-start; }
.showcase ul.ticks svg { color: var(--brand); flex: none; margin-top: 4px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(34px, 5vw, 48px); font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.stat .num .unit { font-size: 24px; }
.stat .label { margin-top: 8px; color: var(--ink-soft); font-size: 15px; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.testi__quote { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }
.testi__quote::before { content: "“"; font-size: 40px; color: var(--brand-100); font-weight: 800; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.testi__person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; font-size: 16px; }
.avatar--1 { background: linear-gradient(135deg,#F0831E,#D9701A); }
.avatar--2 { background: linear-gradient(135deg,#2F6BFF,#1E4FD0); }
.avatar--3 { background: linear-gradient(135deg,#11A97B,#0C8A63); }
.testi__name { font-weight: 700; font-size: 15px; }
.testi__role { font-size: 13px; color: var(--muted); }
.stars { color: var(--brand); font-size: 15px; letter-spacing: 2px; }

/* ---------- Case study ---------- */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr;
}
.case__body { padding: 40px; }
.case__tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--brand-dark); background: var(--brand-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.case__body h3 { font-size: 24px; margin-bottom: 14px; }
.case__body p { color: var(--muted); font-size: 15px; }
.case__metrics { display: flex; gap: 28px; margin-top: 26px; }
.case__metric .m-num { font-size: 30px; font-weight: 800; color: var(--brand); }
.case__metric .m-label { font-size: 13px; color: var(--muted); }
.case__img { background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); display: grid; place-items: center; padding: 30px; }
.case__img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow-brand); }
.plan--featured::before {
  content: "最受欢迎"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-size: 20px; font-weight: 800; }
.plan__desc { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 42px; }
.plan__price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan__price .amt { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.plan__price .per { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan__price .old { color: var(--line-strong); text-decoration: line-through; font-size: 15px; font-weight: 600; margin-left: 4px; }
.plan__btn { margin: 22px 0; }
.plan__features { display: grid; gap: 12px; margin-top: 4px; }
.plan__features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }
.plan__features svg { color: var(--success); flex: none; margin-top: 3px; }
.plan__features .off { color: var(--line-strong); }
.plan__features .off svg { color: var(--line-strong); }
.plan__note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* 定价锚点条：传统 ¥500 → 渲境 ¥99 */
.price-anchor {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 10px auto 22px; padding: 9px 18px; border: 1px dashed var(--brand);
  border-radius: 999px; background: var(--brand-50); color: var(--ink-soft); font-size: 14px; line-height: 1.4;
}
.price-anchor b { font-size: 18px; font-weight: 800; color: var(--ink); }
.price-anchor b.hl { color: var(--brand); }
.price-anchor .arrow { color: var(--brand); font-size: 18px; font-weight: 700; }
.price-anchor em {
  font-style: normal; font-weight: 700; color: #fff; background: var(--brand);
  padding: 2px 10px; border-radius: 999px; font-size: 12.5px;
}
@media (max-width: 560px) {
  .price-anchor { font-size: 13px; padding: 8px 14px; gap: 6px; }
  .price-anchor b { font-size: 16px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-size: 16.5px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q .ico { flex: none; transition: transform .2s ease; color: var(--brand); }
.faq__item[open] .faq__q .ico { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #1A1A20 0%, #2A2218 100%); color: #fff; border-radius: var(--radius-xl); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(240,131,30,.35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); color: #fff; }
.cta-band p { margin: 16px auto 30px; color: rgba(255,255,255,.8); max-width: 560px; font-size: 17px; }
.cta-band .btn-primary { background: var(--brand); box-shadow: var(--shadow-brand); }
.cta-band .btn-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.16); }

/* ---------- Footer ---------- */
.footer { background: #14141A; color: #C9C9D2; padding: 64px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand__name { color: #fff; }
.footer__about { font-size: 14.5px; color: #9A9AAB; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14.5px; color: #9A9AAB; padding: 6px 0; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #7C7C8C; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #C9C9D2; transition: background .15s ease; }
.footer__social a:hover { background: var(--brand); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Comparison table ---------- */
.compare { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.compare thead th:not(:first-child) { text-align: center; }
.compare tbody td:not(:first-child) { text-align: center; color: var(--ink-soft); }
.compare tbody td:first-child { font-weight: 600; color: var(--ink); }
.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
.compare tbody tr:hover { background: var(--brand-50); }
.compare td .yes { color: var(--success); font-weight: 800; }
.compare td .no { color: var(--line-strong); }

/* ---------- Mobile nav panel ---------- */
.mobile-menu { display: none; }

/* ---------- Billing toggle (segmented) ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto 8px; }
.billing-toggle button {
  border: 0; background: transparent; padding: 9px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: var(--muted); transition: .18s;
}
.billing-toggle button.active { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-sm); }
.billing-toggle .save { font-size: 12px; color: var(--success); font-weight: 700; margin-left: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 560px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .step::after { display: none; }
  .showcase { grid-template-columns: 1fr; gap: 36px; }
  .case { grid-template-columns: 1fr; }
  .case__img { order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav__links, .nav__cta .btn-ghost { display: none; }
  .nav__toggle { display: block; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
    background: #fff; padding: 20px 24px; transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto;
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu a { display: block; padding: 14px 0; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu .btn { margin-top: 20px; }
  .problem, .grid-3, .grid-2, .testi-grid, .pricing-grid, .stats, .engine-compare { grid-template-columns: 1fr; }
  .stats { gap: 30px; }
  .hero__card img { height: 240px; }
  .fb-1 { left: -8px; top: 14px; } .fb-2 { right: -8px; top: 14px; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 44px 24px; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
