/* roulang page: index */
:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #172554;
  --accent: #f59e0b;
  --accent-light: #fcd34d;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --bg-soft: #f1f5f9;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow: 0 6px 30px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 74px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-body);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--bg-soft);
}

.nav-link.active {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--border);
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: url('/assets/images/backpic/back-1.png') center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 64, 175, 0.75) 55%, rgba(30, 64, 175, 0.30) 100%);
  z-index: -1;
}

.hero-content {
  padding: 120px 24px 120px;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-badge i {
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 32px;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.32);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.2);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-soft {
  background: var(--bg-soft);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(30, 64, 175, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 640px;
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* Tags / Badges */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}

.tag-primary {
  background: rgba(30, 64, 175, 0.09);
  color: var(--primary);
}

.tag-warm {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* News / Post list */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(30, 64, 175, 0.18);
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  transition: color 0.25s ease;
}

.news-card:hover h3 {
  color: var(--primary);
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--bg-soft);
}

.news-date i {
  color: var(--primary-light);
}

/* Stats */
.stats-section {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 60%, #1e40af 100%);
  padding: 84px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-num span {
  font-size: 1.2rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.step-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 26px;
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.28);
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature list */
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.96rem;
  color: var(--text-body);
}

.feature-list i {
  color: var(--primary);
  margin-top: 4px;
  min-width: 18px;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  margin-top: 44px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(30, 64, 175, 0.22);
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: var(--transition);
}

.faq-q i {
  color: var(--text-muted);
  transition: transform 0.35s ease;
  font-size: 0.85rem;
}

.faq-item.open .faq-q i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-a {
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.94rem;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 22px;
}

