/* ==========================================================================
   dy业务下单24小时 - 全站样式
   浅色白底 + 蓝紫渐变（与站点1深色抖音风明显区分）
   纯静态、零依赖、移动优先
   ========================================================================== */

:root {
  --bg: #f5f7fc;
  --bg-soft: #eef1f9;
  --surface: #ffffff;
  --surface-2: #f9fafd;
  --border: #e5e9f4;
  --border-strong: #d3d9ea;
  --text: #171d2b;
  --text-dim: #4e5870;
  --muted: #8a93a8;
  --blue: #2f6bff;
  --violet: #8b5cf6;
  --grad: linear-gradient(118deg, #2f6bff 0%, #6d5cff 55%, #8b5cf6 100%);
  --grad-soft: linear-gradient(118deg, rgba(47, 107, 255, .09), rgba(139, 92, 246, .09));
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(35, 55, 120, .10);
  --shadow-sm: 0 6px 22px rgba(35, 55, 120, .08);
  --header-h: 68px;
}

*,
*::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(--text);
  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(680px 420px at 10% -8%, rgba(47, 107, 255, .10), transparent 62%),
    radial-gradient(720px 460px at 90% 2%, rgba(139, 92, 246, .10), transparent 62%),
    radial-gradient(900px 620px at 50% 110%, rgba(109, 92, 255, .07), transparent 68%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .5px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(77, 90, 255, .35);
}

.main-nav { display: flex; align-items: center; gap: 26px; }

.main-nav a {
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .2s;
}

.main-nav a:hover,
.main-nav a.active { color: var(--blue); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  line-height: 1;
}

/* ===== 通用区块 ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }

.eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, .22);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-head h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; letter-spacing: .5px; }
.section-head p { color: var(--text-dim); margin-top: 12px; font-size: 15px; }

/* ===== 首页 Hero ===== */
.hero { padding: 84px 0 64px; text-align: center; }

.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .5px;
}

.hero h1 .grad-text,
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--text-dim);
  font-size: clamp(15px, 1.8vw, 17px);
}

.hero-actions { margin-top: 34px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px rgba(77, 90, 255, .35);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(77, 90, 255, .45); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }

.hero-stats {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  box-shadow: var(--shadow-sm);
}

.stat b {
  display: block;
  font-size: 24px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { font-size: 13px; color: var(--muted); }

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 107, 255, .35);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(47, 107, 255, .20);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14.5px; }
.card .card-link { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 600; font-size: 14.5px; }

/* ===== 步骤 ===== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(77, 90, 255, .35);
}

.step h3 { font-size: 16.5px; font-weight: 700; margin: 10px 0 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ===== FAQ 手风琴 ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open { border-color: rgba(47, 107, 255, .40); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
}

.faq-q .arrow { transition: transform .25s; color: var(--blue); font-size: 13px; flex: none; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a-inner { padding: 0 20px 18px; color: var(--text-dim); font-size: 14.5px; }

/* ===== CTA 横幅 ===== */
.cta-banner {
  background: var(--grad);
  border-radius: 22px;
  padding: 46px 30px;
  text-align: center;
  color: #fff;
  box-shadow: 0 22px 55px rgba(77, 90, 255, .35);
}

.cta-banner h2 { font-size: clamp(21px, 3vw, 28px); font-weight: 800; }
.cta-banner p { margin: 12px 0 26px; opacity: .92; font-size: 15px; }

.cta-banner .btn {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 20, 60, .18);
}

.cta-banner .btn:hover { transform: translateY(-3px); }

/* ===== 页面通用头部（内页） ===== */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
.page-hero p { color: var(--text-dim); max-width: 700px; margin: 14px auto 0; font-size: 15.5px; }

/* 面包屑 */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--text-dim); }

/* ===== 页脚 ===== */
.site-footer {
  margin-top: 40px;
  background: #10162a;
  color: #c3c9dd;
  padding: 44px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 12px; }

.footer-brand .logo-mark { box-shadow: none; }

.footer-col p { font-size: 13.5px; color: #9aa2ba; }

.footer-col h4 { color: #fff; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }

.footer-col ul { display: grid; gap: 9px; }

.footer-col ul a { font-size: 13.5px; color: #9aa2ba; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #78809b;
}

/* ===== 404 ===== */
.error-wrap { text-align: center; padding: 100px 22px; }
.error-code {
  font-size: 92px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.error-wrap p { color: var(--text-dim); margin: 14px 0 30px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 22px 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
  }

  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .main-nav a { padding: 12px 4px; border-bottom: 1px dashed var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: none; }

  .section { padding: 48px 0; }
  .hero { padding: 56px 0 44px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
