/* ==========================================================================
   卡盟自助在线下单 - 全站样式
   深墨绿底 + 翡翠绿 / 琥珀金（与站1深色抖音风、站2浅色蓝紫风明显区分）
   纯静态、零依赖、移动优先
   ========================================================================== */

:root {
  --bg: #06120e;
  --bg-soft: #0a1c15;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(126, 231, 181, 0.2);
  --border-strong: rgba(126, 231, 181, 0.38);
  --text: #eefaf2;
  --text-dim: #b3cfc0;
  --muted: #82a191;
  --green: #1fe894;
  --green-deep: #0e9f66;
  --amber: #ffc247;
  --grad: linear-gradient(118deg, #1fe894 0%, #38c996 45%, #ffc247 100%);
  --grad-soft: linear-gradient(118deg, rgba(31, 232, 148, .16), rgba(255, 194, 71, .12));
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --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(31, 232, 148, .16), transparent 62%),
    radial-gradient(720px 460px at 92% 4%, rgba(255, 194, 71, .14), transparent 62%),
    radial-gradient(900px 620px at 50% 110%, rgba(14, 159, 102, .16), transparent 68%);
}

/* ---------- 动画 ---------- */
@keyframes btn-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 232, 148, .5), 0 12px 36px rgba(31, 232, 148, .4); }
  50% { box-shadow: 0 0 0 16px rgba(31, 232, 148, 0), 0 12px 36px rgba(255, 194, 71, .5); }
}
@keyframes btn-shine {
  0% { transform: translateX(-160%) skewX(-18deg); }
  55%, 100% { transform: translateX(260%) skewX(-18deg); }
}
@keyframes float-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, -36px) scale(1.15); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 40px, 860px); margin-inline: auto; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 20, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #06231a;
  font-size: 17px;
  font-weight: 800;
}

.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 72px; text-align: center; }

/* 首屏浮动光斑 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: float-orb 9s ease-in-out infinite alternate;
}
.hero::before {
  width: 440px; height: 440px;
  background: rgba(31, 232, 148, .22);
  top: -120px; left: -90px;
}
.hero::after {
  width: 400px; height: 400px;
  background: rgba(255, 194, 71, .18);
  bottom: -110px; right: -70px;
  animation-delay: -4.5s;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--grad-soft);
  color: var(--green);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 22px;
  animation: rise .6s ease both;
}

.hero h1 {
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 1px;
  animation: rise .6s .08s ease both;
  text-shadow: 0 0 60px rgba(31, 232, 148, .25);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--text-dim);
  font-size: 16.5px;
  animation: rise .6s .18s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  animation: rise .6s .28s ease both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 52px;
  animation: rise .7s .4s ease both;
}

.hero-stats li {
  min-width: 150px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--grad-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stats strong {
  font-size: 26px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #1fe894 0%, #ffc247 30%, #1fe894 60%, #ffc247 100%);
  background-size: 220% 100%;
  color: #052a1c;
  font-weight: 800;
  letter-spacing: .5px;
  border: 1px solid rgba(255, 255, 255, .25);
  animation: btn-flow 3.2s linear infinite, btn-pulse 2.2s ease-in-out infinite;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: btn-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  animation-play-state: paused, running;
}
.btn-primary:hover::after { animation-duration: 1.1s; }
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { padding: 17px 46px; font-size: 18px; }

/* ---------- 减少动态效果偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 区块 ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }

.section-title {
  text-align: center;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  letter-spacing: 1px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 10px;
  margin-bottom: 44px;
}

/* ---------- 业务卡片 ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: 0 18px 44px rgba(31, 232, 148, .13);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.75; }

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.steps li:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(31, 232, 148, .12);
}

.step-num {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--text-dim); line-height: 1.75; }

/* ---------- 问答 ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--green);
  flex: none;
  transition: transform .2s;
}
.faq-item[open] summary { background: var(--surface-2); }
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 4px 20px 18px;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ---------- 底部引导 ---------- */
.cta { position: relative; overflow: hidden; padding: 80px 0 90px; text-align: center; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 300px at 50% 0%, rgba(31, 232, 148, .14), transparent 68%),
    radial-gradient(420px 260px at 50% 100%, rgba(255, 194, 71, .10), transparent 68%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 {
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta p { color: var(--text-dim); margin: 14px 0 30px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 34px 0;
  text-align: center;
}
.footer-brand { font-weight: 700; margin-bottom: 6px; }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ---------- 404 ---------- */
.err-main { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.err-box { text-align: center; }
.err-code {
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.err-box h1 { font-size: 24px; margin: 18px 0 10px; }
.err-desc { color: var(--text-dim); font-size: 15px; margin-bottom: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .hero-stats li { flex: 1 1 40%; min-width: 0; }
  .section { padding: 56px 0; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
