:root {
  --bg: #0b0b0f;
  --bg2: #14141c;
  --bg3: #1c1c28;
  --text: #f2f2f5;
  --muted: #a8a8b8;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #ff4d8d;
  --brand2: #ff8a3d;
  --grad: linear-gradient(135deg, #ff8a3d 0%, #ff4d8d 55%, #c44dff 100%);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --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: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #ff9ec0; text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
ul { list-style: none; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
}
.brand img {
  width: 40px; height: 40px; border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(255, 77, 141, .25);
}
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted); padding: 8px 12px; border-radius: 999px; font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255, 255, 255, .06);
}
.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 138, 61, .18), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 77, 141, .16), transparent 45%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.25; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-copy .lead {
  color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; max-width: 36em;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; border: none; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { color: #fff; filter: brightness(1.05); }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.18);
}
.hero-visual {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--bg2);
}
.hero-visual img { width: 100%; aspect-ratio: 3/4; object-fit: cover; max-height: 520px; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent); }
.section-head { margin-bottom: 28px; max-width: 46em; }
.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 10px;
}
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 8px; font-weight: 700;
}

/* Cards / grids */
.grid-3, .grid-2, .grid-4 {
  display: grid; gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 77, 141, .35); }
.card-media { aspect-ratio: 3/4; overflow: hidden; background: var(--bg3); }
.card-media.wide { aspect-ratio: 16/10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 20px; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .95rem; }

.feature-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.feature-item {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.feature-item h3 { font-size: 1rem; margin-bottom: 6px; }
.feature-item p { color: var(--muted); font-size: .93rem; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
}
.split .shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split .shot img { width: 100%; aspect-ratio: 9/16; max-height: 560px; object-fit: cover; margin: 0 auto; }
.split-copy h2 { margin-bottom: 12px; font-size: 1.55rem; }
.split-copy p { color: var(--muted); margin-bottom: 12px; }
.split-copy ul { margin: 12px 0 18px; }
.split-copy li {
  position: relative; padding-left: 18px; color: var(--muted); margin-bottom: 8px;
}
.split-copy li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--grad);
}

.prose {
  color: var(--muted); font-size: 1rem;
}
.prose h2, .prose h3 { color: var(--text); margin: 1.4em 0 .6em; }
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.faq details {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; color: #fff; }
.faq details p { color: var(--muted); margin-top: 10px; }

.breadcrumb {
  padding: 18px 0 0; color: var(--muted); font-size: .9rem;
}
.breadcrumb a { color: var(--muted); }
.page-hero {
  padding: 28px 0 10px;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}
.page-hero p { color: var(--muted); max-width: 46em; }

.legal {
  padding: 20px 0 64px;
}
.legal-box {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.legal-box h2 { font-size: 1.2rem; margin: 1.4em 0 .55em; }
.legal-box h2:first-child { margin-top: 0; }
.legal-box p, .legal-box li { color: var(--muted); margin-bottom: .85em; }
.legal-box ul { margin-left: 1.2em; margin-bottom: 1em; }

.error-page {
  min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px;
}
.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.error-page p { color: var(--muted); margin: 14px 0 22px; }

.related {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.related a {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; color: #fff; font-size: .9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); background: #08080c; padding: 40px 0 28px; margin-top: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin-bottom: 28px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.footer-col h4 { margin-bottom: 12px; font-size: .95rem; }
.footer-col a { display: block; color: var(--muted); margin-bottom: 8px; font-size: .92rem; }
.copy {
  border-top: 1px solid var(--line); padding-top: 16px;
  color: #777; font-size: .85rem; text-align: center;
}

@media (max-width: 960px) {
  .hero-grid, .split, .footer-grid, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 64px;
    background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
    padding: 10px; flex-direction: column; align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .footer-grid, .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; }
  .hero-visual img, .split .shot img { max-height: 420px; }
  .section { padding: 40px 0; }
}
