/* ============================================================
   知晓OPC · 设计系统
   东方金融科技美学：宣纸为底，墨色为骨，朱砂点睛
   ============================================================ */

:root {
  --paper: #f7f4ec;
  --paper-2: #fdfbf6;
  --ink: #181b22;
  --ink-2: #3a3f4b;
  --ink-3: #767c8a;
  --cinnabar: #b63a2a;
  --cinnabar-deep: #93291c;
  --gold: #b08d46;
  --gold-light: #d8c39a;
  --jade: #2e6e5e;
  --hairline: rgba(24, 27, 34, 0.12);
  --hairline-2: rgba(24, 27, 34, 0.06);
  --shadow-sm: 0 1px 2px rgba(24, 27, 34, 0.05), 0 4px 16px rgba(24, 27, 34, 0.06);
  --shadow-md: 0 2px 6px rgba(24, 27, 34, 0.06), 0 16px 48px rgba(24, 27, 34, 0.1);
  --shadow-lg: 0 8px 24px rgba(24, 27, 34, 0.1), 0 32px 80px rgba(24, 27, 34, 0.16);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 宣纸纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.028 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--cinnabar); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- 印章 Logo ---------- */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, var(--cinnabar), var(--cinnabar-deep));
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(182, 58, 42, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
  transform: rotate(-3deg);
  flex-shrink: 0;
}
.seal.lg { width: 52px; height: 52px; font-size: 28px; border-radius: 11px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.4s var(--ease);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(247, 244, 236, 0.82);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.nav.scrolled .nav-inner { padding-top: 12px; padding-bottom: 12px; }
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif);
  font-size: 19px; font-weight: 700; letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 34px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-2);
  position: relative; padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--cinnabar);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary::after { display: none; }

/* ---------- 移动端汉堡菜单 ---------- */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: auto; z-index: 110;
}
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px;
  font-size: 15px; font-weight: 600; font-family: var(--sans);
  border-radius: 10px; border: none; cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(145deg, var(--cinnabar), var(--cinnabar-deep));
  color: #fff;
  box-shadow: 0 4px 14px rgba(182, 58, 42, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(182, 58, 42, 0.42); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(24, 27, 34, 0.3); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg .glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.hero-bg .g1 { width: 560px; height: 560px; background: rgba(216, 195, 154, 0.55); top: -180px; right: -120px; }
.hero-bg .g2 { width: 420px; height: 420px; background: rgba(182, 58, 42, 0.1); bottom: -140px; left: -100px; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.22em; color: var(--cinnabar);
  font-weight: 600; text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--cinnabar); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--cinnabar);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute; left: -2%; bottom: 6px;
  width: 104%; height: 10px;
  background: linear-gradient(90deg, rgba(216, 195, 154, 0), rgba(216, 195, 154, 0.85), rgba(216, 195, 154, 0));
  z-index: -1;
}
.hero-sub {
  font-size: 17px; color: var(--ink-2); max-width: 480px; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px; font-size: 13.5px; color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.hero-note .dot { color: var(--jade); }

/* Hero 演示：流水 → AI → 报表 */
.demo {
  position: relative;
  height: 480px;
}
.demo-card {
  position: absolute;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.demo-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline-2);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: rgba(24, 27, 34, 0.02);
}
.demo-head .dots { display: flex; gap: 5px; }
.demo-head .dots i {
  width: 9px; height: 9px; border-radius: 50%; background: var(--hairline);
}
.demo-head .dots i:first-child { background: #e5a39c; }
.demo-head .dots i:nth-child(2) { background: var(--gold-light); }
.demo-head .dots i:last-child { background: #a8c8bc; }

.demo-statement {
  top: 8px; left: 0; width: 300px;
  animation: float1 7s ease-in-out infinite;
}
.demo-statement table { width: 100%; border-collapse: collapse; font-size: 12px; }
.demo-statement td {
  padding: 9px 14px; border-bottom: 1px solid var(--hairline-2);
  color: var(--ink-2); font-family: var(--mono);
}
.demo-statement td:last-child { text-align: right; }
.demo-statement td.in { color: var(--jade); }
.demo-statement td.out { color: var(--cinnabar); }
.demo-statement tr.row-anim { animation: rowIn 0.6s var(--ease) both; }
.demo-statement tr.row-anim:nth-child(2) { animation-delay: 0.15s; }
.demo-statement tr.row-anim:nth-child(3) { animation-delay: 0.3s; }
.demo-statement tr.row-anim:nth-child(4) { animation-delay: 0.45s; }
.demo-statement tr.row-anim:nth-child(5) { animation-delay: 0.6s; }

.demo-ai {
  top: 176px; left: 44px; width: 210px;
  padding: 15px 18px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  animation: float2 7s ease-in-out infinite;
  z-index: 2;
}
.demo-ai .spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid var(--hairline);
  border-top-color: var(--cinnabar);
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

.demo-report {
  bottom: 0; right: 0; width: 320px;
  animation: float3 7s ease-in-out infinite;
}
.demo-report .r-body { padding: 16px 18px; }
.demo-report .r-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--hairline-2);
  font-size: 13px; color: var(--ink-2);
}
.demo-report .r-row:last-child { border: none; }
.demo-report .r-row b {
  font-family: var(--mono); font-size: 15px; color: var(--ink); font-weight: 700;
}
.demo-report .r-row.profit b { color: var(--cinnabar); font-size: 18px; }
.demo-report .badge {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  font-size: 11.5px; color: var(--jade); font-weight: 600;
  background: rgba(46, 110, 94, 0.08);
  padding: 4px 10px; border-radius: 20px;
}

