/* v4 — 蓝白夜场海报层：更夜的主色、更大的字、竖排/描边/印章/非对称价目 */

:root {
  --night: #040814;
  --night-2: #07122e;
  --electric: #2f4bff;
}

body { background: var(--night); }

.nav[data-theme="dark"] { background: var(--night); }

/* ---------------------------------------------------------------- stage */
.hero.stage {
  position: relative;
  min-height: 100svh;
  padding: 76px 0 0;
  background:
    radial-gradient(58% 52% at 78% 16%, rgba(47, 75, 224, 0.34), transparent 62%),
    linear-gradient(180deg, #050a18 0%, #03060f 100%);
  color: #fff;
  overflow: clip;
  isolation: isolate;
}
.stage-blue {
  position: absolute;
  z-index: 0;
  left: 0; top: 76px; bottom: 0;
  width: 56%;
  background: linear-gradient(160deg, #1933d6 0%, #0b1660 54%, #050a18 100%);
  clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
}
.stage .hero-gridbg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 72% at 60% 42%, #000 0%, transparent 80%);
}
.stage .hero-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1.4px);
  opacity: 0.18;
  mask-image: radial-gradient(42% 46% at 26% 34%, #000 0%, transparent 75%);
}
.stage .hero-glow {
  background: radial-gradient(360px circle at var(--mx, 64%) var(--my, 38%), rgba(127, 227, 255, 0.16), transparent 68%);
}

.ghost-date {
  position: absolute;
  z-index: 1;
  top: 13%;
  left: 2%;
  font-family: var(--display);
  font-size: 11vw;
  line-height: 0.78;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transform: rotate(-2deg);
}
.ghost-word {
  position: absolute;
  z-index: 1;
  left: -1%;
  bottom: -2vw;
  font-family: var(--display);
  font-size: 18vw;
  line-height: 0.78;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.stage-rail {
  position: absolute;
  z-index: 4;
  left: 12px;
  top: 50%;
  translate: 0 -50%;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.38em;
  color: rgba(255, 255, 255, 0.46);
  white-space: nowrap;
}

.stage-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: calc(100svh - 76px);
}
.stage-copy {
  width: 52%;
  min-height: calc(100svh - 76px - 88px);
  padding: clamp(28px, 5.2vh, 58px) 0 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
}
.stage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: clamp(18px, 3vh, 28px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
}
.stage-meta span { display: inline-flex; align-items: center; gap: 10px; }
.stage-meta span + span::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.hero.stage h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 7.1vw, 7.4rem);
  line-height: 0.84;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(20px, 3vh, 28px);
}
.hero.stage h1 span { display: block; }
.hero.stage h1 .hollow {
  color: rgba(255, 255, 255, 0.06);
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.82);
}
.hero.stage h1 .blue { color: #8fa4ff; }

.stage-lede {
  max-width: 25em;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.04vw, 1.1rem);
  line-height: 1.9;
  margin-bottom: 26px;
}

.stage .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stage .btn-light {
  background: #fff;
  color: var(--night);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}
.stage .btn-light:hover { background: var(--cyan); color: var(--night); }
.stage .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  border-radius: 14px;
  background: transparent;
}
.stage .btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.stage-endpoint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(4, 8, 20, 0.38);
  max-width: 560px;
}
.stage-endpoint .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #1fce8a;
  box-shadow: 0 0 0 4px rgba(31, 206, 138, 0.14);
  flex: none;
}
.stage-endpoint .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
}
.stage-endpoint code {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #fff;
  white-space: nowrap;
}
.stage-endpoint .chip-btn {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}
.stage-endpoint .chip-btn:hover { background: #fff; color: var(--night); }

/* full-bleed art */
.stage-art {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: 0;
  bottom: 74px;
  width: 53%;
  overflow: hidden;
}
.js .stage-art {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 1.25s var(--ease) 0.1s, opacity 0.4s linear 0.1s;
}
body.is-loaded .stage-art { clip-path: inset(0 0 0 0); opacity: 1; }

.hero.stage .art-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  opacity: 1;
  background: var(--night);
}
.hero.stage .art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 20, 0.92) 0%, rgba(4, 8, 20, 0) 24%),
    linear-gradient(0deg, rgba(4, 8, 20, 0.86) 0%, rgba(4, 8, 20, 0) 38%),
    linear-gradient(180deg, rgba(4, 8, 20, 0.42) 0%, transparent 22%);
}
.hero.stage .art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 4%;
  transform: translateY(var(--art-y, 0px));
  filter: saturate(0.95) contrast(1.02);
}

