:root {
  --bg: #080908;
  --bg-2: #101414;
  --ink: #f7f4ea;
  --muted: rgba(247, 244, 234, 0.68);
  --soft: rgba(247, 244, 234, 0.11);
  --line: rgba(247, 244, 234, 0.16);
  --glass: rgba(13, 17, 17, 0.66);
  --teal: #45d6bf;
  --teal-dark: #167568;
  --coral: #ff714d;
  --gold: #ffd166;
  --blue: #79a7ff;
  --plum: #d0b2ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --gradient-x: 46%;
  --gradient-y: 34%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(69, 214, 191, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(255, 113, 77, 0.14), transparent 32rem),
    linear-gradient(180deg, #080908 0%, #111615 44%, #080908 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: radial-gradient(rgba(255, 255, 255, 0.52) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.motion-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.76;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(247, 244, 234, 0.12);
  background: rgba(8, 9, 8, 0.72);
  backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(69, 214, 191, 0.28));
}

.brand span {
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(247, 244, 234, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: #07100f;
  background: linear-gradient(135deg, var(--teal), #fff1c3 52%, var(--coral));
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(780px, 84vh);
  overflow: hidden;
  color: var(--ink);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 9, 8, 0.9) 0%, rgba(8, 9, 8, 0.68) 46%, rgba(8, 9, 8, 0.28) 100%),
    var(--hero-image, url("./images/gaoshi-hero-scene.jpg")) center / cover no-repeat;
  transform: scale(1.04);
}

.hero::after {
  position: absolute;
  inset: 10% 4% auto auto;
  z-index: -1;
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle, rgba(69, 214, 191, 0.18), transparent 50%),
    conic-gradient(from 20deg, rgba(69, 214, 191, 0), rgba(69, 214, 191, 0.7), rgba(255, 209, 102, 0.4), rgba(255, 113, 77, 0.68), rgba(69, 214, 191, 0));
  filter: blur(0.2px);
  opacity: 0.72;
  animation: orbit 16s linear infinite;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 104px;
}

.hero-copy {
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 950;
}

h2 {
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 920;
}

h3 {
  font-size: 24px;
}

