:root {
  --bg: #0c0c0f;
  --bg-2: #14141a;
  --bg-3: #1c1c24;
  --text: #f2f2f5;
  --muted: #a8a8b3;
  --line: #2a2a35;
  --accent: #e11d48;
  --accent-2: #fb7185;
  --accent-soft: rgba(225, 29, 72, 0.14);
  --ok: #34d399;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(251, 113, 133, 0.1), transparent 45%),
    linear-gradient(180deg, #101014 0%, var(--bg) 40%, #09090b 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(12, 12, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--accent-soft);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #be123c) !important;
  color: #fff !important;
  padding: 9px 16px !important;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(225, 29, 72, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9f1239);
  color: #fff;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--ok);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.phone-frame {
  background: linear-gradient(160deg, #23232d, #15151b);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #000;
}

.float-card {
  position: absolute;
  right: -8px;
  bottom: 28px;
  background: rgba(20, 20, 26, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  width: min(220px, 70%);
  backdrop-filter: blur(8px);
}

.float-card b {
  display: block;
  margin-bottom: 4px;
}

.float-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 54px 0;
}

.section-head {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.panel {
  background: rgba(20, 20, 26, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature-grid,
.shot-grid,
.cat-grid,
.step-grid,
.faq-grid,
.card-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.cat-card,
.step-card,
.faq-item,
.info-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3,
.cat-card h3,
.step-card h3,
.faq-item h3,
.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p,
.cat-card p,
.step-card p,
.faq-item p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #000;
}

.shot-card figcaption {
  padding: 12px 14px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.shot-card strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.split img {
  border-radius: 16px;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
  margin-inline: auto;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.prose p {
  color: var(--muted);
  margin: 0 0 1em;
}

.prose ul,
.prose ol {
  color: var(--muted);
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toc {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0 28px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: inline-block;
  margin: 4px 10px 4px 0;
  color: var(--muted);
}

.faq-grid {
  grid-template-columns: 1fr 1fr;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(225, 29, 72, 0.22), rgba(20, 20, 26, 0.9)),
    var(--bg-2);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 20px;
  padding: 34px;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 10px;
}

.cta-band p {
  margin: 0 0 18px;
  color: var(--muted);
}

.breadcrumb {
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero {
  padding: 18px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.9);
  padding: 36px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

.age-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  margin: 0 0 8px;
  color: var(--accent-2);
}

.error-page p {
  color: var(--muted);
  margin: 0 0 22px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.related-links a {
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.related-links a:hover {
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .footer-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cat-grid,
  .step-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .float-card {
    position: static;
    width: auto;
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(18, 18, 24, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    border-radius: 10px;
  }

  .hero {
    padding-top: 28px;
  }

  .feature-grid,
  .cat-grid,
  .step-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .cta-band {
    padding: 20px;
  }

  .section {
    padding: 40px 0;
  }
}
