:root {
  --ink: #101114;
  --graphite: #181b20;
  --charcoal: #25282e;
  --paper: #f7f3ea;
  --mist: #e7e0d2;
  --champagne: #c5a66a;
  --copper: #a8664a;
  --jade: #2f7d6d;
  --blue: #2e5f89;
  --muted: #777064;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  color: var(--paper);
  background: rgba(16, 17, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, #efe0b4, var(--champagne));
  border-radius: 6px;
}

.nav-links {
  justify-content: center;
  gap: 28px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 14px;
}

.nav-links a,
.header-action {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--paper);
}

.header-action {
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action:hover {
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.9), rgba(16, 17, 20, 0.58)),
    url("./studio-preview.png") center / cover no-repeat,
    var(--graphite);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(197, 166, 106, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(16, 17, 20, 0.18), rgba(16, 17, 20, 0.95));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.payment-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(247, 243, 234, 0.82);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(16, 17, 20, 0.22);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, #f0db9c, var(--champagne));
  border-color: rgba(197, 166, 106, 0.65);
}

.button.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-metrics {
  display: grid;
  max-width: 850px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 64px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(16, 17, 20, 0.55);
}

.hero-metrics dt {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(247, 243, 234, 0.64);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(47, 125, 109, 0.18), transparent 34%),
    linear-gradient(180deg, var(--graphite), #0f1012);
}

.section-muted {
  background: #e9e1d1;
}

.section-heading {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 44px;
}

.section-heading.compact {
  max-width: 780px;
  text-align: center;
}

.section-heading.left {
  width: auto;
  margin: 0;
}

.section-heading h2,
.cta-content h2,
.panel-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.cta-content p:not(.eyebrow),
.payment-hero p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(247, 243, 234, 0.7);
}

.service-grid,
.plan-grid,
.showcase-layout,
.process-list,
.cta-section,
.payment-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.service-card,
.plan-card,
.case-card,
.process-list li,
.checkout-panel,
.qr-panel {
  border-radius: 8px;
}

.service-card {
  min-height: 248px;
  padding: 28px;
  background: #fffaf0;
  border: 1px solid rgba(16, 17, 20, 0.08);
}

