/* roulang page: index */
:root {
  --bg-base: oklch(11% 0.025 240);
  --bg-surface: oklch(17% 0.04 240);
  --bg-glass: rgba(255,255,255,0.06);
  --border-glass: rgba(255,255,255,0.12);
  --accent: oklch(62% 0.22 240);
  --accent-glow: oklch(68% 0.25 240);
  --accent-2: oklch(72% 0.18 195);
  --text-primary: oklch(94% 0.01 240);
  --text-muted: oklch(58% 0.03 240);
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-glow: 0 0 18px oklch(62% 0.22 240 / 0.45);
  --nav-width: 220px;
  --transition: all 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-glow); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; }

/* ── Layout ── */
.site-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar Nav ── */
.sidebar {
  width: var(--nav-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-glass);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border-glass);
}

.sidebar-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
}

.sidebar-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.sidebar-logo .logo-text {
  font-size: 0.82rem;
  color: var(--text-primary);
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  list-style: none;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.sidebar-nav li a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
  border-left-color: var(--border-glass);
}

.sidebar-nav li a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(255,255,255,0.04);
}

.sidebar-nav li a i {
  width: 18px;
  text-align: center;
  font-size: 0.85rem;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Main Content ── */
.main-content {
  margin-left: var(--nav-width);
  flex: 1;
  min-width: 0;
}

/* ── Mobile Top Nav ── */
.topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-glass);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 200;
}

.topbar-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.topbar-logo .logo-icon {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: #fff;
}

.hamburger {
  width: 44px; height: 44px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  font-size: 1.2rem;
}

/* ── Mobile Drawer ── */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0; bottom: 0;
  background: var(--bg-surface);
  z-index: 190;
  padding: 16px 0;
  overflow-y: auto;
}

.mobile-drawer.open { display: block; }

.mobile-drawer ul {
  list-style: none;
}

.mobile-drawer ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: var(--text-muted);
  font-size: 1rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.mobile-drawer ul li a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

/* ── Container ── */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-glow);
  box-shadow: var(--shadow-glow);
  color: #fff;
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  color: var(--text-primary);
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,255,255,0.08);
}

/* ── Glass Card ── */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.22);
  box-shadow: var(--shadow-glow);
}

/* ── Section Titles ── */
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 40px;
}

/* ── Badge / Tag ── */
.badge {
  display: inline-block;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-hot {
  background: oklch(62% 0.22 30);
}

.tag {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Hero ── */
.hero {
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, oklch(62% 0.22 240 / 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-burst {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: oklch(62% 0.22 30 / 0.15);
  border: 1px solid oklch(62% 0.22 30 / 0.4);
  color: oklch(75% 0.18 30);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-glow);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.matrix-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.matrix-card .mc-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.matrix-card .mc-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.matrix-card .mc-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.matrix-card:hover .mc-icon {
  background: var(--accent-glow);
}

/* ── Features ── */
.features {
  padding: 80px 0;
  background: var(--bg-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px 24px;
}

.feature-card .fc-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Stats ── */
.stats {
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-glass);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-surface);
  padding: 36px 24px;
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 1rem;
  color: var(--text-muted);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Content Cards ── */
.content-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.content-card {
  overflow: hidden;
}

.content-thumb {
  aspect-ratio: 16/9;
  background: oklch(20% 0.04 240);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  font-size: 2rem;
  color: var(--accent);
  position: relative;
}

.content-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, oklch(11% 0.025 240 / 0.7));
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.content-body {
  padding: 18px 20px 20px;
}

.content-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;}

/* ── Rankings ── */
.rankings {
  padding: 80px 0;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
}

.rank-table thead tr {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-glass);
}

.rank-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rank-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-glass);
  vertical-align: middle;
}

.rank-table tbody tr {
  transition: var(--transition);
}

.rank-table tbody tr:hover {
  background: var(--bg-glass);
}

