:root {
  --c-yellow: #ffb020;
  --c-orange: #ff5a2a;
  --c-magenta: #e91e8c;
  --c-pink: #ff4d9a;
  --c-dark: #1a1218;
  --c-text: #2a2228;
  --c-muted: #6b5f66;
  --c-bg: #fff8f5;
  --c-card: #ffffff;
  --c-line: #f0e4ea;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(233, 30, 140, 0.08);
  --max: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 176, 32, 0.22), transparent 60%),
    radial-gradient(900px 480px at 95% 0%, rgba(233, 30, 140, 0.16), transparent 55%),
    linear-gradient(180deg, #fff9f6 0%, var(--c-bg) 40%, #fff 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-magenta); text-decoration: none; }
a:hover { color: var(--c-orange); }
ul, ol { padding-left: 1.2em; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 245, 0.92);
  border-bottom: 1px solid var(--c-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-dark);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  color: var(--c-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active { color: var(--c-magenta); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: linear-gradient(135deg, var(--c-orange), var(--c-magenta));
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle .nav-icon,
.nav-toggle .nav-icon::before,
.nav-toggle .nav-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle .nav-icon {
  position: relative;
}

.nav-toggle .nav-icon::before,
.nav-toggle .nav-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle .nav-icon::before { top: -6px; }
.nav-toggle .nav-icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-magenta);
  background: rgba(233, 30, 140, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--c-dark);
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--c-muted);
  margin-bottom: 22px;
  max-width: 36em;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--c-orange), var(--c-magenta));
  box-shadow: 0 8px 20px rgba(233, 30, 140, 0.28);
}

.btn-secondary {
  color: var(--c-magenta);
  background: #fff;
  border: 1px solid rgba(233, 30, 140, 0.25);
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(0,0,0,.45));
  pointer-events: none;
}

/* Sections */
.section { padding: 42px 0; }
.section-alt { background: rgba(255,255,255,.55); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }

.section-head { margin-bottom: 22px; max-width: 48em; }
.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--c-dark);
  margin-bottom: 8px;
}
.section-head p { color: var(--c-muted); }

.prose h2, .prose h3 {
  color: var(--c-dark);
  margin: 1.4em 0 0.6em;
}
.prose h2 { font-size: 1.45rem; }
.prose h3 { font-size: 1.15rem; }
.prose p { margin-bottom: 1em; color: var(--c-text); }
.prose ul, .prose ol { margin: 0 0 1em; color: var(--c-text); }
.prose li { margin-bottom: 0.4em; }

/* Feature / category grids */
.grid-3, .grid-4, .grid-2 {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card, .cat-card, .shot-card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}

.feature-card:hover, .cat-card:hover, .shot-card:hover {
  transform: translateY(-3px);
}

.feature-card img, .cat-card img, .shot-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  background: #f5f0f2;
}

.feature-card .body, .cat-card .body, .shot-card .body {
  padding: 14px 16px 18px;
}

.feature-card h3, .cat-card h3, .shot-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--c-dark);
}

.feature-card p, .cat-card p, .shot-card p {
  font-size: 0.92rem;
  color: var(--c-muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-orange), var(--c-magenta));
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--c-muted); }

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--c-dark);
}
.faq details p {
  margin-top: 10px;
  color: var(--c-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  margin: 20px 0 10px;
  padding: 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #ff6a2a, #e91e8c 55%, #ffb020);
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { opacity: .95; margin-bottom: 16px; max-width: 42em; }
.cta-band .btn-secondary { border-color: transparent; }

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 36px 0 24px;
  background: #1a1218;
  color: #f5e9ef;
}
.site-footer a { color: #ffc2df; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}
.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #fff;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 800;
  color: #fff;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  font-size: 0.88rem;
  color: #c9b6c0;
}

/* Legal / content pages */
.page-hero {
  padding: 36px 0 10px;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}
.page-hero p { color: var(--c-muted); }

.content-panel {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  margin: 16px 0 40px;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-magenta); }

.related-links {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.related-links h3 { margin-bottom: 10px; }
.related-links ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(233, 30, 140, 0.08);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Error pages */
.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px;
}
.error-wrap h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  background: linear-gradient(135deg, var(--c-orange), var(--c-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.error-wrap p { color: var(--c-muted); margin: 12px 0 22px; max-width: 28em; }

/* Utilities */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 32px));
    flex-direction: column;
    gap: 0;
    padding: 8px;
    margin: 0;
    background: rgba(255, 252, 250, 0.98);
    border: 1px solid var(--c-line);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(26, 18, 24, 0.12);
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(233, 30, 140, 0.08);
  }
  .nav { flex-wrap: nowrap; }
  .grid-2, .grid-3, .grid-4, .steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; }
  .content-panel { padding: 20px 16px; }
  .cat-card img, .feature-card img, .shot-card img {
    max-height: 420px;
  }
}
