/* ============================================================
 * 朗创 LangCreate 官网样式
 * 设计令牌与软件工作台（web/frontend/src/styles/tokens.css）一致：
 * 亮色 纸白 #f7f5f0 + 雾金 #b89a5e；暗色 近黑 #0d0e0e + 香槟金 #e6cf98
 * ============================================================ */

:root {
  --radius: 0.625rem;
  --radius-lg: 1rem;

  /* 品牌基色 */
  --brand-gold: #b89a5e;
  --brand-gold-bright: #e6cf98;

  /* 亮色（纸白 + 雾金） */
  --background: #f7f5f0;
  --foreground: #1c1812;
  --card: #fffdf9;
  --card-foreground: #1c1812;
  --primary: #b89a5e;
  --primary-hover: #a88a4f;
  --primary-foreground: #fffdf9;
  --secondary: #f0ebe0;
  --secondary-foreground: #1c1812;
  --muted: #efeae0;
  --muted-foreground: #6f6a5c;
  --accent: rgba(184, 154, 94, 0.16);
  --accent-foreground: #6b5525;
  --destructive: #d23b3b;
  --border: #e4ddcc;
  --input: #dcd4c2;
  --ring: #b89a5e;

  --success: #3a9d6e;
  --success-soft: rgba(58, 157, 110, 0.14);
  --warning: #c98a2b;
  --warning-soft: rgba(201, 138, 43, 0.14);
  --danger: #d23b3b;
  --danger-soft: rgba(210, 59, 59, 0.14);
  --info: #3a7ec9;
  --info-soft: rgba(58, 126, 201, 0.14);

  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(28, 24, 18, 0.08);

  --shadow-card: 0 1px 2px rgba(28, 24, 18, 0.05), 0 8px 24px -12px rgba(28, 24, 18, 0.12);
  --shadow-pop: 0 12px 40px -12px rgba(28, 24, 18, 0.22);
}

html.dark {
  /* 暗色（近黑底 + 香槟金） */
  --background: #0d0e0e;
  --foreground: #e9e7df;
  --card: #141516;
  --card-foreground: #e9e7df;
  --primary: #e6cf98;
  --primary-hover: #f0dcae;
  --primary-foreground: #1a160d;
  --secondary: #1c1e20;
  --secondary-foreground: #e9e7df;
  --muted: #1a1c1d;
  --muted-foreground: #9b9a90;
  --accent: rgba(230, 207, 152, 0.14);
  --accent-foreground: #f0e6c8;
  --destructive: #e57373;
  --border: rgba(255, 255, 255, 0.08);
  --input: rgba(255, 255, 255, 0.14);
  --ring: #e6cf98;

  --success: #6bd499;
  --success-soft: rgba(107, 212, 153, 0.14);
  --warning: #f1bd69;
  --warning-soft: rgba(241, 189, 105, 0.14);
  --danger: #f58f98;
  --danger-soft: rgba(245, 143, 152, 0.14);
  --info: #6db4f5;
  --info-soft: rgba(109, 180, 245, 0.14);

  --glass-bg: rgba(20, 21, 22, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-pop: 0 12px 40px -12px rgba(0, 0, 0, 0.65);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', 'Manrope', system-ui, -apple-system, 'PingFang SC',
    'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.01em; }
.section-head p { margin-top: 14px; color: var(--muted-foreground); font-size: 16px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: var(--accent-foreground);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 6px 20px -8px var(--primary); }
.btn-outline { background: transparent; border-color: var(--input); color: var(--foreground); }
.btn-outline:hover { border-color: var(--primary); color: var(--accent-foreground); background: var(--accent); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--accent); }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: calc(var(--radius) + 2px); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn svg { width: 17px; height: 17px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}
.nav { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; width: 38px; flex-shrink: 0;
}
.brand-mark img { height: 100%; width: auto; display: block; }
.auth-card .brand-mark, .soon-card .brand-mark { height: 44px; width: 46px; }
.brand small { font-weight: 400; color: var(--muted-foreground); font-size: 13px; letter-spacing: .02em; }
.nav-links { display: flex; gap: 6px; margin-left: 18px; flex: 1; }
.nav-links a {
  padding: 7px 12px; border-radius: 8px; font-size: 14.5px;
  color: var(--muted-foreground); transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--foreground); background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.theme-toggle {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 8px; border: 1px solid var(--border); background: transparent;
  color: var(--foreground);
}
.theme-toggle:hover { background: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }
.nav-burger { display: none; }

/* ============ Hero ============ */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.02em; margin-top: 22px; }
.hero .lead { margin-top: 20px; font-size: 17px; color: var(--muted-foreground); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 40px; }
.hero-stats .num { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.hero-stats .lab { font-size: 13px; color: var(--muted-foreground); margin-top: 4px; }
.hero-shot {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
  background: var(--card);
}
.hero-shot img { width: 100%; height: auto; }
.hero-shot-caption {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-size: 13px; color: var(--muted-foreground);
  border-top: 1px solid var(--border); background: var(--card);
}
.hero-shot-caption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* 平台条 */
.platform-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--muted); }
.platform-bar .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.platform-bar .p-label { font-size: 13px; color: var(--muted-foreground); flex-shrink: 0; }
.platform-list { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 500;
}
.platform-chip svg { width: 15px; height: 15px; color: var(--primary); }

