:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --bg-3: #1a1a26;
  --text: #f2f2f7;
  --muted: #a8a8b8;
  --accent: #ff5e8a;
  --accent-2: #ff8c69;
  --purple: #8b5cf6;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --font-display: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "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-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 94, 138, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(139, 92, 246, 0.16), transparent 50%),
    linear-gradient(180deg, #0c0c14 0%, var(--bg) 40%, #08080d 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
ul { padding-left: 1.2em; }
li { margin: 0.35em 0; }

.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav a:hover,
.nav a.active { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text);
}

.hero {
  padding: 2.5rem 0 1.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  background: linear-gradient(90deg, #fff, #ffd0dc 45%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(255, 94, 138, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text) !important;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}
.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  border: 1px solid var(--line);
}

.section {
  padding: 2.75rem 0;
}
.section-head {
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.45rem;
}
.section-head p {
  color: var(--muted);
  max-width: 760px;
}
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid,
.shot-grid,
.cat-grid,
.card-grid {
  display: grid;
  gap: 1rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.shot-grid { grid-template-columns: repeat(4, 1fr); }
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }

.feature-item,
.content-card,
.cat-card,
.step-card,
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.feature-item h3,
.cat-card h3,
.step-card h3,
.content-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}
.feature-item p,
.cat-card p,
.step-card p,
.content-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.shot-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform 0.22s ease;
}
.shot-card:hover { transform: translateY(-4px); }
.shot-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}
.shot-card figcaption {
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.prose {
  color: var(--muted);
}
.prose h2,
.prose h3 {
  color: var(--text);
  margin: 1.6rem 0 0.7rem;
}
.prose p { margin: 0.85rem 0; }
.prose strong { color: #ffe1ea; font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.member-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
}
.member-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.member-shots img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.faq-list { display: grid; gap: 0.85rem; }
.faq-item h3 { margin-bottom: 0.35rem; }
.faq-item p { color: var(--muted); }

.page-hero {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--muted); }
.page-body { padding: 2rem 0 3rem; }
.page-body .prose { max-width: 860px; }

.breadcrumbs {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.error-page h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}
.error-page p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 2.5rem 0 2rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-grid h3 {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}
.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid a {
  display: block;
  margin: 0.35rem 0;
}
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

.toc {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}
.toc h3 { margin-bottom: 0.55rem; color: var(--text); }
.toc a { display: block; margin: 0.3rem 0; color: var(--muted); }
.toc a:hover { color: var(--accent); }

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.keyword-cloud a,
.keyword-cloud span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.keyword-cloud a:hover { color: var(--text); border-color: var(--accent); }

@media (max-width: 980px) {
  .hero-grid,
  .member-wrap,
  .footer-grid { grid-template-columns: 1fr; }
  .feature-grid,
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-visual img { max-height: 480px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .feature-grid,
  .cat-grid,
  .card-grid,
  .steps,
  .shot-grid,
  .member-shots { grid-template-columns: 1fr; }
  .shot-grid.keep-2 { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 1.5rem; }
  .hero-visual img { max-height: 420px; }
}
