/* ============================================================
   迅存联 XunCunLian - 全站共享样式
   ============================================================ */
:root {
  --primary: #4f6bff;
  --primary-2: #8b5cf6;
  --accent: #22d3ee;
  --grad: linear-gradient(135deg, #4f6bff 0%, #8b5cf6 100%);
  --dark: #0b1026;
  --dark-2: #141b3c;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e6e9f5;
  --bg: #f6f8ff;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(37, 58, 163, .10);
  --shadow-lg: 0 24px 64px rgba(37, 58, 163, .18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(20, 40, 120, .08); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-badge {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; flex: none;
}
.logo small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 2px; line-height: 1; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: 10px; font-size: 15px; color: #334155;
  transition: .2s;
}
.nav-links a:hover { background: #eef1ff; color: var(--primary); }
.nav-links a.active { background: var(--grad); color: #fff; font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger svg { width: 26px; height: 26px; stroke: #1f2937; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 12px; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 600; font-family: inherit;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(79, 107, 255, .35); }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(79, 107, 255, .5); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #334155; border: 1px solid #d7ddf3; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- Hero（首页深色横幅） ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 15% -10%, #23338f 0%, transparent 60%),
              radial-gradient(900px 500px at 95% 20%, #5b2ea6 0%, transparent 55%),
              var(--dark);
  padding: 88px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 22px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.22; letter-spacing: 1px; }
.hero h1 .grad-text {
  background: linear-gradient(90deg, #6ea8ff, #b18cff, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 20px 0 34px; color: #c3cae6; font-size: 17px; max-width: 520px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14); }
.hero-float {
  position: absolute; background: rgba(255, 255, 255, .92); color: var(--text);
  border-radius: 14px; padding: 12px 16px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float svg { width: 26px; height: 26px; flex: none; }
.hero-float.f1 { top: -18px; left: -26px; }
.hero-float.f2 { bottom: -16px; right: -18px; animation-delay: 1.6s; }
.hero-float small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; line-height: 1.3; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 统计条 ---------- */
.stats { margin-top: -58px; position: relative; z-index: 5; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 30px 20px; gap: 10px;
}
.stat { text-align: center; padding: 6px 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- 通用 Section ---------- */
.section { padding: 86px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.section-title .mark { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(11, 16, 38, .72); color: #fff; backdrop-filter: blur(6px);
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
}
.card-body { padding: 24px; }
.card-body h3 { font-size: 19px; margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.link-arrow { color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow:hover { gap: 8px; }

/* ---------- 特性宫格 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: .25s; box-shadow: 0 4px 18px rgba(37, 58, 163, .05);
}
.feature-item:hover { border-color: rgba(79, 107, 255, .45); transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef1ff, #f3edff); color: var(--primary); margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-item h3 { font-size: 17px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--muted); }

/* ---------- 页头（内页 banner） ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(900px 400px at 20% 0%, #23338f 0%, transparent 60%),
              radial-gradient(700px 400px at 90% 100%, #5b2ea6 0%, transparent 55%),
              var(--dark);
  padding: 74px 0 78px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
}
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 42px); }
.page-head p { color: #c3cae6; margin-top: 14px; font-size: 16px; }
.crumb { font-size: 13px; color: #93a0c9; margin-bottom: 14px; text-align: left; }
.crumb a:hover { color: #fff; }

/* ---------- 会员价格卡 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column;
  transition: .25s; box-shadow: 0 6px 22px rgba(37, 58, 163, .06);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.price-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; padding: 4px 16px;
  border-radius: 999px; white-space: nowrap;
}
.price-name { font-size: 18px; font-weight: 700; }
.price-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.price { margin: 18px 0 4px; font-size: 40px; font-weight: 800; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-list { margin: 18px 0 26px; flex: 1; }
.price-list li {
  display: flex; align-items: flex-start; gap: 9px; font-size: 14px;
  color: #475569; padding: 6px 0;
}
.price-list li svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: #10b981; }
.price-list li.off { color: #b6bdd1; }
.price-list li.off svg { color: #cbd3e8; }
.price-list li b { color: var(--text); }
.price-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 26px; }

/* ---------- 对比表 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table th { background: #f8faff; font-size: 15px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: #475569; min-width: 180px; }
.compare-table thead th.col-hl { background: var(--grad); color: #fff; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #f8faff; }
.compare-table .yes { color: #10b981; font-weight: 700; }
.compare-table .no { color: #c3cad9; }
.compare-table .hl { color: var(--primary); font-weight: 700; }

/* ---------- 上传演示区 ---------- */
.upload-demo {
  background: linear-gradient(135deg, #eef1ff, #f5efff);
  border: 2px dashed #b9c4f5; border-radius: 20px; padding: 54px 30px;
  text-align: center; cursor: pointer; transition: .25s;
}
.upload-demo:hover { border-color: var(--primary); background: linear-gradient(135deg, #e8edff, #f1e9ff); }
.upload-demo .up-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(79, 107, 255, .4);
}
.upload-demo .up-icon svg { width: 34px; height: 34px; }
.upload-demo h3 { font-size: 19px; margin-bottom: 8px; }
.upload-demo p { color: var(--muted); font-size: 14px; }
.upload-types { display: flex; justify-content: center; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.upload-types span { font-size: 13px; color: #55618f; display: inline-flex; align-items: center; gap: 6px; }
.upload-types svg { width: 16px; height: 16px; color: var(--primary); }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step-num {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff; text-align: center;
  background: radial-gradient(700px 300px at 12% 0%, rgba(34, 211, 238, .35) 0%, transparent 60%),
              radial-gradient(700px 320px at 90% 100%, rgba(139, 92, 246, .5) 0%, transparent 60%),
              var(--dark);
  padding: 66px 30px;
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta p { color: #c3cae6; margin: 14px 0 30px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 4px 16px rgba(37, 58, 163, .05);
}
.contact-item .c-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eef1ff, #f3edff); color: var(--primary);
}
.contact-item .c-icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 15.5px; margin-bottom: 3px; }
.contact-item p { font-size: 13.5px; color: var(--muted); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-field label i { color: #ef4444; font-style: normal; }
.input, .textarea, .select {
  width: 100%; border: 1px solid #d7ddf3; border-radius: 12px; padding: 12px 15px;
  font-size: 15px; font-family: inherit; color: var(--text); background: #fbfcff;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 107, 255, .12); background: #fff; }
.textarea { resize: vertical; min-height: 130px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* ---------- 功能页双栏区块 ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature-split + .feature-split { margin-top: 76px; }
.feature-split.rev .fs-media { order: 2; }
.fs-media { position: relative; }
.fs-media img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.fs-media .fs-chip {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--grad); color: #fff; border-radius: 14px;
  padding: 12px 18px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg);
}
.fs-text h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.fs-text > p { color: var(--muted); margin-bottom: 18px; }
.fs-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; color: #475569; align-items: flex-start; }
.fs-list li svg { width: 17px; height: 17px; flex: none; margin-top: 5px; color: #10b981; }
.fs-list li b { color: var(--text); }

/* ---------- 四列宫格 / 三列价格卡 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.price-grid.g3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 19px 22px; font-size: 15.5px; font-weight: 600; font-family: inherit; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .chev { transition: transform .25s; flex: none; color: var(--primary); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---------- 登录弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(9, 13, 34, .62); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .25s; padding: 20px;
}
.modal-mask.show { opacity: 1; visibility: visible; }
.modal {
  width: min(420px, 100%); background: #fff; border-radius: 22px; padding: 38px 34px 32px;
  position: relative; box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.97); transition: .28s;
}
.modal-mask.show .modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border: 0; border-radius: 10px; background: #f1f3fb; color: #64748b;
  cursor: pointer; display: grid; place-items: center; transition: .2s;
}
.modal-close:hover { background: #e5e9f7; color: #1f2937; }
.modal-icon {
  width: 62px; height: 62px; border-radius: 18px; background: var(--grad); color: #fff;
  display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 12px 28px rgba(79, 107, 255, .4);
}
.modal-icon svg { width: 30px; height: 30px; }
.modal h3 { text-align: center; font-size: 22px; }
.modal-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.modal-error {
  display: none; align-items: center; gap: 8px;
  background: #fef2f2; border: 1px solid #fecaca; color: #dc2626;
  font-size: 13.5px; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px;
}
.modal-error.show { display: flex; animation: shake .4s; }
.modal-error svg { width: 16px; height: 16px; flex: none; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.modal-opts { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin: 4px 0 20px; }
.modal-opts label { display: flex; align-items: center; gap: 6px; color: #475569; cursor: pointer; }
.modal-opts a { color: var(--primary); }
.modal-opts a:hover { text-decoration: underline; }
.modal-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.modal-foot a { color: var(--primary); font-weight: 600; }

/* ---------- Toast 提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: var(--dark-2); color: #fff; padding: 13px 24px; border-radius: 12px;
  font-size: 14.5px; z-index: 400; opacity: 0; visibility: hidden;
  transition: .3s; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #34d399; flex: none; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: #a7b0d0; margin-top: 0; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 62px 0 46px; border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer-about { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; transition: .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { font-size: 14px; margin-bottom: 11px; display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: #7c8aff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 22px 0; font-size: 13px; flex-wrap: wrap;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- 协议 / 隐私政策文档排版 ---------- */
.legal {
  max-width: 880px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; padding: 46px 50px;
  box-shadow: var(--shadow);
}
.legal-meta {
  color: var(--muted); font-size: 14px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.legal h2 { font-size: 19px; margin: 30px 0 12px; color: var(--text); }
.legal-meta + h2 { margin-top: 0; }
.legal p, .legal li { font-size: 15px; color: #475569; margin-bottom: 10px; }
.legal ul { padding-left: 22px; list-style: disc; margin-bottom: 12px; }
.legal b { color: var(--text); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; margin: 10px auto 0; }
  .hero-float.f1 { left: -8px; }
  .hero-float.f2 { right: -6px; }
  .cards, .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 30px; }
  .feature-split.rev .fs-media { order: 0; }
  .feature-split + .feature-split { margin-top: 56px; }

  /* 移动端菜单 */
  .burger { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 18px 18px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 620px) {
  .cards, .feature-grid, .steps, .price-grid, .form-row, .grid-4 { grid-template-columns: 1fr; }
  .legal { padding: 32px 22px; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 84px; }
  .nav-actions .btn-primary { padding: 8px 14px; font-size: 13.5px; }
}
