:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --ink: #101828;
  --muted: #667085;
  --line: rgba(16, 24, 40, 0.1);
  --blue: #1677ff;
  --green: #12b76a;
  --orange: #f79009;
  --red: #f04438;
  --surface: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(22, 119, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, .055) 1px, transparent 1px),
    linear-gradient(120deg, rgba(22, 119, 255, 0.13), transparent 34%),
    linear-gradient(220deg, rgba(18, 183, 106, 0.12), transparent 32%),
    var(--bg);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  color: var(--ink);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(22,119,255,.08) 46.2% 46.6%, transparent 46.8%),
    linear-gradient(245deg, transparent 0 58%, rgba(18,183,106,.07) 58.2% 58.6%, transparent 58.8%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #101828;
  font-size: 18px;
}

.nav nav { display: flex; gap: 8px; align-items: center; }
.nav nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav nav a:hover,
.nav nav a.active {
  color: #fff;
  background: #101828;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.16);
  transform: translateY(-1px);
}
.language-select {
  min-height: 38px;
  width: auto;
  border: 1px solid rgba(22,119,255,.18);
  border-radius: 999px;
  padding: 0 28px 0 12px;
  color: #344054;
  background: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 900;
}

main, footer { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  min-height: 620px;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 24px; letter-spacing: 0; }
.hero-subtitle {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.hero-actions.center { justify-content: center; }
.primary-button,
.secondary-button {
  border: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-button { color: #fff; background: var(--blue); box-shadow: 0 16px 38px rgba(22, 119, 255, 0.25); }
.secondary-button { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.copy-button {
  border: 1px solid rgba(22,119,255,.24);
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(22,119,255,.1);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bright-order {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #12b76a, #22c55e);
  box-shadow: 0 16px 38px rgba(18, 183, 106, 0.26);
}
.primary-button:hover, .secondary-button:hover, .copy-button:hover { transform: translateY(-2px); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }

.hero-panel {
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(16, 24, 40, 0.95), rgba(22, 119, 255, 0.88)),
    #101828;
  color: #fff;
  box-shadow: var(--shadow);
  display: grid;
  align-content: center;
  gap: 22px;
}
.image-panel {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  background: radial-gradient(circle at 50% 48%, rgba(255,255,255,.16), rgba(16,24,40,.96) 62%);
}
.image-panel img {
  display: block;
  width: min(112%, 470px);
  max-width: none;
  height: auto;
  object-fit: contain;
}
.content-section { padding: 72px 0; scroll-margin-top: 96px; }
.compact { padding-top: 28px; }
.section-heading { max-width: 720px; margin-bottom: 26px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card {
  position: relative;
  min-height: 280px;
  border-radius: 8px;
  padding: 26px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.guide-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .92;
}
.guide-card:hover {
  transform: translateY(-8px);
  border-color: rgba(22,119,255,.38);
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 70px rgba(22, 119, 255, 0.16), 0 0 0 4px rgba(22,119,255,.07);
}
.guide-card > * { position: relative; z-index: 1; }
.card-blue::before { background: linear-gradient(135deg, rgba(22,119,255,.16), transparent 48%, rgba(6,174,212,.1)); }
.card-green::before { background: linear-gradient(135deg, rgba(18,183,106,.16), transparent 48%, rgba(22,119,255,.08)); }
.card-orange::before { background: linear-gradient(135deg, rgba(247,144,9,.16), transparent 48%, rgba(18,183,106,.08)); }
.card-cyan::before { background: linear-gradient(135deg, rgba(6,174,212,.16), transparent 48%, rgba(22,119,255,.1)); }
.title-icon { display: inline-block; margin-right: 8px; font-size: .92em; vertical-align: -1px; }
.step {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #fff;
  background: #101828;
  font-weight: 900;
}
.guide-card p,
.guide-card small {
  color: #475467;
  line-height: 1.7;
}
.text-link { color: var(--blue); font-weight: 900; text-decoration: underline; text-underline-offset: 5px; }

.price-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.price-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .9;
  pointer-events: none;
}
.price-card::after {
  content: "点击下单";
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(255,255,255,.92);
  background: rgba(16,24,40,.72);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease;
}
.invite-price::before { background: linear-gradient(135deg, rgba(22,119,255,.18), transparent 42%, rgba(18,183,106,.14)); }
.standard-price::before { background: linear-gradient(135deg, rgba(247,144,9,.18), transparent 42%, rgba(22,119,255,.12)); }
.price-card > * { position: relative; z-index: 1; }
.price-card:hover,
.price-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(22,119,255,.42);
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 70px rgba(22, 119, 255, 0.18), 0 0 0 4px rgba(22,119,255,.08);
}
.price-card:hover::after,
.price-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.price-table span { color: var(--muted); font-weight: 800; }
.price-table strong { font-size: 64px; line-height: 1; letter-spacing: 0; }
.price-table small {
  justify-self: start;
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  background: #101828;
  font-weight: 900;
}
.price-table ul {
  display: grid;
  gap: 9px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.price-table li {
  position: relative;
  padding-left: 20px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}
.price-table li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.order-section { padding: 30px 0 82px; scroll-margin-top: 96px; }
.order-form {
  position: relative;
  width: 100%;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(22,119,255,.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(22, 119, 255, 0.12);
  overflow: hidden;
}
.order-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(22,119,255,.14), transparent 36%, rgba(18,183,106,.12)),
    linear-gradient(90deg, rgba(22,119,255,.045) 1px, transparent 1px);
  background-size: auto, 32px 32px;
}
.order-form > * { position: relative; z-index: 1; }
.order-form:hover {
  border-color: rgba(22,119,255,.34);
  box-shadow: 0 30px 82px rgba(22, 119, 255, 0.16), 0 0 0 4px rgba(22,119,255,.06);
}
.form-heading { margin-bottom: 24px; }
label { display: grid; gap: 8px; color: #344054; font-size: 14px; font-weight: 900; margin-bottom: 18px; }
input, select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(16,24,40,.14);
  background: #fff;
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
input:focus, select:focus { border-color: rgba(22,119,255,.65); box-shadow: 0 0 0 4px rgba(22,119,255,.13); }
.field-hint {
  margin: -8px 0 20px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}
fieldset { border: 0; padding: 0; margin: 0 0 20px; display: flex; gap: 10px; flex-wrap: wrap; }
legend { width: 100%; margin-bottom: 8px; color: #344054; font-size: 14px; font-weight: 900; }
.pill-radio {
  display: inline-flex;
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: border .2s ease, background .2s ease, transform .2s ease;
}
.pill-radio:hover,
.pill-radio:has(input:checked) {
  border-color: rgba(22,119,255,.45);
  background: rgba(22,119,255,.08);
  transform: translateY(-1px);
}
.pill-radio input { width: auto; min-height: auto; }
.checkout-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1677ff, #12b76a);
  color: #fff;
  box-shadow: 0 18px 42px rgba(22, 119, 255, 0.22);
}
.checkout-bar span,
.checkout-bar small { display: block; color: rgba(255,255,255,.68); }
.checkout-bar strong { font-size: 42px; line-height: 1; letter-spacing: 0; }
.register-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.register-note a { color: var(--blue); font-weight: 900; }
.register-note button {
  border: 0;
  margin-left: 4px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 900;
}
.form-status { min-height: 24px; color: var(--blue); font-weight: 800; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 44px;
  color: var(--muted);
}
footer a { color: var(--blue); font-weight: 900; }

.success-page { display: grid; place-items: center; padding: 24px; }
.success-card {
  position: relative;
  width: min(640px, calc(100% - 24px));
  text-align: center;
  border: 1px solid rgba(22,119,255,.16);
  border-radius: 8px;
  padding: 46px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(22, 119, 255, 0.12);
  overflow: hidden;
}
.success-language {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}
.success-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(18,183,106,.18), transparent 36%),
    linear-gradient(135deg, rgba(22,119,255,.12), transparent 44%, rgba(18,183,106,.1));
}
.success-card > * { position: relative; z-index: 1; }
.success-primary {
  background: linear-gradient(135deg, #1677ff, #12b76a);
  box-shadow: 0 16px 38px rgba(22, 119, 255, 0.24);
}
.success-card h1 {
  max-width: 520px;
  margin: 0 auto 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12b76a, #1677ff);
  color: #fff;
  box-shadow: 0 16px 38px rgba(18, 183, 106, 0.24);
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
}
.success-card p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.sync-status {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}
.sync-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.sync-pill.pending { color: #344054; background: rgba(102, 112, 133, .12); }
.sync-pill.sent { color: #027a48; background: rgba(18, 183, 106, .14); }
.sync-pill.skipped { color: #b54708; background: rgba(247, 144, 9, .16); }
.sync-pill.failed { color: #b42318; background: rgba(240, 68, 56, .14); }

@media (max-width: 860px) {
  .hero, .cards-grid, .price-table { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-panel { min-height: 260px; }
  .image-panel { min-height: 340px; }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  main, footer { width: min(100% - 24px, 1120px); }
  .nav { align-items: flex-start; padding: 12px; }
  .brand span:last-child { display: none; }
  .nav nav { width: 100%; justify-content: flex-end; }
  .nav nav a { padding: 0 10px; font-size: 13px; }
  .language-select { max-width: 92px; padding-left: 10px; padding-right: 20px; }
  h1 { font-size: clamp(42px, 14vw, 62px); }
  .hero-actions, .checkout-bar, footer { flex-direction: column; align-items: stretch; }
  .primary-button, .secondary-button, .copy-button { width: 100%; }
  .success-card { padding: 34px 22px; }
  .success-card h1 { font-size: clamp(30px, 10vw, 42px); }
}
