/* 白墨 · 企业 AI 落地 —— 配色沿用 FDE 5.2.1 课件 */
:root {
  --bg: #07120e;
  --bg-2: #0b1913;
  --panel: #0e2119;
  --line: #294638;
  --text: #f1f7f2;
  --muted: #9cb0a4;
  --lime: #a7ff63;
  --cyan: #55e5d4;
  --paper: #f3f2ee;
  --ink: #121a15;
  --ink-muted: #5d6a62;
  --ink-line: #d9ddd6;
  --green: #3fae3a;
  --green-d: #2c8a29;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --num: "Inter", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
section { padding: 112px 0; position: relative; }
.dark { background: var(--bg); color: var(--text); }
.light { background: var(--paper); color: var(--ink); }

/* 文字 */
.eyebrow { font-size: 14px; letter-spacing: .18em; color: var(--lime); margin-bottom: 18px; }
.light .eyebrow { color: var(--green-d); }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(40px, 7vw, 76px); margin-bottom: 24px; }
h1 em { font-style: normal; color: var(--lime); }
h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 24px; }
h3 { font-size: 20px; line-height: 1.4; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 680px; margin-bottom: 20px; }
.body { font-size: 17px; margin-bottom: 16px; max-width: 760px; }
.light .body { color: #2c3630; }
.muted, .light .muted { color: var(--muted); }
.light .muted { color: var(--ink-muted); }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }
.light .note { color: var(--ink-muted); }
.sub-h { margin: 56px 0 20px; font-size: 20px; color: var(--lime); }
.light .sub-h { color: var(--green-d); }

