:root {
  --brand: #e83e8c;
  --brand-2: #ff6b35;
  --brand-3: #9b2c7a;
  --ink: #1a1220;
  --muted: #5c4e62;
  --line: rgba(26, 18, 32, 0.1);
  --bg: #fff8fb;
  --card: #ffffff;
  --soft: linear-gradient(135deg, #fff3e8 0%, #ffe4f0 45%, #f3e8ff 100%);
  --hero: linear-gradient(120deg, #ff8a3d 0%, #e83e8c 48%, #a855f7 100%);
  --radius: 18px;
  --shadow: 0 16px 40px rgba(232, 62, 140, 0.12);
  --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);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(232, 62, 140, 0.25);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  background: var(--soft);
  padding: 56px 0 40px;
  overflow: hidden;
}

.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-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  margin-bottom: 16px;
  background: var(--hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: var(--hero);
  box-shadow: 0 10px 24px rgba(232, 62, 140, 0.35);
}

.btn-secondary {
  color: var(--brand-3);
  background: #fff;
  border: 1px solid rgba(232, 62, 140, 0.25);
}

.hero-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}

.float-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
  color: var(--brand-3);
}

section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 28px;
  max-width: 48em;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-bottom: 10px;
  line-height: 1.3;
}

.section-head p {
  color: var(--muted);
}

.alt {
  background: #fff;
}

.soft-bg {
  background: var(--soft);
}

.feature-grid,
.shot-grid,
.cat-grid,
.step-grid,
.faq-grid {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.content-card,
.cat-card,
.step-card,
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(26, 18, 32, 0.04);
}

.feature-card h3,
.cat-card h3,
.step-card h3,
.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p,
.cat-card p,
.step-card p,
.faq-item p {
  color: var(--muted);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.shot-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-item figcaption {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cat-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--hero);
  margin-bottom: 12px;
}

.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(26, 18, 32, 0.04);
}

.prose h2,
.prose h3 {
  margin: 1.4em 0 0.6em;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 0.9em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

.prose a {
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.two-col img {
  border-radius: 18px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.cta-banner {
  text-align: center;
  padding: 48px 28px;
  border-radius: 24px;
  background: var(--hero);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.95;
  margin-bottom: 22px;
}

.cta-banner .btn-secondary {
  color: var(--brand-3);
}

.site-footer {
  background: #1a1220;
  color: #f7eef4;
  padding: 48px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(247, 238, 244, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.9rem;
  color: rgba(247, 238, 244, 0.65);
}

.page-hero {
  padding: 42px 0 18px;
  background: var(--soft);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 42em;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: var(--brand);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
}

.error-page h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  background: var(--hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 22px;
}

.toc {
  background: #fff8fb;
  border: 1px dashed rgba(232, 62, 140, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: inline-block;
  margin: 4px 12px 4px 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cat-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid,
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    background: rgba(255, 248, 251, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(26, 18, 32, 0.1);
    z-index: 120;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
  }

  .hero {
    padding-top: 36px;
  }

  section {
    padding: 48px 0;
  }

  .feature-grid,
  .cat-grid,
  .faq-grid,
  .shot-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .prose {
    padding: 20px;
  }

  .float-badge {
    position: static;
    margin-top: 12px;
    display: inline-block;
  }
}
