/* ============================================================
   RealWiz 图鉴 — 推广网站样式
   配色源自 app_icon.svg：深海军蓝 + 金橙 + 验证绿 + 扫描青
   ============================================================ */

:root {
  /* 品牌色 */
  --navy-darkest: #0a1830;
  --navy-darker:  #0f2248;
  --navy-dark:    #1a3568;
  --navy-mid:     #254a82;
  --navy-light:   #3a6aaa;
  --navy-pale:    #5a9ad8;

  --gold-bright:  #ffd060;
  --gold:         #ff9a28;
  --gold-deep:    #e87818;
  --gold-deepest: #c86010;

  --red-alert:    #d43028;
  --red-deep:     #a81812;
  --green-ok:     #00e676;
  --cyan-scan:    #00e5ff;

  /* 中性色 */
  --bg:           #f6f8fc;
  --bg-alt:        #eef2f9;
  --surface:       #ffffff;
  --ink-900:      #0a1830;
  --ink-700:      #2a3a55;
  --ink-500:      #5a6a85;
  --ink-300:      #9aa8c0;
  --ink-100:      #e6ecf5;
  --line:         #dde4ef;

  /* 字体 */
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', Consolas, monospace;

  /* 尺寸 */
  --container: 1200px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(10,24,48,0.06), 0 1px 2px rgba(10,24,48,0.04);
  --shadow:    0 8px 24px rgba(10,24,48,0.10), 0 4px 8px rgba(10,24,48,0.06);
  --shadow-lg: 0 24px 60px rgba(10,24,48,0.16), 0 12px 24px rgba(10,24,48,0.08);

  /* 动效 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
code, pre { font-family: var(--font-mono); font-size: 0.9em; }
code {
  background: rgba(26,53,104,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--navy-dark);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--navy-darkest);
  box-shadow: 0 4px 14px rgba(255,154,40,0.35), 0 2px 6px rgba(232,120,24,0.2);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,154,40,0.45), 0 4px 10px rgba(232,120,24,0.3);
}
.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.btn--ghost-light {
  background: transparent;
  color: var(--navy-dark);
  border-color: var(--navy-light);
}
.btn--ghost-light:hover { background: var(--navy-dark); color: #fff; }

/* ============ Topbar ============ */
.topbar {
  background: var(--navy-darkest);
  color: var(--ink-300);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar__pill {
  background: rgba(0,230,118,0.14);
  color: var(--green-ok);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.topbar__text { opacity: 0.85; }
.topbar__spacer { flex: 1; }
.topbar__cta { color: var(--gold-bright); font-weight: 600; }
.topbar__cta:hover { color: #fff; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,248,252,0.85);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: all 0.25s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo { height: 40px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
  transform-origin: left;
}
.nav__links a:hover { color: var(--navy-dark); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy-darker) 50%, var(--navy-dark) 100%);
  color: #fff;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.7) hue-rotate(190deg);
}
.hero__bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(15,34,72,0.4) 0%, rgba(10,24,48,0.85) 70%, rgba(10,24,48,0.98) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--cyan-scan);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--green-ok);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,230,118,0.18);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,230,118,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(0,230,118,0.05); }
}
.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.text-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__cta { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat__num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}
.stat__num span { font-size: 16px; font-weight: 500; color: var(--cyan-scan); margin-left: 2px; }
.stat__label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ============ Hero Mockup ============ */
.hero__mockup { perspective: 1400px; }
.mockup {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.4);
  overflow: hidden;
  transform: rotate3d(1, -0.4, 0, 4deg);
  transform-origin: center;
  transition: transform 0.5s var(--ease-out);
}
.hero__mockup:hover .mockup { transform: rotate3d(1, -0.4, 0, 1deg) translateY(-4px); }
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f0f3f8, #e6ecf5);
  border-bottom: 1px solid var(--line);
}
.mockup__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.mockup__dot--r { background: #ff5f57; }
.mockup__dot--y { background: #febc2e; }
.mockup__dot--g { background: #28c840; }
.mockup__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  margin-left: 8px;
  flex: 1;
}
.mockup__badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--red-alert);
  background: rgba(212,48,40,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}
.mockup__body {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 0;
  min-height: 380px;
}
.mockup__canvas {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.mockup__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mockup__heatmap {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: screen;
  opacity: 0.85;
}
.mockup__scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-scan), transparent);
  box-shadow: 0 0 12px var(--cyan-scan);
  animation: scan 3s linear infinite;
}
@keyframes scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.mockup__annot {
  position: absolute;
  border: 2px solid var(--red-alert);
  border-radius: 2px;
}
.mockup__annot--1 { top: 18%; left: 20%; width: 50%; height: 32%; }
.mockup__annot--2 { top: 50%; left: 30%; width: 40%; height: 22%; border-color: var(--gold); }
.mockup__annot-label {
  position: absolute;
  top: -22px; left: -2px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--red-alert);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.mockup__annot--2 .mockup__annot-label { background: var(--gold-deep); }