/* CTA */
.cta-section {
  background: linear-gradient(120deg, #172554 0%, #1e40af 55%, #2563eb 100%);
  border-radius: var(--radius);
  padding: 64px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  margin-bottom: 28px;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  margin-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 48px;
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  color: #94a3b8;
  transition: var(--transition);
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 0.82rem;
  text-align: center;
  color: #64748b;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Misc */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

.text-gradient {
  background: linear-gradient(120deg, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 8px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-bottom: 1px solid var(--border);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 99;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    display: block;
    padding: 14px 18px;
    text-align: center;
  }
  .hero { min-height: 520px; }
  .hero-content { padding: 80px 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .cta-section { padding: 44px 28px; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 32px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .site-header { height: 64px; }
  .brand { font-size: 1.12rem; }
  .hero { min-height: 460px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item { padding: 16px 10px; }
  .stat-num { font-size: 1.6rem; }
  .btn-outline, .btn-primary { padding: 13px 24px; }
  .cta-actions .btn { width: 100%; }
  .footer-bottom .container { flex-direction: column; gap: 4px; }
}

/* roulang page: category1 */
/* ===== 设计变量 ===== */
    :root {
      --primary: #1d4ed8;
      --primary-dark: #1e40af;
      --accent: #f97316;
      --accent-soft: #fff7ed;
      --bg-body: #f8fafc;
      --bg-soft: #f0f4ff;
      --text-main: #0f172a;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --radius: 16px;
      --radius-sm: 10px;
      --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 20px 50px rgba(29, 78, 216, 0.12);
      --transition: 0.3s ease;
    }

    /* ===== 基础重置 ===== */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
      background: var(--bg-body);
      color: var(--text-main);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; transition: all var(--transition); }
    button { font-family: inherit; cursor: pointer; }
    input, details, summary { font-family: inherit; }
    summary { list-style: none; }
    summary::-webkit-details-marker { display: none; }
    a:focus-visible, button:focus-visible, summary:focus-visible {
      outline: 3px solid rgba(29, 78, 216, 0.4);
      outline-offset: 2px;
      border-radius: 6px;
    }

    /* ===== 容器 ===== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    /* ===== 按钮 ===== */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      font-weight: 600; border-radius: 999px; padding: 13px 28px;
      transition: all var(--transition); border: 2px solid transparent; font-size: 15px;
      line-height: 1.4; white-space: nowrap;
    }
    .btn-primary {
      background: var(--primary); color: #fff;
      box-shadow: 0 8px 24px rgba(29, 78, 216, 0.25);
    }
    .btn-primary:hover {
      background: var(--primary-dark); transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(29, 78, 216, 0.35);
    }
    .btn-primary:active { transform: translateY(0); }
    .btn-outline {
      background: rgba(255,255,255,0.9); color: var(--primary); border-color: var(--primary);
    }
    .btn-outline:hover {
      background: var(--primary); color: #fff; transform: translateY(-2px);
      box-shadow: 0 10px 26px rgba(29, 78, 216, 0.25);
    }
    .btn-outline:active { transform: translateY(0); }
    .btn-white {
      background: #fff; color: var(--primary);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
    .btn-white:hover {
      transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    }
    .btn-white:active { transform: translateY(0); }

    /* ===== 板块 ===== */
    .section { padding: 92px 0; }
    .section-head { text-align: center; max-width: 760px; margin: 0 auto 58px; }
    .section-tag {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--accent-soft); color: var(--accent);
      font-size: 13px; font-weight: 700; letter-spacing: 1px;
      padding: 6px 18px; border-radius: 999px; text-transform: uppercase;
    }
    .section-title { font-size: 34px; font-weight: 800; line-height: 1.3; margin-top: 14px; color: var(--text-main); }
    .section-desc { color: var(--text-muted); margin-top: 14px; font-size: 16px; }

    /* ===== 顶部导航 ===== */
    .site-header {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 12px rgba(15, 23, 42, 0.04);
    }
    .header-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 74px;
    }
    .brand {
      display: flex; align-items: center; gap: 10px;
      font-weight: 800; font-size: 1.28rem; color: var(--primary);
      letter-spacing: 0.3px;
    }
    .brand:hover { color: var(--primary-dark); }
    .brand-dot {
      width: 10px; height: 10px; border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
      display: inline-block;
    }
    .site-nav { display: flex; align-items: center; gap: 36px; }
    .nav-link {
      font-weight: 500; color: var(--text-muted); padding: 8px 2px; position: relative;
      font-size: 15px;
    }
    .nav-link::after {
      content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
      background: var(--primary); border-radius: 2px; transition: all var(--transition);
    }
    .nav-link:hover { color: var(--primary); }
    .nav-link:hover::after { width: 100%; }
    .nav-link.active { color: var(--primary); font-weight: 700; }
    .nav-link.active::after { width: 100%; }
    .nav-toggle {
      display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
      border: 1px solid var(--border); background: #fff; color: var(--text-main);
      align-items: center; justify-content: center; font-size: 18px;
      transition: all var(--transition);
    }
    .nav-toggle:hover { border-color: var(--primary); color: var(--primary); }

    /* ===== Hero ===== */
    .page-hero {
      background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(29, 78, 216, 0.78)),
        url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
      color: #fff;
      padding: 100px 0 100px;
      position: relative;
      overflow: hidden;
    }
    .page-hero::after {
      content: '';
      position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.06);
      pointer-events: none;
    }
    .hero-inner { position: relative; z-index: 2; max-width: 820px; }
    .hero-tag {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #fff; font-size: 13px; font-weight: 600;
      padding: 7px 18px; border-radius: 999px; backdrop-filter: blur(6px);
    }
    .hero-title {
      font-size: 46px; font-weight: 900; line-height: 1.25; margin: 22px 0 10px;
      letter-spacing: 0.5px;
    }
    .hero-subtitle {
      font-size: 22px; font-weight: 600; color: rgba(255, 255, 255, 0.92);
      margin-bottom: 12px;
    }
    .hero-desc {
      font-size: 16px; color: rgba(255, 255, 255, 0.78);
      max-width: 640px; margin-bottom: 32px;
    }
    .hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
    .hero-stats {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
      max-width: 620px;
    }
    .stat-item {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: var(--radius);
      padding: 20px 18px; text-align: center;
      backdrop-filter: blur(8px);
      transition: all var(--transition);
    }
    .stat-item:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-4px); }
    .stat-item strong {
      display: block; font-size: 28px; font-weight: 800; line-height: 1.3;
    }
    .stat-item span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

    /* ===== 登录方式卡片 ===== */
    .methods-section { background: #fff; }
    .grid-3 {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    }
    .method-card {
      background: var(--bg-body);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 42px 32px;
      text-align: center;
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
    }
    .method-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: var(--primary); opacity: 0;
      transition: all var(--transition);
    }
    .method-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(29, 78, 216, 0.2);
      background: #fff;
    }
    .method-card:hover::before { opacity: 1; }
    .method-icon {
      width: 72px; height: 72px; border-radius: 20px;
      display: flex; align-items: center; justify-content: center;
      font-size: 28px; margin: 0 auto 22px;
      transition: all var(--transition);
    }
    .icon-blue { background: #eff6ff; color: var(--primary); }
    .icon-orange { background: var(--accent-soft); color: var(--accent); }
    .icon-green { background: #ecfdf5; color: #059669; }
    .method-card:hover .method-icon { transform: scale(1.08) rotate(-4deg); }
    .method-title { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
    .method-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
    .method-link {
      display: inline-flex; align-items: center; gap: 6px;
      margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--primary);
    }
    .method-link:hover { color: var(--accent); gap: 10px; }

    /* ===== 登录步骤 ===== */
    .steps-section { background: var(--bg-soft); }
    .steps-list {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
      counter-reset: step;
    }
    .step-item {
      background: #fff; border-radius: var(--radius); padding: 34px 26px;
      border: 1px solid var(--border);
      position: relative;
      transition: all var(--transition);
    }
    .step-item:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow);
      border-color: rgba(29, 78, 216, 0.18);
    }
    .step-num {
      width: 46px; height: 46px; border-radius: 14px;
      background: var(--primary); color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; font-weight: 800;
      margin-bottom: 20px;
      box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
    }
    .step-item:nth-child(2) .step-num { background: var(--accent); box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25); }
    .step-item:nth-child(3) .step-num { background: #059669; box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25); }
    .step-item:nth-child(4) .step-num { background: #7c3aed; box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25); }
    .step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
    .step-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

    /* ===== 安全提示 ===== */
    .tips-section { background: #fff; }
    .tips-layout {
      display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center;
    }
    .tips-content .section-tag { margin-bottom: 14px; }
    .tips-content h2 { font-size: 32px; font-weight: 800; line-height: 1.35; margin-bottom: 16px; }
    .tips-content > p { color: var(--text-muted); margin-bottom: 30px; }
    .tip-list { display: grid; gap: 22px; }
    .tip-item { display: flex; gap: 16px; align-items: flex-start; }
    .tip-icon {
      flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
      background: #ecfdf5; color: #059669;
      display: flex; align-items: center; justify-content: center; font-size: 16px;
    }
    .tip-item:nth-child(2) .tip-icon { background: #eff6ff; color: var(--primary); }
    .tip-item:nth-child(3) .tip-icon { background: var(--accent-soft); color: var(--accent); }
    .tip-item:nth-child(4) .tip-icon { background: #faf5ff; color: #7c3aed; }
    .tip-item strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
    .tip-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
    .tips-image img {
      width: 100%; border-radius: 24px;
      box-shadow: var(--shadow-lg);
      object-fit: cover; aspect-ratio: 4 / 3;
    }

    /* ===== 内容卡片 ===== */
    .cards-section { background: var(--bg-body); }
    .content-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    }
    .content-card {
      background: #fff; border-radius: var(--radius); overflow: hidden;
      border: 1px solid var(--border); transition: all var(--transition);
      display: flex; flex-direction: column;
    }
    .content-card:hover {
      transform: translateY(-8px); box-shadow: var(--shadow-lg);
      border-color: rgba(29, 78, 216, 0.18);
    }
    .content-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
    .content-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; }
    .content-card:hover .content-img-wrap img { transform: scale(1.06); }
    .content-badge {
      position: absolute; top: 14px; left: 14px;
      background: var(--accent); color: #fff;
      font-size: 12px; font-weight: 700;
      padding: 4px 14px; border-radius: 999px;
      box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    }
    .content-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
    .content-title { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
    .content-text { font-size: 14px; color: var(--text-muted); flex: 1; margin-bottom: 18px; }
    .content-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 14px; font-weight: 600; color: var(--primary);
    }
    .content-link:hover { color: var(--accent); gap: 10px; }

    /* ===== FAQ ===== */
    .faq-section { background: #fff; }
    .faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
    .faq-item {
      background: var(--bg-body); border: 1px solid var(--border);
      border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
    }
    .faq-item:hover { border-color: rgba(29, 78, 216, 0.2); }
    .faq-item[open] {
      background: #fff; box-shadow: var(--shadow);
      border-color: rgba(29, 78, 216, 0.25);
    }
    .faq-q {
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      padding: 20px 24px; font-weight: 600; font-size: 16px; cursor: pointer;
    }
    .faq-q i { color: var(--primary); transition: all var(--transition); font-size: 14px; }
    .faq-item[open] .faq-q i { transform: rotate(180deg); }
    .faq-a {
      padding: 0 24px 22px; color: var(--text-muted); font-size: 14px; line-height: 1.8;
      border-top: 1px dashed var(--border); padding-top: 16px;
    }

    /* ===== CTA ===== */
    .cta-section { background: var(--bg-soft); }
    .cta-box {
      background: linear-gradient(120deg, var(--primary), var(--primary-dark));
      border-radius: 28px; padding: 64px 48px; text-align: center;
      position: relative; overflow: hidden;
      color: #fff;
      box-shadow: var(--shadow-lg);
    }
    .cta-box::before {
      content: '';
      position: absolute; width: 240px; height: 240px; border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      top: -80px; right: -60px;
    }
    .cta-title { font-size: 30px; font-weight: 800; margin-bottom: 14px; position: relative; z-index: 2; }
    .cta-text { font-size: 16px; color: rgba(255, 255, 255, 0.82); max-width: 520px; margin: 0 auto 32px; position: relative; z-index: 2; }
    .cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; position: relative; z-index: 2; }

    /* ===== 页脚 ===== */
    .site-footer {
      background: #0f172a; color: #94a3b8; padding: 64px 0 0;
      font-size: 14px;
    }
    .footer-grid {
      display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
      padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .footer-logo {
      display: flex; align-items: center; gap: 10px;
      color: #fff; font-size: 1.2rem; font-weight: 800; margin-bottom: 16px;
    }
    .footer-brand p { line-height: 1.8; max-width: 320px; }
    .footer-col h3 {
      color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px;
      letter-spacing: 0.5px;
    }
    .footer-col a {
      display: block; margin-bottom: 10px; color: #94a3b8; transition: all var(--transition);
    }
    .footer-col a:hover { color: #fff; padding-left: 6px; }
    .footer-col p { margin-bottom: 8px; line-height: 1.7; }
    .footer-bottom {
      padding: 22px 0;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      font-size: 13px; color: #64748b;
    }

    /* ===== 响应式 ===== */
    @media (max-width: 1024px) {
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .content-grid { grid-template-columns: repeat(2, 1fr); }
      .steps-list { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .tips-layout { gap: 40px; }
    }

    @media (max-width: 768px) {
      .section { padding: 64px 0; }
      .section-title { font-size: 26px; }
      .hero-title { font-size: 32px; }
      .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
      .stat-item { padding: 14px 10px; }
      .stat-item strong { font-size: 20px; }
      .tips-layout { grid-template-columns: 1fr; }
      .tips-image img { aspect-ratio: 16 / 9; }
      .cta-box { padding: 48px 24px; border-radius: 20px; }
      .cta-title { font-size: 24px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

      .nav-toggle { display: flex; }
      .site-nav {
        position: absolute; top: 74px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 12px 24px 20px;
        display: none;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
      }
      .site-nav.open { display: flex; }
      .nav-link { padding: 14px 12px; border-radius: var(--radius-sm); }
      .nav-link:hover { background: var(--bg-soft); }
      .nav-link.active { background: #eff6ff; }
      .nav-link::after { display: none; }
    }

    @media (max-width: 520px) {
      .container { padding: 0 18px; }
      .brand { font-size: 1.08rem; }
      .grid-3 { grid-template-columns: 1fr; }
      .content-grid { grid-template-columns: 1fr; }
      .steps-list { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      .hero-btns .btn { width: 100%; }
      .cta-btns .btn { width: 100%; }
      .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
      .page-hero { padding: 68px 0; }
      .hero-title { font-size: 26px; }
      .hero-desc { font-size: 15px; }
    }

/* roulang page: article */
:root {
  --primary: #1a2b4c;
  --primary-light: #2d4a7a;
  --accent: #d4a24e;
  --accent-dark: #b8893a;
  --bg: #f8f9fc;
  --text: #1e2a3a;
  --text-muted: #6b7a8f;
  --border: #e8ecf2;
  --shadow: 0 4px 24px rgba(26, 43, 76, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 43, 76, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
ul, ol {
  list-style: none;
}
::selection {
  background: rgba(212, 162, 78, 0.3);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.brand-dot {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(26, 43, 76, 0.2);
  position: relative;
  flex-shrink: 0;
}
.brand-dot::after {
  content: '';
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  line-height: 1;
}
.nav-link:hover {
  background: rgba(26, 43, 76, 0.06);
  color: var(--primary);
}
.nav-link.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 43, 76, 0.28);
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 22px;
  color: var(--primary);
  transition: var(--transition);
}
.nav-toggle:hover {
  background: rgba(26, 43, 76, 0.06);
}

/* ===== Article Hero ===== */
.article-hero {
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(212, 162, 78, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.article-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(26, 43, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.article-hero .container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb i {
  font-size: 12px;
  color: #a0aec0;
}
.breadcrumb a:hover {
  color: var(--primary);
}
.article-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary);
  letter-spacing: -0.5px;
  max-width: 900px;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.meta-badge {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text-muted);
}
.meta-item i {
  font-size: 14px;
  color: var(--accent);
}

/* ===== Article Main ===== */
.article-main {
  padding: 48px 0 32px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}
.article-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.article-cover {
  position: relative;
  height: 440px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 43, 76, 0.06) 0%, rgba(26, 43, 76, 0.02) 50%, rgba(26, 43, 76, 0.35) 100%);
}
.article-body {
  padding: 44px;
  font-size: 16px;
  line-height: 1.95;
  color: #2a3a52;
}
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.45;
  margin: 32px 0 16px;
}
.article-body h2 {
  font-size: 24px;
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}
.article-body h3 {
  font-size: 20px;
}
.article-body h4 {
  font-size: 18px;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body a {
  color: var(--primary);
  border-bottom: 1px solid var(--accent);
}
.article-body a:hover {
  color: var(--accent-dark);
}
.article-body img {
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(26, 43, 76, 0.1);
}
.article-body ul,
.article-body ol {
  margin: 0 0 20px 28px;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: #faf6ef;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: #4a5568;
  font-style: italic;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-body th,
.article-body td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}
.article-body th {
  background: #f0f3f9;
  color: var(--primary);
  font-weight: 600;
}
.article-body code {
  background: #f0f3f9;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f3f9;
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  transition: var(--transition);
}
.tag:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.share-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f3f9;
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition);
}
.share-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== Not Found ===== */
.not-found-card {
  padding: 80px 40px;
  text-align: center;
}
.not-found {
  max-width: 420px;
  margin: 0 auto;
}
.not-found i {
  font-size: 64px;
  color: #cbd5e0;
  margin-bottom: 24px;
}
.not-found h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.not-found p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 162, 78, 0.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 162, 78, 0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent-dark);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Sidebar ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.sidebar-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-card h3 i {
  color: var(--accent);
  font-size: 16px;
}
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fcfdff;
  transition: var(--transition);
  display: block;
}
.sidebar-item:hover {
  border-color: var(--accent);
  background: rgba(212, 162, 78, 0.04);
  transform: translateX(4px);
}
.sidebar-item .item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-item .item-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-item .item-date i {
  font-size: 11px;
  color: var(--accent);
}
.sidebar-empty {
  font-size: 14px;
  color: var(--text-muted);
  padding: 20px 0;
  text-align: center;
}
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-tags .tag {
  font-size: 13px;
  padding: 6px 14px;
}

/* ===== Related ===== */
.related-section {
  padding: 56px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  padding-left: 18px;
}
.section-header h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--accent);
  border-radius: 4px;
}
.section-header .section-more {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-header .section-more:hover {
  color: var(--primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.related-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
  border: 1px solid transparent;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 162, 78, 0.3);
}
.related-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.related-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 43, 76, 0.3));
  opacity: 0;
  transition: var(--transition);
}
.related-card:hover .related-img::after {
  opacity: 1;
}
.related-body {
  padding: 18px 20px;
}
.related-body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}
.related-card:hover .related-body h3 {
  color: var(--primary);
}
.related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.related-meta .cat {
  background: #f0f3f9;
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 56px 0;
  background: linear-gradient(180deg, #f8f9fc 0%, #eff2f8 100%);
}
.faq-section .section-header h2 {
  margin-bottom: 28px;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 22px 26px;
  transition: var(--transition);
  cursor: pointer;
}
.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(26, 43, 76, 0.06);
}
.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::before {
  content: 'Q';
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item[open] summary::before {
  background: var(--accent);
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  padding-left: 42px;
  line-height: 1.8;
}

/* ===== CTA ===== */
.section-cta {
  padding: 56px 0 24px;
}
.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 162, 78, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-card::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-card h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.cta-card .btn {
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.site-footer {
  background: #0f1b2e;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  max-width: 320px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.footer-col h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--accent);
  padding-left: 6px;
}
.footer-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .header-inner {
    height: 68px;
  }
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(26, 43, 76, 0.12);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav .nav-link {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
  }
  .article-hero {
    padding: 40px 0 32px;
  }
  .article-title {
    font-size: 28px;
  }
  .article-meta {
    gap: 12px;
  }
  .article-body {
    padding: 28px 24px;
  }
  .article-cover {
    height: 260px;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 40px 24px;
  }
  .cta-card h2 {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-dot {
    width: 30px;
    height: 30px;
  }
  .article-title {
    font-size: 22px;
  }
  .breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .meta-item {
    font-size: 13px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-img {
    height: 180px;
  }
  .section-header h2 {
    font-size: 24px;
  }
  .cta-card {
    padding: 32px 20px;
    border-radius: 18px;
  }
  .cta-card h2 {
    font-size: 22px;
  }
  .cta-card p {
    font-size: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 6px;
  }
  .article-body h2 {
    font-size: 20px;
  }
  .faq-item {
    padding: 18px 16px;
  }
  .faq-item p {
    padding-left: 12px;
  }
}

/* Focus accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(212, 162, 78, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}
