/* ==========================================================================
   应用中心 · 深色高端版
   设计参照 mhz6.cc：暖黑底 + 热力/科技双渐变，移动优先，桌面自适应
   ========================================================================== */

:root {
  --bg: #07070f;
  --bg-2: #0b0d1c;
  --surf: #101226;
  --ink: #eaf0fb;
  --mut: #a6aecb;
  --dim: #7b83a4;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --hot-1: #ff3d71;
  --hot-2: #ff8a4c;
  --tech-1: #7b5cff;
  --tech-2: #21d4fd;
  --ok: #2ee6a8;
  --star: #ffd166;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

:focus-visible { outline: 2px solid var(--tech-2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部滚动通知条 ---------- */
.urgency {
  background: linear-gradient(90deg, var(--hot-1), var(--tech-1));
  text-align: center;
  font-size: 12.5px;
  padding: 9px 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.urgency-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.urgency-track span { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- 吸顶导航 ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 15, .72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff, #9aa6d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand img { width: 26px; height: 26px; border-radius: 8px; }
.brand b { color: var(--hot-1); -webkit-text-fill-color: var(--hot-1); }

nav { display: flex; gap: 22px; font-size: 13.5px; color: var(--mut); }
nav a:hover { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-hot { background: linear-gradient(135deg, var(--hot-1), var(--hot-2)); box-shadow: 0 10px 28px rgba(255, 61, 113, .34); }
.btn-tech { background: linear-gradient(135deg, var(--tech-1), var(--tech-2)); box-shadow: 0 10px 28px rgba(123, 92, 255, .34); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.btn-md { padding: 12px 20px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 17px; border-radius: 15px; }
.btn-sm { padding: 9px 14px; font-size: 12.5px; border-radius: 10px; }
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(255, 61, 113, .34), 0 0 0 0 rgba(255, 61, 113, .35); }
  50% { box-shadow: 0 10px 28px rgba(255, 61, 113, .34), 0 0 0 14px rgba(255, 61, 113, 0); }
}

/* ---------- 区块与标题 ---------- */
section { padding: 64px 0; }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.sec-kicker {
  font-size: 12px;
  color: var(--hot-1);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; letter-spacing: -.03em; }
.sec-head p { color: var(--mut); font-size: 14px; margin-top: 12px; line-height: 1.8; }

/* ---------- 首屏 ---------- */
.hero { position: relative; text-align: center; padding: 68px 0 36px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(123, 92, 255, .28), transparent 70%),
    radial-gradient(420px 240px at 70% 20%, rgba(255, 61, 113, .2), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  padding: 7px 15px;
  border: 1px solid var(--line-2);
  border-radius: 30px;
  color: var(--mut);
  background: rgba(255, 255, 255, .04);
  margin-bottom: 20px;
}
.hero h1 {
  position: relative;
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.03em;
}
.grad {
  background: linear-gradient(100deg, var(--hot-2), var(--hot-1) 45%, var(--tech-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.under { position: relative; }
.under::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -8px;
  height: 8px;
  background: linear-gradient(90deg, var(--hot-1), var(--tech-1));
  filter: blur(9px);
  opacity: .5;
  border-radius: 50%;
}
.lead { color: var(--mut); font-size: 15.5px; line-height: 1.85; margin: 22px auto 0; max-width: 640px; }
.lead b { color: var(--ink); }

/* ---------- 推荐位（大卡） ---------- */
.cta-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 900px; margin: 42px auto 0; }
.cta-cards.single { max-width: 560px; }
.cta-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  background: linear-gradient(160deg, var(--surf), var(--bg-2));
  text-align: center;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.cta-card:hover { transform: translateY(-6px); }
.cta-card::before { content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.cta-card.a1 { border-color: rgba(255, 61, 113, .4); }
.cta-card.a2 { border-color: rgba(123, 92, 255, .4); }
.cta-card.a1::before { background: radial-gradient(260px 160px at 50% 0%, rgba(255, 61, 113, .22), transparent 70%); }
.cta-card.a2::before { background: radial-gradient(260px 160px at 50% 0%, rgba(123, 92, 255, .22), transparent 70%); }
.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid var(--line-2);
  z-index: 2;
}
.cta-card .ic {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.hero-card .ic { width: 96px; height: 96px; border-radius: 26px; margin-bottom: 20px; }
.a1 .ic { background: linear-gradient(135deg, var(--hot-1), var(--hot-2)); box-shadow: 0 12px 30px rgba(255, 61, 113, .4); }
.a2 .ic { background: linear-gradient(135deg, var(--tech-1), var(--tech-2)); box-shadow: 0 12px 30px rgba(123, 92, 255, .4); }
.ic-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ic-ph {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}
.ic-plat {
  position: absolute;
  right: -10px;
  bottom: -8px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  white-space: nowrap;
}
.ic-plat.both { background: linear-gradient(135deg, var(--ok), var(--tech-2)); }
.cta-card h3 { font-size: 23px; font-weight: 900; letter-spacing: -.02em; }
.hero-card h3 { font-size: 30px; }
.rate { color: var(--star); font-size: 13px; margin: 10px 0 6px; }
.rate span { color: var(--dim); font-size: 12px; }
.meta { color: var(--mut); font-size: 12.5px; margin-bottom: 22px; line-height: 1.6; }
.hero-card .meta { font-size: 13.5px; }
.cta-card .btn { width: 100%; }

/* ---------- 其余在架列表 ---------- */
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.plat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(16, 18, 38, .9), var(--bg-2));
  transition: transform .2s, border-color .2s, background .2s;
}
.plat-card:hover { transform: translateY(-3px); border-color: var(--line-2); background: linear-gradient(160deg, rgba(24, 27, 52, .95), var(--bg-2)); }
.plat-card .p-ic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 15px; overflow: hidden; background: rgba(255, 255, 255, .06); display: grid; place-items: center; }
.plat-card .p-ic img { width: 100%; height: 100%; object-fit: cover; }
.plat-card .p-ic .ic-ph { font-size: 20px; }
.plat-card .p-b { flex: 1; min-width: 0; text-align: left; }
.plat-card h4 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.plat-card p { color: var(--mut); font-size: 12.5px; line-height: 1.6; margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.plat-card .p-go {
  flex: none;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 61, 113, .5);
  color: #ffb4c8;
  background: rgba(255, 61, 113, .1);
}
.plat-tag {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  color: #ffd0dc;
  background: rgba(255, 61, 113, .18);
  border: 1px solid rgba(255, 61, 113, .35);
}

/* ---------- 四宫格卖点 ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; background: linear-gradient(160deg, var(--surf), var(--bg-2)); }
.benefit .bi {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 23px;
  background: rgba(123, 92, 255, .16);
  margin-bottom: 14px;
}
.benefit h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 7px; }
.benefit p { color: var(--mut); font-size: 12.8px; line-height: 1.7; }

/* ---------- 收费说明 ---------- */
.price-guide {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(46, 230, 168, .3);
  border-radius: var(--radius);
  padding: 34px;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(46, 230, 168, .12), transparent 70%),
    linear-gradient(160deg, var(--surf), var(--bg-2));
  text-align: center;
}
.pg-ic { font-size: 36px; margin-bottom: 10px; }
.price-guide h3 { font-size: 22px; font-weight: 900; }
.price-guide > p { color: var(--mut); font-size: 13.8px; line-height: 1.85; margin: 12px auto 20px; max-width: 560px; }
.pg-pts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pg-pts span { font-size: 12.5px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .03); }
.pg-pts b { color: var(--ok); }

/* ---------- 评论纵向轮播 ---------- */
.rev-feed {
  position: relative;
  height: 380px;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}
.rev-track { will-change: transform; animation: revScroll linear infinite; }
.rev-feed:hover .rev-track { animation-play-state: paused; }
@keyframes revScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.rev-seq { display: flex; flex-direction: column; gap: 12px; padding: 12px 0 0; }
.rev {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(160deg, var(--surf), var(--bg-2));
}
.av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--tech-1), var(--hot-1)); }
.av.f { background: linear-gradient(135deg, #ff7eb3, #ff3d71); }
.av.m { background: linear-gradient(135deg, var(--tech-1), var(--tech-2)); }
.rev-b { flex: 1; min-width: 0; text-align: left; }
.rev-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.rev-h b { font-size: 13px; }
.rev-h span { color: var(--star); font-size: 11px; letter-spacing: 1px; }
.rev-h em { margin-left: auto; color: var(--dim); font-size: 11px; font-style: normal; white-space: nowrap; }
.rev p { font-size: 13.2px; line-height: 1.7; color: #d3daf0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: rgba(255, 255, 255, .02); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.faq-q .plus { flex: none; font-size: 20px; color: var(--hot-1); transition: transform .2s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 20px; color: var(--mut); font-size: 13.5px; line-height: 1.85; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 18px; }

/* ---------- 结尾 CTA ---------- */
.final {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 60px 24px;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(123, 92, 255, .22), transparent 70%),
    linear-gradient(160deg, var(--surf), var(--bg-2));
}
.final h2 { font-size: clamp(26px, 5vw, 42px); font-weight: 900; letter-spacing: -.03em; }
.final p { color: var(--mut); font-size: 14px; margin: 14px 0 28px; }

/* ---------- 页脚 ---------- */
footer { padding: 36px 20px 100px; color: var(--dim); font-size: 12px; line-height: 1.9; border-top: 1px solid var(--line); }
.foot-in { max-width: 1120px; margin: 0 auto; display: flex; gap: 40px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.foot-txt { max-width: 720px; text-align: left; }
.foot-txt b { display: block; color: var(--mut); font-size: 12.5px; margin-bottom: 6px; }
.foot-warn { color: #ffb4c8; margin-top: 10px; }
.qr-block { flex: none; text-align: center; color: var(--dim); }
.qr-block img { width: 108px; height: 108px; border-radius: 10px; background: #fff; padding: 6px; display: block; margin-bottom: 8px; }

/* ---------- 底部悬浮条 ---------- */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  backdrop-filter: blur(14px);
  background: rgba(10, 11, 24, .92);
  border-top: 1px solid var(--line-2);
  padding: 10px 0;
}
.sticky-bar.show { display: block; }
.sticky-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-txt b { font-size: 14px; display: block; }
.sticky-txt small { color: var(--mut); font-size: 11.5px; }
.sticky-btns { display: flex; gap: 8px; }
.sticky-btns .btn { padding: 10px 16px; font-size: 12.5px; }

/* ---------- 提示条 ---------- */
#toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 22, 44, .96);
  border: 1px solid var(--line-2);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 99;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 骨架 / 空 / 错误 ---------- */
.sk {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surf), var(--bg-2));
  position: relative;
  overflow: hidden;
}
.sk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-hero { max-width: 560px; height: 330px; margin: 42px auto 0; border-radius: var(--radius); }
.sk-row { height: 82px; }
.state-block { text-align: center; padding: 44px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .02); }
.state-block h3 { font-size: 16px; margin-bottom: 8px; }
.state-block p { color: var(--mut); font-size: 13px; margin-bottom: 18px; }

/* ---------- 入场动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
[data-reveal].vis { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 820px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  nav { display: none; }
}
@media (max-width: 600px) {
  section { padding: 48px 0; }
  .hero { padding: 50px 0 28px; }
  .urgency { font-size: 11.5px; padding: 8px 12px; line-height: 1.5; }
  .urgency-track { gap: 4px; }
  .urgency-track span:nth-child(even) { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .benefit { padding: 18px 14px; }
  .benefit p { font-size: 12px; }
  .rev-feed { height: 340px; }
  .price-guide { padding: 24px 20px; }
  .sticky-txt small { display: none; }
  .sticky-btns .btn { padding: 9px 12px; }
  .hero-card .ic { width: 84px; height: 84px; border-radius: 22px; }
  .hero-card h3 { font-size: 26px; }
  .foot-in { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .rev-track { animation: none; }
  .rev-seq.dup { display: none; }
  .rev-feed { height: auto; max-height: 520px; overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
  .urgency-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}
