/* ==========================================================================
   YaoAI 官网样式表
   设计方向：深空科技底 + 玻璃卡片 + 真实截图做证据。
   颜色约定：品牌橙只用于强调（按钮、重点数字、图标、链接），青绿与蓝紫做辅助科技色。
   结构顺序：令牌 → 基础元素 → 通用组件 → 导航页脚 → 首页 → 产品页 → 价格页
            → 下载页 → 认证页 → 文档与政策 → 用户中心 → 管理后台 → 响应式
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  color-scheme: dark;
  --bg: #05070e;
  --bg-2: #080c18;
  --solid: #0c1120;
  --panel: rgba(255, 255, 255, .038);
  --panel-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef1f8;
  --muted: #98a2b8;
  --dim: #6b7488;
  --brand: #ff7a45;
  --brand-2: #ff5f16;
  --brand-soft: #ffb98c;
  --cyan: #48e0c4;
  --violet: #8b93ff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --font: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  font-family: var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background:
    radial-gradient(1180px 660px at 10% -12%, rgba(255, 122, 69, .17), transparent 62%),
    radial-gradient(980px 600px at 92% -4%, rgba(72, 224, 196, .10), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(139, 147, 255, .09), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-size: 16px;
  line-height: 1.72;
}
/* 细网格：给"科技感"一个稳定的底纹，透明度压得很低，不抢内容。 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1200px 700px at 50% 0%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(1200px 700px at 50% 0%, #000 12%, transparent 78%);
}
header, main, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .45; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; color: var(--text); }
h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 680; letter-spacing: -.045em; }
h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 650; letter-spacing: -.035em; }
h3 { font-size: 20px; font-weight: 620; letter-spacing: -.02em; }
h4 { font-size: 16px; font-weight: 640; }
p { color: var(--muted); }
small { font-size: 13px; color: var(--muted); }
img { max-width: 100%; }
code, pre { font-family: var(--mono); }
hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- 2. 通用组件 ---------- */
.wrap { width: min(1240px, calc(100% - 64px)); margin: auto; }
.section { padding: 108px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 52px; }
.section-head > p { max-width: 440px; }
.center { text-align: center; }
.center > p { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--mono);
  color: var(--brand);
  font-size: 11.5px;
  letter-spacing: .19em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.subtle { color: var(--dim); font-size: 13px; }
.accent { color: var(--brand); }
.muted { color: var(--muted); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  backdrop-filter: blur(10px);
}
.button .icon { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.button.primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-color: transparent;
  color: #1a0e07;
  box-shadow: 0 12px 34px rgba(255, 95, 22, .34);
}
.button.primary:hover { box-shadow: 0 18px 44px rgba(255, 95, 22, .46); background: linear-gradient(135deg, #ff8a58, #ff6a24); }
.button.small { padding: 9px 16px; font-size: 13px; }
.button.danger { border-color: rgba(255, 107, 95, .4); color: #ffb3a8; background: rgba(255, 107, 95, .1); }
.button.danger:hover { background: rgba(255, 107, 95, .18); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
  color: var(--brand-soft);
  border-bottom: 1px solid rgba(255, 122, 69, .35);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--brand); border-bottom-color: var(--brand); }
.text-link .icon { width: 15px; height: 15px; }

.actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 122, 69, .28);
  background: linear-gradient(145deg, rgba(255, 122, 69, .18), rgba(255, 122, 69, .04));
  color: var(--brand);
}
.icon-box .icon { width: 22px; height: 22px; }

.notice {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
}
.panel h3 { margin-bottom: 10px; }
.empty, .loading { padding: 34px; text-align: center; color: var(--dim); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); }
.page-top { padding: 78px 0 46px; }
.page-top h1 { max-width: 820px; }
.page-top > p { margin-top: 20px; max-width: 640px; font-size: 17px; }

