:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6678;
  --subtle: #8a94a6;
  --line: #dfe6ef;
  --soft: #f5f7fb;
  --panel: #ffffff;
  --blue: #1d4ed8;
  --blue-2: #3b82f6;
  --teal: #0f766e;
  --teal-2: #14b8a6;
  --rose: #e11d48;
  --green: #15803d;
  --yellow: #f5c542;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 230, 239, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--blue) 0%, var(--teal) 100%);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #344054;
  font-size: 15px;
}

.nav-links a {
  padding: 22px 0;
}

.nav-links a:hover {
  color: var(--blue);
}

.button,
.button-secondary,
.button-ghost {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.24);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 14px;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.hero {
  min-height: 680px;
  height: 78vh;
  max-height: 780px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background: #0b1220;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 13, 28, 0.94) 0%, rgba(8, 13, 28, 0.76) 42%, rgba(8, 13, 28, 0.18) 100%),
    url("assets/hero-huanzhu-dashboard.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 88%);
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px 92px;
  position: relative;
  z-index: 1;
}

.hero-copy-block {
  max-width: 710px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.3vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: #dbeafe;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-proof {
  width: min(100%, 760px);
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 12, 25, 0.54);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-proof div {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1;
}

.hero-proof span {
  color: #cbd5e1;
  font-size: 14px;
}

.section {
  padding: 92px 24px;
}

.section.compact {
  padding: 32px 24px;
}

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
}

.section-copy {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.74;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.trust-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: #3f4a5f;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-weight: 650;
  font-size: 14px;
}

.sample-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sample-feature,
.price-card,
.workflow-step,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.sample-feature {
  overflow: hidden;
}

.sample-image {
  display: block;
  background: #eef4fb;
}

.sample-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.sample-image:hover img {
  transform: scale(1.025);
}

.sample-content {
  padding: 26px;
}

.sample-type {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--rose);
  font-weight: 800;
  font-size: 14px;
}

.sample-type.green {
  color: var(--green);
}

.sample-content p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sample-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--subtle);
  font-size: 14px;
}

.text-link {
  color: var(--blue);
  font-weight: 820;
}

.text-link:hover {
  text-decoration: underline;
}

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

.workflow-step {
  padding: 24px;
}

.workflow-step span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.workflow-step h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.workflow-step p,
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.price-card {
  min-height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.price-card.featured {
  border-color: rgba(29, 78, 216, 0.48);
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin-bottom: 8px;
}

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

.price-card strong {
  font-size: 38px;
  line-height: 1;
}

.price-card ul,
.shop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-card li,
.shop-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 22px;
  color: #344054;
}

.price-card li::before,
.shop-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.contact-band {
  color: #ffffff;
  background: #101827;
}

.contact-band h2 {
  color: #ffffff;
}

.contact-band .section-copy,
.contact-band p {
  color: #cbd5e1;
}

.contact-inner,
.contact-band .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.contact-box {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line span {
  color: #aab7ca;
}

.site-footer {
  padding: 28px 24px;
  color: #667085;
  border-top: 1px solid var(--line);
}

.footer-inner,
.site-footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.shop-hero {
  padding: 66px 24px 0;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 78%);
}

.shop-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.shop-hero-copy {
  grid-column: 1;
}

.shop-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.shop-hero p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  color: #881337;
  background: #ffe4e6;
  font-weight: 780;
  font-size: 13px;
}

.pill.green {
  color: #14532d;
  background: #dcfce7;
}

.shop-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.shop-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shop-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.info-strip {
  max-width: var(--max);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-item {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.info-item:last-child {
  border-right: 0;
}

.info-item span {
  display: block;
  margin-bottom: 8px;
  color: #667085;
  font-size: 13px;
}

.info-item strong {
  font-size: 18px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
}

.service-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row span {
  color: var(--muted);
}

.service-price {
  color: var(--rose);
  font-weight: 850;
  text-align: right;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

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

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

.card {
  padding: 26px;
}

.card h3 {
  margin-bottom: 12px;
}

.quote {
  border-left: 4px solid var(--teal);
  padding: 16px 0 16px 18px;
  color: #344054;
  line-height: 1.8;
}

.qr {
  width: 210px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.qr-caption {
  margin-top: 12px;
  color: #d6dee9;
  font-size: 14px;
}

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

.merchant-proof div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.merchant-proof strong {
  display: block;
  margin-bottom: 6px;
}

.merchant-proof span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav {
    min-height: 62px;
    padding: 12px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 700px;
    height: auto;
  }

  .hero-inner {
    padding: 86px 18px 72px;
  }

  .hero-proof,
  .sample-layout,
  .workflow-grid,
  .pricing,
  .contact-inner,
  .contact-band .section-inner,
  .shop-hero-inner,
  .info-strip,
  .grid-2,
  .grid-3,
  .merchant-proof {
    grid-template-columns: 1fr;
  }

  .shop-hero-copy,
  .shop-photo,
  .merchant-proof {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-proof div,
  .info-item {
    border-right: 0;
    border-bottom: 1px solid rgba(223, 230, 239, 0.8);
  }

  .hero-proof div:last-child,
  .info-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 68px 18px;
  }

  .section.compact {
    padding: 26px 18px;
  }

  .section-head.split {
    display: block;
  }

  .section-head.split .button,
  .section-head.split .button-secondary {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 850px;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(8, 13, 28, 0.98) 0%, rgba(8, 13, 28, 0.93) 64%, rgba(8, 13, 28, 0.76) 100%),
      url("assets/hero-huanzhu-dashboard.png");
    background-position: 62% center;
  }

  .hero .button-ghost {
    background: rgba(15, 23, 42, 0.78);
  }

  .hero-proof {
    background: rgba(7, 12, 25, 0.84);
  }

  .hero h1,
  .shop-hero h1 {
    font-size: 42px;
  }

  .hero-copy,
  .shop-hero p {
    font-size: 18px;
  }

  main .button,
  main .button-secondary,
  main .button-ghost {
    width: 100%;
  }

  .site-header .button,
  .site-header .button-secondary,
  .site-header .button-ghost {
    width: auto;
    flex: 0 0 auto;
  }

  .site-header .button-small {
    display: none;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .shop-hero {
    padding-top: 58px;
  }

  .shop-hero-inner {
    gap: 22px;
  }

  .merchant-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .merchant-proof div {
    padding: 12px 10px;
  }

  .merchant-proof strong {
    font-size: 15px;
  }

  .merchant-proof span {
    font-size: 12px;
    line-height: 1.45;
  }

  .service-price {
    text-align: left;
  }

  .sample-content,
  .price-card,
  .workflow-step,
  .card {
    padding: 22px;
  }
}