@keyframes float1 { 0%,100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-12px) rotate(-1.2deg); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float3 { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* ---------- 跑马灯 ---------- */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(253, 251, 246, 0.6);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-size: 15px; color: var(--ink-3);
  display: flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee-track span::after { content: "·"; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 通用区块 ---------- */
.section { padding: 110px 0; position: relative; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--hairline-2); border-bottom: 1px solid var(--hairline-2); }
.sec-head { max-width: 640px; margin-bottom: 64px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-no {
  font-family: var(--mono); font-size: 12.5px; color: var(--gold);
  letter-spacing: 0.3em; display: block; margin-bottom: 12px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 900; line-height: 1.3; margin-bottom: 16px;
}
.sec-head p { font-size: 16px; color: var(--ink-3); }

/* ---------- 步骤 ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  transition: all 0.45s var(--ease);
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.step-card:hover::before { transform: scaleX(1); }
.step-num {
  font-family: var(--serif); font-size: 44px; font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gold);
  line-height: 1; margin-bottom: 18px; display: block;
}
.step-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.step-card p { font-size: 14px; color: var(--ink-3); line-height: 1.75; }

/* ---------- 功能卡片 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.45s var(--ease);
  position: relative;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(182, 58, 42, 0.09), rgba(176, 141, 70, 0.12));
  margin-bottom: 20px;
  color: var(--cinnabar);
  transition: all 0.4s var(--ease);
}
.feat-card:hover .feat-icon { transform: scale(1.08) rotate(-4deg); background: linear-gradient(145deg, rgba(182, 58, 42, 0.16), rgba(176, 141, 70, 0.2)); }
.feat-card h3 { font-family: var(--serif); font-size: 18.5px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--ink-3); line-height: 1.8; }

/* ---------- 优势列表 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 56px; }
.why-item {
  display: flex; gap: 20px; padding: 28px 0;
  border-bottom: 1px solid var(--hairline-2);
  transition: padding-left 0.35s var(--ease);
}
.why-item:hover { padding-left: 8px; }
.why-check {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--jade); color: var(--jade);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; margin-top: 3px;
}
.why-item h3 { font-family: var(--serif); font-size: 17.5px; font-weight: 700; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--ink-3); }

/* ---------- 适用场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: var(--paper-2);
  overflow: hidden;
  transition: all 0.45s var(--ease);
}
.scene-card::after {
  content: attr(data-zh);
  position: absolute; right: 14px; bottom: -14px;
  font-family: var(--serif); font-size: 84px; font-weight: 900;
  color: rgba(24, 27, 34, 0.045);
  line-height: 1; pointer-events: none;
  transition: color 0.4s;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.scene-card:hover::after { color: rgba(182, 58, 42, 0.07); }
.scene-tag {
  font-size: 12px; color: var(--gold); letter-spacing: 0.15em;
  font-weight: 600; display: block; margin-bottom: 12px;
}
.scene-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.scene-card p { font-size: 14px; color: var(--ink-3); max-width: 85%; }

/* ---------- 定价 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 34px 26px;
  display: flex; flex-direction: column;
  transition: all 0.45s var(--ease);
  position: relative;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: linear-gradient(145deg, var(--cinnabar), var(--cinnabar-deep));
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 16px; border-radius: 6px;
  box-shadow: 0 4px 12px rgba(182, 58, 42, 0.4);
  white-space: nowrap;
}
.price-name { font-family: var(--serif); font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.price-num { font-family: var(--serif); font-size: 44px; font-weight: 900; line-height: 1.1; }
.price-num small { font-size: 15px; font-weight: 400; color: var(--ink-3); }
.price-card.featured .price-num small { color: rgba(247, 244, 236, 0.55); }
.price-feats { list-style: none; margin: 24px 0 28px; flex: 1; }
.price-feats li {
  font-size: 13.5px; color: var(--ink-2); padding: 7px 0 7px 24px; position: relative;
}
.price-card.featured .price-feats li { color: rgba(247, 244, 236, 0.85); }
.price-feats li::before {
  content: "✓"; position: absolute; left: 0; color: var(--jade); font-weight: 700;
}
.price-card.featured .price-feats li::before { color: var(--gold-light); }
.price-save {
  font-size: 12px; color: var(--cinnabar); font-weight: 600;
  background: rgba(182, 58, 42, 0.08); border-radius: 6px;
  padding: 3px 10px; display: inline-block; margin-top: 8px;
}
.price-card.featured .price-save { color: var(--gold-light); background: rgba(216, 195, 154, 0.12); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 24px 4px;
  background: none; border: none; cursor: pointer;
  font-family: var(--serif); font-size: 17.5px; font-weight: 700; color: var(--ink);
  text-align: left;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--cinnabar); }
.faq-q .ico {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease);
  font-size: 15px; color: var(--ink-3);
}
.faq-item.open .faq-q .ico {
  transform: rotate(45deg);
  background: var(--cinnabar); border-color: var(--cinnabar); color: #fff;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p {
  padding: 0 40px 26px 4px;
  font-size: 14.5px; color: var(--ink-3); line-height: 1.9;
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0;
  overflow: hidden;
}
.cta-band::before {
  content: "报表";
  position: absolute; right: -30px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif); font-size: 300px; font-weight: 900;
  color: rgba(247, 244, 236, 0.03);
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; }
.cta-band h2 {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 48px);
  font-weight: 900; margin-bottom: 18px;
}
.cta-band h2 em { color: var(--gold-light); font-style: normal; }
.cta-band p { color: rgba(247, 244, 236, 0.6); font-size: 17px; margin-bottom: 40px; }

/* ---------- 页脚 ---------- */
.footer { background: #101319; color: rgba(247, 244, 236, 0.55); padding: 72px 0 36px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(247, 244, 236, 0.08);
  margin-bottom: 32px;
}
.footer .brand { color: var(--paper); margin-bottom: 16px; }
.footer-desc { font-size: 13.5px; line-height: 1.9; max-width: 300px; }
.footer h4 {
  color: var(--paper); font-family: var(--serif); font-size: 15px;
  margin-bottom: 18px; letter-spacing: 0.05em;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 13.5px; }
.footer li a { transition: color 0.25s; }
.footer li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(247, 244, 236, 0.35);
}

/* ---------- 滚动显现（仅在 JS 启用时隐藏，无 JS 时始终可见） ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .demo { max-width: 480px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(247, 244, 236, 0.98);
    backdrop-filter: saturate(1.4) blur(16px);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    flex-direction: column; align-items: center; gap: 20px;
    padding: 96px 20px 32px;
    border-bottom: 1px solid var(--hairline);
    display: flex;
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .burger { display: flex; }
  .hero { padding-top: 130px; }
  .steps, .feat-grid, .scene-grid, .price-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .section { padding: 72px 0; }
  .demo { height: 430px; }
  .demo-statement { width: 260px; }
  .demo-report { width: 280px; }
}

/* ============ 购买弹窗 ============ */
.pay-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24, 27, 34, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pay-modal[hidden] { display: none; }
.pay-modal-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 420px;
  padding: 34px 30px 26px;
  position: relative;
}
.pay-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 22px; line-height: 1;
  color: var(--ink-3); cursor: pointer;
}
.pay-modal-close:hover { color: var(--cinnabar); }
.pay-modal-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pay-modal-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; line-height: 1.7; }
.pay-field { display: block; margin-bottom: 16px; }
.pay-field span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.pay-field input {
  width: 100%; box-sizing: border-box;
  border: 1px solid var(--hairline); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; background: var(--paper-2);
  color: var(--ink); outline: none; transition: border-color 0.2s;
}
.pay-field input:focus { border-color: var(--cinnabar); }
.pay-submit { width: 100%; }
.pay-modal-tip { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 14px; }

