:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --bg-card: #1c212b;
  --line: #2a3140;
  --text: #e8eaef;
  --muted: #9aa3b2;
  --brand: #e8893a;
  --brand-2: #f0a35c;
  --brand-dark: #c46a22;
  --ok: #3dbf8a;
  --danger: #e85d5d;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --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: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  color: #ffc48a;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #111;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.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-soft);
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  color: #1a1008 !important;
  font-weight: 700;
}

.menu-btn {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 137, 58, 0.18), transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(240, 163, 92, 0.08), transparent 45%),
    linear-gradient(180deg, #141821 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--brand-2);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #1a1008;
  box-shadow: 0 8px 24px rgba(232, 137, 58, 0.28);
}

.btn-primary:hover {
  color: #1a1008;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.hero-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(15, 17, 21, 0.82);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--brand-2);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
  max-width: 46em;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

.prose {
  color: var(--muted);
}

.prose p {
  margin-bottom: 1em;
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin: 1.4em 0 0.6em;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

/* Cards / grids */
.feature-grid,
.shot-grid,
.cat-grid,
.step-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.shot-card,
.cat-card,
.step-card,
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card,
.step-card,
.faq-item,
.cat-card {
  padding: 20px;
}

.feature-card h3,
.step-card h3,
.cat-card h3,
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.feature-card p,
.step-card p,
.cat-card p,
.faq-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

.shot-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.shot-card .cap {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.cat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cat-card {
  text-align: left;
}

.cat-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top;
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(232, 137, 58, 0.15);
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.cta-band {
  background: linear-gradient(135deg, rgba(232, 137, 58, 0.16), rgba(196, 106, 34, 0.08));
  border: 1px solid rgba(232, 137, 58, 0.35);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.cta-band p {
  color: var(--muted);
  max-width: 40em;
}

.breadcrumb {
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 28px 0 8px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 46em;
}

.legal {
  padding: 24px 0 64px;
}

.legal .prose {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.related {
  margin-top: 28px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.related h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.related ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}

.error-page h1 {
  font-size: 3rem;
  color: var(--brand);
  margin-bottom: 8px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0c0e12;
  padding: 40px 0 24px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--brand-2);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.age-tip {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 137, 58, 0.4);
  color: var(--brand-2);
  font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .shot-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cat-grid,
  .step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #12151c;
    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;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .hero-grid,
  .feature-grid,
  .shot-grid,
  .cat-grid,
  .step-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-card img,
  .cat-card img {
    aspect-ratio: 9 / 15;
  }

  .cta-band {
    padding: 22px;
  }

  .section {
    padding: 40px 0;
  }
}
