:root {
  --bg: #0c0b10;
  --bg-soft: #16141c;
  --bg-card: #1c1a24;
  --text: #f3eef7;
  --text-muted: #a89bb3;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #ff4d8d;
  --brand-2: #ff8a3d;
  --brand-3: #c45cff;
  --ok: #3dd68c;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "STKaiti", "KaiTi", 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(ellipse 80% 50% at 10% -10%, rgba(255, 77, 141, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(196, 92, 255, 0.14), transparent 50%),
    linear-gradient(180deg, #120f18 0%, var(--bg) 35%, #09080c 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

html,
body {
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #ff8fb8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffd0e2;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  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: var(--text);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--text-muted);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 77, 141, 0.12);
}

/* Hero */
.hero {
  padding: 3.2rem 0 2rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.hero-copy .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand) 50%, var(--brand-3));
  box-shadow: 0 12px 30px rgba(255, 77, 141, 0.28);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
  animation: floaty 6s ease-in-out infinite;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 560px;
}

.hero-float {
  position: absolute;
  right: -4%;
  bottom: 8%;
  width: min(48%, 220px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite reverse;
}

.hero-float img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 0.55rem;
  letter-spacing: 0.03em;
}

.section-head p {
  color: var(--text-muted);
  max-width: 48em;
}

.prose {
  color: #ddd4e6;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 1.8rem 0 0.8rem;
  color: var(--text);
  scroll-margin-top: 180px;
}

.prose h2 {
  font-size: 1.65rem;
}

.prose h3 {
  font-size: 1.28rem;
}

.prose ul,
.prose ol {
  margin: 0.6rem 0 1.2rem 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: #fff;
  font-weight: 600;
}

/* Feature / channel grids */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 141, 0.35);
}

.channel-card .thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111;
}

.channel-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.channel-card:hover .thumb img {
  transform: scale(1.04);
}

.channel-card .body {
  padding: 0.9rem 1rem 1.1rem;
}

.channel-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.channel-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.feature-row.reverse .copy {
  order: 2;
}

.feature-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.feature-panel img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.feature-copy {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
}

.feature-copy p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.feature-copy ul {
  margin-left: 1.1rem;
  color: #d9cfe4;
}

.feature-copy li {
  margin-bottom: 0.4rem;
}

/* Stats / steps / FAQ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
}

.step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(255, 77, 141, 0.45);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.vlog-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.vlog-strip a {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.vlog-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s ease;
}

.vlog-strip a:hover img {
  transform: scale(1.05);
}

.faq {
  display: grid;
  gap: 0.8rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.faq p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-band {
  margin: 1rem 0 2rem;
  padding: 2rem;
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(255, 138, 61, 0.18), rgba(255, 77, 141, 0.22), rgba(196, 92, 255, 0.18)),
    var(--bg-soft);
  border: 1px solid rgba(255, 77, 141, 0.25);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 40em;
}

.page-content {
  padding: 1rem 0 3rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

.error-page h1 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.8rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.footer-brand p,
.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col h4 {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.toc ol {
  margin-left: 1.1rem;
  color: var(--text-muted);
}

.toc a {
  color: #ff9fc2;
}

.related {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.related h2 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.related a {
  display: inline-block;
  margin: 0.25rem 0.7rem 0.25rem 0;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .feature-row,
  .feature-row.reverse .copy,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .copy {
    order: 0;
  }

  .channel-grid,
  .vlog-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-float {
    display: none;
  }

  .hero-frame img {
    max-height: 420px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem 1rem 1rem;
    background: rgba(12, 11, 16, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .stats,
  .steps {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .channel-card .body {
    padding: 0.7rem;
  }

  .channel-card h3 {
    font-size: 0.92rem;
  }

  .channel-card p {
    font-size: 0.78rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta-band {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
