/* =========================================================
   汉境云途 · 宣传推介站 v3 — 高级感视觉系统
   ========================================================= */

:root {
  /* 品牌色 */
  --green: #2D8A6F;
  --green-light: #3AA685;
  --green-dark: #1F6B54;
  --green-deep: #152B22;
  --gold: #E8A838;
  --gold-light: #F0C06A;
  --gold-dark: #C48920;

  /* 中性色 */
  --ink: #1A1F2E;
  --ink-soft: #4A5568;
  --ink-faint: #94A3B8;
  --white: #FFFFFF;

  /* 背景层次 */
  --bg-cream: #FAFBF8;
  --bg-warm: #FFF9F3;
  --bg-cool: #F4F7F9;
  --bg-deep: #0F1A14;

  /* 功能 */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 4px 24px rgba(26, 31, 46, .06);
  --shadow-md: 0 12px 40px rgba(26, 31, 46, .1);
  --shadow-lg: 0 24px 60px rgba(26, 31, 46, .12);
  --shadow-glow: 0 0 60px rgba(45, 138, 111, .15);

  /* 排版 */
  --maxw: 1200px;
  --maxw-wide: 1360px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ==================== 容器 ==================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.container--wide { max-width: var(--maxw-wide); }
.container--narrow { max-width: 620px; }

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .28s cubic-bezier(.22, 1, .36, 1);
  white-space: nowrap;
  position: relative;
  letter-spacing: .01em;
}
.btn--primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 8px 28px rgba(45, 138, 111, .35), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 44px rgba(45, 138, 111, .42), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.85);
  transform: translateY(-2px);
}
.btn--block { width: 100%; }
.btn--lg { padding: 17px 36px; font-size: 16.5px; }

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 28px rgba(45, 138, 111, .35); }
  50% { box-shadow: 0 8px 44px rgba(45, 138, 111, .55), 0 0 0 8px rgba(45, 138, 111, .08); }
}
.btn--glow { animation: btnGlow 3s ease-in-out infinite; }
.btn--glow:hover { animation: none; }

/* ==================== 区块通用 ==================== */
.section { padding: 110px 0; position: relative; overflow: hidden; }

.section__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45, 138, 111, .08);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(45, 138, 111, .12);
}
.section__tag--light {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}

.section__header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section__header--light { color: #fff; }
.section__title {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.section__title--lg {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.15;
}
.section__title--light { color: #fff; }
.section__sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
.section__sub--light { color: rgba(255,255,255,.75); }

/* 区块背景 */
.section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 138, 111, .07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(232, 168, 56, .05) 0%, transparent 55%);
}
.section__bg--dark {
  opacity: 1;
  background: linear-gradient(170deg, #0F1A14 0%, #162820 50%, #1A332A 100%);
}
.section__bg--warm {
  opacity: .6;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(232, 168, 56, .08) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(45, 138, 111, .06) 0%, transparent 55%);
}

/* ==================== 导航 ==================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: all .35s cubic-bezier(.22, 1, .36, 1);
}
.nav.is-scrolled {
  background: rgba(250, 251, 248, .92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px rgba(26, 31, 46, .06);
}
.nav__inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; z-index: 101; }
.nav__logo-img {
  width: 34px; height: 34px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform .25s ease;
}
.nav__logo-img:hover { transform: scale(1.08) rotate(-3deg); }
.nav__name {
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  transition: color .3s ease;
  letter-spacing: .01em;
}
.nav__slogan {
  font-family: "STXingkai", "Xingkai SC", "华文行楷", "Ma Shan Zheng", cursive;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.2);
  letter-spacing: .06em;
  white-space: nowrap;
  transition: color .3s ease;
}
.nav.is-scrolled .nav__slogan { color: var(--green); border-left-color: rgba(45,138,111,.2); }
.nav.is-scrolled .nav__name { color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all .22s ease;
  position: relative;
}
.nav.is-scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a:hover {
  color: var(--green);
  background: rgba(45, 138, 111, .06);
}
.nav__cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 16px rgba(232, 168, 56, .35) !important;
  margin-left: 8px;
}
.nav__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(232, 168, 56, .45) !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav__toggle span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: all .28s ease;
}
.nav.is-scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== HERO 首屏 ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: -40px;
  background-image: url("../images/spots/s1.jpg");
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 140% 80% at 50% -10%, rgba(21, 43, 34, .5) 0%, transparent 65%),
    linear-gradient(180deg,
      rgba(15, 26, 20, .2) 0%,
      rgba(15, 26, 20, .5) 50%,
      rgba(15, 26, 20, .82) 100%
    );
}
/* 光晕装饰 */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 500px; height: 500px;
  background: rgba(45, 138, 111, .2);
  top: -10%; right: -10%;
  animation: glowFloat 10s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: rgba(232, 168, 56, .12);
  bottom: 10%; left: -8%;
  animation: glowFloat 12s ease-in-out infinite alternate-reverse;
}
@keyframes glowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.15); }
}