/* 按钮 */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--lime); color: var(--bg); font-weight: 600; text-decoration: none; border: 0; font-size: 16px; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(167, 255, 99, .25); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--lime); box-shadow: none; }
.light .btn { background: var(--green-d); color: #fff; }

/* 导航 */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px 24px; background: rgba(7, 18, 14, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(41, 70, 56, .6); }
.brand { font-family: var(--serif); font-weight: 700; font-size: 18px; text-decoration: none; color: var(--text); }
.brand span { color: var(--muted); font-weight: 400; font-size: 15px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.links a:hover { color: var(--lime); }

/* 首屏 */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 72px; overflow: hidden; background: radial-gradient(circle at 75% 25%, #0e2119 0, var(--bg) 60%); }
#flow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-inner { position: relative; z-index: 1; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 64px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 880px; border-top: 1px solid var(--line); padding-top: 28px; }
.stats b { display: block; font-family: var(--num); font-size: clamp(26px, 3.4vw, 38px); color: var(--lime); line-height: 1.2; }
.stats span { font-size: 14px; color: var(--muted); }

/* 网格与卡片 */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(167, 255, 99, .5); transform: translateY(-2px); }
.card .num { font-family: var(--num); font-size: 14px; color: var(--cyan); letter-spacing: .1em; }
.card h3 { margin: 14px 0 6px; }
.card p { font-size: 15px; color: var(--muted); }
.card .tag { font-size: 13px; color: var(--lime); margin-bottom: 12px; }

/* 关于 */
.about { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.photo, .qr { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 2px dashed var(--ink-line); background: repeating-linear-gradient(45deg, #ecebe6, #ecebe6 12px, #f3f2ee 12px, #f3f2ee 24px); display: flex; align-items: center; justify-content: center; color: var(--ink-muted); font-size: 15px; }
.roles { color: var(--green-d); margin: -8px 0 32px; font-size: 16px; }
.timeline { list-style: none; border-left: 2px solid var(--ink-line); padding-left: 24px; margin-bottom: 28px; }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--paper); }
.timeline b { font-family: var(--num); color: var(--green-d); }
.timeline p { color: #2c3630; }

/* 案例 */
.case .thought { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(156, 176, 164, .5); }
.case .real { color: var(--text); font-size: 17px; font-weight: 600; margin: 6px 0 20px; }
.case .result { border-top: 1px solid var(--line); padding-top: 16px; }
.case .result b { display: block; font-family: var(--num); font-size: 30px; color: var(--lime); line-height: 1.2; margin-bottom: 4px; }
.cta-card { background: linear-gradient(160deg, #132a20, var(--panel)); display: flex; flex-direction: column; }
.cta-card .btn { margin-top: auto; align-self: flex-start; }
.cta-card p:not(.tag):not(.real) { margin-bottom: 20px; }

/* 反馈 */
.quotes { margin: 40px 0 32px; }
blockquote { font-family: var(--serif); font-size: 20px; line-height: 1.6; background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 28px; color: var(--ink); }
.stories { list-style: none; display: grid; gap: 10px; }
.stories li { padding-left: 22px; position: relative; color: #2c3630; }
.stories li::before { content: "→"; position: absolute; left: 0; color: var(--green); }

/* 实战营 */
.steps .step, .days > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg-2); }
.steps b { font-size: 18px; color: var(--lime); }
.steps p, .days p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.standard { margin-top: 20px; font-family: var(--serif); font-size: 20px; color: var(--cyan); }
.days span { font-family: var(--num); font-size: 13px; color: var(--cyan); }
.days b { display: block; font-size: 20px; margin-top: 4px; }
.list { list-style: none; display: grid; gap: 10px; }
.list li { padding-left: 22px; position: relative; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
.price-box { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; border: 1px solid var(--lime); border-radius: var(--radius); overflow: hidden; }
.price-box > div { padding: 26px 24px; border-right: 1px solid var(--line); }
.price-box > div:last-child { border-right: 0; }
.price-box span { display: block; font-size: 13px; color: var(--muted); }
.price-box b { font-family: var(--num); font-size: 30px; color: var(--lime); }
.price-box small { color: var(--muted); margin-left: 4px; }
.price-box .next { background: rgba(167, 255, 99, .08); }
.price-box .next b { font-family: var(--sans); font-size: 20px; display: block; margin: 4px 0; color: var(--text); }
.price-box .next small { margin: 0; }

/* 产品 */
.tier { margin-top: 48px; }
.tier-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-line); }
.tier-head b { font-family: var(--serif); font-size: 32px; color: var(--green-d); }
.tier-head span { color: var(--ink-muted); }
.product { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.product h4 { font-size: 18px; margin-bottom: 8px; }
.product p { font-size: 15px; color: var(--ink-muted); margin-bottom: 16px; }
.product b { margin-top: auto; font-family: var(--num); font-size: 15px; color: var(--green-d); line-height: 1.7; }
.table-wrap { overflow-x: auto; border: 1px solid var(--ink-line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--ink-line); vertical-align: top; }
thead th { background: #e8ebe5; color: var(--ink); }
tbody th { color: var(--green-d); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; font-weight: 600; }

/* 问答 */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; color: var(--lime); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; }

/* 联系 */
.contact { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: center; }
.wechat { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 20px; max-width: 520px; }
.wechat span { color: var(--ink-muted); font-size: 14px; }
.wechat b { font-family: var(--num); font-size: 26px; color: var(--ink); }
.wechat .btn { margin-left: auto; }
.qr { aspect-ratio: 1; }

.footer { padding: 40px 24px 96px; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* 手机底部悬浮按钮 */
.float-cta { display: none; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--lime); color: var(--bg); padding: 10px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 40; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 进场动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .price-box { grid-template-columns: repeat(3, 1fr); }
  .price-box .next { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .about { grid-template-columns: 240px 1fr; gap: 40px; }
  .links { display: none; }
  .nav .btn { margin-left: auto; }
}

@media (max-width: 640px) {
  section { padding: 80px 0; }
  .wrap { padding: 0 20px; }
  h2 br { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .photo { max-width: 240px; }
  .qr { max-width: 220px; }
  .price-box { grid-template-columns: 1fr; }
  .price-box > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-box .next { border-top: 0; }
  .brand span { display: none; }
  .wechat .btn { margin-left: 0; }
  .float-cta { display: block; position: fixed; left: 20px; right: 20px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; text-align: center; padding: 14px; border-radius: 999px; background: var(--lime); color: var(--bg); font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: opacity .2s; }
  .float-cta.hide { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
