:root {
  --bg: #0c0b10;
  --bg-2: #15131c;
  --bg-3: #1d1a26;
  --text: #f3eef7;
  --muted: #b7aec4;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff4d6d;
  --accent-2: #ff8a3d;
  --grad: linear-gradient(135deg, #ff4d6d 0%, #ff8a3d 100%);
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "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(1000px 500px at 10% -10%, rgba(255, 77, 109, 0.18), transparent 60%),
    radial-gradient(900px 480px at 90% 0%, rgba(255, 138, 61, 0.14), transparent 55%),
    linear-gradient(180deg, #120f18 0%, var(--bg) 40%, #09080d 100%);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #ffb4c0; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: #fff; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(12, 11, 16, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.brand-text span {
  font-size: 0.75rem;
  color: var(--muted);
}
.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: #fff; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle .icon-close { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.9rem;
}
.hero-copy .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  max-width: 36em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 77, 109, 0.28);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: #fff;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  background: var(--bg-2);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  animation: kenburns 18s ease-in-out infinite alternate;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,7,12,.78) 100%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  max-width: 85%;
}
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { color: var(--muted); font-size: 0.82rem; }

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: rise .7s ease both; }
.reveal-delay-1 { animation-delay: .12s; }
.reveal-delay-2 { animation-delay: .24s; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-block: 1px solid var(--line);
}
.section-head {
  margin-bottom: 1.6rem;
  max-width: 48rem;
}
.section-head h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  margin-bottom: 0.55rem;
}
.section-head p { color: var(--muted); }

.feature-grid,
.shot-grid,
.card-grid {
  display: grid;
  gap: 1rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.shot-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }

.feature-item,
.content-card,
.shot-card,
.prose-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-item,
.content-card,
.prose-box { padding: 1.25rem; }
.feature-item h3,
.content-card h3 { margin-bottom: 0.45rem; font-size: 1.2rem; }
.feature-item p,
.content-card p { color: var(--muted); font-size: 0.96rem; }

.shot-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .45s ease;
}
.shot-card:hover img { transform: scale(1.04); }
.shot-card figcaption {
  padding: 0.75rem 0.85rem 0.95rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.shot-card figcaption strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
}

.prose {
  color: var(--muted);
}
.prose h2, .prose h3 {
  color: #fff;
  margin: 1.6rem 0 0.7rem;
}
.prose p, .prose li { margin-bottom: 0.85rem; }
.prose strong { color: #ffe3e9; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.2rem 0 1.8rem;
}
.toc h2 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}
.toc ol { color: var(--muted); }
.toc a { color: #ffc1cb; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: var(--bg-2);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.step .num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

.faq details {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
}
.faq details p {
  color: var(--muted);
  margin-top: 0.6rem;
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.55rem;
}
.page-hero p { color: var(--muted); max-width: 46rem; }
.legal .prose { max-width: 50rem; }

.breadcrumb {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}
.breadcrumb a { color: #ffc1cb; }

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.error-page h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.6rem;
}
.error-page p {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #09080d;
  padding: 2.4rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.site-footer h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer a { display: block; margin-bottom: 0.35rem; }
.site-footer a:hover { color: #fff; }
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #8d8398;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .feature-grid,
  .card-grid,
  .footer-grid,
  .steps { grid-template-columns: 1fr 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual,
  .hero-visual img { min-height: 340px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 0 0.7rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .hero { padding: 2rem 0 1.5rem; }
  .hero-grid,
  .feature-grid,
  .card-grid,
  .footer-grid,
  .steps,
  .split { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .hero-visual,
  .hero-visual img { min-height: 300px; }
  .section { padding: 2.2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-visual img { animation: none; }
}