/* 粒子 */
.hero__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleRise 9s ease-in-out infinite;
}
.p1 { width: 4px; height: 4px; background: var(--gold); top: 25%; left: 12%; animation-delay: 0s; }
.p2 { width: 6px; height: 6px; background: rgba(255,255,255,.6); top: 60%; left: 82%; animation-delay: 2s; }
.p3 { width: 3px; height: 3px; background: var(--green-light); top: 75%; left: 22%; animation-delay: 4s; }
.p4 { width: 5px; height: 5px; background: rgba(232,168,56,.5); top: 18%; left: 70%; animation-delay: 5.5s; }
.p5 { width: 4px; height: 4px; background: rgba(255,255,255,.4); top: 50%; left: 45%; animation-delay: 7s; }
.p6 { width: 7px; height: 7px; background: rgba(45,138,111,.4); top: 85%; left: 62%; animation-delay: 8s; }
@keyframes particleRise {
  0%   { opacity: 0; transform: translateY(50px) scale(.3); }
  15%  { opacity: .8; }
  75%  { opacity: .3; }
  100% { opacity: 0; transform: translateY(-100px) scale(1.3); }
}

.hero__content { position: relative; z-index: 2; padding: 0 28px; max-width: 780px; }
.hero__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232, 168, 56, .12);
  border: 1px solid rgba(232, 168, 56, .25);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero__title {
  font-size: clamp(56px, 12vw, 112px);
  font-weight: 900;
  margin: 0;
  letter-spacing: .06em;
  line-height: 1.08;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .35);
}
.hero__title-line { display: inline-block; }
.hero__slogan {
  font-size: clamp(20px, 3.5vw, 34px);
  font-weight: 600;
  margin: 18px 0 20px;
  color: rgba(255,255,255,.95);
  letter-spacing: .08em;
}
.hero__desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.82);
  margin: 0 auto 40px;
  max-width: 500px;
  line-height: 1.85;
}
.hero__br { display: none; }
@media (min-width: 520px) { .hero__br { display: inline; } }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 滚动提示 */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .1em;
  animation: hintFade 2.5s ease-in-out infinite;
}
.hero__mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__wheel {
  width: 3px; height: 7px;
  background: rgba(255,255,255,.7);
  border-radius: 3px;
  animation: wheelRoll 1.6s ease-in-out infinite;
}
@keyframes wheelRoll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: .3; }
}
@keyframes hintFade {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

/* ==================== §2 关于（双栏大字）==================== */
.section--intro {
  background: var(--white);
  padding: 120px 0;
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.intro__br { display: none; }
@media (min-width: 800px) { .intro__br { display: block; } }
.intro__left .section__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro__lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 32px;
}
.intro__lead strong { color: var(--green-dark); font-weight: 700; }

/* 数据统计 */
.intro__stats {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  flex-wrap: wrap;
}
.intro__stats--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 36px;
}
.stat {
  text-align: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  cursor: default;
}
.stat:hover { transform: translateY(-6px) scale(1.04); }
.stat:hover .stat__num { color: var(--green-dark); }
.stat__num {
  font-size: 36px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: inline;
  transition: color .35s ease;
}
.stat__unit {
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
}
.stat__label {
  display: block;
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: .03em;
}

/* 特点列表 */
.intro__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.intro__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), color .3s ease;
}
.intro__points li:hover {
  transform: translateX(6px);
  color: var(--green);
}
.check-icon {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.intro__points li:hover .check-icon {
  transform: scale(1.3) rotate(90deg);
}

/* ==================== §3 功能模块 ==================== */
.section--features {
  background: var(--bg-cool);
  padding: 120px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.04);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all .35s cubic-bezier(.22, 1, .36, 1);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0;
  transition: opacity .35s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card__num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(0,0,0,.03);
  line-height: 1;
  transition: color .35s ease;
}
.feature-card:hover .feature-card__num { color: rgba(45, 138, 111, .06); }
.feature-card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 138, 111, .1), rgba(45, 138, 111, .03));
  color: var(--green);
  margin-bottom: 16px;
  transition: all .35s ease;
}
.feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(45, 138, 111, .3);
}
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature-card__text {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.75;
}
.feature-card__bg {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 138, 111, .04), transparent 70%);
  pointer-events: none;
  transition: all .4s ease;
}
.feature-card:hover .feature-card__bg {
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(45, 138, 111, .07), transparent 70%);
}