/* ============ Workflow（五层链路） ============ */
.workflow { background: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-step {
  position: relative;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  box-shadow: var(--shadow-card);
}
.flow-step .idx {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--accent); color: var(--accent-foreground);
  font-weight: 700; font-size: 16px; margin-bottom: 14px;
}
.flow-step h3 { font-size: 17px; }
.flow-step p { margin-top: 8px; font-size: 13.5px; color: var(--muted-foreground); line-height: 1.6; }
.flow-step .mode { margin-top: 12px; display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.mode-auto { background: var(--success-soft); color: var(--success); }
.mode-human { background: var(--warning-soft); color: var(--warning); }
.flow-arrow { display: none; }

/* ============ Feature 区块（图文交替） ============ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-shot { order: 1; }
.feature-shot { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-pop); background: var(--card); }
.feature-shot img { width: 100%; height: auto; }
.feature-tag { font-size: 13px; font-weight: 700; color: var(--accent-foreground); letter-spacing: .08em; text-transform: uppercase; }
.feature-text h3 { font-size: clamp(23px, 2.8vw, 30px); margin-top: 12px; letter-spacing: -0.01em; }
.feature-text > p { margin-top: 14px; color: var(--muted-foreground); font-size: 15.5px; }
.feature-list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.feature-list .tick {
  flex-shrink: 0; margin-top: 2px;
  display: grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--success-soft); color: var(--success);
}
.feature-list .tick svg { width: 12px; height: 12px; }

/* ============ 能力卡片矩阵 ============ */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); border-color: var(--input); }
.cap-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--accent-foreground); margin-bottom: 16px;
}
.cap-icon svg { width: 22px; height: 22px; }
.cap-card h3 { font-size: 17px; }
.cap-card p { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }

/* ============ 理念横幅（水彩海报） ============ */
.poster-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.poster-band img { width: 100%; height: clamp(280px, 42vw, 460px); object-fit: cover; object-position: center 30%; }
.poster-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247,245,240,.94) 0%, rgba(247,245,240,.72) 38%, rgba(247,245,240,0) 72%);
}
html.dark .poster-band::after {
  background: linear-gradient(90deg, rgba(13,14,14,.94) 0%, rgba(13,14,14,.7) 38%, rgba(13,14,14,0) 72%);
}
.poster-content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px; max-width: 62%; }
.poster-content h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.01em; }
.poster-content p { margin-top: 14px; color: var(--muted-foreground); font-size: 15.5px; max-width: 480px; }
.poster-content .btn { margin-top: 26px; align-self: flex-start; }

/* ============ Pricing ============ */
.pricing { background: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.price-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); margin-bottom: 40px; }
.price-toggle button {
  border: 0; background: transparent; padding: 8px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted-foreground);
}
.price-toggle button.on { background: var(--primary); color: var(--primary-foreground); }
.price-note { font-size: 12.5px; color: var(--muted-foreground); margin-top: -22px; margin-bottom: 30px; text-align: center; }
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 20px; display: flex; flex-direction: column;
}
.price-card.hot { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-pop); position: relative; }
.price-hot-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--primary-foreground);
  font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 16px; }
.price-amount { margin-top: 12px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.price-amount small { font-size: 13px; font-weight: 400; color: var(--muted-foreground); }
.price-quota { margin-top: 10px; font-size: 12.5px; color: var(--muted-foreground); display: flex; flex-direction: column; gap: 3px; }
.price-feats { margin: 16px 0 20px; padding: 14px 0 0; border-top: 1px solid var(--border); list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--muted-foreground); flex: 1; }
.price-feats li { display: flex; gap: 8px; align-items: flex-start; }
.price-feats .tick { color: var(--success); flex-shrink: 0; margin-top: 1px; }
.price-feats .tick svg { width: 13px; height: 13px; }
.price-foot-note { text-align: center; margin-top: 28px; font-size: 13.5px; color: var(--muted-foreground); }

