:root {
  --green-950: #142d27;
  --green-900: #183a33;
  --green-700: #24815f;
  --green-500: #2f9b71;
  --gold: #f4c76f;
  --gold-soft: #fff2cf;
  --cream: #f7f3ea;
  --paper: #fffaf1;
  --ink: #17211f;
  --muted: #68736f;
  --red: #d8483d;
  --line: rgba(20, 45, 39, 0.12);
  --shadow: 0 28px 80px rgba(20, 45, 39, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --section-space: 40px;
  --section-gap: 80px;
  --feature-journey-gap: 100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(244, 199, 111, 0.26), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(47, 155, 113, 0.14), transparent 30rem),
    linear-gradient(180deg, #fffaf2 0%, #f4efe4 56%, #fffaf2 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 28px;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 242, 0.78);
  border-bottom: 1px solid rgba(20, 45, 39, 0.08);
}

.nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.flow {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold);
  background: var(--green-950);
  box-shadow: 0 12px 28px rgba(20, 45, 39, 0.22);
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green-700);
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta {
  padding: 12px 20px;
  color: #fff;
  background: var(--green-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 18px 40px rgba(36, 129, 95, 0.26);
}

.button.ghost {
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.button.light {
  color: var(--green-950);
  background: var(--gold);
  box-shadow: 0 18px 40px rgba(244, 199, 111, 0.24);
}

.hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 58px;
  padding: var(--section-space) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.hero-lead,
.section-heading p,
.journey-copy p,
.cta-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0;
}

.hero-stats {
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats div {
  min-width: 118px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.hero-stats strong {
  display: block;
  font-size: 30px;
  color: var(--green-900);
}

.hero-stats span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.phone-frame {
  position: absolute;
  width: min(390px, 48vw);
  max-height: 620px;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 38px;
  box-shadow: var(--shadow);
  background: #fff;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-back {
  top: 46px;
  right: 0;
  opacity: 0.88;
  transform: rotate(5deg);
}

.phone-front {
  left: 30px;
  top: 0;
  transform: rotate(-4deg);
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(20, 45, 39, 0.2);
}

.card-delivery {
  left: 0;
  bottom: 110px;
  color: #fff;
  background: var(--green-900);
}

.card-coupon {
  right: 36px;
  bottom: 40px;
  color: var(--green-950);
  background: var(--gold);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.intro .section-heading {
  max-width: none;
}

.architecture .section-heading,
.features .section-heading {
  max-width: none;
}

.architecture .section-heading h2,
.features .section-heading h2 {
  font-size: clamp(30px, 3vw, 42px);
  white-space: nowrap;
}

.features {
  padding-bottom: var(--feature-journey-gap);
}

.highlights {
  padding-top: var(--feature-journey-gap);
}

.overview-grid,
.feature-grid,
.highlight-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.overview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.overview-card,
.highlight-grid article,
.feature-card,
.cta-section,
.journey {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 60px rgba(20, 45, 39, 0.08);
}

.overview-card,
.highlight-grid article {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.overview-card span,
.highlight-grid span {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--green-700);
  font-weight: 900;
  background: #e6f5ed;
}

.overview-card p,
.highlight-grid p,
.feature-card p,
.check-list {
  color: var(--muted);
  line-height: 1.75;
}

.architecture {
  padding: var(--section-space) 0;
}

.flow {
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, var(--green-950), var(--green-900));
  box-shadow: var(--shadow);
}

.flow div {
  min-width: 140px;
  flex: 1;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.flow b {
  display: block;
  color: var(--gold);
  font-size: 36px;
}

.flow span {
  color: rgba(255, 255, 255, 0.78);
}

.flow i {
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature-card img {
  width: 100%;
  height: 240px;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.feature-card img:hover {
  filter: brightness(0.96);
  transform: scale(1.02);
}

.feature-card div {
  padding: 26px;
}

.tag {
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
  background: #e6f5ed;
}

.journey {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 42px;
  padding: 46px;
  border-radius: var(--radius-xl);
  scroll-margin-top: 118px;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 34px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-700);
  font-weight: 900;
}

.journey-cards {
  display: grid;
  align-content: center;
  gap: 22px;
}

.journey-cards img {
  height: auto;
  width: 100%;
  padding: 12px;
  cursor: pointer;
  object-fit: contain;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 48px rgba(20, 45, 39, 0.14);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.journey-cards img:hover {
  filter: brightness(0.96);
  transform: scale(1.01);
}

.highlight-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 56px rgba(20, 45, 39, 0.12);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 76px rgba(20, 45, 39, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-item span {
  display: block;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 900;
}

.cta-section {
  width: min(1180px, calc(100% - 48px));
  margin: var(--section-gap) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 52px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 85% 25%, rgba(244, 199, 111, 0.28), transparent 20rem),
    linear-gradient(135deg, var(--green-950), var(--green-900));
}

.cta-section h2 {
  max-width: 780px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.74);
}

.back-to-top {
  position: relative;
  z-index: 1;
}

.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 36px;
  background: rgba(10, 20, 18, 0.78);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 88vh;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  color: var(--green-950);
  background: #fff;
  font-size: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.pricing-card {
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 20px 56px rgba(20, 45, 39, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(20, 45, 39, 0.14);
}

.pricing-featured {
  position: relative;
  border-color: var(--gold);
  background: #fffcf5;
  box-shadow: 0 20px 56px rgba(244, 199, 111, 0.16);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-950);
  font-weight: 900;
  font-size: 13px;
}

.pricing-tier {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
}

.pricing-amount {
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-amount strong {
  font-size: 44px;
  letter-spacing: -0.04em;
  color: var(--green-900);
}

.pricing-featured .pricing-amount strong {
  color: var(--green-700);
}

.pricing-amount span {
  font-size: 16px;
  color: var(--muted);
}

.pricing-desc {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.pricing-features {
  padding-left: 0;
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
}

.pricing-card .button {
  width: 100%;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .journey {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: var(--section-space);
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-frame {
    width: min(350px, 58vw);
  }

  .overview-grid,
  .feature-grid,
  .highlight-grid,
  .gallery-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .section,
  .cta-section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .hero-visual {
    min-height: 460px;
  }

  .phone-frame {
    width: 260px;
    border-radius: 30px;
    border-width: 7px;
  }

  .phone-back {
    right: 4px;
  }

  .phone-front {
    left: 0;
  }

  .floating-card {
    font-size: 13px;
  }

  .architecture .section-heading h2,
  .features .section-heading h2 {
    white-space: normal;
  }

  .overview-grid,
  .feature-grid,
  .highlight-grid,
  .gallery-grid,
  .pricing-grid,
  .journey-cards {
    grid-template-columns: 1fr;
  }

  .journey,
  .cta-section {
    padding: 28px;
  }

  .gallery-item img {
    height: 300px;
  }

  .journey-cards img {
    height: auto;
  }

  .flow i {
    display: none;
  }

  .footer {
    flex-direction: column;
  }
}
