:root {
  --c-bg: #f7f3f0;
  --c-surface: #ffffff;
  --c-ink: #1a1412;
  --c-muted: #6b5e58;
  --c-line: #e8ddd6;
  --c-brand: #c43d5a;
  --c-brand-deep: #9e2d45;
  --c-accent: #e8a07a;
  --c-dark: #2a1f1c;
  --c-dark-soft: #3d2e29;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(42, 31, 28, 0.08);
  --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;
  font-family: var(--font-body);
  color: var(--c-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 61, 90, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 160, 122, 0.12), transparent),
    var(--c-bg);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-brand-deep);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(42, 31, 28, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand:hover {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--c-dark) 0%, #4a2a30 55%, #5c3540 100%);
  color: #fff;
  padding: 72px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(232, 160, 122, 0.22), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(196, 61, 90, 0.2), transparent 35%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 400;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin: 0 0 28px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 61, 90, 0.35);
}

.btn-primary:hover {
  background: var(--c-brand-deep);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--c-surface);
  border-block: 1px solid var(--c-line);
}

.section-head {
  margin-bottom: 36px;
  max-width: 46em;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  font-weight: 400;
  color: var(--c-dark);
}

.section-head p {
  margin: 0;
  color: var(--c-muted);
  font-size: 1.02rem;
}

.prose {
  max-width: 52em;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--c-dark);
  margin-top: 2em;
}

.prose h2 {
  font-size: 1.7rem;
}

.prose h3 {
  font-size: 1.3rem;
}

.prose p {
  margin: 0 0 1.1em;
  color: #3a2f2b;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.2em;
  color: #3a2f2b;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  color: var(--c-ink);
}

/* Cards / grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(42, 31, 28, 0.12);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ddd;
}

.feature-card .body {
  padding: 18px 18px 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.feature-card p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.95rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.shot-grid figcaption {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--c-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.media-block {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}

.media-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.step p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.94rem;
}

.faq details {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--c-dark);
}

.faq details p {
  margin: 10px 0 4px;
  color: var(--c-muted);
}

.cta-band {
  background: linear-gradient(120deg, var(--c-dark), #5a3038);
  color: #fff;
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-weight: 400;
  font-size: 1.7rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 36em;
}

.breadcrumb {
  padding: 18px 0 0;
  font-size: 0.9rem;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 10px;
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--c-muted);
  max-width: 40em;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-bottom: 24px;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--c-brand);
  line-height: 1;
  margin-bottom: 8px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0 0 12px;
}

.error-page p {
  color: var(--c-muted);
  margin: 0 0 24px;
}

/* Footer */
.site-footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual {
  animation: rise 0.7s ease both;
}

.hero-visual {
  animation-delay: 0.12s;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: var(--c-dark-soft);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .feature-grid,
  .steps,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .cta-band {
    padding: 28px 22px;
  }
}