.gradient-word,
.hero h1,
.quote {
  background: radial-gradient(80% 120% at var(--gradient-x) var(--gradient-y), var(--plum) 0%, #fff0d7 42%, var(--coral) 88%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 113, 77, 0.2));
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(247, 244, 234, 0.82);
  font-size: clamp(18px, 2.1vw, 25px);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary,
.button.dark {
  background: linear-gradient(135deg, var(--teal), #fff0c2 50%, var(--coral));
  color: #07100f;
  box-shadow: 0 0 34px rgba(69, 214, 191, 0.22);
}

.button.secondary,
.button.light {
  border-color: rgba(247, 244, 234, 0.28);
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.band {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.02);
  border-block: 1px solid rgba(247, 244, 234, 0.08);
}

.section.band > .section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading p,
.section > p,
.split p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.price,
.step,
.qr-wrap,
.caption-block,
.table-like {
  border: 1px solid rgba(247, 244, 234, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(9, 12, 12, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card {
  position: relative;
  min-height: 100%;
  padding: 26px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card::before,
.price::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), rgba(69, 214, 191, 0.18), transparent 44%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.card:hover::before,
.price:hover::before {
  opacity: 1;
}

.card.accent {
  border-color: rgba(255, 113, 77, 0.28);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 113, 77, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04));
}

.card strong,
.metric strong {
  position: relative;
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.card p,
.metric p,
.price p,
.step span,
.caption-block p {
  position: relative;
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.portrait-stage {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 234, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 209, 102, 0.22), transparent 16rem),
    radial-gradient(circle at 20% 80%, rgba(69, 214, 191, 0.22), transparent 18rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.portrait-stage::before {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  animation: orbit 18s linear infinite reverse;
}

.portrait-stage img {
  position: absolute;
  right: 2%;
  bottom: -14px;
  width: min(78%, 480px);
  max-height: 105%;
  object-fit: contain;
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.42));
}

.caption-block {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(350px, calc(100% - 56px));
  padding: 18px;
}

.list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(247, 244, 234, 0.84);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #fff0c2);
  color: #07100f;
  font-weight: 900;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process::before {
  position: absolute;
  top: 23px;
  left: 8%;
  right: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), var(--coral), transparent);
  opacity: 0.72;
}

.step {
  position: relative;
  padding: 22px 20px;
  overflow: hidden;
}

.step::before {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 18px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
  box-shadow: 0 0 24px var(--teal);
}

.step:nth-child(2)::before {
  background: var(--coral);
  box-shadow: 0 0 24px var(--coral);
}

.step:nth-child(3)::before {
  background: var(--gold);
  box-shadow: 0 0 24px var(--gold);
}

.step:nth-child(4)::before {
  background: var(--blue);
  box-shadow: 0 0 24px var(--blue);
}

.step:nth-child(5)::before {
  background: var(--plum);
  box-shadow: 0 0 24px var(--plum);
}

.step b {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.quote-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(247, 244, 234, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.quote-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(69, 214, 191, 0.12), transparent);
  animation: scan 6s ease-in-out infinite;
}

.quote-band .section {
  padding: 78px 0;
}

.quote {
  max-width: 980px;
  margin: 0;
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 950;
  line-height: 1.16;
}

.motion-strip {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid rgba(247, 244, 234, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 28s linear infinite;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(247, 244, 234, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 244, 234, 0.78);
  white-space: nowrap;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price {
  position: relative;
  min-height: 252px;
  padding: 26px;
  overflow: hidden;
}

.price.featured {
  border-color: rgba(69, 214, 191, 0.45);
  box-shadow: 0 0 42px rgba(69, 214, 191, 0.12), var(--shadow);
}

.amount {
  margin: 12px 0 16px;
  color: var(--gold);
  font-size: 38px;
  font-weight: 950;
}

.qr-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
}

.qr-wrap img {
  width: 220px;
  border: 8px solid #ffffff;
  border-radius: var(--radius);
  background: #ffffff;
}

.footer {
  border-top: 1px solid rgba(247, 244, 234, 0.12);
  background: rgba(5, 6, 6, 0.94);
  color: rgba(247, 244, 234, 0.66);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer p {
  margin: 8px 0 0;
}

.footer a {
  color: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero {
  --hero-image: url("./images/gaoshi-fan-reference.jpg");
  min-height: min(640px, 72vh);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 82px);
}

.table-like {
  display: grid;
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: 0.4fr 0.7fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(247, 244, 234, 0.11);
}

.row:last-child {
  border-bottom: 0;
}

.row > div {
  padding: 18px;
  color: rgba(247, 244, 234, 0.76);
}

.row > div:first-child {
  color: var(--ink);
  font-weight: 900;
  background: rgba(69, 214, 191, 0.09);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateX(-40%);
  }
  50% {
    transform: translateX(40%);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(10, 12, 12, 0.94);
    box-shadow: var(--shadow);
  }

  .site-header.open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
  }

  .section,
  .section.band > .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .section-heading,
  .split,
  .grid.two,
  .grid.three,
  .pricing,
  .process,
  .footer-inner,
  .qr-wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 9, 8, 0.9) 0%, rgba(8, 9, 8, 0.76) 58%, rgba(8, 9, 8, 0.56) 100%),
      var(--hero-image, url("./images/gaoshi-hero-scene.jpg")) center / cover no-repeat;
  }

  .hero::after {
    inset: 18% -22% auto auto;
    width: 360px;
    height: 360px;
  }

  .hero-inner {
    padding: 76px 0 86px;
  }

  .section {
    padding: 68px 0;
  }

  .process::before {
    display: none;
  }

  .portrait-stage {
    min-height: 470px;
  }

  .portrait-stage img {
    right: -4%;
    width: min(84%, 430px);
  }

  .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 18px;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .caption-block {
    position: static;
    width: auto;
    margin: 22px;
  }

  .portrait-stage img {
    position: relative;
    right: auto;
    bottom: auto;
    width: 90%;
    margin: 0 auto;
    padding-top: 20px;
  }

  .qr-wrap img {
    width: 100%;
    max-width: 260px;
  }
}