.rank-num {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.rank-num.top3 {
  color: oklch(75% 0.18 55);
}

.rank-heat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: oklch(72% 0.18 30);
  font-variant-numeric: tabular-nums;
}

.rank-trend {
  font-size: 0.75rem;
  color: oklch(68% 0.18 145);
}

.rank-trend.down {
  color: oklch(62% 0.18 30);
}

/* ── Category Tags ── */
.cat-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
}

.cat-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.cat-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.cat-info .cat-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cat-info .cat-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ── Trust Bar ── */
.trust-bar {
  padding: 48px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.trust-item .ti-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.trust-item .ti-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.trust-item .ti-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq {
  padding: 80px 0;
  background: var(--bg-surface);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-glass);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .fq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-question .fq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 68ch;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── CTA ── */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(circle, oklch(62% 0.22 240 / 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.cta-box p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── News / Info ── */
.news-section {
  padding: 80px 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.news-list {
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid var(--border-glass);
  padding: 18px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.news-list li:first-child {
  padding-top: 0;
}

.news-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

.news-list li a {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
  display: block;
  margin-bottom: 4px;
}

.news-list li a:hover {
  color: var(--accent);
}

.news-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}

.news-sidebar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.rec-list {
  list-style: none;
}

.rec-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
}

.rec-list li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-list li a:hover {
  color: var(--accent);
}

.rec-list li a i {
  font-size: 0.7rem;
  color: var(--accent);
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-brand .fb-logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 36ch;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding-top: 56px; }
  .topbar { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-matrix { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 1.7rem; }
  .section-title { font-size: 1.4rem; }
  .hero-matrix { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 24px; }
  .cta-box h2 { font-size: 1.5rem; }
  .section-wrap { padding: 0 16px; }
  .features { padding: 48px 0; }
  .content-section { padding: 48px 0; }
  .rankings { padding: 48px 0; }
  .cat-section { padding: 48px 0; }
  .faq { padding: 48px 0; }
  .cta-section { padding: 48px 0; }
  .news-section { padding: 48px 0; }
  .rank-table th:nth-child(4),
  .rank-table td:nth-child(4) { display: none; }
}

/* roulang page: category1 */
:root {
  --bg-base: oklch(11% 0.025 240);
  --bg-surface: oklch(17% 0.04 240);
  --bg-glass: rgba(255,255,255,0.06);
  --border-glass: rgba(255,255,255,0.12);
  --accent: oklch(62% 0.22 240);
  --accent-glow: oklch(68% 0.25 240);
  --accent-2: oklch(72% 0.18 195);
  --text-primary: oklch(94% 0.01 240);
  --text-muted: oklch(58% 0.03 240);
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-glow: 0 0 18px oklch(62% 0.22 240 / 0.45);
  --nav-width: 220px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg-base);color:var(--text-primary);font-family:'PingFang SC','Microsoft YaHei',system-ui,sans-serif;font-size:1rem;line-height:1.7;min-height:100vh}
a{color:var(--accent);text-decoration:none;transition:color 150ms ease}
a:hover{color:var(--accent-glow)}
img{max-width:100%;display:block}
button{cursor:pointer;border:none;background:none;font-family:inherit}

/* ── Sidebar Nav ── */
.sidenav{position:fixed;top:0;left:0;width:var(--nav-width);height:100vh;background:var(--bg-surface);border-right:1px solid var(--border-glass);display:flex;flex-direction:column;z-index:200;overflow-y:auto}
.sidenav-logo{display:flex;align-items:center;gap:10px;padding:24px 20px 20px;text-decoration:none;border-bottom:1px solid var(--border-glass)}
.logo-icon{width:34px;height:34px;background:var(--accent);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:0.9rem;flex-shrink:0;box-shadow:var(--shadow-glow)}
.sidenav-logo span{font-size:0.88rem;font-weight:700;color:var(--text-primary);line-height:1.3}
.sidenav-menu{flex:1;padding:16px 0}
.sidenav-menu a{display:flex;align-items:center;gap:10px;padding:11px 20px;color:var(--text-muted);font-size:0.9rem;transition:all 150ms ease;border-left:3px solid transparent;text-decoration:none}
.sidenav-menu a:hover{color:var(--text-primary);background:var(--bg-glass)}
.sidenav-menu a.active{color:var(--accent);border-left-color:var(--accent);background:rgba(255,255,255,0.04)}
.sidenav-footer{padding:16px 20px;border-top:1px solid var(--border-glass)}
.sidenav-footer p{font-size:0.72rem;color:var(--text-muted);line-height:1.5}

/* ── Topbar (mobile) ── */
.topbar{display:none;position:fixed;top:0;left:0;right:0;height:56px;background:var(--bg-surface);border-bottom:1px solid var(--border-glass);align-items:center;justify-content:space-between;padding:0 16px;z-index:300}
.topbar-logo{display:flex;align-items:center;gap:8px;text-decoration:none}
.topbar-logo span{font-size:0.85rem;font-weight:700;color:var(--text-primary)}
.hamburger{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--text-primary);font-size:1.1rem;background:none;border:none;cursor:pointer}

/* ── Mobile Drawer ── */
.drawer-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:250;backdrop-filter:blur(4px)}
.drawer-overlay.open{display:block}
.drawer{position:fixed;top:0;left:-100%;width:260px;height:100vh;background:var(--bg-surface);z-index:260;transition:left 250ms ease;display:flex;flex-direction:column;padding:24px 0}
.drawer.open{left:0}
.drawer-logo{display:flex;align-items:center;gap:10px;padding:0 20px 20px;border-bottom:1px solid var(--border-glass);margin-bottom:8px;text-decoration:none}
.drawer-logo span{font-size:0.88rem;font-weight:700;color:var(--text-primary)}
.drawer a{display:flex;align-items:center;gap:10px;padding:12px 20px;color:var(--text-muted);font-size:0.95rem;text-decoration:none;transition:all 150ms ease}
.drawer a:hover,.drawer a.active{color:var(--accent)}

