:root {
  --bg: #08090c;
  --bg-soft: #101218;
  --card: #14161d;
  --card-2: #1a1d26;
  --line: #262a35;
  --text: #f4f5f8;
  --muted: #9aa0b0;
  --accent: #7b5cff;
  --accent-2: #22d3a6;
  --warn: #ffb020;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- 顶部条 ---------- */
.topbar {
  background: linear-gradient(90deg, var(--accent), #a855f7);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
  padding: 9px 14px;
}
.topbar span { opacity: .95; }
.topbar i { font-style: normal; opacity: .6; margin: 0 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 30px 0 34px;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(123, 92, 255, .32), transparent 70%),
    radial-gradient(620px 320px at 88% 18%, rgba(34, 211, 166, .16), transparent 72%);
  overflow: hidden;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.hero__media {
  width: min(320px, 74vw);
  filter: drop-shadow(0 26px 50px rgba(123, 92, 255, .35));
}
.hero__media svg { width: 100%; height: auto; }

.hero__copy { text-align: center; width: 100%; }

.hero__eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(34, 211, 166, .38);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(27px, 7.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #a78bfa, #22d3a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 18px;
}
.hero__sub b { color: var(--text); font-weight: 700; }

.hero__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.hero__price strong { font-size: 34px; letter-spacing: -.02em; }
.hero__price s { color: var(--muted); font-size: 15px; }
.hero__price small { color: var(--accent-2); font-size: 12.5px; font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  padding: 16px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn--primary {
  background: linear-gradient(96deg, var(--accent), #a855f7 55%, #e879f9);
  color: #fff;
  box-shadow: 0 14px 34px rgba(123, 92, 255, .42);
}
.btn--primary:active { transform: scale(.985); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 14.5px;
  padding: 13px 18px;
}

.hero__note {
  color: var(--muted);
  font-size: 11.5px;
  margin: 14px auto 0;
  max-width: 420px;
}

/* ---------- 通用区块 ---------- */
section { padding: 34px 0; }

.sec-head { margin-bottom: 20px; text-align: center; }
.sec-head h2 {
  font-size: clamp(21px, 5.4vw, 30px);
  margin: 0 0 8px;
  letter-spacing: -.015em;
  font-weight: 800;
}
.sec-head p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 卖点 ---------- */
.features { background: var(--bg-soft); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 14px;
}
.feature b {
  display: block;
  font-size: 18px;
  letter-spacing: -.01em;
  margin-bottom: 3px;
}
.feature span { color: var(--muted); font-size: 12.5px; }

/* ---------- 口味 ---------- */
.flavors .sec-head { margin-bottom: 16px; }

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.flavor {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.flavor:active { transform: scale(.99); }
.flavor .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08) inset;
}
.flavor[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(123, 92, 255, .14);
}
.flavor[aria-pressed="true"]::after {
  content: "✓";
  margin-left: auto;
  color: var(--accent-2);
  font-weight: 800;
}

/* ---------- 套餐 ---------- */
.packages { background: var(--bg-soft); }

.pack-list {
  display: grid;
  gap: 12px;
}

.pack {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 15px;
  color: var(--text);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.pack[aria-pressed="true"] {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(123, 92, 255, .16), rgba(123, 92, 255, .05));
  box-shadow: 0 12px 30px rgba(123, 92, 255, .2);
}

.pack__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #08090c;
  background: linear-gradient(92deg, #22d3a6, #a3e635);
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 9px;
}

.pack__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pack__name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.pack__sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.pack__price { font-size: 24px; font-weight: 800; white-space: nowrap; letter-spacing: -.02em; }
.pack__price small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: right; }
.pack__save {
  display: inline-block;
  margin-top: 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-2);
}

.pack__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex: 0 0 auto;
  margin-right: 10px;
  position: relative;
  top: 3px;
}
.pack[aria-pressed="true"] .pack__radio { border-color: var(--accent); }
.pack[aria-pressed="true"] .pack__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}

/* 下单区 */
.checkout {
  margin-top: 16px;
  padding: 16px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.checkout__line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 7px;
}
.checkout__line b { color: var(--text); font-weight: 700; }
.checkout__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 11px;
  margin-top: 4px;
  border-top: 1px dashed var(--line);
  font-size: 15px;
  font-weight: 700;
}
.checkout__total strong { font-size: 27px; letter-spacing: -.02em; }
.checkout .btn { margin-top: 14px; max-width: none; }
.checkout__hint {
  text-align: center;
  color: var(--muted);
  font-size: 11.5px;
  margin: 10px 0 0;
}

/* ---------- 信任 ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.trust {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.trust b { display: block; color: var(--text); font-size: 13.5px; margin-bottom: 2px; }
.trust .ico { font-size: 17px; display: block; margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 9px;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--accent-2);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p {
  margin: 0;
  padding: 0 16px 15px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- 页脚 ---------- */
footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.warn-box {
  background: rgba(255, 176, 32, .08);
  border: 1px solid rgba(255, 176, 32, .34);
  border-radius: 12px;
  padding: 14px 15px;
  margin-bottom: 18px;
}
.warn-box h3 {
  margin: 0 0 7px;
  font-size: 13px;
  color: var(--warn);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.warn-box p { margin: 0 0 6px; font-size: 12.5px; color: #d5d8e0; }
.warn-box p:last-child { margin-bottom: 0; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
}
.foot-links a { color: var(--muted); text-decoration: none; font-size: 12px; }
.foot-links a:hover { color: var(--text); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 10px;
}

/* ---------- 移动端吸底 ---------- */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(10, 11, 15, .93);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky__meta { flex: 1; min-width: 0; }
.sticky__meta b { display: block; font-size: 16px; letter-spacing: -.01em; }
.sticky__meta span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky .btn {
  width: auto;
  max-width: none;
  padding: 12px 20px;
  font-size: 14.5px;
  flex: 0 0 auto;
}
body { padding-bottom: 74px; }

/* ---------- 桌面 ---------- */
@media (min-width: 760px) {
  .hero { padding: 54px 0 58px; }
  .hero__grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }
  .hero__media { width: 40%; flex: 0 0 auto; }
  .hero__copy { text-align: left; flex: 1; }
  .hero__price { justify-content: flex-start; }
  .hero__note { margin-left: 0; }
  .feature-grid { grid-template-columns: repeat(5, 1fr); }
  .flavor-grid { grid-template-columns: repeat(4, 1fr); }
  .pack-list { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .sticky { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