.mockup__side {
  background: var(--surface);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
}
.mockup__module {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.mockup__module--on { background: rgba(212,48,40,0.06); }
.mockup__module-name { color: var(--ink-700); font-weight: 500; }
.mockup__module-score { font-family: var(--font-mono); font-weight: 700; color: var(--ink-500); }
.mockup__module-score.warn { color: var(--red-alert); }
.mockup__verdict {
  margin-top: auto;
  padding: 10px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-darker));
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}
.mockup__verdict svg { color: var(--gold-bright); flex-shrink: 0; }

.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 1;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: 60px; display: block; }

/* ============ Trustbar ============ */
.trustbar { background: var(--bg); padding: 36px 0; border-bottom: 1px solid var(--line); }
.trustbar__row {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
}
.trustbar__item svg { color: var(--navy-light); }

/* ============ Section ============ */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy-darker) 100%);
  color: #fff;
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section--dark .section__eyebrow, .section__eyebrow--light { color: var(--gold-bright); }
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.section--dark .section__title { color: #fff; }
.section__sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-500);
}
.section--dark .section__sub { color: rgba(255,255,255,0.7); }

/* ============ Features ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.feature--magic::before { background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep)); }
.feature--expert::before { background: linear-gradient(90deg, var(--cyan-scan), var(--navy-light)); }
.feature--trufor::before { background: linear-gradient(90deg, var(--red-alert), var(--red-deep)); }
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature--magic .feature__icon { background: linear-gradient(135deg, rgba(255,208,96,0.18), rgba(232,120,24,0.1)); color: var(--gold-deep); }
.feature--expert .feature__icon { background: linear-gradient(135deg, rgba(0,229,255,0.14), rgba(58,106,170,0.1)); color: var(--navy-light); }
.feature--trufor .feature__icon { background: linear-gradient(135deg, rgba(212,48,40,0.14), rgba(168,24,18,0.08)); color: var(--red-alert); }
.feature__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.feature__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-darker);
  margin-bottom: 12px;
}
.feature__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 18px;
}
.feature__list {
  list-style: none;
  margin-bottom: 18px;
}
.feature__list li {
  font-size: 13px;
  color: var(--ink-700);
  padding: 5px 0 5px 20px;
  position: relative;
}
.feature__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.feature__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--bg-alt);
  color: var(--navy-dark);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.feature__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(212,48,40,0.06);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.5;
}
.feature__note svg { color: var(--red-alert); flex-shrink: 0; margin-top: 2px; }
.feature__note--ok { background: rgba(0,230,118,0.07); }
.feature__note--ok svg { color: var(--green-ok); }

/* ============ Scenarios ============ */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scenario {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease-out);
}
.scenario:hover {
  transform: translateY(-4px);
  border-color: var(--navy-pale);
  box-shadow: var(--shadow);
}
.scenario__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-darker));
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.scenario__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-darker);
  margin-bottom: 8px;
}
.scenario__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-500);
}

/* ============ Workflow ============ */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 64px;
  position: relative;
}
.workflow::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--navy-pale) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.workflow__step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.workflow__num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-darker));
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg);
  box-shadow: 0 4px 12px rgba(15,34,72,0.2);
}
.workflow__body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-darker);
  margin-bottom: 8px;
}
.workflow__body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-500);
  padding: 0 4px;
}

/* 决策树 */
.decision {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.decision__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-darker);
  margin-bottom: 28px;
  text-align: center;
}
.decision__tree {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.decision__branch {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid;
}
.decision__branch:nth-child(1) { border-left-color: var(--green-ok); }
.decision__branch:nth-child(2) { border-left-color: var(--gold); }
.decision__branch:nth-child(3) { border-left-color: var(--red-alert); }
.decision__score {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  min-width: 80px;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
}
.decision__score--low { background: rgba(0,230,118,0.12); color: var(--green-ok); }
.decision__score--mid { background: rgba(255,154,40,0.14); color: var(--gold-deep); }
.decision__score--high { background: rgba(212,48,40,0.12); color: var(--red-alert); }
.decision__arrow { font-size: 24px; color: var(--ink-300); }
.decision__out strong { display: block; font-size: 15px; color: var(--navy-darker); margin-bottom: 2px; }
.decision__out span { font-size: 13px; color: var(--ink-500); }
.decision__hint {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-500);
}

