:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --text: #f2f2f2;
  --muted: #a8a8a8;
  --line: #2a2a2a;
  --accent: #b91c1c;
  --accent-2: #dc2626;
  --green: #22c55e;
  --max: 1120px;
  --radius: 12px;
  --font: "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);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(185, 28, 28, 0.18), transparent),
    linear-gradient(180deg, #0d0d0d 0%, #080808 100%);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #f87171;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--bg-3);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  margin-left: 4px;
}

.nav-cta:hover {
  background: var(--accent-2) !important;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7f1d1d);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: #555;
  color: #fff;
}

.hero-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-float {
  position: absolute;
  right: -8px;
  bottom: -16px;
  width: 42%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

.kicker {
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Cards / grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.shot-card figcaption {
  padding: 12px 12px 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.shot-card h3 {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 4px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.prose h2,
.prose h3 {
  margin: 1.4em 0 0.6em;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1em;
  color: #d4d4d4;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.2em;
  color: #d4d4d4;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  color: #fff;
  font-weight: 600;
}

.content-img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 16px 0 8px;
}

.img-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(185, 28, 28, 0.2);
  color: #fca5a5;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin-top: 10px;
  color: var(--muted);
}

.cta-box {
  text-align: center;
  padding: 42px 24px;
  border-radius: 16px;
  border: 1px solid rgba(185, 28, 28, 0.35);
  background:
    linear-gradient(135deg, rgba(185, 28, 28, 0.18), rgba(0, 0, 0, 0.2)),
    var(--bg-2);
}

.cta-box h2 {
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 20px;
}

.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, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 720px;
}

.legal {
  padding: 20px 0 60px;
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}

.error-wrap h1 {
  font-size: 4rem;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 12px;
}

.error-wrap p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #070707;
  padding: 40px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.footer-brand p,
.footer-col p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

.footer-col h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #777;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0 24px;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.toc ol {
  margin-left: 1.1em;
  color: var(--muted);
}

.toc a {
  color: var(--muted);
}

.toc a:hover {
  color: #fff;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.keyword-cloud a {
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.keyword-cloud a:hover {
  color: #fff;
  border-color: #555;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-float {
    width: 38%;
    right: 8px;
    bottom: -12px;
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #0f0f0f;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .feature-grid,
  .shot-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .section {
    padding: 40px 0;
  }

  .hero-float {
    display: none;
  }
}
