/* ==========================================================================
   首页专用样式
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    var(--accent-tint) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
  animation: livePulse 2.4s var(--ease-out) infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 600;
}

.hero-title-accent {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  margin-top: 26px;
  font-size: var(--fs-md);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 660px;
  margin-inline: auto;
}

.hero-edge {
  margin-top: 16px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-subtle);
  max-width: 620px;
  margin-inline: auto;
}

.hero-btns {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-fine {
  margin-top: 20px;
  font-size: var(--fs-2xs);
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.warn-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--kraft);
}

/* ---------- 环境对比 ---------- */
.env-compare {
  margin-top: clamp(48px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.env-col {
  padding: 26px 24px;
  border-radius: var(--radius-card);
  background: var(--page);
  box-shadow: 0 0 0 .5px var(--line-strong), 0 8px 24px #00000008;
}

.env-col-bad { opacity: .82; }

.env-col-good {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--accent-tint),
              0 0 0 .5px var(--accent-tint),
              0 18px 44px -18px var(--accent-tint);
}

.env-col h3 {
  font-size: var(--fs-md);
  display: flex;
  align-items: center;
  gap: 9px;
}

.env-desc {
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--text-subtle);
}

.env-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.env-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.env-list .k { color: var(--text-subtle); flex: none; }
.env-list .v { color: var(--text-muted); text-align: right; }
.env-col-bad .env-list .v { text-decoration: line-through; text-decoration-color: var(--line-strong); }
.env-col-good .env-list .v { color: var(--ink); font-weight: 500; }

.env-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 20px;
  opacity: .55;
}

/* ---------- 为什么 ---------- */
.why-card {
  padding: 26px 24px;
  border-top: 3px solid var(--tone, var(--accent));
}

.why-no {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--tone-text, var(--accent-text));
  margin-bottom: 10px;
}

.why-card h3 {
  font-size: var(--fs-md);
  margin-bottom: 10px;
}

.why-card p { font-size: var(--fs-sm); line-height: 1.62; }

/* ---------- 可以信任 ---------- */
.section-alt { background: var(--surface); }

.trust-top {
  display: flex;
  gap: 56px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-top h2 { margin-top: 12px; }

.trust-lead {
  margin-top: 14px;
  font-size: var(--fs-md);
  color: var(--text-muted);
}

.fit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 340px;
}

.fit-list li {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.fit-list strong { color: var(--ink); }

/* 对比表 */
.compare-table {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 0 0 .5px var(--line-strong), 0 8px 24px #00000008;
}

.ct-row {
  display: grid;
  grid-template-columns: 130px 1fr 1.15fr;
  gap: 22px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-muted);
}

.ct-row:first-child { border-top: none; }

.ct-head {
  background: var(--surface);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding-block: 13px;
}

.ct-k {
  color: var(--ink);
  font-weight: 500;
}

.ct-good {
  color: var(--ink);
}

.ct-head .ct-good { color: var(--accent-text); }

/* ---------- 价格卡 ---------- */
.sku-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
}

.sku-card-hot {
  box-shadow: inset 0 0 0 1px var(--accent),
              0 18px 44px -20px var(--accent-tint);
}

.sku-tag {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sku-price {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sku-price .num {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1;
  margin-right: 4px;
}

.sku-sub {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  min-height: 44px;
}

.sku-spec {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}

.sku-spec li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.sku-spec li span:first-child { color: var(--text-subtle); }
.sku-spec li span:last-child { color: var(--ink); font-weight: 500; }

.price-note {
  margin-top: 24px;
  font-size: var(--fs-2xs);
  color: var(--text-subtle);
}

/* ---------- 深色承诺区 ---------- */
.section-dark {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--radius-panel);
  margin-inline: var(--gutter);
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
}

.section-dark .kick { color: var(--on-dark-muted); }
.section-dark h2 { color: var(--on-dark); }
.section-dark .section-head p { color: var(--on-dark-muted); }

.promise-grid { margin-top: 8px; }

.promise-item {
  padding: 22px;
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--on-dark) 6%, transparent);
  box-shadow: inset 0 0 0 1px var(--on-dark-line);
}

.promise-no {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.promise-item h3 {
  color: var(--on-dark);
  font-size: var(--fs-base);
  margin-bottom: 8px;
}

.promise-item p {
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
  line-height: 1.6;
}

.promise-cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-dark .btn-secondary {
  background: transparent;
  color: var(--on-dark);
  box-shadow: inset 0 0 0 1px var(--on-dark-line);
}

.section-dark .btn-secondary:hover {
  background: color-mix(in srgb, var(--on-dark) 8%, transparent);
  box-shadow: inset 0 0 0 1px var(--on-dark-muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .env-compare { grid-template-columns: 1fr; }
  .env-arrow { transform: rotate(90deg); padding: 4px 0; }
  .trust-top { flex-direction: column; align-items: flex-start; gap: 26px; }
  .ct-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .ct-k { font-size: var(--fs-sm); font-weight: 600; }
  .ct-head { display: none; }
  .section-dark { margin-inline: 0; border-radius: 0; }
}

@media (max-width: 640px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .env-list li { font-size: var(--fs-xs); }
}
