:root {
  --ink: #14211b;
  --muted: #66756d;
  --green: #0d3a2a;
  --green-2: #16563f;
  --gold: #f2c432;
  --amber: #b45f2a;
  --paper: #fffaf3;
  --line: rgba(20, 33, 27, .12);
  --shadow: 0 24px 70px rgba(14, 38, 29, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbf6ed;
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, .58);
  background: rgba(251, 246, 237, .86);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 210px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #405047;
  font-size: 14px;
  font-weight: 700;
}

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

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-cta,
.primary-btn {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 30px rgba(13, 58, 42, .22);
}

.secondary-btn {
  border-color: rgba(13, 58, 42, .18);
  background: #fff;
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(13, 58, 42, .95) 0%, rgba(13, 58, 42, .88) 56%, rgba(251, 246, 237, 0) 56.2%),
    radial-gradient(circle at 82% 18%, rgba(242, 196, 50, .28), transparent 30%),
    var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.7vw, 78px);
  overflow-wrap: anywhere;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

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

.hero .primary-btn {
  background: var(--gold);
  color: #1d241f;
}

.hero .secondary-btn {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

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

.metric-row div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.metric-row dt {
  font-weight: 900;
}

.metric-row dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 3% 6% 5%;
  background: rgba(13, 58, 42, .14);
  filter: blur(42px);
  transform: rotate(-5deg);
}

.hero-visual img {
  position: relative;
  width: min(860px, 100%);
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: #fff;
  border-block: 1px solid var(--line);
}

.trust-strip span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #45554d;
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 72px);
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(340px, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.section-copy.narrow {
  display: block;
  max-width: 780px;
}

.section h2,
.cta-section h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.section-copy p:not(.eyebrow),
.backend-copy p,
.cta-section p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.pain-grid article,
.feature-card,
.keyword-grid article,
.price-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 50px rgba(26, 47, 38, .08);
}

.pain-grid article {
  padding: 28px;
}

.pain-grid span {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.pain-grid h3,
.feature-card h3,
.keyword-grid h3,
.price-card h3,
.phone-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.pain-grid p,
.feature-card p,
.keyword-grid p,
.price-card p,
.phone-card p {
  margin: 0;
  color: var(--muted);
}

.feature-section {
  background: #f1eee7;
}

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

.feature-card {
  grid-column: span 2;
  padding: 28px;
}

.feature-card.dark {
  background: var(--green);
  color: #fff;
}

.feature-card.dark p,
.feature-card.dark li {
  color: rgba(255, 255, 255, .78);
}

.feature-card ul,
.price-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card li,
.price-card li {
  position: relative;
  padding-left: 18px;
  color: #4e5d55;
  font-weight: 700;
}

.feature-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
}

.screens-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: var(--green);
}

.phone-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: #fffaf3;
}

.phone-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
}

.phone-card div {
  padding: 24px;
}

.backend-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.backend-panel {
  overflow: hidden;
  border: 1px solid rgba(13, 58, 42, .18);
  border-radius: 8px;
  background: #13221b;
  color: #eaf5ef;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #f06a4b;
}

.panel-top span:nth-child(2) {
  background: #f2c432;
}

.panel-top span:nth-child(3) {
  background: #34c759;
}

.panel-top strong {
  margin-left: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
}

.panel-grid span {
  min-height: 72px;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 900;
}

.seo-section {
  background: #fff;
}

.keyword-grid article {
  padding: 28px;
  background: #fffaf3;
}

.delivery-section {
  background:
    linear-gradient(180deg, rgba(13, 58, 42, .06), transparent),
    #fbf6ed;
}

.price-card {
  padding: 30px;
}

.price-card strong {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-size: 24px;
}

.price-card.featured {
  background: var(--green);
  color: #fff;
  transform: translateY(-10px);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, .78);
}

.price-card.featured strong {
  color: var(--gold);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
  gap: 36px;
  background: #fff;
}

.faq-section .section-copy {
  display: block;
  margin: 0;
}

details {
  margin-bottom: 12px;
  padding: 20px 24px;
}

summary {
  cursor: pointer;
  color: var(--green);
  font-size: 18px;
  font-weight: 900;
}

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

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1fr);
  gap: 40px;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--green);
  color: #fff;
}

.cta-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, .78);
}

.contact-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  min-height: 420px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  text-align: center;
}

.contact-card span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.wechat-qr {
  width: min(320px, 100%);
  height: auto;
  aspect-ratio: 912 / 1354;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .18);
}

.contact-card p {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.contact-card p a {
  color: #fff;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fffaf3;
  color: var(--muted);
}

.site-footer img {
  width: 180px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 180px 1fr;
  }

  .nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(13, 58, 42, .96) 0%, rgba(13, 58, 42, .9) 58%, rgba(251, 246, 237, 0) 58.2%),
      var(--paper);
  }

  .hero-visual img {
    width: 100%;
  }

  .section-copy,
  .backend-section,
  .faq-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: span 3;
  }

  .screens-section,
  .pricing-grid,
  .pain-grid,
  .keyword-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
  }

  .brand img {
    width: 172px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding-inline: 16px;
    width: 100%;
    max-width: 100vw;
  }

  .hero-copy,
  .hero-actions,
  .metric-row {
    width: min(320px, calc(100vw - 32px));
    max-width: min(320px, calc(100vw - 32px));
  }

  .hero h1 {
    width: min(320px, calc(100vw - 32px));
    max-width: min(320px, calc(100vw - 32px));
    font-size: 28px;
    word-break: break-word;
    white-space: normal;
  }

  .lead {
    width: min(320px, calc(100vw - 32px));
    max-width: min(320px, calc(100vw - 32px));
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .hero-visual {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .metric-row,
  .feature-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: span 1;
  }

  .section,
  .cta-section {
    padding-inline: 16px;
  }

  .site-footer {
    display: grid;
  }

  .wechat-qr {
    width: min(280px, 100%);
  }
}
