/* ==========================================================================
   名爵H5 内页骨架：移动优先 · 居中双机展示 + 对照双栏 + 场景卡
   ========================================================================== */

:root {
  --h5-bg: #fbf7ff;
  --h5-grad-a: #f0abfc;
  --h5-grad-b: #a855f7;
  --h5-grad-c: #4f46e5;
  --h5-ink: #1c1430;
  --h5-muted: #6d6389;
  --h5-line: #eae0f7;
  --h5-soft: #f6f0ff;
}

body.h5-page { background: var(--h5-bg); color: var(--h5-ink); }

.h5-page .brand-mark { background: linear-gradient(140deg, #f0abfc, #7c3aed); color: #fff; box-shadow: 0 6px 16px rgba(124, 58, 237, .28); }
.h5-page .brand-text em { color: #7c3aed; }
.h5-page .site-nav a.is-active { color: #7c3aed; background: rgba(124, 58, 237, .09); }
.h5-page .btn-login { background: linear-gradient(135deg, #c084fc, #6d28d9); box-shadow: 0 8px 20px rgba(124, 58, 237, .26); }

/* ---------------- Hero ---------------- */
.h5-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 0;
  text-align: center;
  background:
    radial-gradient(720px 420px at 50% 0%, rgba(192, 132, 252, .28), transparent 66%),
    radial-gradient(520px 380px at 90% 80%, rgba(79, 70, 229, .12), transparent 70%),
    linear-gradient(180deg, #ffffff, var(--h5-bg));
}

.h5-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(168, 85, 247, .14) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 68%);
  pointer-events: none;
}

.h5-hero-inner { position: relative; z-index: 2; }

.h5-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--h5-line);
  box-shadow: var(--shadow-s);
  font-size: 12.5px;
  font-weight: 700;
  color: #7c3aed;
}

.h5-hero h1 {
  margin: 22px auto 16px;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -.8px;
}

.h5-hero h1 .grad {
  background: linear-gradient(100deg, #e879f9, #a855f7 45%, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h5-hero .lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--h5-muted);
}

.h5-hero .lead strong { color: var(--h5-ink); }

.h5-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 0;
}

.h5-actions .btn-primary {
  background: linear-gradient(135deg, #c084fc, #6d28d9);
  color: #fff;
  box-shadow: 0 16px 36px rgba(124, 58, 237, .3);
}

.h5-actions .btn-room {
  background: #fff;
  border: 1px solid var(--h5-line);
  color: #6d28d9;
}

.h5-actions .btn-room b { letter-spacing: 1.5px; }

.h5-visual {
  position: relative;
  z-index: 2;
  width: min(100%, 820px);
  margin: 46px auto -1px;
}

.h5-visual img { width: 100%; }

/* ---------------- 段落 ---------------- */
.h5-section { padding: 82px 0; }
.h5-section.soft { background: var(--h5-soft); border-block: 1px solid var(--h5-line); }

.h5-head { max-width: 700px; margin: 0 auto 40px; text-align: center; }

.h5-head .k { font-size: 12px; font-weight: 800; letter-spacing: 3px; color: #7c3aed; }
.h5-head h2 { margin: 12px 0 10px; font-size: clamp(24px, 3.1vw, 36px); font-weight: 900; line-height: 1.3; }
.h5-head p { font-size: 15.5px; color: var(--h5-muted); }

/* ---------------- 对照 ---------------- */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 900px;
  margin-inline: auto;
}

.vs-col {
  padding: 30px 28px;
  border-radius: 20px;
  border: 1px solid var(--h5-line);
  background: #fff;
}

.vs-col.hl {
  background: linear-gradient(160deg, #ffffff, #f8f3ff);
  border-color: #d8c4f7;
  box-shadow: 0 20px 44px rgba(124, 58, 237, .12);
}

.vs-col header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--h5-line);
}

.vs-col header .dot {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--h5-soft);
  font-size: 17px;
}

.vs-col.hl header .dot { background: linear-gradient(140deg, #c084fc, #6d28d9); color: #fff; }

.vs-col header h3 { font-size: 17px; font-weight: 800; }
.vs-col header span { display: block; font-size: 12.5px; font-weight: 400; color: var(--h5-muted); }

.vs-col li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4a4166;
}

.vs-col li .mark {
  flex: none;
  width: 18px;
  color: #a855f7;
  font-weight: 700;
}

.vs-col li .mark.off { color: #c9bfd9; }

/* ---------------- 场景 ---------------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.scene {
  padding: 28px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--h5-line);
  transition: transform .25s, box-shadow .25s;
}

.scene:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(124, 58, 237, .12); }

.scene .emo {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--h5-soft);
  font-size: 22px;
  margin-bottom: 16px;
}

.scene h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 7px; }
.scene p { font-size: 13.5px; line-height: 1.8; color: var(--h5-muted); }

/* ---------------- 打开方式 ---------------- */
.open-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin-inline: auto;
  border: 1px solid var(--h5-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.open-step {
  padding: 30px 26px;
  border-right: 1px solid var(--h5-line);
}

.open-step:last-child { border-right: 0; }

.open-step .no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: #a855f7;
}

.open-step h3 { margin: 12px 0 7px; font-size: 16px; font-weight: 800; }
.open-step p { font-size: 13.5px; line-height: 1.8; color: var(--h5-muted); }

/* ---------------- FAQ ---------------- */
.h5-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }

.h5-faq .acc-item {
  border: 1px solid var(--h5-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s;
}

.h5-faq .acc-item.is-open { border-color: #d8c4f7; }

.h5-faq .acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--h5-ink);
}

.h5-faq .acc-trigger .sign {
  flex: none;
  margin-left: auto;
  width: 22px; height: 22px;
  position: relative;
  border-radius: 7px;
  background: var(--h5-soft);
}

.h5-faq .acc-trigger .sign::before,
.h5-faq .acc-trigger .sign::after {
  content: "";
  position: absolute;
  inset: 50% 26%;
  height: 2px;
  margin-top: -1px;
  background: #a855f7;
  transition: transform .25s;
}

.h5-faq .acc-trigger .sign::after { transform: rotate(90deg); }
.h5-faq .acc-item.is-open .acc-trigger .sign::after { transform: rotate(0); }

.h5-faq .acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.h5-faq .acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.h5-faq .acc-panel > div { overflow: hidden; }
.h5-faq .acc-panel p { padding: 0 22px 20px; font-size: 13.5px; line-height: 1.9; color: var(--h5-muted); }
.h5-faq .acc-panel a { color: #7c3aed; font-weight: 600; }

/* ---------------- 相关 ---------------- */
.h5-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 26px auto 0;
}

.h5-related a {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--h5-line);
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.h5-related a:hover { border-color: #d8c4f7; transform: translateY(-3px); }
.h5-related strong { display: block; font-size: 15px; margin-bottom: 4px; }
.h5-related span { font-size: 12.5px; color: var(--h5-muted); }

/* 入场 */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .versus { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .open-steps { grid-template-columns: 1fr; }
  .open-step { border-right: 0; border-bottom: 1px solid var(--h5-line); }
  .open-step:last-child { border-bottom: 0; }
  .h5-related { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .h5-hero { padding-top: 50px; }
  .h5-hero h1 { font-size: 30px; }
  .h5-actions .btn { width: 100%; }
  .h5-section { padding: 58px 0; }
  .h5-visual { margin-top: 32px; }
  .vs-col { padding: 22px 20px; }
}
