/* ==========================================================================
   灵剪AI 官网 · 基础框架样式
   设计基调：浅色 / 科技蓝紫渐变 / 圆角卡片 / 大留白
   ========================================================================== */

:root {
  /* 品牌色取自官方 Logo（胶片2 · 双框）：蓝 #2C44FD + 青 #00F5E1 */
  --brand-1: #2c44fd;          /* 主蓝：文字 / 按钮 / 图标 */
  --brand-2: #00d9cd;          /* 青（可用版）：小面积填充与描边 */
  --brand-cyan: #00f5e1;       /* Logo 原色青：仅装饰，不承载文字 */
  --brand-3: #00c8b8;
  --brand-grad: linear-gradient(135deg, #2c44fd 0%, #3d5cff 55%, #00b8e0 130%);   /* 按钮等承载白字 */
  --brand-grad-cool: linear-gradient(135deg, #2c44fd 0%, #00f5e1 100%);            /* 纯装饰（点 / 条 / 进度） */
  --brand-grad-text: linear-gradient(135deg, #2c44fd 0%, #0a95c0 100%);            /* 渐变文字（保证可读性） */
  --brand-soft: #eef1ff;
  --brand-soft-2: #dbe2ff;
  --brand-tint: #f2f7ff;

  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;

  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(44, 68, 253, 0.32);

  --container: 1140px;
  --header-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 锚点偏移（避免被固定导航挡住） */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ============================== 顶部导航 ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .2px;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { color: var(--brand-1); }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav > a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 15px;
  transition: color .2s, background-color .2s;
}
.nav > a:hover { color: var(--text-1); background: var(--bg-alt); }
.nav > a.is-active { color: var(--brand-1); background: var(--brand-soft); font-weight: 600; }
.nav .nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ============================== 按钮 ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(44, 68, 253, .5);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(44, 68, 253, .62); transform: translateY(-1px); }

.btn-ghost {
  background: #fff;
  color: var(--text-1);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--brand-1); color: var(--brand-1); }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================== 首屏 Hero ============================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(0, 229, 214, .16), transparent 60%),
    radial-gradient(700px 380px at 8% 8%, rgba(44, 68, 253, .12), transparent 58%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 78%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 64px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid #b9f4ee;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #0f7b8a;
  font-size: 13.5px;
  font-weight: 600;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-grad-cool);
  box-shadow: 0 0 0 4px rgba(0, 229, 214, .16);
}

.hero h1 {
  margin-top: 22px;
  font-size: 46px;
  line-height: 1.24;
  letter-spacing: -.5px;
}
.hero h1 .grad {
  background: var(--brand-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 18px;
  max-width: 520px;
  font-size: 16.5px;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-meta li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-3);
  font-size: 13px;
}

/* 首屏右侧：应用窗口示意（纯 CSS 绘制，无截图依赖） */
.mock-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.mock-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e2e8f0;
}
.mock-bar i:nth-child(1) { background: #fda4af; }
.mock-bar i:nth-child(2) { background: #fcd34d; }
.mock-bar i:nth-child(3) { background: #6ee7b7; }
.mock-bar span {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--text-3);
}
.mock-body { display: grid; grid-template-columns: 148px 1fr; min-height: 320px; }
.mock-side {
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  background: #fcfdff;
}
.mock-side li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 2px;
}
.mock-side li.on {
  background: var(--brand-soft);
  color: var(--brand-1);
  font-weight: 600;
}
.mock-side li em {
  width: 16px; height: 16px;
  border-radius: 5px;
  background: #e2e8f0;
  flex: none;
}
.mock-side li.on em { background: var(--brand-grad-cool); }

.mock-main { padding: 16px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div {
  height: 72px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.mock-lines { margin-top: 14px; }
.mock-lines i {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: #eef2f7;
  margin-bottom: 10px;
}
.mock-lines i:nth-child(1) { width: 86%; }
.mock-lines i:nth-child(2) { width: 68%; }
.mock-lines i:nth-child(3) { width: 76%; }
.mock-progress {
  margin-top: 16px;
  height: 8px;
  border-radius: 6px;
  background: #eef2f7;
  overflow: hidden;
}
.mock-progress::after {
  content: "";
  display: block;
  width: 64%;
  height: 100%;
  border-radius: 6px;
  background: var(--brand-grad-cool);
}

/* ============================== 通用区块 ============================== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-1);
  text-transform: uppercase;
}
.section-head h2 {
  margin-top: 12px;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -.3px;
}
.section-head p {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 16px;
}

/* ============================== 功能卡片 ============================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: #cfdcff;
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-1);
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; }
.feature-card p { margin-top: 10px; color: var(--text-2); font-size: 14.6px; }
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.feature-tags span {
  font-size: 12.5px;
  color: var(--text-3);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}
.feature-card .num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

.capability-strip {
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: var(--text-3);
  font-size: 14px;
}
.capability-strip b { color: var(--text-1); font-size: 14.5px; margin-right: 4px; }
.capability-strip span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

/* ============================== 下载区 ============================== */
.download-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: start;
}

.download-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.download-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  background: linear-gradient(135deg, rgba(99,102,241,.09), rgba(139,92,246,.12));
  border-bottom: 1px solid var(--border);
}
.download-card-head img { width: 54px; height: 54px; border-radius: 14px; }
.download-card-head h3 { font-size: 20px; }
.download-card-head p { color: var(--text-2); font-size: 14px; margin-top: 2px; }
.tag-latest {
  margin-left: auto;
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.download-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.download-specs div {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.download-specs div:nth-child(odd) { border-right: 1px solid var(--border); }
.download-specs div:nth-last-child(-n+2) { border-bottom: none; }
.download-specs dt { color: var(--text-3); font-size: 12.5px; }
.download-specs dd { margin: 2px 0 0; font-weight: 600; }

.download-actions { padding: 22px 28px 26px; }
.download-actions .btn + .btn { margin-top: 12px; }
.download-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}

.info-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 26px 28px;
}
.info-panel h3 { font-size: 17px; }
.info-panel ul { margin-top: 14px; }
.info-panel li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: 14.5px;
}
.info-panel li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-grad-cool);
}
.info-panel + .info-panel { margin-top: 20px; }

