/* 灵刻 营销站 · 设计系统 v2.0（Figma 源对齐版）token */
:root {
  --brand: #ED5BA1;          /* Primary-500 */
  --brand-hover: #D9488F;    /* Primary-600 */
  --brand-10: #FDECF5;       /* Primary-200 */
  --brand-05: #FEF7FB;       /* Primary-100 */
  --surface: #FFFFFF;
  --surface-sunken: #F9F9F9;
  --surface-input: #F1F1F1;
  --border-subtle: #E9E9E9;
  --ink: #191919;
  --ink-secondary: #767676;
  --ink-tertiary: #A5A5A5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── 导航 ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-sunken);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; object-fit: contain; display: block; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { padding: 10px 16px; border-radius: 999px; font-size: 15px; color: var(--ink-secondary); transition: all .15s; }
.nav-links a:hover { background: var(--surface-input); color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: var(--surface-input); color: var(--ink); }
.btn-ghost:hover { background: var(--border-subtle); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── Hero ── */
.hero { padding: 88px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.12; margin-bottom: 20px;
}
.hero h1 .accent { color: var(--brand); }
.hero .sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--ink-secondary);
  max-width: 560px; margin: 0 auto 36px;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--ink-tertiary); }

/* ── 图墙 ── */
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 40px 0 8px; align-items: start; }
.wall img { border-radius: 18px; width: 100%; object-fit: cover; }
.wall .c1 { height: 220px; } .wall .c2 { height: 300px; margin-top: -40px; }
.wall .c3 { height: 260px; } .wall .c4 { height: 320px; margin-top: -60px; }
.wall .c5 { height: 240px; } .wall .c6 { height: 290px; margin-top: -30px; }
@media (max-width: 720px) {
  .wall { grid-template-columns: repeat(3, 1fr); }
  .wall .c4, .wall .c5, .wall .c6 { display: none; }
}

/* ── 区块 ── */
section.block { padding: 84px 0; }
section.block.sunken { background: var(--surface-sunken); }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-10); color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.block h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.block .lead { font-size: 17px; color: var(--ink-secondary); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ── 卡片栅格 ── */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 880px) { .grid3, .grid4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--surface-sunken);
  border-radius: 24px; padding: 32px 28px;
}
.sunken .card { border-color: transparent; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.card .icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--brand-05);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px;
}
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-secondary); }

/* ── 步骤 ── */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  width: 40px; height: 40px; border-radius: 999px; background: var(--brand);
  color: #fff; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}

/* ── 价格表 ── */
.price-table { width: 100%; border-collapse: collapse; margin-top: 40px; background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.price-table th, .price-table td { padding: 18px 24px; text-align: left; font-size: 15px; }
.price-table th { background: var(--ink); color: #fff; font-weight: 600; }
.price-table tr:not(:last-child) td { border-bottom: 1px solid var(--surface-sunken); }
.price-table .p { font-weight: 700; color: var(--brand); }
.table-wrap { overflow-x: auto; }

/* ── 大 CTA 横幅 ── */
.banner {
  background: var(--brand); border-radius: 32px; padding: 64px 48px; text-align: center; color: #fff;
}
.banner h2 { color: #fff; }
.banner p { color: rgba(255,255,255,0.85); font-size: 16px; margin: 8px auto 32px; max-width: 520px; }
.banner .btn { background: #fff; color: var(--brand); }
.banner .btn:hover { background: var(--brand-05); }

/* ── FAQ / 文档 ── */
.faq-item { border-bottom: 1px solid var(--surface-sunken); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; font-size: 16px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--ink-tertiary); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a { padding: 0 4px 20px; font-size: 14.5px; color: var(--ink-secondary); }
.faq-item .a p + p { margin-top: 8px; }

.doc-toc { position: sticky; top: 96px; align-self: start; }
.doc-toc a { display: block; padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--ink-secondary); }
.doc-toc a:hover { background: var(--surface-input); color: var(--ink); }
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
@media (max-width: 880px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px; } }
.doc-section { scroll-margin-top: 96px; margin-bottom: 40px; }
.doc-section h2 { font-size: 22px; margin-bottom: 4px; }
.doc-section .doc-sub { font-size: 13px; color: var(--ink-tertiary); margin-bottom: 12px; }

/* ── 页脚 ── */
footer { background: var(--surface-sunken); padding: 56px 0 40px; margin-top: 84px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
footer a.f, footer p.f { display: block; font-size: 13.5px; color: var(--ink-secondary); margin-bottom: 10px; }
footer a.f:hover { color: var(--ink); }
.footer-meta { border-top: 1px solid var(--border-subtle); padding-top: 24px; font-size: 12.5px; color: var(--ink-tertiary); line-height: 2; }

/* ── 动效 ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .6s ease forwards; }
  .fade-up.d1 { animation-delay: .08s; } .fade-up.d2 { animation-delay: .16s; } .fade-up.d3 { animation-delay: .24s; }
  @keyframes fadeUp { to { opacity: 1; transform: none; } }
}
