:root {
  --bg: #0f1223;
  --bg-soft: #171a31;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f6ff;
  --muted: rgba(244, 246, 255, 0.72);
  --muted-2: rgba(244, 246, 255, 0.5);
  --accent: #ff6b7a;
  --accent-2: #8f6bff;
  --accent-3: #44dfc2;
  --accent-4: #ffb15b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 122, 0.22), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(143, 107, 255, 0.22), transparent 24%),
    radial-gradient(circle at 20% 90%, rgba(68, 223, 194, 0.12), transparent 28%),
    linear-gradient(160deg, #0b0d18 0%, #11162a 44%, #171737 100%);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.18;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.96), transparent 95%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 32px, var(--maxw));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(12, 14, 28, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 107, 122, 0.22), rgba(143, 107, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.06rem;
  letter-spacing: 0.04em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.download-btn,
.ghost-btn,
.chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.download-btn {
  padding: 14px 20px;
  color: #111322;
  background: linear-gradient(135deg, #ffd36e 0%, #ff8c63 48%, #ff647a 100%);
  box-shadow: 0 18px 40px rgba(255, 111, 122, 0.28);
}

.ghost-btn {
  padding: 13px 19px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.chip-link {
  padding: 10px 16px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.download-btn:hover,
.ghost-btn:hover,
.chip-link:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 42px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  position: relative;
  padding: 14px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.2), rgba(143, 107, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero h1,
.page-title {
  margin: 18px 0 12px;
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  max-width: 10ch;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.hero p {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 1.18rem;
}

.stat-card span {
  color: var(--muted-2);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  padding: 18px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top right, rgba(255, 107, 122, 0.18), transparent 25%),
    radial-gradient(circle at bottom left, rgba(68, 223, 194, 0.18), transparent 22%),
    rgba(16, 19, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  padding: 20px;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mock-dot {
  display: inline-flex;
  gap: 8px;
}

.mock-dot i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.mock-badge {
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f1223;
  background: linear-gradient(135deg, #f8f3d9, #ffde8f);
  font-size: 0.88rem;
  font-weight: 700;
}

.shot-stack {
  display: grid;
  gap: 14px;
}

.shot-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shot-card img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  height: auto;
}

.shot-caption {
  padding: 14px 16px 16px;
}

.shot-caption strong {
  display: block;
  margin-bottom: 4px;
}

.shot-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 18px 0 36px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2,
.section-head h3 {
  margin: 0;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.info-card,
.faq-card,
.quote-card,
.content-card,
.guide-step,
.stat-band,
.callout {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card,
.info-card,
.quote-card,
.content-card,
.guide-step {
  padding: 22px;
}

.feature-icon,
.module-icon,
.guide-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  margin-bottom: 14px;
  background: linear-gradient(145deg, rgba(255, 107, 122, 0.2), rgba(143, 107, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-card h3,
.info-card h3,
.content-card h3,
.guide-step h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p,
.info-card p,
.quote-card p,
.content-card p,
.guide-step p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

.section-visual {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-visual img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  height: auto;
}

.band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-band {
  padding: 18px 20px;
}

.stat-band strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.stat-band span {
  color: var(--muted);
}

.user-quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-quote .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd36e, #ff6b7a);
}

.faq-preview {
  display: grid;
  gap: 14px;
}

.faq-preview details,
.faq-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.faq-preview details {
  padding: 18px 20px;
}

.faq-preview summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-preview summary::-webkit-details-marker {
  display: none;
}

.faq-preview p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 122, 0.28), transparent 24%),
    radial-gradient(circle at bottom left, rgba(68, 223, 194, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.cta-panel .section-head {
  margin-bottom: 0;
}

.guide-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.guide-step {
  position: relative;
  min-height: 100%;
}

.guide-step ol,
.guide-step ul,
.article-body ol,
.article-body ul {
  margin: 14px 0 0 20px;
  color: var(--muted);
}

.guide-step li,
.article-body li {
  margin-bottom: 8px;
}

.guide-step .step-index {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.article-body {
  display: grid;
  gap: 16px;
}

.article-body .content-card {
  padding: 24px;
}

.article-body h2,
.article-body h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

.article-body p + p {
  margin-top: 10px;
}

.callout {
  padding: 20px;
  display: grid;
  gap: 12px;
  background:
    linear-gradient(145deg, rgba(255, 107, 122, 0.12), rgba(143, 107, 255, 0.08)),
    var(--panel);
}

.callout strong {
  font-size: 1.02rem;
}

.footer {
  margin-top: 24px;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-note {
  font-size: 0.9rem;
}

.legal {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .guide-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(10, 12, 24, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: 8.5ch;
  }

  .hero-stats,
  .grid-4,
  .grid-3,
  .band {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .download-btn,
  .ghost-btn,
  .chip-link,
  .site-nav a {
    transition: none;
  }
}
