:root {
  --bg: #fbfcff;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --text: #172033;
  --muted: #5c6678;
  --line: #dbe3ef;
  --brand: #1769e0;
  --brand-dark: #0f4fab;
  --green: #138a63;
  --amber: #b56912;
  --red: #b42318;
  --ink: #0c1527;
  --shadow: 0 18px 50px rgba(18, 35, 61, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial,
    sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 72px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 20px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 227, 239, 0.88);
  background: rgba(251, 252, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1769e0, #0b7f5c);
  border-radius: 8px;
  font-size: 18px;
}

.brand-text {
  font-size: 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #344155;
  font-size: 15px;
}

.nav-menu.is-static {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-menu a {
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--brand);
}

.nav-cta {
  padding: 9px 14px !important;
  color: #fff !important;
  background: var(--brand);
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  padding: 80px 0 56px;
  background:
    linear-gradient(135deg, rgba(23, 105, 224, 0.12), rgba(19, 138, 99, 0.08) 42%, transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero-lead {
  max-width: 760px;
  margin-top: 22px;
  font-size: 19px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}

.btn.primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--brand-dark);
}

.btn.secondary {
  background: var(--surface);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin: 36px 0 0;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-metrics dt {
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(360px, 100%);
  padding: 16px;
  background: #121a2a;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 88px;
  height: 6px;
  margin: 0 auto 12px;
  background: #2a3448;
  border-radius: 999px;
}

.app-screen {
  min-height: 520px;
  padding: 22px;
  background: #f7f9fc;
  border-radius: 22px;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-head span {
  color: var(--muted);
}

.app-head strong {
  font-size: 18px;
}

.search-preview {
  padding: 12px 14px;
  color: #647086;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.tool-grid-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.tool-grid-preview article {
  min-height: 92px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tool-grid-preview span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
}

.result-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  color: var(--brand-dark);
  background: #eaf2ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.tag.green {
  color: var(--green);
  background: #eaf8f2;
}

.tag.amber {
  color: var(--amber);
  background: #fff4df;
}

.inline-phone {
  color: var(--brand-dark);
  font-weight: 800;
}

.wechat-id,
.wechat-line,
.wechat-contact {
  color: var(--brand-dark);
  font-weight: 800;
}

.wechat-line {
  margin-top: -6px;
  font-size: 14px;
}

.wechat-contact {
  margin-top: 12px;
}

.section {
  padding: 76px 0;
}

.muted {
  background: var(--surface-soft);
}

.product-band {
  padding: 48px 0;
  background: var(--ink);
}

.product-band h2,
.product-band p,
.product-band .section-kicker {
  color: #fff;
}

.product-band p {
  opacity: 0.86;
}

.split,
.pricing-layout,
.faq-layout,
.knowledge-layout,
.cta-grid,
.medical-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:not(.section-kicker) {
  margin-top: 14px;
}

.feature-grid,
.scene-list,
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.scene-list article,
.screenshot-card,
.plan,
.knowledge-points article,
.medical-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card h3,
.scene-list h3,
.screenshot-card h3,
.plan h3,
.knowledge-points h3,
.medical-panel h3 {
  margin-top: 14px;
  margin-bottom: 10px;
}

.feature-card p,
.scene-list p,
.screenshot-card p,
.plan p,
.knowledge-points p {
  font-size: 15px;
}

.icon-text {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.scene-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.medical-section {
  color: #fff;
  background: #101827;
}

.medical-section h2,
.medical-section h3,
.medical-section p,
.medical-section .section-kicker {
  color: #fff;
}

.medical-section p {
  opacity: 0.88;
}

.medical-warning {
  margin-top: 22px;
  padding: 16px;
  color: #ffe7e3 !important;
  background: rgba(180, 35, 24, 0.18);
  border: 1px solid rgba(255, 180, 168, 0.36);
  border-radius: var(--radius);
}

.medical-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.medical-panel li {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.knowledge-points {
  display: grid;
  gap: 14px;
}

.custom-section {
  background: #f8fbf8;
}

.custom-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.custom-head h2 {
  max-width: 760px;
}

.custom-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.custom-intro p {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.custom-cards article {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.custom-cards h3 {
  margin-bottom: 10px;
}

.delivery-strip {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.delivery-strip h3 {
  margin-bottom: 8px;
}

.delivery-strip .text-link {
  margin-top: 0;
  padding-top: 0;
  white-space: nowrap;
}

.delivery-visual {
  display: block;
  width: 180px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.card-visual,
.scene-visual,
.service-visual {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.service-visual {
  margin-top: 24px;
}

.scene-visual {
  margin-bottom: 16px;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand-dark);
  font-weight: 800;
}

.service-hero {
  padding: 70px 0 48px;
  background:
    linear-gradient(135deg, rgba(23, 105, 224, 0.12), rgba(19, 138, 99, 0.08)),
    var(--bg);
}

.service-hero .breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.service-hero .breadcrumb a {
  color: var(--brand-dark);
  font-weight: 700;
}

.service-hero p {
  max-width: 820px;
  margin-top: 18px;
  font-size: 18px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

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

.service-card,
.service-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card h3,
.service-panel h3 {
  margin-bottom: 10px;
}

.service-panel ul {
  margin-top: 12px;
}

.service-panel li {
  margin-top: 8px;
  color: var(--muted);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.related-links a {
  padding: 8px 12px;
  color: var(--brand-dark);
  background: #eaf2ff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.mock-shot {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mock-shot span {
  margin-bottom: 8px;
  font-weight: 900;
}

.ai-shot {
  background:
    linear-gradient(160deg, rgba(23, 105, 224, 0.22), rgba(255, 255, 255, 0.8)),
    #fff;
}

.medical-shot {
  background:
    linear-gradient(160deg, rgba(19, 138, 99, 0.24), rgba(255, 255, 255, 0.8)),
    #fff;
}

.marketing-shot {
  background:
    linear-gradient(160deg, rgba(181, 105, 18, 0.22), rgba(255, 255, 255, 0.8)),
    #fff;
}

.pricing {
  background: #fff;
}

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

.plan.featured {
  border-color: rgba(23, 105, 224, 0.42);
  box-shadow: 0 16px 36px rgba(23, 105, 224, 0.12);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(23, 105, 224, 0.12), rgba(19, 138, 99, 0.12)),
    #eef5ff;
}

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

.qr-wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-image {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-image.small {
  width: 156px;
  height: 156px;
  flex: 0 0 auto;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--brand-dark);
  background: #eaf2ff;
  border-radius: 8px;
  font-weight: 800;
}

.qr-code {
  position: relative;
  display: grid;
  width: 210px;
  height: 210px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 28px 28px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 28px 28px,
    #fff;
  border: 10px solid #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.qr-code.small {
  width: 156px;
  height: 156px;
  flex: 0 0 auto;
}

.qr-code.small span {
  width: 34px;
  height: 34px;
  border-width: 8px;
}

.qr-code span {
  position: absolute;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 10px solid #111;
}

.qr-code span:nth-child(1) {
  top: 14px;
  left: 14px;
}

.qr-code span:nth-child(2) {
  top: 14px;
  right: 14px;
}

.qr-code span:nth-child(3) {
  bottom: 14px;
  left: 14px;
}

.qr-code span:nth-child(4) {
  right: 38px;
  bottom: 42px;
  width: 28px;
  height: 28px;
}

.qr-code strong {
  z-index: 1;
  padding: 8px 10px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 14px;
}

.site-footer {
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, 0.82);
  background: #0b1220;
}

.modal-open {
  overflow: hidden;
}

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

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.consult-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 28, 0.58);
}

.consult-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.consult-dialog p {
  margin-top: 14px;
}

.consult-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.consult-content {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.consult-qr-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.consult-qr-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.consult-qr-list p {
  margin-top: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.consult-content h3 {
  margin-bottom: 8px;
}

.consult-services {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.consult-services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding-left: 18px;
}

.consult-content li {
  color: var(--muted);
}

.consult-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #eaf2ff;
  border-radius: var(--radius);
}

.consult-actions .wechat-contact {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 18px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  margin-bottom: 14px;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu.is-static {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 10px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .split,
  .pricing-layout,
  .faq-layout,
  .knowledge-layout,
  .service-grid,
  .cta-grid,
  .medical-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .scene-list,
  .screenshot-grid,
  .custom-cards,
  .service-card-grid,
  .plan-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 48px;
  }

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

  .hero-metrics,
  .feature-grid,
  .scene-list,
  .screenshot-grid,
  .custom-intro,
  .custom-cards,
  .service-card-grid,
  .plan-list {
    grid-template-columns: 1fr;
  }

  .custom-head,
  .delivery-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .delivery-visual {
    width: 100%;
  }

  .phone-shell {
    border-radius: 24px;
  }

  .app-screen {
    min-height: 460px;
    padding: 18px;
  }

  .tool-grid-preview {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .feature-card,
  .scene-list article,
  .screenshot-card,
  .plan,
  .knowledge-points article,
  .medical-panel {
    padding: 18px;
  }

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

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

  .consult-content {
    justify-items: center;
  }

  .qr-pair {
    grid-template-columns: 1fr;
  }

  .consult-qr-list,
  .consult-services ul {
    grid-template-columns: 1fr;
  }

  .consult-actions {
    justify-content: center;
    text-align: center;
  }
}
