:root {
  --sea: #156b8a;
  --sea-deep: #0b3a52;
  --teal: #0f7a6b;
  --foam: #eaf6f4;
  --mist: #f4f8f7;
  --sand: #efe8dc;
  --ink: #122433;
  --muted: #5a6d78;
  --line: rgba(15, 58, 82, 0.12);
  --radius: 18px;
  --shadow: 0 22px 50px rgba(11, 58, 82, 0.14);
  --max: 1120px;
  --header: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(21, 107, 138, 0.16), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(15, 122, 107, 0.12), transparent 55%),
    linear-gradient(180deg, #f7fbfa 0%, var(--mist) 42%, #ffffff 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal);
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 250, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(11, 58, 82, 0.18);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 2px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 28px;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 55%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(21, 107, 138, 0.2), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220'%3E%3Cpath fill='%23156b8a' fill-opacity='0.08' d='M0,128L48,133.3C96,139,192,149,288,149.3C384,149,480,139,576,117.3C672,96,768,64,864,69.3C960,75,1056,117,1152,133.3C1248,149,1344,139,1392,133.3L1440,128L1440,220L1392,220C1344,220,1248,220,1152,220C1056,220,960,220,864,220C768,220,672,220,576,220C480,220,384,220,288,220C192,220,96,220,48,220L0,220Z'/%3E%3C/svg%3E")
      center bottom / cover no-repeat;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sea) 0%, var(--teal) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 122, 107, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

.phone-stack {
  position: relative;
  height: min(560px, 72vw);
  display: grid;
  place-items: center;
}

.phone {
  position: absolute;
  width: min(250px, 46vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #1a2a36, #0b3a52);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floaty 5.5s ease-in-out infinite;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

.phone-back {
  transform: translate(-18%, 6%) rotate(-8deg);
  z-index: 1;
  animation-delay: -1.4s;
}

.phone-front {
  transform: translate(16%, -4%) rotate(7deg);
  z-index: 2;
}

@keyframes floaty {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

.ads-panel {
  position: sticky;
  top: var(--header);
  z-index: 40;
  margin: 0;
  width: 100%;
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 251, 250, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(11, 58, 82, 0.06);
}

.ads-panel-title {
  margin: 0 0 4px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.section {
  padding: 56px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-item {
  padding: 8px 0 0;
}

.feature-item figure {
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(11, 58, 82, 0.12);
  background: #0b3a52;
}

.feature-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.feature-item:hover img {
  transform: scale(1.03);
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split.reverse .split-copy {
  order: 2;
}

.split-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sea-deep);
}

.split-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  margin-inline: auto;
}

.prose h2,
.prose h3 {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.prose p {
  margin: 0 0 1em;
  color: #243846;
}

.prose ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
  color: #243846;
}

.prose li + li {
  margin-top: 0.45em;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mosaic figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sea-deep);
  box-shadow: 0 10px 24px rgba(11, 58, 82, 0.1);
}

.mosaic img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.mosaic figcaption {
  padding: 8px 10px 10px;
  font-size: 0.85rem;
  color: var(--muted);
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  padding: 22px 20px;
  border-top: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.7);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 1.4rem;
  color: var(--sea);
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 42px 0 18px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.legal {
  padding-bottom: 64px;
}

.crumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--sea);
}

.error-page {
  min-height: calc(100svh - var(--header) - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.error-page h1 {
  margin: 0 0 8px;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  color: var(--sea-deep);
}

.error-page p {
  margin: 0 0 22px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0b3a52;
  color: rgba(255, 255, 255, 0.86);
  padding: 42px 0 28px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}
.reveal:nth-child(3) {
  animation-delay: 0.16s;
}
.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .feature-rail,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-stack {
    height: 440px;
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: rgba(247, 251, 250, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .feature-rail {
    grid-template-columns: 1fr;
  }

  .phone {
    width: min(210px, 54vw);
  }
}
