:root {
  --bg: #0b0b0f;
  --bg-2: #14141c;
  --bg-3: #1c1c28;
  --text: #f2f2f5;
  --muted: #a8a8b8;
  --accent: #e11d48;
  --accent-2: #fb7185;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 29, 72, 0.22), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(251, 113, 133, 0.12), transparent 50%),
    linear-gradient(180deg, #0b0b0f 0%, #101018 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; border-radius: 10px; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #fff; }
ul { list-style: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 15, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted); padding: 0.45rem 0.75rem; border-radius: 999px;
  font-size: 0.92rem; transition: 0.2s ease;
}
.nav a:hover, .nav a.active {
  color: #fff; background: rgba(225, 29, 72, 0.18);
}
.menu-btn {
  display: none; background: transparent; border: 1px solid var(--line);
  color: #fff; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
}

.hero {
  padding: 3.2rem 0 2rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.25; margin-bottom: 1rem;
}
.hero-copy h1 span { color: var(--accent-2); }
.hero-copy .lead {
  color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; max-width: 36rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; transition: 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #be123c); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.04); border-color: var(--line); color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.hero-visual {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-visual img { width: 100%; border-radius: 18px; }

.section { padding: 2.6rem 0; }
.section-head { margin-bottom: 1.4rem; max-width: 46rem; }
.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.55rem;
}
.section-head p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.card {
  background: linear-gradient(180deg, rgba(28,28,40,0.95), rgba(20,20,28,0.95));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(225, 29, 72, 0.35); }
.card .thumb { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-3); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.card .body { padding: 0.95rem 1rem 1.15rem; }
.card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.92rem; }

.feature-row {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.5rem; align-items: center;
  padding: 1.4rem; background: rgba(20,20,28,0.7); border: 1px solid var(--line);
  border-radius: 18px; margin-bottom: 1.1rem;
}
.feature-row.reverse { grid-template-columns: 0.95fr 1.05fr; }
.feature-row.reverse .text { order: 2; }
.feature-row.reverse .media { order: 1; }
.feature-row h3 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.feature-row p { color: var(--muted); margin-bottom: 0.7rem; }
.feature-row .media img { width: 100%; border-radius: 12px; }

.prose {
  background: rgba(20,20,28,0.72); border: 1px solid var(--line);
  border-radius: 18px; padding: 1.5rem 1.4rem;
}
.prose h2, .prose h3 { margin: 1.4rem 0 0.7rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: #d7d7e2; margin-bottom: 0.95rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.2rem; color: #d7d7e2; }
.prose li { margin-bottom: 0.4rem; list-style: disc; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.faq details {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 0.7rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin-top: 0.55rem; }

.breadcrumb {
  padding: 1.1rem 0 0; color: var(--muted); font-size: 0.9rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: #fff; }

.page-hero {
  padding: 1.6rem 0 0.6rem;
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--muted); max-width: 44rem; }

.site-footer {
  margin-top: 3rem; border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.35); padding: 2.2rem 0 1.6rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.4rem;
}
.site-footer h4 { margin-bottom: 0.7rem; }
.site-footer p, .site-footer a { color: var(--muted); }
.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: #7d7d8d; font-size: 0.88rem;
}

.error-page {
  min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem;
}
.error-page h1 { font-size: 4rem; color: var(--accent-2); line-height: 1; }
.error-page h2 { margin: 0.6rem 0 0.8rem; }
.error-page p { color: var(--muted); margin-bottom: 1.2rem; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 1rem; right: 1rem; top: 68px;
    background: #15151f; border: 1px solid var(--line); border-radius: 14px;
    padding: 0.6rem; flex-direction: column;
  }
  .nav.open { display: flex; }
  .hero, .grid-2, .feature-row, .feature-row.reverse, .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .text, .feature-row.reverse .media { order: initial; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 1.8rem; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .prose { padding: 1.15rem 1rem; }
}