/* ============ Download CTA ============ */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.dl-card .dl-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; align-self: flex-start; }
.badge-live { background: var(--success-soft); color: var(--success); }
.badge-soon { background: var(--warning-soft); color: var(--warning); }
.badge-oss { background: var(--info-soft); color: var(--info); }
.dl-card h3 { font-size: 19px; margin-top: 16px; }
.dl-card p { margin-top: 10px; font-size: 14px; color: var(--muted-foreground); flex: 1; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.dl-meta span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--muted); color: var(--muted-foreground); }
.dl-card .btn { margin-top: 6px; }
.dl-card .btn + .btn { margin-top: 10px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 15.5px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex-shrink: 0; transition: transform .2s; color: var(--muted-foreground); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted-foreground); line-height: 1.75; }
.faq-item .faq-a p + p { margin-top: 10px; }
.faq-item .faq-a code { background: var(--muted); border-radius: 5px; padding: 2px 7px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ============ 最终 CTA ============ */
.final-cta { text-align: center; }
.final-cta .card-inner {
  background: linear-gradient(135deg, var(--accent) 0%, transparent 70%), var(--card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 64px 32px; box-shadow: var(--shadow-card);
}
.final-cta h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.01em; }
.final-cta p { margin: 16px auto 0; max-width: 520px; color: var(--muted-foreground); }
.final-cta .hero-cta { justify-content: center; margin-top: 30px; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); background: var(--muted); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: var(--muted-foreground); max-width: 300px; }
.footer-col h4 { font-size: 13.5px; margin-bottom: 14px; letter-spacing: .04em; }
.footer-col a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--muted-foreground); }
.footer-col a:hover { color: var(--foreground); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted-foreground);
}
.footer-bottom .icp { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom .icp a:hover { color: var(--foreground); }

/* ============ Auth 页（登录/注册，对齐软件 AuthShell） ============ */
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 34px;
  box-shadow: var(--shadow-pop);
}
.auth-card .brand { justify-content: center; }
.auth-card h1 { font-size: 22px; margin-top: 22px; text-align: center; }
.auth-sub { text-align: center; font-size: 14px; color: var(--muted-foreground); margin-top: 8px; }
.auth-form { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field input {
  height: 44px; padding: 0 14px; border-radius: var(--radius);
  border: 1px solid var(--input); background: var(--background);
  color: var(--foreground); font-size: 15px; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .err { font-size: 12.5px; color: var(--danger); min-height: 0; }
.form-alert { border-radius: var(--radius); padding: 11px 14px; font-size: 13.5px; line-height: 1.6; }
.form-alert.error { background: var(--danger-soft); color: var(--danger); }
.form-alert.info { background: var(--info-soft); color: var(--info); }
.form-alert.success { background: var(--success-soft); color: var(--success); }
.auth-footer { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; text-align: center; font-size: 13.5px; }
.auth-footer a { color: var(--accent-foreground); font-weight: 600; }
.auth-footer .muted { color: var(--muted-foreground); font-weight: 400; }
.auth-back { position: absolute; top: 22px; left: 24px; }
.auth-wrap { position: relative; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ 下载页 ============ */
.page-hero { text-align: center; padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.02em; margin-top: 18px; }
.page-hero p { max-width: 620px; margin: 16px auto 0; color: var(--muted-foreground); font-size: 16px; }
.code-block {
  background: #141516; color: #e9e7df; border-radius: var(--radius);
  padding: 18px 20px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px; line-height: 1.8; overflow-x: auto; position: relative; margin: 16px 0;
}
.code-block .cmt { color: #8f8d82; }
.code-block .prompt { color: var(--brand-gold-bright); user-select: none; }
.req-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.req-table th, .req-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.req-table th { background: var(--muted); font-weight: 600; width: 26%; }
.req-table tr:last-child td, .req-table tr:last-child th { border-bottom: 0; }
.subhead { font-size: 22px; font-weight: 700; margin: 56px 0 8px; }
.sublead { color: var(--muted-foreground); font-size: 14.5px; margin-bottom: 24px; }

/* 内测占位页 */
.soon-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.soon-card { max-width: 520px; }
.soon-card .brand { justify-content: center; }
.soon-card h1 { font-size: 26px; margin-top: 26px; }
.soon-card p { color: var(--muted-foreground); margin-top: 14px; font-size: 15px; }
.soon-card .hero-cta { justify-content: center; }

/* ============ Toast ============ */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: var(--foreground); color: var(--background);
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100;
  box-shadow: var(--shadow-pop); max-width: calc(100vw - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 滚动揭示 ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card:nth-child(n+4) { max-width: 340px; }
  .price-grid { justify-items: stretch; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-shot { order: -1; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-shot { order: 2; }
  .dl-grid { grid-template-columns: 1fr; }
  .poster-content { max-width: 86%; padding: 32px; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 40;
    flex-direction: column; gap: 4px; margin: 0; padding: 14px 20px 20px;
    background: var(--glass-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-burger {
    display: grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--foreground);
  }
  .nav-burger svg { width: 19px; height: 19px; }
  .nav-burger .i-close { display: none; }
  .nav-burger.open .i-close { display: block; }
  .nav-burger.open .i-menu { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .flow-steps { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { max-width: 420px; width: 100%; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { gap: 24px; }
  .nav-actions .btn-ghost:not(.theme-toggle) { display: none; }
  .poster-content { max-width: 100%; }
  .poster-band::after { background: linear-gradient(0deg, rgba(247,245,240,.96) 0%, rgba(247,245,240,.55) 55%, rgba(247,245,240,.15) 100%); }
  html.dark .poster-band::after { background: linear-gradient(0deg, rgba(13,14,14,.96) 0%, rgba(13,14,14,.55) 55%, rgba(13,14,14,.15) 100%); }
  .poster-content { justify-content: flex-end; padding: 26px; }
}