.version-table {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.version-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.version-table th, .version-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.version-table th {
  background: var(--bg-alt);
  color: var(--text-3);
  font-weight: 600;
  font-size: 13px;
}
.version-table tr:last-child td { border-bottom: none; }
.version-table .pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  color: var(--text-3);
  background: var(--bg-alt);
}
.version-table .pill.on {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}
.table-note { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* ============================== 教程区 ============================== */
.steps { position: relative; margin-top: 8px; }
.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #c7d3ff, #b9f4ee 70%, transparent);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding-bottom: 26px;
}
.step:last-child { padding-bottom: 0; }
.step-no {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid #c7d3ff;
  color: var(--brand-1);
  font-weight: 700;
  font-size: 16px;
}
.step-body {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 24px;
}
.step-body h3 { font-size: 17px; }
.step-body > p { margin-top: 8px; color: var(--text-2); font-size: 14.6px; }
.step-body ul { margin-top: 12px; }
.step-body li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 14.4px;
}
.step-body li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #c7d3ff;
  transform: rotate(45deg);
}
.step-body code {
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: Consolas, "Courier New", monospace;
}

.faq { margin-top: 46px; }
.faq h3 { font-size: 20px; margin-bottom: 16px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--brand-1);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 18px;
  color: var(--text-2);
  font-size: 14.6px;
}

/* ============================== 页脚 ============================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand p { margin-top: 14px; color: var(--text-3); font-size: 14px; max-width: 300px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-2); font-size: 14px; }
.footer-col a:hover { color: var(--brand-1); }
.footer-col .muted { color: var(--text-3); font-size: 14px; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 13px;
}

/* ============================== 响应式 ============================== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .hero-inner { gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav .nav-cta { margin: 8px 0 0; }

  .hero { padding: 60px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .download-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-specs { grid-template-columns: 1fr; }
  .download-specs div { border-right: none !important; }
  .download-specs div:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .download-specs div:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .version-table { overflow-x: auto; }
  .version-table table { min-width: 520px; }
}

/* ==========================================================================
   多页版补充组件（首页 / 功能介绍 / 软件下载 / 使用教程）
   ========================================================================== */

