/* ==========================================================================
   dy业务 - 全站样式
   深酒红底 + 玫瑰粉/亮金（区别于站1黑底青粉、站2浅蓝紫、站3墨绿、站4暖米白）
   纯静态、零依赖、移动优先
   ========================================================================== */

:root {
  --bg: #170a10;
  --bg-soft: #1f0d16;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --edge: rgba(255, 158, 187, 0.22);
  --edge-strong: rgba(255, 158, 187, 0.42);
  --ink: #fdeef3;
  --ink-dim: #d3b6c2;
  --ink-mute: #9c7e8c;
  --rose: #ff5c8a;
  --rose-deep: #d63d6b;
  --gold: #ffd166;
  --grad: linear-gradient(122deg, #ff5c8a 0%, #ff7e67 52%, #ffd166 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1120px;
  --shadow: 0 22px 60px rgba(0, 0, 0, .5);
}

*, *::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.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 400px at 14% -8%, rgba(255, 92, 138, .16), transparent 60%),
    radial-gradient(720px 440px at 88% 2%, rgba(255, 209, 102, .10), transparent 62%),
    radial-gradient(860px 600px at 50% 110%, rgba(214, 61, 107, .14), transparent 66%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

.box { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ===================== 顶栏 ===================== */
.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(23, 10, 16, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}
.head-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.mark-gem {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--grad);
  color: #26060f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
}

.links { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink-dim); }
.links a { transition: color .25s; }
.links a:hover { color: var(--rose); }

/* ===================== 首屏 ===================== */
.intro { padding: 84px 0 0; text-align: center; }
.intro-in { max-width: 780px; }

.intro-kicker {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--edge-strong);
  background: var(--panel);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 22px;
}

.intro h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.22;
}
.intro h1 em {
  display: block;
  font-style: normal;
  font-size: .52em;
  margin-top: 10px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-sub { margin-top: 22px; color: var(--ink-dim); font-size: 16.5px; }

.intro-do { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.go {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  transition: transform .22s, box-shadow .22s;
}
.go-strong {
  color: #2a0712;
  background: var(--grad);
  box-shadow: 0 12px 32px rgba(255, 92, 138, .4);
}
.go-strong:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(255, 92, 138, .5); }
.go-soft {
  color: var(--ink);
  border: 1.5px solid var(--edge-strong);
  background: var(--panel);
}
.go-soft:hover { transform: translateY(-3px); border-color: var(--rose); }

/* 徽章横条 */
.ticker {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 22px 26px;
}
.ticker li {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--edge);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-dim);
  animation: bob 3.2s ease-in-out infinite;
}
.ticker li:nth-child(2n) { animation-delay: .4s; }
.ticker li:nth-child(3n) { animation-delay: .8s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===================== 通用区块 ===================== */
.part { padding: 74px 0; }
.part-soft { background: var(--bg-soft); }

.part-cap { max-width: 700px; margin-bottom: 44px; }
.part-cap h2 { font-size: clamp(24px, 3.2vw, 33px); font-weight: 900; }
.part-cap p { margin-top: 10px; color: var(--ink-dim); }

/* ===================== 业务专区：双栏 ===================== */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.duo-col {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .3s, transform .3s;
}
.duo-col:hover { border-color: var(--edge-strong); transform: translateY(-4px); }

.duo-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 900;
  color: var(--gold);
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--edge-strong);
}

.duo-list { display: grid; gap: 16px; }
.duo-list li {
  background: var(--panel-2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.duo-list b { display: block; font-size: 16px; font-weight: 800; }
.duo-list span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-dim); }

/* ===================== 数据带 ===================== */
.band { padding: 46px 0; background: var(--bg-soft); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.band-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.band-item b {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.band-item span { font-size: 13.5px; color: var(--ink-mute); }

/* ===================== 账号阶段 ===================== */
.stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stage li {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .3s, box-shadow .3s;
}
.stage li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.stage-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #2a0712;
  font-size: 13.5px;
  font-weight: 900;
  margin-bottom: 14px;
}
.stage p { font-size: 14.5px; color: var(--ink-dim); }

/* ===================== 办理流程 ===================== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.flow li {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  padding: 22px 20px 20px;
  counter-increment: f;
}
.flow li::before {
  content: counter(f, decimal-leading-zero);
  position: absolute;
  top: -14px; left: 18px;
  padding: 2px 10px;
  border-radius: 8px;
  background: var(--grad);
  color: #2a0712;
  font-size: 13px;
  font-weight: 900;
}
.flow b { display: block; font-size: 16px; font-weight: 800; margin-top: 6px; }
.flow span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-dim); }

/* ===================== 常见问题 ===================== */
.qa-wrap { display: grid; gap: 12px; max-width: 840px; }
.qa-wrap details {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  transition: border-color .25s;
}
.qa-wrap details[open] { border-color: var(--rose); }
.qa-wrap summary { display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; font-weight: 800; }
.qa-wrap summary::after { content: "▾"; color: var(--rose); font-size: 15px; transition: transform .3s; }
.qa-wrap details[open] summary::after { transform: rotate(180deg); }
.qa-wrap details p { margin-top: 10px; font-size: 14.5px; color: var(--ink-dim); }

/* ===================== 结尾 ===================== */
.end { padding: 84px 0; background: var(--bg-soft); }
.end-in { text-align: center; max-width: 640px; }
.end h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; }
.end p { margin: 14px 0 30px; color: var(--ink-dim); }

/* ===================== 页脚 ===================== */
.foot { border-top: 1px solid var(--edge); padding: 30px 0 36px; }
.foot-in { text-align: center; font-size: 14px; color: var(--ink-dim); }
.foot-mini { margin-top: 4px; font-size: 12.5px; color: var(--ink-mute); }

/* ===================== 入场动画 ===================== */
.fade { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.fade.on { opacity: 1; transform: none; }

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; }
  .band-in { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
}
@media (max-width: 560px) {
  .links { display: none; }
  .flow { grid-template-columns: 1fr; }
  .band-in { grid-template-columns: 1fr 1fr; }
  .part { padding: 56px 0; }
  .intro { padding-top: 60px; }
}
