:root {
  --brand: #e91e8c;
  --brand-dark: #c2185b;
  --brand-deep: #7b1fa2;
  --accent: #ff6d00;
  --accent-gold: #ffb300;
  --bg: #0b0b10;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --bg-elevated: #22222e;
  --text: #f5f5f7;
  --text-muted: #a8a8b8;
  --text-dim: #7a7a8c;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --grad: linear-gradient(135deg, #ff8a00 0%, #e91e8c 48%, #7b1fa2 100%);
  --grad-soft: linear-gradient(160deg, rgba(255, 138, 0, 0.18), rgba(233, 30, 140, 0.12) 45%, rgba(123, 31, 162, 0.16));
  --max: 1180px;
  --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(ellipse 80% 50% at 10% -10%, rgba(255, 138, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 0%, rgba(233, 30, 140, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(123, 31, 162, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ff8ec8;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 11, 16, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 9px 16px !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
}

.menu-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(233, 30, 140, 0.12);
  border: 1px solid rgba(233, 30, 140, 0.28);
  color: #ffb3d9;
  font-size: 0.86rem;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff 20%, #ffb3d9 70%, #ffc27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.28);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: #fff;
  display: block;
  font-size: 1.2rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-float {
  position: absolute;
  right: -8px;
  bottom: -14px;
  width: min(46%, 220px);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.section-head .anchor-note {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* Cards / grids */
.feature-grid,
.category-grid,
.shot-grid,
.benefit-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.category-card,
.benefit-card,
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card img,
.category-card img,
.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.feature-card .body,
.category-card .body,
.benefit-card,
.content-card {
  padding: 18px;
}

.feature-card h3,
.category-card h3,
.benefit-card h3,
.content-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.feature-card p,
.category-card p,
.benefit-card p,
.content-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-card img {
  aspect-ratio: 3 / 4;
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-card .cap {
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.benefit-grid {
  grid-template-columns: repeat(2, 1fr);
}

.benefit-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.benefit-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.link-grid {
  grid-template-columns: repeat(3, 1fr);
}

.link-card {
  display: block;
  padding: 22px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.link-card span {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Content prose */
.prose {
  max-width: 820px;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.7em;
  line-height: 1.35;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.keyword-box {
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(233, 30, 140, 0.25);
  background: rgba(233, 30, 140, 0.08);
}

.keyword-box strong {
  color: #fff;
}

.toc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0 32px;
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-muted);
}

.toc a {
  color: #ffb3d9;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.sticky-side {
  position: sticky;
  top: 96px;
}

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.side-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--text-muted);
}

.side-card li + li {
  margin-top: 6px;
}

.side-card img {
  border-radius: 12px;
  margin-top: 12px;
}

/* Page hero for secondary pages */
.page-hero {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--grad-soft);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48em;
}

.breadcrumb {
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-muted);
}

.legal-meta {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page .code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-page h1 {
  margin: 0 0 12px;
}

.error-page p {
  color: var(--text-muted);
  margin: 0 0 24px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: #09090e;
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--text-dim);
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}

/* Utilities */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 36px 0;
}

.note {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Mobile */
@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .footer-grid,
  .benefit-card {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .category-grid,
  .shot-grid,
  .benefit-grid,
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky-side {
    position: static;
  }

  .hero-float {
    right: 8px;
    bottom: -10px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(20, 20, 28, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    border-radius: 10px;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .section {
    padding: 44px 0;
  }

  .feature-grid,
  .category-grid,
  .shot-grid,
  .benefit-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .feature-card img,
  .category-card img,
  .shot-card img {
    aspect-ratio: 16 / 10;
    object-position: top center;
  }

  .hero-meta {
    gap: 12px;
  }

  .hero-meta > div {
    min-width: 42%;
  }
}