/* 子页首屏 */
.page-hero {
  padding: 54px 0 50px;
  background:
    radial-gradient(720px 320px at 88% -20%, rgba(0, 229, 214, .14), transparent 60%),
    radial-gradient(560px 300px at 4% 0%, rgba(44, 68, 253, .10), transparent 58%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 85%);
  border-bottom: 1px solid var(--border);
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.crumb a:hover { color: var(--brand-1); }
.crumb i { font-style: normal; color: var(--border-strong); }
.page-hero h1 { font-size: 36px; line-height: 1.3; letter-spacing: -.4px; }
.page-hero .lead { margin-top: 14px; max-width: 760px; color: var(--text-2); font-size: 16px; }
.page-hero .badge { margin-bottom: 0; }

/* 通用网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2.tight, .grid-3.tight { gap: 16px; }
.mt-lg { margin-top: 44px; }
.mt-md { margin-top: 24px; }

/* 模块卡（桌面端功能） */
.module-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 26px 26px 22px;
}
.module-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.module-card h3 i {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-1);
  display: grid; place-items: center;
  font-style: normal; font-size: 13.5px; font-weight: 700;
}
.module-card > p { margin-top: 10px; color: var(--text-3); font-size: 13.8px; }
.module-card ul { margin-top: 14px; }
.module-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 14.3px;
}
.module-card li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #c7d3ff;
}

/* 横向流程 */
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 18px;
}
.flow-card .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-grad); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.flow-card h4 { margin-top: 12px; font-size: 15.5px; }
.flow-card p { margin-top: 8px; font-size: 13.6px; color: var(--text-2); }
.flow-card::after {
  content: "→";
  position: absolute; right: -12px; top: 50%;
  transform: translateY(-50%);
  color: var(--border-strong); font-size: 15px;
}
.flow-card:last-child::after { content: ""; }

/* 表格卡（功能/说明类表格） */
.table-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.table-scroll { overflow-x: auto; }
.table-card table { width: 100%; border-collapse: collapse; font-size: 14.4px; }
.table-card th {
  padding: 13px 18px;
  text-align: left;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  color: var(--text-3); font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.table-card td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
}
.table-card td:first-child { color: var(--text-1); font-weight: 600; }
.table-card tr:last-child td { border-bottom: none; }
.table-card .nowrap { white-space: nowrap; }
.card-title { margin-bottom: 14px; font-size: 18px; }

/* 提示条 */
.note-tip {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid #cfe9fb;
  border-radius: var(--radius);
  background: #f2f7ff;
  color: #14428f;
  font-size: 14px;
}
.note-tip b { color: #0e3272; }
.note-tip.plain {
  border-color: var(--border);
  background: var(--bg-alt);
  color: var(--text-2);
}
.note-tip.plain b { color: var(--text-1); }

/* 入口卡 */
.entry-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.entry-card:hover { transform: translateY(-3px); border-color: #cfdcff; box-shadow: var(--shadow-md); }
.entry-card h3 { font-size: 18px; }
.entry-card p { margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
.entry-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand-1); font-size: 14px; font-weight: 600; }

/* CTA 带 */
.cta-band {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 36px 40px;
  border: 1px solid #d8e4ff;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(44, 68, 253, .08), rgba(0, 229, 214, .16));
}
.cta-band h3 { font-size: 23px; }
.cta-band p { margin-top: 8px; color: var(--text-2); font-size: 14.6px; }
.cta-band .actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* 要点列表（人群/组成） */
.hl-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 14.8px;
}
.hl-list li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-grad-cool);
}
.hl-list b { color: var(--text-1); }

/* 平台标签行 */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-row span {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .flow-card::after { content: ""; }
  .page-hero h1 { font-size: 30px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 26px 22px; }
  .cta-band .actions { margin-left: 0; width: 100%; }
  .cta-band .actions .btn { width: 100%; }
}

/* ==========================================================================
   胶片元素（呼应 Logo 的双框胶片）
   ========================================================================== */

/* 小标签前加一段「齿孔」 */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 9px;
  margin-right: 9px;
  vertical-align: -1px;
  border-radius: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px);
  opacity: .5;
}

/* 胶片条分隔：上下齿孔 + 蓝青渐变底 */
.film-rule {
  height: 26px;
  border: 1px solid var(--brand-soft-2);
  border-radius: 6px;
  background-color: var(--brand-tint);
  background-image:
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(255, 255, 255, 0) 10px 24px),
    repeating-linear-gradient(90deg, #ffffff 0 10px, rgba(255, 255, 255, 0) 10px 24px),
    linear-gradient(90deg, rgba(44, 68, 253, .07), rgba(0, 245, 225, .16));
  background-size: 100% 6px, 100% 6px, 100% 100%;
  background-position: 0 3px, 0 calc(100% - 3px), 0 0;
  background-repeat: repeat-x, repeat-x, no-repeat;
}
.film-rule.between { margin-bottom: 40px; }

/* 品牌标识（PNG 透明底） */
.brand img { background: transparent; }
.brand span b { color: var(--brand-1); }

/* ==========================================================================
   法律条款页（免责声明 / 服务条款）
   ========================================================================== */

