:root {
  --bg: #0f1218;
  --bg-soft: #171c26;
  --bg-card: #1c2330;
  --text: #e8ecf3;
  --text-muted: #9aa6b8;
  --brand: #ff4d6d;
  --brand-2: #ff8a5c;
  --line: rgba(255, 255, 255, 0.08);
  --ok: #3dd6c6;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 77, 109, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(255, 138, 92, 0.12), transparent 50%),
    linear-gradient(180deg, #12161f 0%, var(--bg) 40%, #0c0f14 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-2);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ffd0b8;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(15, 18, 24, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: riseIn 0.8s ease both;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding: 2.6rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 400;
  margin-bottom: 0.55rem;
}

.section-head p {
  color: var(--text-muted);
  max-width: 46rem;
}

.prose {
  color: #d5dbe7;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 1.8rem 0 0.8rem;
}

.prose h2 {
  font-size: 1.7rem;
}

.prose h3 {
  font-size: 1.25rem;
  color: #f3f6fb;
}

.prose ul,
.prose ol {
  margin: 0.6rem 0 1.1rem 1.2rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 109, 0.35);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1rem 1.15rem;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
}

.feature-item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.shot-row figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.shot-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shot-row figure:hover img {
  transform: scale(1.04);
}

.shot-row figcaption {
  padding: 0.55rem 0.7rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0 1.6rem;
}

.toc h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.toc ol {
  margin-left: 1.1rem;
  list-style: decimal;
}

.toc a {
  color: var(--text-muted);
}

.toc a:hover {
  color: var(--brand-2);
}

.faq details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #f4f7fc;
}

.faq details p {
  margin-top: 0.7rem;
  color: var(--text-muted);
}

.page-hero {
  padding: 2.4rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 42rem;
}

.legal {
  background: rgba(28, 35, 48, 0.65);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 2rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer ul li {
  margin-bottom: 0.35rem;
}

.copyright {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #7f8a9c;
  font-size: 0.85rem;
}

.error-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1rem 0 0.4rem;
}

.inline-links a {
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(255, 138, 92, 0.45);
  padding-bottom: 1px;
}

.highlight-box {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--brand);
  background: rgba(255, 77, 109, 0.08);
  border-radius: 0 12px 12px 0;
}

.highlight-box strong {
  color: #ffd1da;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: riseIn 0.7s ease both;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item {
    grid-template-columns: 96px 1fr;
  }

  .feature-item img {
    width: 96px;
    height: 72px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem;
    background: rgba(22, 27, 38, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 120;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-wrap {
    min-height: 60px;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .shot-row {
    grid-template-columns: 1fr 1fr;
  }

  .legal {
    padding: 1.1rem;
  }
}