.feature-list { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.feature-list .icon { width: 17px; height: 17px; color: var(--cyan); margin-top: 4px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
td { color: var(--muted); }

label { display: block; margin: 18px 0 7px; font-size: 13.5px; font-weight: 600; color: var(--text); }
input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: rgba(4, 6, 12, .7);
  color: var(--text);
  font-size: 14.5px;
}
input::placeholder, textarea::placeholder { color: #4d5666; }
input:focus, select:focus, textarea:focus { border-color: rgba(255, 122, 69, .6); outline: none; box-shadow: 0 0 0 3px rgba(255, 122, 69, .16); }

.prose { max-width: 800px; }
.prose h2 { margin: 42px 0 14px; font-size: 25px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); line-height: 1.82; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 9px; }
.prose a { color: var(--brand-soft); border-bottom: 1px solid rgba(255, 122, 69, .3); }
.prose pre {
  margin: 16px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(3, 5, 10, .82);
  color: #cfd8ea;
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
}

/* 滚动出现：默认可见，只在支持动效时隐藏，避免禁 JS 时整页空白。 */
.reveal { opacity: 1; }
.motion-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.motion-ready .reveal.visible { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 18px;
  background: var(--brand);
  color: #1a0e07;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

#toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 24px);
  padding: 13px 22px;
  max-width: min(560px, calc(100% - 40px));
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(12, 17, 32, .96);
  color: var(--text);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 60;
  box-shadow: var(--shadow);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

#secret-dialog {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--solid);
  color: var(--text);
  padding: 30px;
  width: min(560px, calc(100% - 40px));
  box-shadow: var(--shadow);
}
#secret-dialog::backdrop { background: rgba(3, 5, 10, .76); backdrop-filter: blur(4px); }
#secret-dialog h2 { font-size: 22px; margin-bottom: 10px; }
#secret-dialog p { margin-bottom: 16px; }
#secret-value {
  display: block;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(3, 5, 10, .8);
  color: var(--cyan);
  font-size: 13px;
  word-break: break-all;
}
.dialog-close { position: absolute; top: 12px; right: 16px; font-size: 22px; color: var(--dim); }
.dialog-close:hover { color: var(--text); }
#secret-dialog { position: fixed; }

/* ---------- 3. 导航与页脚 ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 15, .72);
  backdrop-filter: blur(18px);
}
header { position: sticky; top: 0; z-index: 40; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.brand img { width: 30px; height: 30px; }
.brand span { color: var(--brand); }
.nav-links { display: flex; gap: 26px; margin-left: 14px; flex: 1; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .18s ease; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--mono);
}
.language .icon { width: 15px; height: 15px; }
.language:hover { color: var(--text); border-color: var(--line-2); }
.nav-login { font-size: 14px; color: var(--muted); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-login:hover { color: var(--text); }
.menu-toggle { display: none; padding: 6px; color: var(--muted); }

footer { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(5, 7, 14, .8); padding: 74px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 60px; padding-bottom: 52px; }
.footer-brand p { margin-top: 16px; max-width: 330px; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links strong { display: block; font-size: 12.5px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 11px; }
.footer-links a:hover { color: var(--brand-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }

/* ---------- 4. 首页 ---------- */
.hero { padding: 92px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, 1.02fr); gap: 66px; align-items: center; }
.hero-copy h1 { max-width: 12em; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(100deg, var(--brand) 8%, var(--brand-soft) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 26px 0 32px; max-width: 540px; font-size: 17.5px; line-height: 1.78; }
.hero-facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero-facts .icon { width: 16px; height: 16px; color: var(--cyan); }
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -18% -10% -14%;
  background:
    radial-gradient(420px 320px at 72% 18%, rgba(255, 122, 69, .30), transparent 66%),
    radial-gradient(360px 300px at 22% 82%, rgba(72, 224, 196, .18), transparent 68%);
  filter: blur(6px);
  z-index: 0;
}
.hero-visual > * { position: relative; z-index: 1; }
.hero-visual .real-screenshot { transform: rotate(-1.1deg); }