.service-index,
.case-card span,
.plan-topline,
.process-list span {
  color: var(--jade);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card h3,
.plan-card h3,
.process-list h3 {
  margin: 42px 0 12px;
  font-size: 22px;
}

.service-card p,
.plan-desc,
.process-list p,
.case-card strong {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.plan-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}

.plan-card.featured {
  background:
    linear-gradient(145deg, rgba(197, 166, 106, 0.18), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.plan-card h3 {
  margin-top: 24px;
  color: #ffffff;
}

.plan-price {
  margin: 18px 0 12px;
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  color: rgba(247, 243, 234, 0.74);
}

.plan-card li::before {
  content: "—";
  margin-right: 9px;
  color: var(--champagne);
}

.plan-button {
  width: 100%;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  min-height: 190px;
  padding: 26px;
  background:
    linear-gradient(140deg, rgba(46, 95, 137, 0.12), transparent 48%),
    #fffaf0;
  border: 1px solid rgba(16, 17, 20, 0.08);
}

.case-card strong {
  display: block;
  margin-top: 70px;
  color: var(--ink);
  font-size: 20px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  list-style: none;
  background: rgba(16, 17, 20, 0.16);
  border: 1px solid rgba(16, 17, 20, 0.1);
}

.process-list li {
  min-height: 230px;
  padding: 28px;
  background: #f6ecdc;
}

.process-list h3 {
  margin-top: 52px;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(197, 166, 106, 0.22), transparent 38%),
    linear-gradient(135deg, #101114, #20242a);
  border-radius: 0;
}

.cta-content {
  padding: 68px 0 68px 36px;
}

.cta-content p:not(.eyebrow) {
  margin-left: 0;
  color: rgba(247, 243, 234, 0.72);
}

.cta-actions {
  padding-right: 36px;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(16px, calc((100vw - 1180px) / 2));
  color: rgba(247, 243, 234, 0.66);
  background: var(--ink);
  font-size: 14px;
}

.payment-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(47, 125, 109, 0.18), transparent 34%),
    linear-gradient(180deg, #101114, #25282e 58%, #f7f3ea 58%);
}

.payment-header {
  position: sticky;
  top: 18px;
}

.payment-shell {
  padding: 74px 0 96px;
}

.payment-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 42px;
  color: var(--paper);
}

.payment-hero h1 {
  max-width: 850px;
  font-size: clamp(38px, 5.5vw, 72px);
}

.payment-hero p {
  margin-left: 0;
  color: rgba(247, 243, 234, 0.74);
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.checkout-panel,
.qr-panel {
  padding: 32px;
  background: #fffaf0;
  border: 1px solid rgba(16, 17, 20, 0.08);
  box-shadow: 0 24px 70px rgba(16, 17, 20, 0.14);
}

.panel-heading h2 {
  font-size: 32px;
}

.plan-selector {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.plan-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  align-items: center;
  padding: 0 18px;
  text-align: left;
  color: var(--ink);
  background: #f3eadb;
  border: 1px solid rgba(16, 17, 20, 0.09);
  border-radius: 6px;
  cursor: pointer;
}

.plan-option strong {
  color: var(--jade);
  font-size: 18px;
}

.plan-option.is-active {
  background: #191b1f;
  color: var(--paper);
  border-color: rgba(197, 166, 106, 0.55);
}

.plan-option.is-active strong {
  color: var(--champagne);
}

.order-summary {
  display: grid;
  gap: 1px;
  margin: 28px 0;
  background: rgba(16, 17, 20, 0.09);
}

.order-summary div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px;
  background: #fffaf0;
}

.order-summary dt {
  color: var(--muted);
}

.order-summary dd {
  margin: 0;
  font-weight: 800;
}

.order-summary .summary-total dd {
  color: var(--copper);
  font-size: 28px;
}

.pay-trigger {
  width: 100%;
}

.payment-message {
  min-height: 26px;
  margin: 16px 0 0;
  color: var(--muted);
}

.qr-panel {
  display: grid;
  align-content: start;
  gap: 22px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(197, 166, 106, 0.18), rgba(47, 125, 109, 0.12)),
    #111216;
  border-color: rgba(255, 255, 255, 0.12);
}

.qr-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-status span {
  width: 10px;
  height: 10px;
  background: var(--champagne);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(197, 166, 106, 0.78);
}

.qr-frame {
  display: grid;
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  place-items: center;
  margin: 12px auto 0;
  background: var(--paper);
  border: 12px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-qr {
  display: grid;
  width: 82%;
  aspect-ratio: 1 / 1;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.demo-qr span {
  background: var(--ink);
}

.demo-qr span:nth-child(2n),
.demo-qr span:nth-child(7),
.demo-qr span:nth-child(13),
.demo-qr span:nth-child(18),
.demo-qr span:nth-child(24) {
  background: #ffffff;
}

.qr-meta {
  text-align: center;
}

.qr-meta p {
  margin: 6px 0;
  color: rgba(247, 243, 234, 0.76);
}

.secure-note {
  padding: 16px;
  color: rgba(247, 243, 234, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .service-grid,
  .plan-grid,
  .showcase-layout,
  .process-list,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-content {
    padding: 52px 28px 0;
  }

  .cta-actions {
    justify-content: flex-start;
    padding: 0 28px 52px;
  }

  .payment-grid {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-action {
    padding: 9px 11px;
    font-size: 13px;
  }

  .hero-content {
    padding-top: 112px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 68px 0;
  }

  .service-card,
  .plan-card,
  .case-card,
  .process-list li,
  .checkout-panel,
  .qr-panel {
    padding: 22px;
  }

  .case-card strong {
    margin-top: 46px;
  }

  .site-footer {
    flex-direction: column;
  }

  .payment-shell {
    padding-top: 40px;
  }

  .payment-hero {
    padding-top: 54px;
  }

  .order-summary div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
