:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --ink: #14213d;
  --muted: #62708a;
  --line: #dce3ee;
  --brand: #0e7afe;
  --brand-strong: #0757c8;
  --mint: #0fb981;
  --amber: #f3a532;
  --rose: #df5967;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 227, 238, 0.85);
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  font-size: 1.05rem;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(20, 33, 61, 0.04);
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--brand-strong);
}

.button.ghost:hover,
.nav-links a:hover {
  color: var(--brand);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 44px;
  padding: 44px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cfe0f8;
  border-radius: 999px;
  background: #eef6ff;
  color: #1457a8;
  font-weight: 720;
  font-size: 0.86rem;
}

.hero h1,
.page-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.trust-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.product-frame {
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-topbar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: var(--rose);
}

.window-dots span:nth-child(2) {
  background: var(--amber);
}

.window-dots span:nth-child(3) {
  background: var(--mint);
}

.status-pill {
  border-radius: 999px;
  background: #ecfdf6;
  color: #08724f;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 760;
}

.product-body {
  min-height: 520px;
  display: grid;
  grid-template-columns: 152px 1fr;
}

.side-rail {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #f4f7fb;
}

.rail-item {
  height: 34px;
  margin-bottom: 8px;
  border-radius: 7px;
  background: #e8eef7;
}

.rail-item.active {
  background: #d7e8ff;
}

.chat-preview {
  padding: 22px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.metric strong {
  display: block;
  font-size: 1.35rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.82rem;
}

.message {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f3f6fb;
  color: #33445f;
}

.message.answer {
  background: #ecf6ff;
  color: #183b6d;
}

.prompt-bar {
  margin-top: 22px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px 0 16px;
  color: var(--muted);
  background: #ffffff;
}

.send-dot {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand);
}

.section {
  padding: 78px 0;
  border-top: 1px solid rgba(220, 227, 238, 0.75);
}

.section.alt {
  background: #ffffff;
}

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

.section-kicker {
  color: var(--brand);
  font-weight: 780;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.section h2,
.page-hero h2 {
  margin: 10px 0 14px;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-lede,
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card,
.plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.card h3,
.plan h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p,
.plan p,
.fine-print,
.legal-copy {
  color: var(--muted);
}

.card p {
  margin: 0;
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.plan.featured {
  border-color: #9ec8ff;
  box-shadow: 0 14px 38px rgba(14, 122, 254, 0.12);
}

.price {
  margin: 12px 0;
  font-size: 2.35rem;
  font-weight: 820;
  letter-spacing: 0;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.list {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.list li {
  margin: 10px 0;
  padding-left: 24px;
  position: relative;
  color: #34435c;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}

.plan .button {
  margin-top: auto;
}

.quote-band {
  background: #14213d;
  color: #ffffff;
  padding: 66px 0;
}

.quote-band .section-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.quote-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
}

.quote-band p {
  color: #bac6d8;
  margin: 14px 0 0;
  max-width: 680px;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(220, 227, 238, 0.8);
  background: #ffffff;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.page-hero {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 34px;
}

.page-body {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto 80px;
}

.legal-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 30px;
}

.legal-copy h2 {
  margin-top: 30px;
  color: var(--ink);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
  gap: 34px;
}

.contact-note {
  margin-top: 24px;
  border: 1px solid #cfe0f8;
  border-radius: 8px;
  background: #eef6ff;
  color: #21466f;
  padding: 16px;
}

.wechat-line {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.wechat-code {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #cfe0f8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
  font-weight: 800;
}

.payment-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.payment-panel h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.payment-panel p {
  margin: 0;
  color: var(--muted);
}

.payment-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.qr-card {
  border: 1px solid #dce3ee;
  border-radius: 8px;
  background: #fbfcff;
  padding: 16px;
}

.qr-card h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.qr-card img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

.qr-card p {
  margin-top: 12px;
  font-size: 0.94rem;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #34435c;
  font-weight: 720;
  font-size: 0.94rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 520;
  padding: 12px 13px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 122, 254, 0.14);
}

.span-2 {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-status[data-state="success"] {
  color: #08724f;
}

.form-status[data-state="error"] {
  color: #b42335;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .product-body {
    grid-template-columns: 1fr;
  }

  .side-rail {
    display: none;
  }

  .grid,
  .metric-row,
  .contact-panel,
  .payment-grid,
  .lead-layout {
    grid-template-columns: 1fr;
  }

  .quote-band .section-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }
}

@media (max-width: 560px) {
  .nav-actions {
    width: 100%;
  }

  .nav-actions .button {
    flex: 1 1 auto;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-body {
    min-height: auto;
  }

  .chat-preview {
    padding: 16px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}
