:root {
  --bg: #0a0a0c;
  --bg-soft: #121216;
  --bg-card: #18181f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f5;
  --muted: #a3a3b2;
  --accent: #e11d48;
  --accent-soft: #fb7185;
  --accent-glow: rgba(225, 29, 72, 0.35);
  --ok: #22c55e;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --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(1200px 600px at 10% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(244, 63, 94, 0.12), transparent 50%),
    linear-gradient(180deg, #0d0d12 0%, var(--bg) 40%, #070709 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 12, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  margin-left: 0.35rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-card);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-soft);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  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, #e11d48, #be123c);
  color: #fff;
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: #fff;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}

.hero-badge {
  position: absolute;
  left: -0.6rem;
  bottom: 1.5rem;
  background: rgba(18, 18, 22, 0.92);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 220px;
}

.hero-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-badge strong {
  color: #fff;
  font-size: 0.98rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 46rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.section-head p {
  color: var(--muted);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1.1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-card);
  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(225, 29, 72, 0.45);
}

.card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.card-body h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.card-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(225, 29, 72, 0.15);
  color: var(--accent-soft);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.feature h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

.prose {
  color: var(--muted);
}

.prose h2,
.prose h3 {
  color: #fff;
  margin: 1.6rem 0 0.7rem;
  line-height: 1.35;
}

.prose h2 {
  font-size: 1.45rem;
}

.prose h3 {
  font-size: 1.15rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.toc ol {
  margin-left: 1.1rem;
}

.toc li {
  list-style: decimal;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin: 1.2rem 0 1.6rem;
}

.shot-row figure {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.shot-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-row figcaption {
  padding: 0.55rem 0.7rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.55rem;
  color: var(--accent-soft);
}

.faq p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  margin: 1rem 0 0;
  padding: 2rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(225, 29, 72, 0.22), rgba(18, 18, 22, 0.9)),
    var(--bg-card);
  border: 1px solid rgba(225, 29, 72, 0.35);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.55rem;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.55rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 42rem;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #08080a;
  padding: 2.4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #777;
  font-size: 0.85rem;
  text-align: center;
}

/* Error pages */
.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-wrap h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.error-wrap p {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .footer-grid,
  .shot-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-badge {
    left: 0.6rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.8rem;
    background: rgba(10, 10, 12, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.9rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .shot-row {
    grid-template-columns: 1fr;
  }

  .hero-frame img {
    max-height: 420px;
  }

  .section {
    padding: 2.2rem 0;
  }
}
