:root {
  --brand: #d4145a;
  --brand-deep: #9b0f42;
  --brand-soft: #ffe4ee;
  --ink: #1a1216;
  --muted: #6b5560;
  --line: rgba(26, 18, 22, 0.1);
  --paper: #fff9fb;
  --surface: #ffffff;
  --shade: rgba(212, 20, 90, 0.08);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(155, 15, 66, 0.12);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffd6e6 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffe8f1 0%, transparent 45%),
    linear-gradient(180deg, #fff7fa 0%, var(--paper) 40%, #fff 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 249, 251, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand);
}

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(26, 12, 18, 0.25) 0%, rgba(26, 12, 18, 0.55) 45%, rgba(26, 12, 18, 0.88) 100%),
    linear-gradient(90deg, rgba(155, 15, 66, 0.35), transparent 55%);
}

.hero-inner {
  padding: 5.5rem 0 3.2rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
  letter-spacing: 0.04em;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  max-width: 22em;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  animation: riseIn 0.9s ease 0.22s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 28px rgba(212, 20, 90, 0.35);
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section {
  padding: 4.2rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 42rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 48rem;
}

.prose p {
  margin: 0 0 1.1rem;
  color: #35242b;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin: 2rem 0 0.8rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: #35242b;
}

.prose li {
  margin-bottom: 0.45rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-item {
  display: grid;
  gap: 0.85rem;
}

.feature-item figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--brand-soft);
  aspect-ratio: 9 / 16;
  max-height: 420px;
}

.feature-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-item:hover img {
  transform: scale(1.04);
}

.feature-item h3 {
  margin: 0;
  font-size: 1.15rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.mosaic a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  background: var(--brand-soft);
  color: #fff;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mosaic a:hover img {
  transform: scale(1.05);
}

.mosaic span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(20, 8, 12, 0.82));
  font-size: 0.92rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split figure {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--brand-soft);
}

.split img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  margin-inline: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}

.step {
  padding: 1.3rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.page-banner {
  padding: 3.4rem 0 2rem;
  background:
    linear-gradient(135deg, rgba(212, 20, 90, 0.1), transparent 55%),
    linear-gradient(180deg, #ffe9f1, transparent);
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 0.6rem;
}

.page-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.legal {
  padding: 1rem 0 4rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.7rem;
}

.legal p,
.legal li {
  color: #3a2a30;
}

.crumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.crumb a {
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  padding: 2.4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #1a1216;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.site-footer h3 {
  color: #fff;
  font-family: var(--font-display);
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #ffd0e0;
}

.footer-note {
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(700px 400px at 50% 0%, #ffd6e6, transparent 60%),
    var(--paper);
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin: 0 0 0.4rem;
  color: var(--brand);
}

.error-page p {
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1.2rem;
}

.related-links a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--shade);
  color: var(--brand-deep);
  font-size: 0.9rem;
}

.vlog-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.vlog-strip figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--brand-soft);
  aspect-ratio: 3 / 4;
}

.vlog-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

@media (max-width: 980px) {
  .feature-grid,
  .steps,
  .footer-grid,
  .mosaic,
  .vlog-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split img {
    max-height: 480px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    background: rgba(255, 249, 251, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 72vh;
  }

  .feature-grid,
  .steps,
  .footer-grid,
  .mosaic,
  .vlog-strip {
    grid-template-columns: 1fr 1fr;
  }

  .feature-item figure {
    max-height: 360px;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .mosaic,
  .vlog-strip {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item figure {
    max-height: none;
    aspect-ratio: 9 / 14;
  }
}