/* 真实截图统一做成"窗口"：只有真实界面，没有 AI 生成图。 */
.real-screenshot {
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  background: var(--solid);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6);
}
.real-screenshot img { display: block; width: 100%; height: auto; }
.shot-window { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid var(--line); }
.shot-window span { width: 9px; height: 9px; border-radius: 50%; background: #ff6a5e; }
.shot-window span:nth-child(2) { background: #f7c45b; }
.shot-window span:nth-child(3) { background: #5ed49b; }
.real-screenshot figcaption { padding: 12px 16px; background: rgba(255, 255, 255, .02); color: var(--dim); font-size: 12.5px; line-height: 1.6; }
.floating-note {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(12, 17, 32, .94);
  backdrop-filter: blur(12px);
  font-size: 13px;
  color: var(--text);
  box-shadow: var(--shadow);
}
.floating-note .icon { width: 18px; height: 18px; color: var(--cyan); }

/* 三个真实场景 */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.job:hover { transform: translateY(-4px); border-color: rgba(255, 122, 69, .34); background: var(--panel-2); }
.job-step { font-family: var(--mono); font-size: 12px; color: var(--brand); letter-spacing: .12em; }
.job h3 { margin: 16px 0 11px; font-size: 19px; }
.job p { font-size: 14.5px; line-height: 1.75; }
.job-quote {
  margin-top: 20px;
  padding: 13px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border-left: 2px solid var(--cyan);
  font-size: 13px;
  color: #cbd4e4;
  line-height: 1.65;
}

/* 截图对照区 */
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.shot-feature .real-screenshot { max-height: 620px; overflow: hidden; }
.shot-copy { padding: 22px 2px 0; }
.shot-copy h3 { font-size: 20px; }
.shot-copy p { margin-top: 10px; font-size: 14.5px; line-height: 1.72; }

/* 能力网格 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(72, 224, 196, .32); box-shadow: 0 22px 50px rgba(0, 0, 0, .4); }
.feature-card h3 { margin: 22px 0 10px; font-size: 18.5px; }
.feature-card p { font-size: 14.5px; line-height: 1.72; }
.feature-card small { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.style-sample { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.style-sample span { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }

/* 操作演示 */
.demo-section { padding: 108px 0; }
.demo-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 34px; }
.demo-tabs button {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  background: var(--panel);
}
.demo-tabs button.active { color: #1a0e07; background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; font-weight: 650; }
.workspace {
  display: grid;
  grid-template-columns: 195px 1fr 320px;
  margin-top: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--solid);
  box-shadow: var(--shadow);
}
.workspace-sidebar { padding: 20px 14px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .022); }
.workspace-sidebar .brand { margin-bottom: 20px; padding-left: 8px; font-size: 15px; }
.workspace-sidebar .brand img { width: 24px; height: 24px; }
.sidebar-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13px; color: var(--muted); }
.sidebar-item.active { background: var(--panel-2); color: var(--text); }
.sidebar-item .icon { width: 16px; height: 16px; }
.workspace-center { padding: 26px 28px; }
.workspace-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.mail-subject { font-size: 20px; margin-bottom: 6px; }
.mail-meta { font-size: 12.5px; color: var(--dim); margin-bottom: 20px; }
.mail-content p { margin-bottom: 12px; font-size: 14.5px; color: #c6cfe0; }
.attachment { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.attachment .icon { width: 15px; height: 15px; }
.translation { margin-top: 20px; padding: 14px 16px; border-left: 2px solid var(--cyan); background: rgba(72, 224, 196, .07); border-radius: 0 10px 10px 0; color: #c9f3ea; font-size: 14px; }
.ai-panel { padding: 24px; border-left: 1px solid var(--line); background: rgba(255, 122, 69, .045); }
.ai-panel h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.ai-panel h4 .icon { width: 17px; height: 17px; color: var(--brand); }
.prompt { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(4, 6, 12, .6); font-size: 13.5px; color: #cbd4e4; }
.ai-reference { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 12.5px; color: var(--dim); }
.ai-reference .icon { width: 15px; height: 15px; color: var(--cyan); }
.draft { min-height: 78px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.draft.playing { border-style: solid; border-color: rgba(72, 224, 196, .4); background: rgba(72, 224, 196, .06); color: #d5f2ec; }
.demo-play { width: 100%; margin-top: 16px; }
.demo-disclaimer { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--dim); }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.step { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step > span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: rgba(255, 122, 69, .16); border: 1px solid rgba(255, 122, 69, .34); color: var(--brand); font-family: var(--mono); font-size: 12.5px; font-weight: 700; }
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.7; }

/* 控制权条 */
.privacy-strip { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; margin-top: 96px; padding-top: 74px; border-top: 1px solid var(--line); }
.privacy-points { display: grid; gap: 16px; }
.privacy-point { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.privacy-point > .icon { width: 22px; height: 22px; color: var(--cyan); margin-top: 3px; }
.privacy-point h3 { font-size: 16.5px; margin-bottom: 7px; }
.privacy-point p { font-size: 13.5px; line-height: 1.7; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 44px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); padding: 0 22px; }
.faq details[open] { border-color: rgba(255, 122, 69, .3); background: var(--panel-2); }
.faq summary { padding: 18px 0; cursor: pointer; font-size: 15.5px; font-weight: 600; color: var(--text); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; font-size: 14.5px; line-height: 1.78; }

/* 结尾行动区 */
.cta {
  position: relative;
  overflow: hidden;
  padding: 74px 60px;
  border: 1px solid rgba(255, 122, 69, .28);
  border-radius: 26px;
  background:
    radial-gradient(620px 300px at 88% 0%, rgba(255, 122, 69, .24), transparent 66%),
    radial-gradient(560px 320px at 6% 100%, rgba(72, 224, 196, .14), transparent 66%),
    rgba(12, 17, 32, .92);
  text-align: center;
}
.cta h2 { max-width: 15em; margin: 0 auto; }
.cta > p { margin: 20px auto 32px; max-width: 560px; }
.cta .actions { justify-content: center; }

/* ---------- 5. 产品页 ---------- */
.product-hero { padding: 84px 0 88px; }
.product-hero .hero-grid { align-items: center; }
.product-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transition: transform .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 69, .34); }
.product-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.product-card h3 { font-size: 24px; margin-bottom: 12px; }
.product-card > p, .product-card > .muted { font-size: 15px; line-height: 1.75; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.product-micro { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.product-micro span { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--dim); }
.product-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .22s ease, border-color .22s ease;
}
.product-feature-grid article:hover { transform: translateY(-4px); border-color: rgba(72, 224, 196, .3); }
.product-feature-grid h3 { margin: 22px 0 10px; font-size: 18px; }
.product-feature-grid p { font-size: 14.5px; line-height: 1.72; }
.product-feature-grid small { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.version { margin-top: 14px; font-size: 12.5px; font-family: var(--mono); color: var(--dim); }
.download-card { display: flex; flex-direction: column; }
.download-card .button { margin-top: auto; }

/* 产品页：竞品对照与适用边界 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare > div { padding: 32px; }
.compare > div:first-child { border-right: 1px solid var(--line); background: rgba(255, 255, 255, .022); }
.compare h3 { font-size: 18px; margin-bottom: 16px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.compare li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.compare li .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--dim); }
.compare .better li .icon { color: var(--cyan); }

.limit-list { display: grid; gap: 14px; }
.limit-list p { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.72; }
.limit-list .icon { width: 18px; height: 18px; color: var(--cyan); margin-top: 4px; }

/* ---------- 6. 价格页 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 20px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}
.price-card.featured { border-color: rgba(255, 122, 69, .48); box-shadow: 0 26px 66px rgba(255, 95, 22, .16); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1a0e07;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
}
.price-card h3 { font-size: 19px; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 3px; margin: 18px 0 6px; font-size: 42px; font-weight: 680; letter-spacing: -.04em; }
.price sup { font-size: 20px; font-weight: 600; color: var(--muted); }
.price span { font-size: 13px; font-weight: 500; color: var(--dim); }
.price-note { font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.price-card .feature-list { flex: 1; }
.price-card .button { width: 100%; margin-top: 8px; }

.balance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.balance-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.balance-card h3 { font-size: 13px; color: var(--muted); font-weight: 550; margin-bottom: 10px; }
.balance-card strong { display: block; font-size: 30px; font-weight: 680; letter-spacing: -.03em; }
.balance-card small { font-size: 12px; color: var(--dim); }

/* ---------- 7. 认证页 ---------- */
.auth-layout { display: grid; grid-template-columns: 1fr 430px; gap: 70px; align-items: center; padding: 84px 0 96px; }
.auth-intro h1 { font-size: clamp(34px, 4vw, 52px); }
.auth-intro > p { margin-top: 20px; font-size: 16.5px; max-width: 460px; }
.auth-points { display: grid; gap: 12px; margin-top: 34px; }
.auth-points span { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); }
.auth-points .icon { width: 18px; height: 18px; color: var(--brand); }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--solid); box-shadow: var(--shadow); }
.form-card h2 { font-size: 24px; }
.form-card > p { margin-top: 9px; font-size: 14px; }
.form-card .notice { margin-bottom: 22px; font-size: 13px; }
.form-card .button { width: 100%; margin-top: 24px; }
.form-error { min-height: 0; margin-top: 12px; color: #ffab9d; font-size: 13.5px; }
.form-legal { margin-top: 16px; font-size: 12.5px; line-height: 1.7; color: var(--dim); }
.form-legal a { color: var(--brand-soft); }
.form-footer { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.form-footer a { color: var(--brand-soft); }
.inline-form { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.inline-form > div { flex: 1; min-width: 180px; }

/* ---------- 8. 文档与政策 ---------- */
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 60px; align-items: start; padding-bottom: 100px; }
.docs-nav { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 11px; }
.docs-nav a { font-size: 13.5px; color: var(--muted); }
.docs-nav a:hover { color: var(--brand-soft); }
.legal-hero { padding-bottom: 30px; }
.policy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 66px; align-items: start; padding-bottom: 100px; }
.policy-side { position: sticky; top: 108px; }
.policy-meta { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; }
.policy-meta > div { padding: 15px 17px; border-bottom: 1px solid var(--line); }
.policy-meta > div:last-child { border-bottom: 0; }
.policy-meta span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.policy-meta strong { display: block; margin-top: 5px; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.policy-meta a { color: var(--brand-soft); }
.policy-side nav { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; padding-left: 6px; }
.policy-side nav a { font-size: 12.5px; color: var(--dim); }
.policy-side nav a:hover { color: var(--brand-soft); }
.policy-body { max-width: 800px; }
.policy-body section { padding: 6px 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 108px; }
.policy-body h2 { font-size: 23px; margin-top: 14px; }
.policy-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; font-size: 13px; }
.policy-links a { color: var(--brand-soft); }

/* ---------- 9. 用户中心 ---------- */
.dashboard { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 46px; padding: 56px 0 100px; align-items: start; }
.dash-nav { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 5px; }
.dash-nav button { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px; font-size: 14px; color: var(--muted); text-align: left; }
.dash-nav button:hover { background: var(--panel); color: var(--text); }
.dash-nav button.active { background: var(--panel-2); color: var(--text); }
.dash-nav .icon { width: 17px; height: 17px; }
.dash-content h1 { font-size: 30px; letter-spacing: -.03em; }
.dash-content > p { margin-top: 10px; }
.dash-content .panel, .dash-content .balance-grid, .dash-content .notice { margin-top: 24px; }
.dash-content .actions { margin-top: 26px; }
.license-row, .key-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.license-row:last-child, .key-row:last-child { border-bottom: 0; }
.license-row h3 { font-size: 15.5px; }
.license-row p, .key-row p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 10. 管理后台 ---------- */
.admin-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-search { display: flex; gap: 10px; max-width: 560px; margin: 22px 0; }
.admin-search input { margin: 0; }
.admin-search .button { flex: 0 0 auto; }
.admin-table td { white-space: normal; }
.admin-error { color: #ffab9d; border-color: rgba(255, 107, 95, .4); }
.admin-revenue { margin-top: 10px; font-size: 18px; color: var(--text); }
.admin-device { display: block; margin: 3px 0; }
.admin-device .text-link { padding: 0; font-size: 12px; }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1180px) {
  .workspace { grid-template-columns: 170px 1fr 290px; }
  .hero-grid { gap: 46px; }
}

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 44px); }
  .section { padding: 86px 0; }
  .hero-grid, .product-hero .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { max-width: 640px; }
  .job-grid, .feature-grid, .product-feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { gap: 26px; }
  .privacy-strip { grid-template-columns: 1fr; gap: 34px; }
  .auth-layout { grid-template-columns: 1fr; gap: 44px; }
  .docs-layout { grid-template-columns: 1fr; gap: 34px; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .policy-layout { grid-template-columns: 1fr; gap: 34px; }
  .policy-side { position: static; }
  .dashboard { grid-template-columns: 1fr; gap: 30px; }
  .dash-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 800px) {
  .nav { height: 68px; gap: 14px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 20px;
    gap: 16px;
    flex-direction: column;
    background: rgba(8, 12, 24, .98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-login { display: none; }
  .menu-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .hero { padding: 62px 0 70px; }
  .hero-copy h1 { font-size: clamp(34px, 8vw, 46px); }
  .hero-lead { font-size: 16px; }
  .floating-note { right: 0; bottom: -16px; font-size: 12px; }
  .job-grid, .feature-grid, .product-feature-grid, .steps, .shot-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace { grid-template-columns: 1fr; }
  .workspace-sidebar { display: none; }
  .ai-panel { border-left: 0; border-top: 1px solid var(--line); }
  .step { padding: 22px; }
  .cta { padding: 52px 26px; }
  .page-top { padding: 54px 0 34px; }
  .policy-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .policy-meta > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 34px; }
  .price-card { padding: 28px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 66px 0; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-facts { gap: 8px 16px; }
  .actions .button { width: 100%; }
  .demo-tabs { flex-wrap: wrap; }
  .policy-meta { grid-template-columns: 1fr; }
  .policy-meta > div:nth-child(odd) { border-right: 0; }
  .balance-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  .button:hover, .job:hover, .feature-card:hover, .product-card:hover, .product-feature-grid article:hover { transform: none; }
}