/* ==================== §4 界面画廊 ==================== */
.section--preview {
  background: var(--bg-deep);
  padding: 110px 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
  justify-items: center;
}
.phone-card {
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 210px;
}
.phone-card figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  letter-spacing: .03em;
}
.phone-card__frame {
  background: linear-gradient(145deg, #1A2E25, #0F1A14);
  border-radius: 30px;
  padding: 8px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
  overflow: hidden;
  position: relative;
  width: 196px;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.phone-card__frame::before {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 4px;
  background: rgba(255, 255, 255, .12);
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
}
.phone-card__frame img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  object-position: top center;
  border-radius: 22px;
  display: block;
  transition: transform .4s ease;
}
.phone-card:hover .phone-card__frame {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 0 0 1px rgba(45, 138, 111, .15);
}
.phone-card:hover .phone-card__frame img { transform: scale(1.04); }

/* ==================== §5 立即体验（居中 CTA，二维码为主角）==================== */
.section--cta {
  background: linear-gradient(180deg, #F7FAF8 0%, #fff 40%, #F0F7F4 100%);
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 138, 111, .04) 0%, transparent 70%);
  pointer-events: none;
}

/* 副标题 */
.section__subtitle {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 12px auto 0;
  max-width: 480px;
  line-height: 1.6;
  font-weight: 400;
}

/* 三步横排（极简） */
.cta-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 48px auto 56px;
  flex-wrap: wrap;
}
.cta-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.cta-step__num {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(45, 138, 111, .25);
}
.cta-step__arrow {
  font-size: 20px;
  color: var(--green);
  opacity: .4;
  font-weight: 300;
}

/* 二维码区（视觉主角） */
.cta-qrcode {
  text-align: center;
}
.cta-qrcode__cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 36px;
}
.cta-qrcode__card {
  background: #fff;
  border: 1px solid rgba(45, 138, 111, .08);
  border-radius: 20px;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow:
    0 8px 40px rgba(26, 31, 46, .06),
    0 2px 8px rgba(26, 31, 46, .03);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
  max-width: 220px;
}
.cta-qrcode__card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(26, 31, 46, .1),
    0 4px 16px rgba(26, 31, 46, .04);
}
.cta-qrcode__img-wrap {
  width: 180px; height: 180px;
  margin: 0 auto 14px;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  display: grid; place-items: center;
}
.cta-qrcode__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cta-qrcode__card:hover .cta-qrcode__img-wrap img {
  transform: scale(1.03);
}
.cta-qrcode__card figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}
.cta-qrcode__card figcaption strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.cta-qrcode__card figcaption span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ==================== §7 表单 ==================== */
.section--contact {
  background: var(--bg-warm);
  padding: 120px 0;
}
.form { display: grid; gap: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 6px; }
.form__label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: .01em;
}
.form__label abbr { text-decoration: none; color: var(--gold-dark); }
.form__input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: all .22s ease;
}
.form__input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 138, 111, .1);
}
.form__select { appearance: auto; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 110px; }
.form__hint { font-size: 15px; margin: 10px 0 0; min-height: 24px; padding: 8px 14px; border-radius: var(--radius-sm); line-height: 1.5; transition: opacity .3s; }
.form__hint:empty { opacity: 0; }
.form__hint.is-ok { color: #fff; background: rgba(45, 138, 111, .1); border: 1px solid var(--green); font-weight: 600; }
.form__hint.is-err { color: #fff; background: rgba(217, 69, 69, .1); border: 1px solid #D94545; font-weight: 600; }

/* ==================== 页脚 ==================== */
.footer { background: var(--green-deep); color: rgba(255,255,255,.78); position: relative; overflow: hidden; }
.footer__wave {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}
.footer__main { padding: 56px 0 36px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  object-fit: contain;
}
.footer__name { font-size: 22px; font-weight: 800; color: #fff; display: block; }
.footer__slogan { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.55); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__nav a {
  font-size: 14.5px;
  color: rgba(255,255,255,.65);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all .2s ease;
}
.footer__nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}
.footer__bottom p { margin: 0; font-size: 13px; color: rgba(255,255,255,.45); text-align: center; }
.footer__link {
  color: rgba(255,255,255,.55);
  transition: color .2s ease;
}
.footer__link:hover { color: rgba(255,255,255,.9); }

/* ==================== 动画：滚动入场 ==================== */
/* 渐进增强策略：CSS 默认 .reveal 完全可见（opacity:1）。
   只有 JS 成功执行后才会给元素加 .reveal--armed 进入"待入场"隐藏态，
   IntersectionObserver 触发 .is-visible 时再淡入上浮。
   => 即使 JS 未执行 / 缓存旧文件 / IO 不支持，文字也永远可见，绝不会"看不见"。 */

/* 1) 默认态：始终可见，作为 JS 失效时的安全兜底 */
.reveal {
  opacity: 1;
}

/* 2) 武装态（由 JS 添加）：入场动画开始前的隐藏态 */
.reveal--armed {
  opacity: 0;
  transform: translateY(42px) scale(.97);
  transition:
    opacity .8s cubic-bezier(.22, 1, .36, 1),
    transform .8s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

/* 3) 显示态：淡入 + 归位 */
.reveal--armed.is-visible {
  opacity: 1;
  transform: none;
}

/* 错峰延迟（同组元素依次出现，更有节奏感） */
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }
.reveal--d5 { transition-delay: .40s; }
.reveal--d6 { transition-delay: .48s; }
.reveal--d7 { transition-delay: .56s; }
.reveal--d8 { transition-delay: .64s; }

/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1200;
  transition: transform .12s linear;
  box-shadow: 0 1px 6px rgba(45, 138, 111, .4);
  pointer-events: none;
}

/* 数字计数动画 */
.stat__num.counting {
  transition: none;
}
.stat__num.counting {
  transition: none;
}

/* ==================== 响应式 ==================== */

/* 平板 */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
  .intro__grid { gap: 48px; }
  .section { padding: 90px 0; }
  .section--intro, .section--features, .section--cta, .section--contact { padding: 90px 0; }
  .intro__stats--grid { grid-template-columns: repeat(3, 1fr); }
  .cta-qrcode__cards { gap: 28px; }
  .cta-qrcode__card { max-width: 200px; }
  .cta-qrcode__img-wrap { width: 160px; height: 160px; }
}