.hero.stage .speech {
  left: 6%;
  top: 11%;
  width: 218px;
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(-3deg);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}
.js .hero.stage .speech { opacity: 1; scale: 1; }

.stage-chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 8, 20, 0.52);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: bob 7s ease-in-out infinite;
}
.stage-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.stage-chip--a { right: 8%; top: 17%; }
.stage-chip--b { right: 11%; bottom: 23%; animation-delay: 1.1s; }
.stage-chip--b .dot { background: #1fce8a; }

.stamp-ring {
  position: absolute;
  z-index: 5;
  right: 7%;
  bottom: 10%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(4, 8, 20, 0.25);
  animation: spin 34s linear infinite;
}
.stamp-ring svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); overflow: visible; }
.stamp-ring text {
  fill: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}
.stamp-ring b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
}
.stage-vlabel {
  position: absolute;
  z-index: 5;
  right: 10px;
  top: 12%;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.stage-foot {
  position: absolute;
  z-index: 6;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(4, 8, 20, 0.1), rgba(4, 8, 20, 0.82));
}
.hero.stage .hero-stats {
  margin: 0;
  padding: 0;
  border-top: 0;
  display: flex;
  gap: 0;
  max-width: none;
}
.hero.stage .hero-stats div {
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.hero.stage .hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero.stage .hero-stats b {
  color: #fff;
  font-size: 26px;
}
.hero.stage .hero-stats span { color: rgba(255, 255, 255, 0.5); }
.hero.stage .hero-scroll {
  position: static;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- profile */
.profile {
  background: var(--night);
  margin-top: -2.2vw;
  clip-path: polygon(0 3.6vw, 100% 0, 100% calc(100% - 3.6vw), 0 100%);
}
.profile-art .back {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 6% 100%);
  background: linear-gradient(155deg, rgba(77, 107, 254, 0.95), rgba(20, 33, 90, 0.5));
}
.profile-art .frame {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 7% 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.profile-art::after {
  content: "CHARACTER / 01 — NIGHT MODE";
  position: absolute;
  z-index: 6;
  left: -3%;
  top: 3%;
  padding: 8px 13px;
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  transform: rotate(-2.5deg);
}
.profile-art .outline-num {
  font-size: 20vw;
  -webkit-text-stroke: 1px rgba(143, 164, 255, 0.4);
}
.profile-name { color: #93a8ff; }
.profile { overflow: clip; }

/* ---------------------------------------------------------------- price */
.price {
  background: #eef3ff;
  padding-block: clamp(80px, 10vw, 140px);
}
.price-list {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  perspective: 1200px;
}
.price-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: clamp(24px, 3vw, 38px);
  background: linear-gradient(155deg, #405cf5 0%, #2539b8 58%, #16247e 100%);
  color: #fff;
  border-radius: 42px 10px 42px 10px;
  box-shadow: 0 34px 90px rgba(47, 75, 224, 0.32);
  overflow: hidden;
  transform: rotate(-1.6deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price-feature:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 42px 100px rgba(47, 75, 224, 0.42); }
.price-feature::after {
  content: "¥";
  position: absolute;
  right: -2%;
  bottom: -18%;
  font-family: var(--display);
  font-size: clamp(16rem, 24vw, 24rem);
  line-height: 0.7;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.pf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 2; }
.pf-tag {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #fff;
}
.pf-index { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: #c6d2ff; }
.price-feature h3 {
  position: relative;
  z-index: 2;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 22px 0 8px;
}
.price-feature p { position: relative; z-index: 2; font-size: 13px; color: #d3ddff; }
.pf-prices {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
}
.pf-prices > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}
.pf-prices span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: #c6d2ff; }
.pf-prices b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.pf-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.26);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #c6d2ff;
}

.price-rows { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.price-row {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
  padding: clamp(22px, 2.8vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px 38px 10px 38px;
  overflow: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.price-row:nth-child(2) { border-radius: 38px 10px 38px 10px; }
.price-row:hover { background: var(--blue-deep); color: #fff; transform: translateX(4px); }
.pr-name h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.pr-name p { font-size: 12px; color: var(--muted); }
.price-row:hover .pr-name p { color: #d3ddff; }
.pr-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.price-row:hover .pr-tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
.pr-prices { display: flex; gap: clamp(18px, 2.6vw, 34px); }
.pr-prices > div { text-align: right; }
.pr-prices span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); }
.price-row:hover .pr-prices span { color: #c6d2ff; }
.pr-prices b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
}
.price-row:hover .pr-prices b { color: #fff; }
.pr-index {
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.price-row:hover .pr-index { color: rgba(255, 255, 255, 0.5); }

/* ---------------------------------------------------------------- steps */
.steps {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(30px, 4vw, 46px);
}
.step {
  --rot: 0deg;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  padding: clamp(22px, 3vw, 34px);
  transition: background 0.35s var(--ease);
}
.step:last-child { border-right: 0; }
.step:hover { background: rgba(77, 107, 254, 0.06); transform: none; box-shadow: none; }
.step b {
  font-size: clamp(3.4rem, 6.4vw, 6.8rem);
  color: transparent;
  -webkit-text-stroke: 1.2px var(--blue);
  line-height: 0.9;
}
.step:hover b { color: var(--blue); }
.step .tag { color: var(--blue-deep); }

/* ---------------------------------------------------------------- outro */
.outro { background: var(--night); }
.outro::after {
  content: "24H";
  position: absolute;
  z-index: 1;
  right: -1%;
  bottom: -4%;
  font-family: var(--display);
  font-size: 24vw;
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hero.stage h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
  .stage-copy { width: 54%; }
  .stage-art { width: 52%; }
  .stage-rail { display: none; }
}

@media (max-width: 980px) {
  .hero.stage { padding-top: 68px; min-height: 0; }
  .stage-blue { display: none; }
  .ghost-date { font-size: 20vw; top: auto; bottom: 52%; opacity: 0.45; }
  .ghost-word { font-size: 26vw; bottom: 0; opacity: 0.45; }
  .stage-inner { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  .stage-art {
    position: relative;
    top: 0;
    width: 100%;
    height: 46svh;
    min-height: 340px;
    order: -1;
  }
  .hero.stage .art-frame { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .stage-copy {
    width: 100%;
    min-height: 0;
    padding: 28px var(--gutter) 26px;
  }
  .stage-meta { font-size: 10px; gap: 10px; }
  .hero.stage h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .hero.stage h1 .hollow { color: #fff; -webkit-text-stroke: 0; }
  .stage-lede { max-width: none; }
  .stage-art .speech { display: none; }
  .stamp-ring { width: 86px; height: 86px; right: 5%; bottom: 7%; }
  .stamp-ring b { font-size: 22px; }
  .stage-chip { font-size: 9px; padding: 7px 10px; }
  .stage-chip--a { top: 10%; right: 4%; }
  .stage-chip--b { bottom: 9%; right: 30%; }
  .stage-vlabel { display: none; }
  .stage-foot {
    position: static;
    padding: 14px var(--gutter) 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: none;
  }
  .hero.stage .hero-stats div { padding-right: 16px; margin-right: 16px; }
  .hero.stage .hero-stats b { font-size: 22px; }
  .stage-endpoint { max-width: 100%; }

  .price-list { grid-template-columns: 1fr; }
  .price-feature { min-height: 0; transform: none; }
  .price-row { transform: none; }
  .steps { border-bottom: 0; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .step:last-child { border-bottom: 0; }
  .profile-art::after { left: 0; top: 0; font-size: 9px; }
}

@media (max-width: 620px) {
  .price-feature { padding: 22px; border-radius: 30px 8px 30px 8px; }
  .price-row { padding: 20px; border-radius: 8px 28px 8px 28px; }
  .pr-prices { gap: 16px; }
  .pr-index { display: none; }
  .outro::after { font-size: 34vw; }
}
