:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --ink: #17201c;
  --muted: #647067;
  --line: rgba(23, 32, 28, 0.1);
  --brand: #0f8f76;
  --brand-dark: #075b4d;
  --gold: #f6b433;
  --red: #ed5b47;
  --blue: #3178e7;
  --green: #2f9e6b;
  --purple: #7557c7;
  --orange: #e07931;
  --shadow: 0 24px 60px rgba(28, 33, 30, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(120deg, rgba(15, 143, 118, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(246, 180, 51, 0.16), transparent 32%),
    var(--bg);
}

body.modal-open {
  overflow: hidden;
}

button {
  font: inherit;
}

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: #17201c;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 28, 0.18);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.quick-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.quick-nav a {
  min-width: 58px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #47524c;
  font-size: 14px;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.quick-nav a:hover {
  color: var(--ink);
  background: #fff;
  transform: translateY(-2px);
}

.site-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 18px;
  padding: 14px 18px;
  border: 1px solid rgba(15, 143, 118, 0.16);
  border-radius: 8px;
  color: #34423b;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(23, 32, 28, 0.06);
}

.site-notice strong {
  flex: 0 0 auto;
  color: var(--brand-dark);
}

.site-notice span {
  color: var(--muted);
  line-height: 1.7;
}

.hero {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.78fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: 38px 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at 80% 18%, rgba(237, 91, 71, 0.16), transparent 32%);
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--red), var(--blue));
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(15, 143, 118, 0.18);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(15, 143, 118, 0.08);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: clamp(34px, 4.7vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

.btn,
.card-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover,
.card-link:hover {
  transform: translateY(-4px);
}

.btn-primary {
  padding: 0 22px;
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(7, 91, 77, 0.26);
}

.btn-primary:hover {
  background: var(--brand);
  box-shadow: 0 20px 42px rgba(15, 143, 118, 0.3);
}

.btn-secondary {
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 28px rgba(23, 32, 28, 0.1);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.qianwen-shot {
  width: min(100%, 370px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 32, 28, 0.16);
}

.shot-status,
.shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shot-status {
  padding: 14px 16px 20px;
  color: #34363a;
  font-size: 13px;
}

.shot-status strong {
  font-size: 20px;
}

.shot-head {
  padding: 0 16px 20px;
}

.shot-head strong {
  font-size: 26px;
}

.shot-head span {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #2c2d31;
  box-shadow:
    0 9px 0 #2c2d31,
    0 18px 0 #2c2d31;
}

.shot-head span:last-child {
  width: 34px;
  background: transparent;
  box-shadow: none;
}

.shot-command {
  width: calc(100% - 74px);
  margin: 0 12px 22px auto;
  padding: 16px 18px;
  border: 4px solid #ff5157;
  border-radius: 3px;
  color: #202a31;
  background: linear-gradient(135deg, #f3fbff, #dfedf8);
  font-size: 19px;
  font-weight: 800;
}

.shot-chat {
  padding: 18px 12px 10px;
  border-radius: 18px 18px 0 0;
  background: #f6f6f6;
}

.shot-chat p {
  margin-bottom: 12px;
  color: #2b2d31;
  font-size: 18px;
  line-height: 1.55;
}

.shot-coupon {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 14px;
  border: 4px solid #ff5157;
  border-radius: 3px;
  background: #fff;
}

.coupon-price {
  color: #c9862f;
}

.coupon-price span {
  font-size: 19px;
}

.coupon-price strong {
  font-size: 42px;
  line-height: 1;
}

.shot-coupon strong,
.shot-coupon span {
  display: block;
}

.shot-coupon > div:nth-child(2) strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.shot-coupon > div:nth-child(2) span {
  color: #999;
  font-size: 14px;
}

.shot-coupon em {
  justify-self: end;
  padding: 11px 14px;
  border-radius: 999px;
  color: #a96321;
  background: #fae6ba;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 58px 4px 22px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.section-heading > p {
  max-width: 320px;
  margin-bottom: 5px;
  color: var(--muted);
  line-height: 1.7;
}

.offer-sections {
  display: grid;
  gap: 26px;
}

.offer-group {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.group-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.group-head h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.group-head p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.offer-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(23, 32, 28, 0.09);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 10px 28px rgba(23, 32, 28, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.offer-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 20px 44px rgba(23, 32, 28, 0.12);
  transform: translateY(-6px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.icon-pill {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
}

.icon-pill svg {
  width: 23px;
  height: 23px;
}

.tag {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.offer-card h4 {
  margin-bottom: 10px;
  font-size: 21px;
}

.offer-card p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.card-link {
  width: 100%;
  margin-top: auto;
  color: #fff;
  background: var(--accent);
}

.accent-yellow {
  --accent: var(--gold);
  --accent-soft: #fff5df;
  --accent-ink: #8a5a00;
  --accent-border: rgba(246, 180, 51, 0.36);
}

.accent-blue {
  --accent: var(--blue);
  --accent-soft: #eaf2ff;
  --accent-ink: #1d55aa;
  --accent-border: rgba(49, 120, 231, 0.34);
}

.accent-red {
  --accent: var(--red);
  --accent-soft: #fff0ed;
  --accent-ink: #a33426;
  --accent-border: rgba(237, 91, 71, 0.34);
}

.accent-green {
  --accent: var(--green);
  --accent-soft: #eaf7f0;
  --accent-ink: #1f6848;
  --accent-border: rgba(47, 158, 107, 0.34);
}

.accent-purple {
  --accent: var(--purple);
  --accent-soft: #f1edff;
  --accent-ink: #50379b;
  --accent-border: rgba(117, 87, 199, 0.34);
}

.accent-orange {
  --accent: var(--orange);
  --accent-soft: #fff1e7;
  --accent-ink: #95501e;
  --accent-border: rgba(224, 121, 49, 0.34);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 4px 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--brand-dark);
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 24, 20, 0.48);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(5, 13, 10, 0.28);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.modal-close:hover {
  color: var(--ink);
  background: #f5f7f6;
  transform: translateY(-2px);
}

.modal-panel h2 {
  max-width: calc(100% - 52px);
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.28;
}

.modal-fields {
  display: grid;
  gap: 14px;
}

.modal-field {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.field-head strong {
  color: var(--brand-dark);
}

.modal-field p {
  margin-bottom: 0;
  color: #2e3933;
  font-size: 17px;
  line-height: 1.8;
  word-break: break-word;
}

.copy-btn {
  display: inline-flex;
  min-width: 82px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-dark);
  cursor: pointer;
  font-weight: 800;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.copy-btn:hover {
  background: var(--brand);
  transform: translateY(-2px);
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 38px;
  }

  .hero-visual {
    justify-content: start;
  }

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

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-nav {
    width: 100%;
  }

  .quick-nav a {
    flex: 1;
    min-width: 0;
  }

  .site-notice {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding: 30px 20px 34px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .qianwen-shot {
    width: min(100%, 330px);
  }

  .section-heading,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-group {
    padding: 22px 16px;
  }

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

  .modal-panel {
    padding: 24px 18px 18px;
  }

  .field-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
