:root {
  --navy: #081f38;
  --navy-2: #123450;
  --teal: #22b5ac;
  --teal-dark: #168e88;
  --ice: #f3f7f8;
  --paper: #ffffff;
  --ink-soft: #526980;
  --red: #d94335;
  --gold: #f2bc63;
  --line: #dbe6e9;
  --shadow: 0 18px 50px rgba(8, 31, 56, .11);
}

* { box-sizing: border-box; }
html { background: var(--ice); }
body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 100% 0, rgba(34,181,172,.12), transparent 32rem),
    linear-gradient(180deg, #f8fbfb 0, var(--ice) 68%);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 36px) 12px;
}
.brand-bar img { width: 142px; height: auto; }
.brand-bar span { color: var(--ink-soft); font-size: 11px; letter-spacing: .08em; }

.hero, .result-view { padding: 18px clamp(18px, 5vw, 36px) 34px; }
.event-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(34,181,172,.12);
}
h1 {
  margin: 18px 0 14px;
  font-family: "STZhongsong", "Songti SC", serif;
  font-size: clamp(36px, 10vw, 58px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
h1 em { color: var(--teal-dark); font-style: normal; }
.hero-copy {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.offer-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  padding: 18px;
  color: white;
  border-radius: 18px;
  background: var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.offer-strip::after {
  content: "";
  position: absolute; right: -25px; top: -45px;
  width: 130px; height: 130px; border-radius: 50%;
  border: 24px solid rgba(34,181,172,.12);
}
.offer-strip > div { position: relative; z-index: 1; }
.offer-kicker { display: block; margin-bottom: 5px; color: #99dcd7; font-size: 11px; }
.offer-strip strong { font-size: 15px; }
.offer-strip b { color: var(--gold); font-size: 21px; }
.plus { color: rgba(255,255,255,.45); font-size: 22px; }

.lead-form {
  padding: 22px 20px 20px;
  border: 1px solid rgba(219,230,233,.85);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 40px rgba(8,31,56,.07);
  backdrop-filter: blur(12px);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { position: relative; display: block; margin-bottom: 16px; }
label > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fbfdfd;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input { height: 50px; padding: 0 14px; }
textarea { min-height: 112px; padding: 14px; line-height: 1.6; resize: vertical; }
input:focus, textarea:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 4px rgba(34,181,172,.11);
}
input::placeholder, textarea::placeholder { color: #98a8b5; }
label small { position: absolute; right: 12px; bottom: 10px; color: #92a3b0; font-size: 11px; }
.form-error { min-height: 20px; margin: -5px 0 8px; color: #be3127; font-size: 13px; }

.primary-button, .secondary-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
}
.primary-button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: white;
  background: linear-gradient(110deg, var(--teal-dark), var(--teal));
  box-shadow: 0 12px 25px rgba(34,181,172,.25);
}
.primary-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.primary-button:active { transform: translateY(1px); }
.primary-button:disabled { cursor: wait; opacity: .7; }
.privacy-note { margin: 12px 4px 0; color: #7a8d9c; font-size: 11px; line-height: 1.6; text-align: center; }
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  margin-top: 18px; color: #738896; font-size: 12px;
}
.trust-row i { width: 3px; height: 3px; border-radius: 50%; background: var(--teal); }

.result-view { min-height: 760px; }
.result-top { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 700; }
.result-top img { width: 28px; }
.reveal-stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 310px;
  margin: 20px 0;
  color: white;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, rgba(242,188,99,.32), transparent 30%),
    linear-gradient(150deg, #bd3028, var(--red));
  box-shadow: 0 22px 55px rgba(179,48,39,.24);
  overflow: hidden;
}
.reveal-stage::before, .reveal-stage::after {
  content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%;
}
.reveal-stage::before { width: 290px; height: 290px; left: -190px; top: -80px; }
.reveal-stage::after { width: 250px; height: 250px; right: -150px; bottom: -130px; }
.reveal-label { color: #ffe2bb; font-size: 14px; letter-spacing: .12em; }
.amount { display: flex; align-items: flex-start; margin: 15px 0 8px; font-family: Georgia, serif; }
.amount sup { margin-top: 18px; font-size: 28px; }
.amount strong { min-width: 180px; font-size: 82px; line-height: 1; letter-spacing: -.06em; text-align: center; }
.reveal-stage p { margin: 4px 0 0; color: #ffd9d3; font-size: 13px; }
.reveal-stage.done { animation: settle .55s cubic-bezier(.2,1.5,.4,1); }
@keyframes settle { 50% { transform: scale(1.025); filter: brightness(1.08); } }

.success-content { animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.success-content h2 { margin: 0 0 5px; font-family: "STZhongsong", "Songti SC", serif; font-size: 28px; text-align: center; }
.coupon-line { margin: 0 0 20px; color: var(--ink-soft); text-align: center; }
.coupon-line strong { color: var(--teal-dark); }
.claim-card {
  display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 16px;
  padding: 20px;
  border-radius: 22px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.claim-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--teal);
}
.claim-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.claim-copy > span { color: #8ed9d4; font-size: 11px; letter-spacing: .12em; }
.claim-copy strong { display: block; margin: 5px 0; font-size: 21px; }
.claim-copy p { margin: 0; color: #c3d0d9; font-size: 12px; line-height: 1.7; }
.identity-card { margin: 14px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.identity-card > span { color: var(--ink-soft); font-size: 11px; }
.identity-card strong { display: block; margin: 5px 0 7px; }
.identity-card p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.secondary-button { color: var(--ink-soft); background: transparent; font-weight: 600; }
.keep-note { margin: 15px 0 0; color: var(--ink-soft); font-size: 12px; text-align: center; }

footer { padding: 8px 28px 32px; color: var(--ink-soft); text-align: center; }
footer > strong { display: block; color: var(--navy); font-family: "STZhongsong", "Songti SC", serif; font-size: 15px; }
footer > span { display: block; margin-top: 7px; font-size: 11px; }
details { margin-top: 14px; font-size: 11px; }
summary { cursor: pointer; }
details p { max-width: 520px; margin: 8px auto; line-height: 1.7; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(34,181,172,.35); outline-offset: 3px; }

@media (max-width: 520px) {
  .brand-bar span { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: 8px; }
  .lead-form { padding: 20px 16px 17px; }
  .offer-strip { padding: 16px 14px; gap: 8px; }
  .offer-strip strong { font-size: 13px; }
  .claim-card { grid-template-columns: 52px 1fr; gap: 13px; padding: 17px; }
  .claim-icon { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
