:root {
  --ink: #121820;
  --ink-soft: #2a3340;
  --paper: #f3f5f7;
  --panel: #ffffff;
  --line: #d7dde5;
  --accent: #0f766e;
  --accent-deep: #0b5a54;
  --accent-soft: #d9f3ef;
  --warm: #c45c26;
  --muted: #5c6775;
  --shadow: 0 12px 40px rgba(18, 24, 32, 0.08);
  --radius: 14px;
  --max: 1120px;
  --header-h: 72px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  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 10% -10%, #d9f3ef 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #ffe8d8 0%, transparent 50%),
    linear-gradient(180deg, #eef2f5 0%, var(--paper) 40%, #e9eef3 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  color: var(--warm);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 245, 247, 0.88);
  border-bottom: 1px solid rgba(215, 221, 229, 0.9);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 16px !important;
}

.nav-cta:hover {
  background: var(--accent-deep) !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.hero-copy .lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-secondary {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0f1720;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  animation: rise 0.9s ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 16, 24, 0.45));
  pointer-events: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(1.02);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  margin-bottom: 14px;
  background: #111;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot-row figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.shot-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-row figcaption {
  padding: 10px 12px 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.content-block {
  padding: 28px;
}

.content-block h2,
.content-block h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.content-block h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.content-block h3 {
  margin-top: 1.6em;
  font-size: 1.25rem;
}

.content-block p {
  margin: 0.9em 0;
  color: var(--ink-soft);
}

.content-block ul,
.content-block ol {
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.content-block li {
  margin: 0.45em 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: top;
  aspect-ratio: 9 / 16;
  max-height: 560px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.breadcrumb {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent-deep);
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.legal-list a {
  display: block;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.site-footer {
  margin-top: 48px;
  padding: 34px 0 28px;
  background: #101820;
  color: #d7dee7;
}

.site-footer a {
  color: #9ed9d2;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer-col h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0 0 8px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #91a0b0;
}

.error-page {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 10px;
}

.error-page p {
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 22px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.toc a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .shot-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
    animation: rise 0.25s ease both;
  }

  .nav a {
    padding: 12px 14px;
  }

  .feature-grid,
  .steps,
  .shot-row {
    grid-template-columns: 1fr;
  }

  .content-block {
    padding: 18px;
  }

  .hero {
    padding-top: 28px;
  }

  .split img {
    max-height: 480px;
  }
}
