/* =========================================================
   团个谷 TUANGE GU — 官网样式
   Design tokens / Layout / Components / Responsive
   ========================================================= */

:root {
  /* 品牌色 */
  --brand: #f4622e;
  --brand-dark: #d94d1c;
  --brand-soft: #ffe9df;
  --amber: #ffb03a;
  --amber-soft: #fff2d9;
  --mint: #16a085;
  --mint-soft: #e0f5ef;
  --violet: #6b5bd2;
  --violet-soft: #ece9ff;

  /* 中性色 */
  --ink: #1f1a16;
  --ink-2: #3d3530;
  --muted: #756b64;
  --faint: #a89e97;
  --line: #efe5dd;
  --line-2: #e3d8cf;
  --bg: #fffbf7;
  --bg-2: #fdf5ee;
  --card: #ffffff;
  --dark: #1c1815;
  --dark-2: #2a2420;

  /* 尺寸 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(31, 26, 22, .05), 0 2px 8px rgba(31, 26, 22, .04);
  --shadow: 0 2px 6px rgba(31, 26, 22, .05), 0 12px 30px rgba(31, 26, 22, .07);
  --shadow-lg: 0 8px 20px rgba(31, 26, 22, .07), 0 30px 60px rgba(31, 26, 22, .10);
  --wrap: 1180px;

  --ease: cubic-bezier(.22, .68, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--bg { background: var(--bg-2); }
.center { text-align: center; }

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

/* ---------- 顶部滚动条 ---------- */
.topbar {
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--amber) 45%, var(--violet) 100%);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 251, 247, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(31, 26, 22, .05); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 74px; }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(140deg, var(--brand), var(--amber));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px;
  box-shadow: 0 6px 16px rgba(244, 98, 46, .32);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__cn { font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.logo__en { font-size: 10px; letter-spacing: .22em; color: var(--faint); font-weight: 600; }

.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 9px 15px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  font-weight: 500; transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-soft); }
.nav__link.is-active { color: var(--brand); font-weight: 700; }
.nav__link.is-active::after { content: none; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 17px; height: 1.8px; background: var(--ink); position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.8px; background: var(--ink); }
.nav__toggle span::before { top: -5.5px; } .nav__toggle span::after { top: 5.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: linear-gradient(135deg, var(--brand), #ff7d4d); color: #fff; box-shadow: 0 8px 22px rgba(244, 98, 46, .3); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(244, 98, 46, .42); transform: translateY(-2px); }
.btn--ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- 通用标题 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--dark { color: #ffb98f; background: rgba(244, 98, 46, .18); }
.h-sec { font-size: clamp(26px, 3.6vw, 40px); }
.sub-sec { color: var(--muted); font-size: 16px; margin-top: 14px; max-width: 640px; }
.center .sub-sec { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 48px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 84px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: rgba(255, 176, 58, .28); top: -180px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: rgba(244, 98, 46, .16); bottom: -220px; left: -140px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.14; letter-spacing: -.02em; }
.hero__title em { font-style: normal; position: relative; color: var(--brand); }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
  background: var(--amber-soft); border-radius: 4px; z-index: -1;
}
.hero__desc { margin-top: 22px; font-size: 17px; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); display: block; }
.pill:nth-child(2) i { background: var(--amber); }
.pill:nth-child(3) i { background: var(--violet); }
.pill:nth-child(4) i { background: var(--mint); }

.hero__media { position: relative; }
.hero__photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.hero__photo img { aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.float-card {
  position: absolute; background: var(--card); border-radius: var(--r-md);
  padding: 13px 17px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px;
  font-size: 13.5px; font-weight: 600;
}
.float-card b { display: block; font-size: 15px; }
.float-card small { color: var(--faint); font-weight: 500; font-size: 12px; }
.float-card__dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.float-card--1 { left: -22px; bottom: 34px; animation: floaty 5s ease-in-out infinite; }
.float-card--2 { right: -14px; top: 30px; animation: floaty 6.2s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 品类卡 ---------- */
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.cat-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cat-card__title { font-size: 19px; display: flex; align-items: center; gap: 9px; }
.cat-card__title span { font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; }
.cat-card__desc { color: var(--muted); font-size: 14.5px; margin-top: 10px; flex: 1; }
.cat-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { font-size: 12.5px; background: var(--bg-2); color: var(--ink-2); border-radius: 6px; padding: 4px 9px; font-weight: 500; }
.cat-card__link { margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .cat-card__link { gap: 10px; }
.cat-card__link { transition: gap .25s var(--ease); }

/* ---------- 能力卡 ---------- */
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.feat h3 { font-size: 17.5px; }
.feat p { color: var(--muted); font-size: 14.5px; margin-top: 9px; }

/* ---------- 深色下载推广区 ---------- */
.dark-cta { background: var(--dark); border-radius: var(--r-xl); padding: 56px; position: relative; overflow: hidden; color: #fff; }
.dark-cta::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(244, 98, 46, .3); filter: blur(100px); top: -190px; right: -80px; }
.dark-cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .85fr; gap: 48px; align-items: center; }
.dark-cta h2 { font-size: clamp(25px, 3.2vw, 36px); color: #fff; }
.dark-cta p { color: rgba(255, 255, 255, .66); margin-top: 16px; font-size: 15.5px; }
.dark-cta__list { margin-top: 26px; display: grid; gap: 12px; }
.dark-cta__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.dark-cta__list li::before { content: "✓"; color: var(--amber); font-weight: 700; flex-shrink: 0; }
.dark-cta__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.btn--outline-light { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); color: #fff; }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }

.mini-res { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.mini-res + .mini-res { margin-top: 12px; }
.mini-res__ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; letter-spacing: .02em; }
.mini-res__t { font-size: 14.5px; font-weight: 600; }
.mini-res__m { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin-top: 2px; }
.mini-res__p { margin-left: auto; font-weight: 800; color: var(--amber); font-size: 15px; white-space: nowrap; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; position: relative; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em;
}
.step h3 { font-size: 16.5px; margin-top: 12px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.step__line { position: absolute; top: 34px; right: -10px; color: var(--line-2); font-size: 18px; }
.step:last-child .step__line { display: none; }

/* ---------- 页面头 ---------- */
.page-head { padding: 62px 0 52px; background: var(--bg-2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 176, 58, .22); filter: blur(90px); top: -200px; right: -60px; }
.page-head__inner { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(28px, 3.8vw, 44px); }
.page-head p { color: var(--muted); margin-top: 14px; max-width: 660px; font-size: 16px; }
.crumb { font-size: 13px; color: var(--faint); margin-bottom: 16px; }
.crumb a:hover { color: var(--brand); }

/* ---------- 筛选 ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip {
  border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600;
  background: var(--card); border: 1px solid var(--line-2); color: var(--ink-2);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters__count { margin-left: auto; font-size: 14px; color: var(--muted); }
.filters__count b { color: var(--brand); }

/* ---------- 资源卡（付费下载） ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.res:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.res__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.res__thumb img { width: 100%; height: 100%; object-fit: cover; }
.res__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(28, 24, 21, .12), rgba(28, 24, 21, .55)); }
.res__type {
  position: absolute; z-index: 1; left: 14px; top: 14px;
  background: rgba(255, 255, 255, .94); border-radius: 8px; padding: 5px 11px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--ink);
}
.res__badge { position: absolute; z-index: 1; right: 14px; top: 14px; border-radius: 8px; padding: 5px 11px; font-size: 11.5px; font-weight: 800; color: #fff; background: var(--brand); }
.res__badge--free { background: var(--mint); }
.res__badge--hot { background: #e0342c; }
.res__badge--new { background: var(--violet); }
.res__size { position: absolute; z-index: 1; left: 14px; bottom: 12px; font-size: 12px; color: rgba(255, 255, 255, .9); font-weight: 600; }

.res__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.res__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.res__title { font-size: 16.5px; margin-top: 8px; line-height: 1.4; }
.res__desc { color: var(--muted); font-size: 13.8px; margin-top: 9px; flex: 1; }
.res__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.res__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.price { display: flex; align-items: baseline; gap: 7px; }
.price__now { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.price__now small { font-size: 14px; font-weight: 700; }
.price__was { font-size: 13px; color: var(--faint); text-decoration: line-through; }
.price__free { font-size: 17px; font-weight: 800; color: var(--mint); }
.res__stat { font-size: 12.5px; color: var(--faint); margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.res__owned { display: flex; align-items: center; gap: 6px; color: var(--mint); font-weight: 700; font-size: 13px; }

.res-empty { text-align: center; padding: 70px 20px; color: var(--muted); }

/* ---------- 授权说明 ---------- */
.lic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lic__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; background: var(--card); }
.lic__card.is-feature { border-color: var(--brand); box-shadow: 0 12px 34px rgba(244, 98, 46, .12); position: relative; }
.lic__card h3 { font-size: 17px; }
.lic__price { font-size: 26px; font-weight: 800; margin: 10px 0 4px; }
.lic__card ul { margin-top: 16px; display: grid; gap: 9px; }
.lic__card li { font-size: 14px; color: var(--muted); display: flex; gap: 9px; }
.lic__card li::before { content: "·"; color: var(--brand); font-weight: 900; }
.lic__flag { position: absolute; top: -12px; right: 20px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; padding: 20px 24px; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__q i { font-style: normal; color: var(--brand); font-size: 20px; transition: transform .25s var(--ease); flex-shrink: 0; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- 提示条 ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--amber-soft); border: 1px solid #f6e0b6; border-radius: var(--r-md);
  padding: 16px 20px; font-size: 14px; color: #7a5a17;
}
.notice--info { background: var(--violet-soft); border-color: #dcd6ff; color: #4a3ea8; }
.notice--ok { background: var(--mint-soft); border-color: #c3e9dd; color: #0e6f5b; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__mask { position: absolute; inset: 0; background: rgba(28, 24, 21, .5); backdrop-filter: blur(3px); animation: fade .2s var(--ease); }
.modal__box {
  position: relative; width: min(560px, calc(100% - 32px)); margin: 6vh auto;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  max-height: 88vh; overflow: auto; animation: pop .26s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 2; }
.modal__head h3 { font-size: 18px; }
.modal__x { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; color: var(--muted); transition: background .2s, color .2s; }
.modal__x:hover { background: var(--bg-2); color: var(--ink); }
.modal__body { padding: 24px 26px; }
.modal__foot { padding: 18px 26px 24px; display: flex; gap: 12px; }

.order-item { display: flex; gap: 14px; align-items: center; background: var(--bg-2); border-radius: var(--r-md); padding: 14px; }
.order-item img { width: 66px; height: 66px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.order-item__t { font-size: 15px; font-weight: 700; line-height: 1.4; }
.order-item__m { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.field { margin-top: 20px; }
.field__label { font-size: 13.5px; font-weight: 700; margin-bottom: 9px; display: block; }
.opt-row { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-md); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s; font-size: 14.5px;
}
.opt:hover { border-color: var(--brand); }
.opt.is-on { border-color: var(--brand); background: var(--brand-soft); }
.opt__radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.opt.is-on .opt__radio { border-color: var(--brand); }
.opt.is-on .opt__radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.opt__main { flex: 1; }
.opt__main b { display: block; font-size: 14.5px; }
.opt__main small { color: var(--muted); font-size: 12.5px; }
.opt__price { font-weight: 800; color: var(--brand); }

.sum { margin-top: 22px; border-top: 1px dashed var(--line-2); padding-top: 18px; display: grid; gap: 11px; }
.sum__row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.sum__row--total { font-size: 16px; color: var(--ink); font-weight: 800; }
.sum__row--total span:last-child { color: var(--brand); font-size: 22px; }

.pay-done { text-align: center; padding: 12px 6px 6px; }
.pay-done__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); display: grid; place-items: center; font-size: 34px; margin: 0 auto 18px; }
.pay-done h3 { font-size: 21px; }
.pay-done p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.pay-done__code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: var(--bg-2); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin-top: 18px; color: var(--ink-2); letter-spacing: .04em; }

.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inp {
  width: 100%; padding: 13px 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--line-2); background: var(--card); transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
.inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(244, 98, 46, .1); }
textarea.inp { resize: vertical; min-height: 130px; }
.lbl { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; display: block; }

/* ---------- 联系人卡 ---------- */
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.info-card__ico { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.info-card h3 { font-size: 15.5px; }
.info-card p { color: var(--muted); font-size: 14.5px; margin-top: 6px; word-break: break-all; }
.info-card a:hover { color: var(--brand); }

/* ---------- 关于 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat b { display: block; font-size: 30px; color: var(--brand); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }

.prose p + p { margin-top: 16px; }
.prose p { color: var(--muted); font-size: 15.5px; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.check-list li::before { content: "✓"; color: var(--brand); font-weight: 800; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .68); padding: 62px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; margin-bottom: 18px; }
.footer a { font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .2s; }
.footer a:hover { color: var(--amber); }
.footer li + li { margin-top: 11px; }
.footer__brand .logo__cn { color: #fff; }
.footer__brand p { font-size: 13.8px; margin-top: 16px; line-height: 1.8; max-width: 300px; }
.footer__contact li { font-size: 14px; display: flex; gap: 10px; }
.footer__contact li span { color: rgba(255, 255, 255, .4); flex-shrink: 0; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255, 255, 255, .48);
}
.footer__bottom a { font-size: 13px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; }
  .float-card--1 { left: 8px; bottom: 12px; }
  .float-card--2 { right: 8px; top: 12px; }
  .dark-cta { padding: 40px 26px; }
  .dark-cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .g-3, .lic { grid-template-columns: 1fr; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto; background: var(--bg); flex-direction: column;
    align-items: stretch; gap: 2px; padding: 16px 20px 24px; margin: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { padding: 14px 16px; border-radius: 12px; font-size: 16px; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { display: none; }
  .nav__cta .btn--keep { display: inline-flex; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .res-grid { grid-template-columns: 1fr; }
  .g-2, .g-4, .steps, .stat-row { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .modal__box { margin: 4vh auto; }
  .modal__foot { flex-direction: column-reverse; }
  .modal__foot .btn { width: 100%; }
  .filters__count { margin-left: 0; width: 100%; }
  .hero__title { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__contact { grid-column: 1 / -1; }
}