/* ============ 支付结果页 ============ */
.pay-result { max-width: 480px; margin: 0 auto; text-align: center; padding: 40px 0 20px; }
.pay-result .pay-status-ico { font-size: 52px; margin-bottom: 12px; }
.pay-result h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.pay-result p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.pay-result .pay-info-box {
  margin-top: 22px; padding: 18px 20px; text-align: left;
  background: var(--paper-2); border: 1px solid var(--hairline); border-radius: 12px;
  font-size: 13.5px; color: var(--ink-2); line-height: 2;
}
.pay-result .pay-info-box b { color: var(--ink); }
.pay-result .btn { margin-top: 26px; }

/* ============ 生成页邮箱解锁 ============ */
.vip-unlock {
  max-width: 560px; margin: 0 auto 28px;
  background: var(--paper-2); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 20px 24px;
}
.vip-unlock.vip-active { border-color: var(--jade); box-shadow: inset 0 0 0 1px var(--jade); }
.vip-unlock h3 { font-family: var(--serif); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.vip-unlock h3::before { content: "🔓"; margin-right: 6px; }
.vip-unlock.vip-active h3::before { content: "✅"; }
.vip-unlock p { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; line-height: 1.7; }
.vip-unlock .vip-row { display: flex; gap: 10px; }
.vip-unlock input {
  flex: 1; border: 1px solid var(--hairline); border-radius: 10px;
  padding: 11px 14px; font-size: 14px; background: var(--paper); color: var(--ink);
  outline: none;
}
.vip-unlock input:focus { border-color: var(--cinnabar); }
.vip-unlock .vip-status { font-size: 12.5px; margin-top: 10px; color: var(--ink-3); }
.vip-unlock.vip-active .vip-status { color: var(--jade); font-weight: 600; }
