:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --text: #f3f3f5;
  --muted: #a8a8b3;
  --line: #2a2a36;
  --accent: #e63e3e;
  --accent-soft: #ff6b6b;
  --gold: #d4a84b;
  --max: 1180px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(230, 62, 62, 0.18), transparent 55%),
    radial-gradient(900px 400px at 90% 0%, rgba(212, 168, 75, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b81f1f);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.section {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 28px;
  max-width: 720px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-bottom: 10px;
  line-height: 1.3;
}

.section-head p {
  color: var(--muted);
}

.section.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-card);
  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(230, 62, 62, 0.45);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #111;
}

.card-body {
  padding: 14px 16px 18px;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-item h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.content-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  margin-bottom: 22px;
}

.content-block h2,
.content-block h3 {
  margin-bottom: 12px;
  line-height: 1.35;
}

.content-block p,
.content-block li {
  color: #d8d8e0;
  margin-bottom: 12px;
}

.content-block ul,
.content-block ol {
  padding-left: 1.2em;
  margin-bottom: 12px;
}

.content-block li {
  margin-bottom: 8px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.toc a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.split img {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.kpi strong {
  display: block;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.kpi span {
  color: var(--muted);
  font-size: 0.88rem;
}

.page-hero {
  padding: 42px 0 18px;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--muted);
  max-width: 48em;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 10px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: #09090d;
  padding: 36px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #7d7d88;
  font-size: 0.86rem;
  text-align: center;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 10px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 22px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .footer-grid,
  .grid-3,
  .grid-4,
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .kpi-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #101018;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid,
  .split,
  .footer-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .feature-list,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .split img {
    aspect-ratio: 3 / 4;
  }

  .content-block {
    padding: 20px 16px;
  }

  .section {
    padding: 36px 0;
  }
}
