:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --bg-card: #1c212b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f5f8;
  --muted: #a8b0bf;
  --brand: #e11d48;
  --brand-soft: #fb7185;
  --accent: #f43f5e;
  --ok: #34d399;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 29, 72, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(244, 63, 94, 0.12), transparent 50%),
    linear-gradient(180deg, #12151c 0%, #0f1115 40%, #0c0e13 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--brand-soft);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 21, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.logo span {
  font-size: 1.05rem;
}

.logo em {
  color: var(--brand-soft);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-soft);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 560px;
}

.cta-row {
  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: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #be123c);
  color: #fff;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--ok);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto;
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  max-width: 760px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 63, 94, 0.35);
}

.card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-soft);
}

.card-body {
  padding: 14px 16px 16px;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.feature h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

.content-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
}

.content-block h2,
.content-block h3 {
  margin: 1.2em 0 0.55em;
}

.content-block h2:first-child,
.content-block h3:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: #d5dae4;
  margin-bottom: 0.9em;
}

.content-block ul,
.content-block ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

.content-block a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.shot-stack {
  display: grid;
  gap: 14px;
}

.shot-stack img {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.95rem;
}

.breadcrumb {
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 28px 0 10px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
}

.legal {
  padding-bottom: 50px;
}

.legal .content-block {
  margin-top: 18px;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 34px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #7f8796;
  font-size: 0.85rem;
  text-align: center;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  margin-bottom: 10px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 22px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.toc a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.toc a:hover {
  color: #fff;
  border-color: rgba(244, 63, 94, 0.4);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual img {
    max-height: 480px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: rgba(15, 17, 21, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .content-block {
    padding: 20px 16px;
  }

  .section {
    padding: 30px 0;
  }
}
