/* ==========================================================================
   dy低价业务 - 全站样式
   薄荷奶白底 + 深青绿/活力橙（区别于站1黑青粉、站2冷蓝紫浅底、站3墨绿、站4暖米白、站5酒红、站6藏青、站7靛紫）
   纯静态、零依赖、移动优先
   ========================================================================== */

:root {
  --bg: #f2faf6;
  --bg-soft: #e6f4ec;
  --bg-deep: #dcf0e5;
  --card: #ffffff;
  --card-soft: #f7fcf9;
  --line: #d3e8db;
  --line-strong: #b2d6c2;
  --ink: #14352a;
  --ink-dim: #4a6b5d;
  --ink-mute: #7d9a8c;
  --teal: #0c8f66;
  --teal-deep: #076a4c;
  --orange: #ff7a29;
  --grad: linear-gradient(120deg, #0c8f66 0%, #14a878 55%, #ff7a29 100%);
  --grad-soft: linear-gradient(120deg, rgba(12, 143, 102, .10), rgba(255, 122, 41, .10));
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --shadow: 0 14px 40px rgba(18, 84, 60, .10);
  --shadow-sm: 0 6px 20px rgba(18, 84, 60, .08);
  --header-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(242, 250, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.topbar.scrolled { box-shadow: 0 8px 24px rgba(18, 84, 60, .08); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.logo-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad);
}
.logo-name { font-size: 17px; letter-spacing: .5px; }

.menu { display: flex; gap: 26px; }
.menu a { color: var(--ink-dim); font-size: 14.5px; transition: color .2s; }
.menu a:hover { color: var(--teal-deep); }

@media (max-width: 640px) {
  .menu { gap: 14px; }
  .menu a { font-size: 13px; }
}

/* ---------- 非对称 hero ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(760px 380px at 8% 0%, rgba(12, 143, 102, .12), transparent 60%),
    radial-gradient(560px 320px at 100% 20%, rgba(255, 122, 41, .10), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero-tag {
  display: inline-block;
  font-size: 13px; letter-spacing: 2.5px;
  color: var(--teal-deep);
  background: rgba(12, 143, 102, .1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.22;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub { color: var(--ink-dim); font-size: 16.5px; max-width: 560px; }

.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 15.5px; font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 26px rgba(12, 143, 102, .32);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--teal-deep); color: #fff; box-shadow: 0 14px 32px rgba(12, 143, 102, .42); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--teal-deep);
}
.btn-ghost:hover { background: var(--card); color: var(--teal-deep); }
.btn-block { width: 100%; margin-top: 20px; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.hero-points li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-dim); font-weight: 600;
}
.hero-points li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}

/* 低价榜侧栏 */
.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 20px;
}
.hero-panel h2 {
  font-size: 16px;
  color: var(--teal-deep);
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--line);
}
.price-mini { list-style: none; display: grid; gap: 10px; }
.price-mini li {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 14.5px;
}
.price-mini span { color: var(--ink-dim); }
.price-mini b { color: var(--teal-deep); font-size: 17px; font-weight: 800; }
.price-mini b small { font-size: 11.5px; color: var(--ink-mute); font-weight: 500; margin-left: 2px; }
.hero-panel-note { margin-top: 14px; font-size: 12px; color: var(--ink-mute); text-align: center; }

/* ---------- 区块 ---------- */
.sec { padding: 72px 0; }
.sec-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-title { font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin-bottom: 12px; text-align: center; }
.sec-lead { text-align: center; color: var(--ink-dim); max-width: 620px; margin: 0 auto 44px; }

/* ---------- 价格表 ---------- */
.price-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.price-table table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td {
  padding: 15px 20px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.price-table thead th {
  background: var(--bg-soft);
  color: var(--teal-deep);
  font-size: 13.5px;
  letter-spacing: 1px;
}
.price-table tbody tr:hover { background: var(--card-soft); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td:nth-child(3) { color: var(--orange); font-weight: 800; font-size: 16px; }
.price-note { font-size: 12.5px; color: var(--ink-mute); padding: 14px 20px; background: var(--card-soft); border-top: 1px solid var(--line); }

/* ---------- 档位对比 ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 800px;
  margin: 0 auto;
}
.compare-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.compare-card.card-hl { border: 2px solid var(--line-strong); }
.compare-card h3 { font-size: 18px; color: var(--teal-deep); margin-bottom: 16px; }
.compare-card ul { list-style: none; display: grid; gap: 10px; }
.compare-card li {
  position: relative; padding-left: 24px;
  font-size: 14.5px; color: var(--ink-dim);
}
.compare-card li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--orange); font-weight: 800;
}

/* ---------- 下单流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.flow-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.flow-step:hover { transform: translateY(-4px); }
.flow-step b {
  display: inline-block;
  font-size: 15px; font-weight: 800;
  color: #fff;
  background: var(--grad);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { font-size: 14px; color: var(--ink-dim); }

/* ---------- 答疑 ---------- */
.ask-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.ask-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color .2s;
}
.ask-list details[open] { border-color: var(--line-strong); }
.ask-list summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; }
.ask-list summary::-webkit-details-marker { display: none; }
.ask-list summary::after { content: "+"; float: right; color: var(--orange); font-size: 20px; font-weight: 700; }
.ask-list details[open] summary::after { content: "−"; }
.ask-list details p { margin-top: 12px; color: var(--ink-dim); font-size: 14.5px; }

/* ---------- 底部 CTA ---------- */
.cta-band {
  padding: 76px 0;
  text-align: center;
  background:
    radial-gradient(680px 300px at 50% 100%, rgba(12, 143, 102, .14), transparent 65%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--ink-dim); margin-bottom: 30px; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0; background: var(--bg-deep); }
.foot-inner { text-align: center; display: grid; gap: 10px; }
.foot-menu { display: flex; justify-content: center; gap: 22px; }
.foot-menu a { color: var(--ink-mute); font-size: 14px; }
.foot-menu a:hover { color: var(--teal-deep); }
.foot-note { color: var(--ink-mute); font-size: 12.5px; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.body-404 { display: flex; align-items: center; justify-content: center; min-height: 100vh; text-align: center; }
.box-404 h1 {
  font-size: 88px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.box-404 p { color: var(--ink-dim); margin: 14px 0 28px; }
