:root {
  --ink: #102a2a;
  --muted: #4f6b68;
  --teal: #0f766e;
  --teal-deep: #115e59;
  --sand: #e8f2ef;
  --line: rgba(15, 118, 110, .14);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(16, 42, 42, .12);
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(15,118,110,.12), transparent 60%),
    linear-gradient(180deg, #f7fbfa 0%, #eef6f4 40%, #f7fbfa 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.home-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 251, 250, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.home-brand {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .04em;
  color: var(--teal-deep);
  white-space: nowrap;
}
.home-nav-mid {
  display: flex; align-items: center; gap: clamp(8px, 2vw, 28px);
  flex: 1; justify-content: center; flex-wrap: wrap;
}
.home-nav-mid a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 6px 4px; position: relative;
  transition: color .2s ease;
}
.home-nav-mid a:hover,
.home-nav-mid a.is-active { color: var(--teal-deep); }
.home-nav-mid a.is-active::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--teal);
}
.home-nav-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--ink);
}
.btn-ghost:hover { background: rgba(15,118,110,.06); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(15,118,110,.28);
}
.btn-primary:hover { box-shadow: 0 14px 28px rgba(15,118,110,.34); }

.hero-xl { min-height: 88vh; }
.hero-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,255,252,.72);
  font-weight: 600;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 48px) 8px;
  max-width: 1280px;
  margin: -28px auto 36px;
  position: relative;
  z-index: 2;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 168px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 18px 40px rgba(8,28,28,.18);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(8,28,28,.78));
  color: #fff; font-size: 13px; font-weight: 600;
}

.dual-scene .scene { margin-bottom: 28px; }
.scene-flip { direction: ltr; }

.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 8px clamp(18px, 4vw, 48px) 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.photo-row figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.photo-row img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photo-row figcaption {
  padding: 10px 14px 14px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background: #0f2928;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 28, 28, .72) 0%, rgba(8, 28, 28, .42) 42%, rgba(8, 28, 28, .18) 100%),
    linear-gradient(180deg, rgba(8,28,28,.18) 0%, rgba(8,28,28,.55) 100%);
}
.hero-copy {
  position: relative; z-index: 2;
  width: min(680px, 100%);
  padding: clamp(48px, 10vh, 96px) clamp(18px, 4vw, 48px);
  color: #f5fffc;
  animation: riseIn .9s ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: .06em;
  text-shadow: 0 10px 30px rgba(0,0,0,.28);
}
.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  color: rgba(245,255,252,.88);
  max-width: 32em;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-primary {
  background: #fff; color: var(--teal-deep);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.hero-cta .btn-ghost {
  border-color: rgba(255,255,255,.45); color: #fff;
}
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }

.section {
  padding: clamp(56px, 9vw, 100px) clamp(18px, 4vw, 48px);
  flex: 1;
}
.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-head h1,
.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: .04em;
  color: var(--teal-deep);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}
.feature {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sand);
}
.feature-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.feature:hover .feature-media img { transform: scale(1.05); }
.feature-body { padding: 22px 22px 26px; }
.feature-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-family: var(--font-display);
  letter-spacing: .03em;
}
.feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-rows { display: grid; gap: clamp(28px, 5vw, 48px); margin-top: 48px; }
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(232,242,239,.7));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.feature-row.is-flip { grid-template-columns: .95fr 1.05fr; }
.feature-row.is-flip .feature-row-media { order: 2; }
.feature-row.is-flip .feature-row-copy { order: 1; }
.feature-row-media {
  border-radius: 20px; overflow: hidden; min-height: 240px; background: var(--sand);
}
.feature-row-media img {
  width: 100%; height: 100%; min-height: 240px; object-fit: cover;
}
.feature-row-copy h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: .03em;
  color: var(--teal-deep);
}
.feature-row-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.feature-row-copy ul {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 8px;
}
.feature-row-copy li {
  position: relative; padding-left: 18px; font-size: 14px; line-height: 1.6;
}
.feature-row-copy li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}

.scene {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(232,242,239,.75));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
  margin: 0 clamp(18px, 4vw, 48px) clamp(56px, 9vw, 100px);
}
.scene-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: .04em;
  color: var(--teal-deep);
}
.scene-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.scene-points {
  margin: 0 0 24px; padding: 0; list-style: none;
  display: grid; gap: 10px;
}
.scene-points li {
  padding-left: 22px; position: relative; color: var(--ink); font-size: 15px; line-height: 1.6;
}
.scene-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
}
.scene-visual {
  border-radius: 22px; overflow: hidden; min-height: 280px; background: #0f766e;
}
.scene-visual img {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover;
  animation: softPulse 10s ease-in-out infinite alternate;
}