/* ── Layout ── */
.page-wrap{margin-left:var(--nav-width);min-height:100vh;display:flex;flex-direction:column}
.section-wrap{max-width:1100px;margin:0 auto;padding:0 32px;width:100%}

/* ── Buttons ── */
.btn-primary{display:inline-flex;align-items:center;gap:8px;background:var(--accent);color:#fff;padding:12px 28px;border-radius:var(--radius-btn);font-size:0.95rem;font-weight:600;transition:all 200ms ease;box-shadow:none;text-decoration:none}
.btn-primary:hover,.btn-primary:focus-visible{background:var(--accent-glow);box-shadow:var(--shadow-glow);color:#fff}
.btn-primary:active{transform:scale(0.97)}
.btn-primary:disabled{opacity:0.45;cursor:not-allowed;box-shadow:none}
.btn-outline{display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--accent);padding:11px 26px;border-radius:var(--radius-btn);font-size:0.95rem;font-weight:600;border:1.5px solid var(--accent);transition:all 200ms ease;text-decoration:none}
.btn-outline:hover,.btn-outline:focus-visible{background:var(--accent);color:#fff;box-shadow:var(--shadow-glow)}

/* ── Glass Card ── */
.glass-card{background:var(--bg-glass);border:1px solid var(--border-glass);border-radius:var(--radius-card);-webkit-backdrop-filter:blur(12px) saturate(160%);backdrop-filter:blur(12px) saturate(160%);transition:all 200ms ease}
.glass-card:hover{border-color:rgba(255,255,255,0.22);box-shadow:var(--shadow-glow)}

/* ── Badge / Tag ── */
.badge{display:inline-block;background:var(--accent-2);color:#fff;font-size:0.75rem;font-weight:600;padding:2px 10px;border-radius:20px;letter-spacing:0.04em}
.tag{display:inline-block;background:rgba(255,255,255,0.08);color:var(--accent-2);font-size:0.78rem;font-weight:500;padding:3px 10px;border-radius:6px;letter-spacing:0.03em}

/* ── Section spacing ── */
.section{padding:72px 0}
.section-sm{padding:48px 0}
.section-title{font-size:1.8rem;font-weight:600;line-height:1.3;margin-bottom:12px}
.section-sub{color:var(--text-muted);font-size:1rem;max-width:560px;margin-bottom:40px}

/* ── Hero ── */
.hero{padding:64px 0 56px;background:linear-gradient(135deg,oklch(14% 0.04 240) 0%,oklch(11% 0.025 240) 100%);border-bottom:1px solid var(--border-glass)}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.hero-eyebrow span{font-size:0.8rem;font-weight:600;color:var(--accent-2);letter-spacing:0.06em;text-transform:uppercase}
.hero h1{font-size:2.4rem;font-weight:700;line-height:1.2;margin-bottom:16px}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero-desc{color:var(--text-muted);font-size:1rem;line-height:1.7;margin-bottom:28px;max-width:480px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:32px}
.trust-bar{display:flex;gap:20px;flex-wrap:wrap}
.trust-item{display:flex;align-items:center;gap:6px;font-size:0.82rem;color:var(--text-muted)}
.trust-item i{color:var(--accent-2);font-size:0.85rem}
.hero-visual{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hero-feat-card{padding:18px 16px;display:flex;flex-direction:column;gap:8px}
.hero-feat-card i{font-size:1.3rem;color:var(--accent)}
.hero-feat-card strong{font-size:0.9rem;font-weight:600;color:var(--text-primary)}
.hero-feat-card span{font-size:0.8rem;color:var(--text-muted);line-height:1.5}

/* ── Breadcrumb ── */
.breadcrumb{padding:16px 0;display:flex;align-items:center;gap:8px;font-size:0.85rem;color:var(--text-muted)}
.breadcrumb a{color:var(--text-muted);text-decoration:none}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb i{font-size:0.7rem}

/* ── Feature cards ── */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feat-card{padding:28px 24px}
.feat-card .icon-wrap{width:48px;height:48px;background:rgba(255,255,255,0.06);border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:1.3rem;color:var(--accent)}
.feat-card h3{font-size:1.05rem;font-weight:600;margin-bottom:8px}
.feat-card p{font-size:0.88rem;color:var(--text-muted);line-height:1.65}

/* ── Stats strip ── */
.stats-strip{background:var(--bg-surface);border-top:1px solid var(--border-glass);border-bottom:1px solid var(--border-glass);padding:40px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stat-num{font-size:2rem;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums;line-height:1.1}
.stat-label{font-size:0.82rem;color:var(--text-muted);margin-top:4px}

/* ── Content cards ── */
.content-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.content-card{overflow:hidden}
.content-thumb{aspect-ratio:16/9;background:var(--bg-surface);display:flex;align-items:center;justify-content:center;border-radius:var(--radius-card) var(--radius-card) 0 0;border-bottom:1px solid var(--border-glass);position:relative}
.content-thumb i{font-size:2rem;color:var(--text-muted)}
.content-thumb .res-badge{position:absolute;top:10px;right:10px}
.content-body{padding:16px}
.content-body h3{font-size:0.95rem;font-weight:600;margin-bottom:8px;line-height:1.4}
.content-body p{font-size:0.82rem;color:var(--text-muted);line-height:1.55;margin-bottom:10px}

/* ── Quality checklist ── */
.quality-wrap{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.quality-list{list-style:none;display:flex;flex-direction:column;gap:14px}
.quality-list li{display:flex;align-items:flex-start;gap:12px;font-size:0.92rem;line-height:1.6}
.quality-list li i{color:var(--accent);margin-top:3px;flex-shrink:0}
.quality-panel{padding:28px 24px}
.quality-panel h3{font-size:1.1rem;font-weight:600;margin-bottom:16px}
.quality-panel .q-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--border-glass);font-size:0.88rem}
.quality-panel .q-row:last-child{border-bottom:none}
.quality-panel .q-row span:first-child{color:var(--text-muted)}
.quality-panel .q-row span:last-child{color:var(--text-primary);font-weight:600}

/* ── FAQ ── */
.faq-list{display:flex;flex-direction:column;gap:12px;max-width:760px}
.faq-item{border-radius:var(--radius-card);overflow:hidden}
.faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:var(--bg-glass);border:1px solid var(--border-glass);font-size:0.95rem;font-weight:600;color:var(--text-primary);cursor:pointer;text-align:left;transition:all 150ms ease;border-radius:var(--radius-card)}
.faq-q:hover{border-color:rgba(255,255,255,0.22);color:var(--accent)}
.faq-q.open{border-radius:var(--radius-card) var(--radius-card) 0 0;border-bottom-color:transparent;color:var(--accent)}
.faq-q i{transition:transform 200ms ease;flex-shrink:0;margin-left:12px;color:var(--text-muted)}
.faq-q.open i{transform:rotate(180deg);color:var(--accent)}
.faq-a{display:none;padding:16px 22px 20px;background:rgba(255,255,255,0.03);border:1px solid var(--border-glass);border-top:none;border-radius:0 0 var(--radius-card) var(--radius-card);font-size:0.9rem;color:var(--text-muted);line-height:1.7}
.faq-a.open{display:block}

/* ── CTA ── */
.cta-section{background:linear-gradient(135deg,oklch(16% 0.06 240) 0%,oklch(13% 0.04 240) 100%);border-top:1px solid var(--border-glass);border-bottom:1px solid var(--border-glass);padding:64px 0;text-align:center}
.cta-section h2{font-size:1.9rem;font-weight:700;margin-bottom:12px}
.cta-section p{color:var(--text-muted);max-width:480px;margin:0 auto 28px}
.cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ── Footer ── */
.site-footer{background:var(--bg-surface);border-top:1px solid var(--border-glass);padding:48px 0 24px}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;margin-bottom:32px}
.footer-brand .fb-logo{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.footer-brand .fb-logo span{font-size:0.95rem;font-weight:700}
.footer-brand p{font-size:0.85rem;color:var(--text-muted);line-height:1.65;max-width:300px}
.footer-col h4{font-size:0.88rem;font-weight:600;margin-bottom:14px;color:var(--text-primary)}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:8px}
.footer-col ul li a{font-size:0.85rem;color:var(--text-muted);text-decoration:none;transition:color 150ms ease}
.footer-col ul li a:hover{color:var(--accent)}
.footer-bottom{border-top:1px solid var(--border-glass);padding-top:20px;display:flex;flex-direction:column;gap:4px}
.footer-bottom p{font-size:0.78rem;color:var(--text-muted)}
.footer-bottom a{color:var(--text-muted)}
.footer-bottom a:hover{color:var(--accent)}

/* ── Responsive ── */
@media (max-width:1024px){
  .sidenav{display:none}
  .topbar{display:flex}
  .page-wrap{margin-left:0;padding-top:56px}
  .hero-inner{grid-template-columns:1fr}
  .hero-visual{display:none}
  .feat-grid{grid-template-columns:1fr 1fr}
  .content-grid{grid-template-columns:1fr 1fr}
  .quality-wrap{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .section-wrap{padding:0 16px}
  .section{padding:48px 0}
  .hero{padding:40px 0 36px}
  .hero h1{font-size:1.7rem}
  .feat-grid{grid-template-columns:1fr}
  .content-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns:1fr}
  .cta-section h2{font-size:1.4rem}
}