.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.legal-meta span {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-3);
  font-size: 13px;
}

/* 风险提示 */
.risk-box {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid #f5d9a8;
  border-left: 4px solid #f0a020;
  border-radius: var(--radius);
  background: #fffaf0;
}
.risk-box h3 { font-size: 16px; color: #8a5200; display: flex; align-items: center; gap: 8px; }
.risk-box ol { margin: 12px 0 0; padding-left: 22px; color: #7a5a1e; font-size: 14.4px; }
.risk-box li { margin-bottom: 6px; }
.risk-box .tail { margin-top: 12px; font-size: 14.2px; color: #7a5a1e; }

/* 版式：左侧目录 + 正文 */
.legal-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
}
.legal-toc h4 { font-size: 13px; color: var(--text-3); letter-spacing: .5px; margin-bottom: 10px; }
.legal-toc a {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}
.legal-toc a:hover { color: var(--brand-1); border-left-color: var(--brand-1); background: var(--brand-tint); }
.legal-toc a.sub { padding-left: 24px; font-size: 13.4px; color: var(--text-3); }

.legal-body { min-width: 0; }
.legal-sec { padding: 30px 0; border-bottom: 1px solid var(--border); }
.legal-sec:last-child { border-bottom: none; }
.legal-sec > h2 {
  font-size: 26px;
  letter-spacing: -.3px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-soft-2);
  margin-bottom: 8px;
}
.legal-sec > h2 .sub { display: block; font-size: 14px; font-weight: 500; color: var(--text-3); margin-top: 6px; }
.legal-body h3 {
  margin-top: 26px;
  font-size: 17px;
  color: var(--text-1);
}
.legal-body h3:first-of-type { margin-top: 20px; }
.legal-body .cl {
  position: relative;
  padding-left: 52px;
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14.8px;
  line-height: 1.75;
}
/* 条款编号：仅段落首个 <b> 作悬挂编号 */
.legal-body .cl > b:first-child {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  color: var(--brand-1);
  font-weight: 600;
  font-size: 14.4px;
}
/* 条款内的行内小标题（第二个及以后的 <b>）：保持文档流，不得被绝对定位带走 */
.legal-body .cl > b:not(:first-child) { color: var(--text-1); font-weight: 600; }
.legal-body .cl strong { color: var(--text-1); }
.legal-doc-foot {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--text-3);
  font-size: 13.6px;
}

@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .legal-toc a { display: inline-block; border-left: none; border-bottom: 2px solid var(--border); padding: 6px 12px; }
}
@media (max-width: 640px) {
  .legal-body .cl { padding-left: 0; }
  .legal-body .cl > b:first-child { position: static; display: block; width: auto; margin-bottom: 2px; }
}



/* ==========================================================================
   教程视频页（tutorial.html）
   ========================================================================== */
.lesson-nav {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  margin-bottom: 22px;
  background: rgba(248, 250, 252, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.lesson-nav a {
  padding: 7px 14px;
  font-size: 13.8px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s;
}
.lesson-nav a:hover { color: var(--brand-1); border-color: var(--brand-soft-2); background: var(--brand-tint); }

.lesson {
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 92px);
}
.lesson:last-of-type { border-bottom: none; padding-bottom: 10px; }
.lesson-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.lesson-no {
  flex: none;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--brand-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lesson-head h2 { font-size: 23px; letter-spacing: -.3px; }
.lesson-meta { color: var(--text-3); font-size: 13.6px; margin-top: 4px; }

.lesson-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: start; }

.video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1020;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}
.video-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1040; background: #0b1020; }

.lesson-notes {
  padding: 20px 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.lesson-notes h3 { font-size: 15.5px; margin-bottom: 12px; }
.lesson-notes ol { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 14.4px; line-height: 1.78; }
.lesson-notes li { margin-bottom: 9px; }
.lesson-notes li:last-child { margin-bottom: 0; }
.lesson-notes ol li::marker { color: var(--brand-1); font-weight: 600; }
.lesson-notes b { color: var(--text-1); }
.lesson-tip {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 13.6px;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--brand-tint);
  border-left: 3px solid var(--brand-1);
  border-radius: 0 8px 8px 0;
}
.lesson-tip b { color: var(--brand-1); }

@media (max-width: 1024px) {
  .lesson-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .lesson-nav { position: static; }
  .lesson-no { font-size: 26px; }
  .lesson-head { gap: 12px; }
  .lesson-head h2 { font-size: 20px; }
}
