/* 代办之家 · 三端官网共用样式 */
:root {
  --accent: #12b5b0;
  --accent-2: #0b8f8b;
  --accent-soft: rgba(18, 181, 176, 0.12);
  --ink: #10201f;
  --muted: #5b6b6a;
  --line: rgba(16, 32, 31, 0.08);
  --bg: #f7faf9;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(16, 32, 31, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 249, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: .5px; }
.brand img { width: auto; height: 38px; object-fit: contain; background: #fff; padding: 3px 6px; border-radius: 8px; }
.brand small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 1px; }

.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.site-nav a:hover { color: var(--accent-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px var(--accent-soft); }
.btn-primary:hover { transform: translateY(-1px); background: var(--accent-2); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-coming { background: var(--accent-soft); color: var(--accent-2); cursor: default; }

.header-cta { margin-left: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 66px; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  z-index: 0;
}
.hero::before { width: 420px; height: 420px; background: var(--accent-soft); top: -120px; right: -80px; }
.hero::after { width: 340px; height: 340px; background: rgba(255, 193, 94, .22); bottom: -140px; left: -100px; }

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.22;
  letter-spacing: 1px;
}
h1 em { font-style: normal; color: var(--accent-2); }

.lead { margin: 0; font-size: 17px; color: var(--muted); max-width: 30em; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.cta-note { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.phone-stack { display: flex; align-items: flex-end; gap: 20px; }

.phone {
  position: relative;
  width: 232px;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #2a3331, #0d1211);
  box-shadow: 0 30px 60px rgba(16, 32, 31, .22), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; border-radius: 30px; }
.phone.is-back { transform: translateY(-34px) rotate(-4deg) scale(.94); opacity: .96; }
.phone.is-front { transform: rotate(3deg); }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip-1 { top: 36px; left: 0; }
.chip-2 { bottom: 54px; right: -6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 58px 0; }
.section-head { max-width: 620px; margin-bottom: 34px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); letter-spacing: .5px; }
.section-head p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 截图区 ---------- */
.screens-section { background: linear-gradient(180deg, transparent, rgba(18, 181, 176, .05)); }
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot { text-align: center; }
.shot .phone { width: 100%; max-width: 216px; margin: 0 auto; border-radius: 30px; padding: 7px; }
.shot .phone img { border-radius: 24px; }
.shot figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.shot figcaption span { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 6px; font-size: 16.5px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 引导条 ---------- */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 44px;
  color: #fff;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.banner h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.banner p { margin: 0; opacity: .9; font-size: 15px; }
.banner .btn-coming { background: rgba(255, 255, 255, .18); color: #fff; }
.banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 72px; background: #0f1716; color: rgba(255, 255, 255, .72); padding: 54px 0 30px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { background: #fff; padding: 3px 7px; border-radius: 8px; }
.site-footer .brand small { color: rgba(255, 255, 255, .55); }
.site-footer h4 { margin: 0 0 14px; color: #fff; font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .desc { margin: 14px 0 0; max-width: 30em; line-height: 1.8; color: rgba(255, 255, 255, .55); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, .45); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; }
  .site-nav { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 44px 0 40px; }
  .site-header .wrap { height: 62px; gap: 12px; }
  .brand small { display: none; }
  .brand img { height: 30px; }
  .header-cta .btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .phone-stack { gap: 12px; }
  .phone { width: 172px; border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
  .phone.is-back { transform: translateY(-22px) rotate(-4deg) scale(.94); }
  .float-chip { font-size: 12px; padding: 8px 12px; }
  .chip-2 { right: 8px; bottom: 12px; }
  .grid-3, .grid-2, .screens, .steps { grid-template-columns: 1fr; }
  .screens { gap: 30px; }
  .banner { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .section { padding: 42px 0; }
}