/* 手机 */
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .container { padding: 0 20px; }

  /* 导航移动端 */
  .nav__links {
    position: fixed;
    inset: 60px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250, 251, 248, .98);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 48px rgba(26, 31, 46, .12);
    padding: 12px 0;
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    z-index: 99;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a {
    color: var(--ink) !important;
    padding: 15px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,.04);
  }
  .nav__cta { margin: 12px 20px; text-align: center; }
  .nav__toggle { display: flex; }
  .nav__slogan { display: none; }

  /* Hero */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll-hint { display: none; }

  /* 关于 */
  .intro__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .intro__stats { justify-content: center; flex-wrap: wrap; gap: 20px 32px; }
  .intro__stats--grid { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
  .stat__num { font-size: 36px; }

  /* 功能卡片 */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px 22px 24px; }

  /* 截图 */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .phone-card { max-width: 160px; }
  .phone-card__frame { width: 152px; max-height: 310px; }
  .phone-card__frame img { max-height: 290px; }

  /* CTA 扫码区移动端 */
  .section--cta { padding: 80px 0 100px; }
  .cta-steps { gap: 6px 16px; margin: 36px auto 44px; }
  .cta-step { font-size: 14px; }
  .cta-step__num { width: 26px; height: 26px; font-size: 12px; }
  .cta-step__arrow { font-size: 16px; }
  .cta-qrcode__cards { gap: 24px; }
  .cta-qrcode__card { padding: 22px 18px 18px; max-width: 180px; }
  .cta-qrcode__img-wrap { width: 150px; height: 150px; border-radius: 12px; }

  /* 表单 */
  .form__grid { grid-template-columns: 1fr; }

  /* 页脚 */
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__nav { gap: 6px; }
}

/* 小屏手机 */
@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; justify-items: center; }
  .phone-card { max-width: 200px; }
  .phone-card__frame { width: 192px; max-height: 380px; }
  .cta-qrcode__cards { flex-direction: column; align-items: center; }
  .cta-qrcode__card { max-width: 220px; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
  .reveal--armed { opacity: 1; transform: none; transition: none; }
  .btn--glow { animation: none; }
  html { scroll-behavior: auto; }
  .particle { animation: none; opacity: .3; }
  .hero__wheel { animation: none; }
  .scroll-progress { display: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}