.plan-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px;
}
.plan-tab {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.plan-tab.is-on {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 260px;
}
.plan-card .kind {
  display: inline-flex; align-self: flex-start;
  padding: 3px 10px; border-radius: 999px; font-size: 12px;
  background: var(--sand); color: var(--teal-deep); border: 1px solid var(--line);
}
.plan-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .03em;
}
.plan-price {
  font-size: 28px; font-weight: 700; color: var(--teal-deep);
}
.plan-price span { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan-meta { color: var(--muted); font-size: 13px; line-height: 1.7; }
.plan-desc {
  color: var(--ink); font-size: 14px; line-height: 1.7; flex: 1;
  white-space: pre-wrap;
}
.plan-empty, .coming-box {
  text-align: center; padding: 64px 20px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 24px; background: rgba(255,255,255,.75);
}
.coming-box h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  color: var(--teal-deep);
  letter-spacing: .04em;
}
.coming-box p { margin: 0 0 24px; font-size: 16px; line-height: 1.8; }

/* 首页 / 功能页补充区块 */
.band {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: center;
  isolation: isolate;
}
.band-media {
  position: absolute; inset: 0; z-index: 0;
  background: #0f2928;
}
.band-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: softPulse 12s ease-in-out infinite alternate;
}
.band-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(8,28,28,.78) 0%, rgba(8,28,28,.45) 55%, rgba(8,28,28,.2) 100%);
}
.band-copy {
  position: relative; z-index: 2;
  padding: clamp(40px, 8vw, 72px) clamp(18px, 4vw, 48px);
  color: #f5fffc;
  max-width: 640px;
}
.band-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: .04em;
}
.band-copy p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245,255,252,.88);
}

.pathway {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.pathway-step {
  padding: 22px 20px 26px;
  border-right: 1px solid var(--line);
  position: relative;
}
.pathway-step:last-child { border-right: 0; }
.pathway-step .n {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--teal);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.pathway-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-family: var(--font-display);
  letter-spacing: .03em;
}
.pathway-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.quote-strip {
  margin: 0 clamp(18px, 4vw, 48px) clamp(40px, 7vw, 72px);
  padding: clamp(28px, 5vw, 40px);
  border-radius: 28px;
  background: linear-gradient(135deg, #123837 0%, #0f766e 55%, #134e4a 100%);
  color: #f5fffc;
  box-shadow: var(--shadow);
}
.quote-strip h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .04em;
}
.quote-strip p {
  margin: 0 0 20px;
  max-width: 40em;
  line-height: 1.8;
  color: rgba(245,255,252,.88);
  font-size: 15px;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
  max-width: 920px;
}
.mosaic-main {
  border-radius: 18px;
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mosaic-main img,
.mosaic-side img {
  width: 100%; height: 100%; object-fit: cover;
}
.mosaic-side {
  display: grid;
  gap: 14px;
}
.mosaic-tile {
  border-radius: 18px;
  overflow: hidden;
  height: 103px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.mosaic-tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 12px;
  background: linear-gradient(180deg, transparent, rgba(8,28,28,.72));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.page-hero-lite {
  padding: clamp(36px, 6vw, 56px) clamp(18px, 4vw, 48px) 8px;
}
.page-hero-lite h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: .05em;
  color: var(--teal-deep);
}
.page-hero-lite p {
  margin: 0;
  max-width: 40em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.home-footer {
  margin-top: auto;
  padding: 28px clamp(18px, 4vw, 48px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center;
}
.home-footer a { color: var(--muted); }
.home-footer a:hover { color: var(--teal-deep); }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@keyframes softPulse {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr; }
  .scene, .feature-row, .feature-row.is-flip, .mosaic { grid-template-columns: 1fr; }
  .mosaic-main { height: 180px; }
  .mosaic-tile { height: 96px; }
  .feature-row.is-flip .feature-row-media,
  .feature-row.is-flip .feature-row-copy { order: initial; }
  .pathway { grid-template-columns: 1fr 1fr; }
  .pathway-step:nth-child(2) { border-right: 0; }
  .pathway-step:nth-child(1),
  .pathway-step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hero { min-height: 78vh; }
  .gallery-strip { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .gallery-item { height: 140px; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img { height: 180px; }
  .home-nav { flex-wrap: wrap; }
  .home-nav-mid { order: 3; width: 100%; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .pathway { grid-template-columns: 1fr; }
  .pathway-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .pathway-step:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .home-nav { padding-block: 12px; }
  .hero-copy { padding-bottom: 40px; }
}