/* ============ Principles (dark) ============ */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.principle {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.principle__num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 10px;
}
.principle h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.principle p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}
.principles__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ Cases ============ */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.case {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-top: 4px solid;
  transition: all 0.3s var(--ease-out);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case--red { border-top-color: var(--red-alert); }
.case--orange { border-top-color: var(--gold-deep); }
.case--yellow { border-top-color: var(--gold-bright); }
.case--blue { border-top-color: var(--navy-light); }
.case--green { border-top-color: var(--green-ok); }
.case__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.case__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}
.case__tag--red { background: rgba(212,48,40,0.12); color: var(--red-alert); }
.case__tag--orange { background: rgba(232,120,24,0.14); color: var(--gold-deep); }
.case__tag--yellow { background: rgba(255,208,96,0.18); color: var(--gold-deep); }
.case__tag--blue { background: rgba(58,106,170,0.14); color: var(--navy-dark); }
.case__tag--green { background: rgba(0,230,118,0.12); color: var(--green-ok); }
.case__score {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-500);
}
.case__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-darker);
  margin-bottom: 10px;
  line-height: 1.35;
}
.case__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.case__modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.mod {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.mod--warn { background: rgba(212,48,40,0.1); color: var(--red-alert); }
.mod--mid { background: rgba(255,154,40,0.12); color: var(--gold-deep); }
.mod--ok { background: rgba(0,230,118,0.1); color: var(--green-ok); }
.case__verdict {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-dark);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  line-height: 1.55;
}
.cases__golden {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-darker));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.cases__golden h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold-bright);
}
.cases__golden ol {
  list-style: none;
  counter-reset: golden;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cases__golden li {
  counter-increment: golden;
  flex: 1;
  min-width: 240px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  padding-left: 32px;
  position: relative;
}
.cases__golden li::before {
  content: counter(golden, decimal-leading-zero);
  position: absolute;
  left: 0; top: -2px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

/* ============ Download ============ */
.section--download {
  background: linear-gradient(180deg, var(--navy-darker), var(--navy-darkest));
  color: #fff;
}
.download {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.download__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 12px 0 16px;
  letter-spacing: -1px;
}
.download__sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.download__req {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.download__req li {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  padding-left: 22px;
  position: relative;
}
.download__req li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: var(--green-ok);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,230,118,0.15);
}
.download__req strong { color: #fff; font-weight: 600; }
.download__cta { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.download__note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 12px 16px;
  background: rgba(212,48,40,0.1);
  border-left: 3px solid var(--red-alert);
  border-radius: 6px;
}
.download__card {
  background: var(--surface);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.download__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-darker));
  color: #fff;
}
.download__card-pill {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,208,96,0.18);
  color: var(--gold-bright);
  padding: 3px 10px;
  border-radius: 12px;
}
.download__card-size {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan-scan);
}
.download__card-body { padding: 8px 0; }
.download__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.download__row span:first-child { color: var(--ink-500); font-weight: 500; }
.download__row span:last-child { color: var(--ink-900); font-weight: 600; }
.download__card-foot {
  padding: 14px 20px;
  background: var(--bg-alt);
  font-size: 11px;
  color: var(--ink-500);
}
.download__card-foot code { font-size: 11px; color: var(--navy-dark); }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] { border-color: var(--navy-pale); box-shadow: var(--shadow-sm); }
.faq__item summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-darker);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--gold-deep);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-700);
}

/* ============ Disclaimer ============ */
.disclaimer { background: var(--bg); padding: 64px 0; }
.disclaimer__box {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, rgba(212,48,40,0.05), rgba(168,24,18,0.02));
  border: 1px solid rgba(212,48,40,0.18);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.disclaimer__icon {
  width: 56px; height: 56px;
  background: var(--red-alert);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.disclaimer h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--red-deep);
  margin-bottom: 8px;
}
.disclaimer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-700);
}

/* ============ CTA banner ============ */
.ctabanner {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  padding: 56px 0;
  color: var(--navy-darkest);
}
.ctabanner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.ctabanner h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.ctabanner p { font-size: 15px; opacity: 0.8; }
.ctabanner .btn--primary {
  background: var(--navy-darker);
  color: #fff;
  box-shadow: 0 6px 18px rgba(15,34,72,0.3);
}
.ctabanner .btn--primary:hover {
  background: var(--navy-darkest);
  transform: translateY(-2px);
}

/* ============ Footer ============ */
.footer {
  background: var(--navy-darkest);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__tagline { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.footer__domain {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--gold-bright); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer__legal { font-style: italic; }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__mockup { max-width: 600px; }
  .features, .scenarios, .cases { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .workflow::before { display: none; }
  .download { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    padding: 16px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
    gap: 4px;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--sm { display: none; }
  .topbar__inner { font-size: 12px; }
  .topbar__text { display: none; }
  .section { padding: 64px 0; }
  .features, .scenarios, .cases, .principles { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .stat__num { font-size: 26px; }
  .decision { padding: 24px 20px; }
  .decision__branch { flex-direction: column; align-items: flex-start; gap: 8px; }
  .decision__arrow { transform: rotate(90deg); align-self: center; }
  .cases__golden { padding: 24px 20px; }
  .cases__golden ol { flex-direction: column; gap: 14px; }
  .footer__bottom { flex-direction: column; }
  .mockup__body { grid-template-columns: 1fr 160px; min-height: 280px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .mockup__body { grid-template-columns: 1fr; }
  .mockup__side { display: none; }
  .download__req { grid-template-columns: 1fr; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
