/* roulang page: index */
/* ============ Design Tokens ============ */
:root {
  --bg-page: #070b13;
  --bg-soft: #0b1120;
  --bg-card: #0e1626;
  --bg-elev: #141f33;
  --primary: #0ea5e9;
  --primary-hover: #38bdf8;
  --primary-rgb: 14, 165, 233;
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --text-main: #e8eef7;
  --text-secondary: #93a4bc;
  --text-muted: #5d6e86;
  --border-main: rgba(148, 163, 184, 0.13);
  --border-hover: rgba(14, 165, 233, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-cta: 0 0 40px rgba(14, 165, 233, 0.22);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
/* ============ Reset / Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
::selection { background: rgba(14, 165, 233, 0.3); color: #fff; }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-main);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.brand-logo i {
  color: var(--primary);
  font-size: 24px;
}
.brand-logo span {
  background: linear-gradient(135deg, #0ea5e9, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.22s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--text-main);
  background: rgba(14, 165, 233, 0.08);
}
.nav-link.active {
  color: #fff;
  background: rgba(14, 165, 233, 0.14);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 4px;
  background: var(--primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-main);
  border-radius: 32px;
  padding: 0 14px;
  height: 40px;
  width: 220px;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.search-bar:focus-within {
  border-color: var(--border-hover);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.search-bar input {
  flex: 1;
  color: var(--text-main);
  font-size: 14px;
  background: transparent;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar i {
  color: var(--text-muted);
  font-size: 14px;
}
.btn-nav {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 32px;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.2);
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(14, 165, 233, 0.35);
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-main);
  color: var(--text-main);
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.06); }

/* ============ Hero ============ */
.hero-section {
  background-image: linear-gradient(rgba(7, 11, 19, 0.75), rgba(7, 11, 19, 0.88)), url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 32px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 44px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.3);
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(14, 165, 233, 0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 44px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
  background: rgba(14, 165, 233, 0.08);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ Section Common ============ */
.section { padding: 88px 0; }
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--primary);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 32px;
  padding: 6px 16px;
  margin-bottom: 14px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 12px auto 0;
}
.section-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin: 16px auto 0;
}

/* ============ Features ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ Category Cards ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.category-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s;
}
.category-card:hover .category-img img { transform: scale(1.03); }
.category-img { position: relative; overflow: hidden; }
.category-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 165, 233, 0.2), transparent);
}
.category-info {
  padding: 26px 26px 30px;
  position: relative;
}
.category-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.14);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 24px;
  margin-bottom: 12px;
}
.category-info h3 {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.category-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.category-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.category-card:hover .category-link { gap: 10px; }

/* ============ Latest List ============ */
.latest-section {
  background: var(--bg-soft);
  position: relative;
}
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.post-item {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.28s ease;
  display: block;
}
.post-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.post-cat {
  background: rgba(14, 165, 233, 0.12);
  color: #7dd3fc;
  padding: 3px 12px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
}
.post-date i { margin-right: 4px; }
.post-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.post-item:hover .post-title { color: var(--primary-hover); }
.post-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empty-tip {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
  font-size: 15px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-main);
}

/* ============ Process ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.28s;
}
.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary-hover); }
.faq-question i {
  color: var(--text-muted);
  transition: transform 0.3s;
  font-size: 14px;
}
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 26px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============ CTA ============ */
.cta-section {
  background-image: linear-gradient(120deg, rgba(14, 165, 233, 0.9), rgba(2, 132, 199, 0.9)), url('/assets/images/backpic/back-3.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  position: relative;
}
.cta-title {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}
.btn-white {
  background: #fff;
  color: #0284c7;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 44px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-main);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .brand-logo { font-size: 20px; margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover {
  color: var(--primary-hover);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border-main);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .search-bar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 19, 0.97);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-main);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-link { width: 100%; text-align: left; padding: 12px 16px; }
  .menu-toggle { display: flex; }
  .btn-nav { display: none; }
  .hero-section { padding: 70px 0 60px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .category-grid, .feature-grid, .process-grid, .post-list { grid-template-columns: 1fr; }
}

/* roulang page: category1 */
:root {
        --primary: #0f172a;
        --accent: #f59e0b;
        --accent-hover: #d97706;
        --bg-dark: #0b1120;
        --card-bg: #111827;
        --card-bg2: #1a2332;
        --card-border: rgba(255, 255, 255, 0.08);
        --text-main: #f1f5f9;
        --text-muted: #94a3b8;
        --radius: 16px;
        --radius-sm: 10px;
        --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        --shadow-hover: 0 24px 60px rgba(245, 158, 11, 0.12);
        --transition: all 0.3s ease;
        --font-main: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    }
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        font-family: var(--font-main);
        background: var(--bg-dark);
        color: var(--text-main);
        line-height: 1.7;
        -webkit-font-smoothing: antialiased;
    }
    a {
        text-decoration: none;
        color: var(--text-main);
        transition: var(--transition);
    }
    img {
        max-width: 100%;
        display: block;
    }
    ul {
        list-style: none;
    }
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(11, 17, 32, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--card-border);
    }
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        gap: 24px;
    }
    .brand-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 22px;
        font-weight: 800;
        letter-spacing: -0.5px;
        flex-shrink: 0;
    }
    .brand-logo i {
        color: var(--accent);
        font-size: 24px;
    }
    .brand-logo span {
        background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .main-nav {
        display: flex;
        align-items: center;
        gap: 4px;
        flex: 1;
        justify-content: center;
    }
    .nav-link {
        padding: 8px 18px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-muted);
        position: relative;
        white-space: nowrap;
    }
    .nav-link:hover {
        color: var(--text-main);
        background: rgba(255, 255, 255, 0.05);
    }
    .nav-link.active {
        color: var(--accent);
        font-weight: 600;
        background: rgba(245, 158, 11, 0.1);
    }
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        border-radius: 2px;
        background: var(--accent);
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }
    .search-box {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid var(--card-border);
        border-radius: 10px;
        padding: 7px 14px;
        width: 170px;
        transition: var(--transition);
    }
    .search-box:focus-within {
        border-color: var(--accent);
        width: 210px;
        background: rgba(255, 255, 255, 0.08);
    }
    .search-box i {
        color: var(--text-muted);
        font-size: 13px;
    }
    .search-box input {
        background: transparent;
        border: none;
        outline: none;
        color: var(--text-main);
        font-size: 14px;
        width: 100%;
    }
    .search-box input::placeholder {
        color: var(--text-muted);
    }
    .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: #0b1120;
        font-weight: 700;
        padding: 9px 22px;
        border-radius: 10px;
        font-size: 14px;
        transition: var(--transition);
        border: none;
        cursor: pointer;
        box-shadow: 0 2px 12px rgba(245, 158, 11, 0.2);
    }
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
    }
    .btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--text-main);
        font-weight: 500;
        padding: 8px 20px;
        border-radius: 10px;
        font-size: 14px;
        transition: var(--transition);
        cursor: pointer;
    }
    .btn-outline:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(245, 158, 11, 0.06);
    }
    .menu-toggle {
        display: none;
        background: transparent;
        border: none;
        color: var(--text-main);
        font-size: 22px;
        cursor: pointer;
        padding: 6px;
    }
    .page-hero {
        position: relative;
        padding: 110px 0 90px;
        background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
        background-attachment: fixed;
    }
    .page-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(11, 17, 32, 0.96) 0%, rgba(11, 17, 32, 0.75) 55%, rgba(11, 17, 32, 0.45) 100%);
    }
    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 760px;
    }
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 24px;
    }
    .breadcrumb a:hover {
        color: var(--accent);
    }
    .breadcrumb i {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.3);
    }
    .page-hero h1 {
        font-size: 44px;
        font-weight: 800;
        line-height: 1.25;
        margin-bottom: 18px;
        letter-spacing: -0.5px;
    }
    .page-hero h1 .highlight {
        background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .page-hero p {
        font-size: 17px;
        color: rgba(241, 245, 249, 0.75);
        max-width: 620px;
        line-height: 1.8;
    }
    .hero-meta {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 28px;
        flex-wrap: wrap;
    }
    .hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.3);
        color: #fbbf24;
        padding: 5px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 500;
    }
    .section {
        padding: 90px 0;
    }
    .section-alt {
        background: linear-gradient(180deg, rgba(17, 24, 39, 0.5) 0%, rgba(11, 17, 32, 0.3) 100%);
    }
    .section-header {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 60px;
    }
    .section-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--accent);
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    .section-eyebrow::before {
        content: '';
        width: 24px;
        height: 2px;
        background: var(--accent);
        border-radius: 1px;
    }
    .section-header h2 {
        font-size: 36px;
        font-weight: 800;
        line-height: 1.3;
        margin-bottom: 14px;
        letter-spacing: -0.3px;
    }
    .section-header p {
        font-size: 16px;
        color: var(--text-muted);
        line-height: 1.7;
    }
    .entry-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .entry-card {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: var(--radius);
        overflow: hidden;
        transition: var(--transition);
        position: relative;
    }
    .entry-card:hover {
        transform: translateY(-6px);
        border-color: rgba(245, 158, 11, 0.3);
        box-shadow: var(--shadow-hover);
    }
    .entry-card-media {
        position: relative;
        height: 180px;
        overflow: hidden;
    }
    .entry-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    .entry-card:hover .entry-card-media img {
        transform: scale(1.05);
    }
    .entry-card-media::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 40%, rgba(11, 17, 32, 0.9) 100%);
    }
    .entry-card-body {
        padding: 26px 24px 28px;
    }
    .entry-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        background: rgba(245, 158, 11, 0.12);
        color: var(--accent);
        margin-bottom: 16px;
    }
    .entry-card h3 {
        font-size: 19px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .entry-card p {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.7;
    }
    .entry-card-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 18px;
        font-size: 14px;
        font-weight: 600;
        color: var(--accent);
    }
    .entry-card-link:hover {
        gap: 10px;
        color: #fbbf24;
    }
    .steps-section {
        position: relative;
    }
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
        counter-reset: step;
    }
    .step-item {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: var(--radius);
        padding: 32px 26px;
        position: relative;
        transition: var(--transition);
    }
    .step-item:hover {
        border-color: rgba(245, 158, 11, 0.35);
        box-shadow: var(--shadow-hover);
        transform: translateY(-4px);
    }
    .step-num {
        font-size: 56px;
        font-weight: 800;
        line-height: 1;
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.5), rgba(245, 158, 11, 0.1));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 16px;
        font-family: 'Inter', monospace;
    }
    .step-item h3 {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .step-item p {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.65;
    }
    .step-line {
        position: absolute;
        top: 55px;
        right: -14px;
        width: 28px;
        height: 2px;
        background: linear-gradient(90deg, rgba(245, 158, 11, 0.5), transparent);
    }
    .step-item:last-child .step-line {
        display: none;
    }
    .device-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .device-card {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: var(--radius);
        padding: 30px 28px;
        text-align: center;
        transition: var(--transition);
    }
    .device-card:hover {
        border-color: rgba(245, 158, 11, 0.3);
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }
    .device-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 18px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
        color: var(--accent);
    }
    .device-card h3 {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .device-card p {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.65;
    }
    .device-card .compat {
        display: inline-block;
        margin-top: 14px;
        padding: 4px 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        background: rgba(34, 197, 94, 0.1);
        color: #4ade80;
        border: 1px solid rgba(34, 197, 94, 0.2);
    }
    .split-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }
    .split-panel {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: var(--radius);
        padding: 36px 32px;
    }
    .split-panel h3 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .split-panel h3 i {
        color: var(--accent);
        font-size: 20px;
    }
    .check-list {
        margin-top: 8px;
    }
    .check-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        font-size: 15px;
        line-height: 1.6;
    }
    .check-list li:last-child {
        border-bottom: none;
    }
    .check-list i {
        color: #4ade80;
        font-size: 14px;
        margin-top: 4px;
        flex-shrink: 0;
    }
    .warn-list {
        margin-top: 8px;
    }
    .warn-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        font-size: 15px;
        line-height: 1.6;
    }
    .warn-list li:last-child {
        border-bottom: none;
    }
    .warn-list i {
        color: #fbbf24;
        font-size: 14px;
        margin-top: 4px;
        flex-shrink: 0;
    }
    .faq-wrap {
        max-width: 860px;
        margin: 0 auto;
    }
    .faq-item {
        background: var(--card-bg);
        border: 1px solid var(--card-border);
        border-radius: var(--radius-sm);
        margin-bottom: 16px;
        overflow: hidden;
        transition: var(--transition);
    }
    .faq-item.active {
        border-color: rgba(245, 158, 11, 0.3);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }
    .faq-question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 24px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 600;
        color: var(--text-main);
    }
    .faq-question i {
        color: var(--accent);
        font-size: 16px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    .faq-item.active .faq-question i {
        transform: rotate(45deg);
    }
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .faq-answer-inner {
        padding: 0 24px 22px;
        font-size: 14.5px;
        color: var(--text-muted);
        line-height: 1.75;
    }
    .cta-section {
        position: relative;
        padding: 80px 0;
        background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
        background-attachment: fixed;
    }
    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(11, 17, 32, 0.95), rgba(11, 17, 32, 0.7));
    }
    .cta-inner {
        position: relative;
        z-index: 2;
        text-align: center;
        max-width: 680px;
        margin: 0 auto;
    }
    .cta-inner h2 {
        font-size: 34px;
        font-weight: 800;
        margin-bottom: 16px;
    }
    .cta-inner p {
        font-size: 16px;
        color: rgba(241, 245, 249, 0.7);
        margin-bottom: 32px;
    }
    .cta-buttons {
        display: flex;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .site-footer {
        background: #0a0f1a;
        border-top: 1px solid var(--card-border);
        padding: 64px 0 24px;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
        margin-bottom: 48px;
    }
    .footer-brand p {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.7;
        margin-top: 14px;
        max-width: 360px;
    }
    .footer-col h4 {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 18px;
        letter-spacing: 0.5px;
    }
    .footer-col a {
        display: block;
        font-size: 14px;
        color: var(--text-muted);
        padding: 5px 0;
        transition: var(--transition);
    }
    .footer-col a:hover {
        color: var(--accent);
        padding-left: 4px;
    }
    .footer-bottom {
        border-top: 1px solid var(--card-border);
        padding-top: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        color: rgba(148, 163, 184, 0.5);
        flex-wrap: wrap;
        gap: 8px;
    }
    @media (max-width: 1024px) {
        .entry-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .steps-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        .step-line {
            display: none;
        }
        .device-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        .split-section {
            grid-template-columns: 1fr;
            gap: 24px;
        }
        .footer-grid {
            grid-template-columns: 1fr 1fr;
            gap: 36px;
        }
    }
    @media (max-width: 768px) {
        .container {
            padding: 0 16px;
        }
        .header-inner {
            height: 64px;
        }
        .main-nav {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            background: rgba(11, 17, 32, 0.98);
            backdrop-filter: blur(20px);
            flex-direction: column;
            padding: 20px;
            gap: 8px;
            transform: translateY(-150%);
            transition: transform 0.3s ease;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border-bottom: 1px solid var(--card-border);
            z-index: 999;
        }
        .main-nav.open {
            transform: translateY(0);
        }
        .nav-link {
            width: 100%;
            text-align: center;
            padding: 12px;
        }
        .nav-link.active::after {
            display: none;
        }
        .header-actions .search-box {
            display: none;
        }
        .menu-toggle {
            display: block;
        }
        .page-hero {
            padding: 70px 0 60px;
            background-attachment: scroll;
        }
        .page-hero h1 {
            font-size: 30px;
        }
        .page-hero p {
            font-size: 15px;
        }
        .section {
            padding: 60px 0;
        }
        .section-header {
            margin-bottom: 40px;
        }
        .section-header h2 {
            font-size: 26px;
        }
        .entry-grid {
            grid-template-columns: 1fr;
        }
        .steps-grid {
            grid-template-columns: 1fr;
        }
        .device-grid {
            grid-template-columns: 1fr;
        }
        .split-section {
            grid-template-columns: 1fr;
        }
        .split-panel {
            padding: 24px 20px;
        }
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 28px;
        }
        .footer-bottom {
            flex-direction: column;
            text-align: center;
        }
        .cta-section {
            padding: 60px 0;
            background-attachment: scroll;
        }
        .cta-inner h2 {
            font-size: 26px;
        }
    }
    @media (max-width: 520px) {
        .header-actions .btn-primary {
            padding: 7px 14px;
            font-size: 13px;
        }
        .page-hero h1 {
            font-size: 24px;
        }
        .hero-meta {
            gap: 10px;
        }
        .hero-tag {
            font-size: 12px;
            padding: 4px 10px;
        }
        .btn-primary,
        .btn-outline {
            padding: 8px 16px;
            font-size: 13px;
        }
    }

/* roulang page: article */
:root {
  --primary: #6C5CE7;
  --primary-light: #8B7CF8;
  --primary-dark: #5142C4;
  --accent: #00D2FF;
  --gold: #FFB800;
  --bg-dark: #0B0F19;
  --bg-card: #121A2B;
  --bg-card-hover: #172238;
  --border: #1E2A3D;
  --text-bright: #E8ECF4;
  --text-main: #B8C2D4;
  --text-muted: #6B7A90;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 16px 50px rgba(108, 92, 231, 0.18);
  --transition: all 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; border: none; outline: none; }
ul, ol { list-style: none; }
::selection { background: rgba(108, 92, 231, 0.4); color: #fff; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header / 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 42, 61, 0.65);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6C5CE7, #00D2FF);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}
.nav-link {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-link.active {
  color: #fff;
  background: rgba(108, 92, 231, 0.18);
  box-shadow: inset 0 0 0 1px rgba(108, 92, 231, 0.35);
}
.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.command-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 12px;
  height: 42px;
  width: 220px;
  color: var(--text-muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.command-search:focus-within {
  border-color: rgba(108, 92, 231, 0.6);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}
.command-search input {
  background: transparent;
  color: #fff;
  font-size: 13.5px;
  flex: 1;
  min-width: 0;
}
.command-search input::placeholder { color: var(--text-muted); }
.search-kbd {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.12); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #6C5CE7, #5142C4);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, #FFB800, #FF9500);
  color: #0B0F19;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 184, 0, 0.4);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, 0.1);
}
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: 14px; }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== 页面 Banner ===== */
.page-hero {
  position: relative;
  background: url('/assets/images/backpic/back-2.png') center / cover no-repeat;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.82), rgba(11, 15, 25, 0.95));
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { font-size: 11px; color: rgba(255, 255, 255, 0.25); }
.breadcrumb .current {
  color: var(--text-main);
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-hero h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 840px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--primary-light); font-size: 13px; }

/* ===== 文章布局 ===== */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  padding: 48px 0 40px;
}
.article-main { min-width: 0; }
.article-body {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
}
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  margin: 32px 0 16px;
  line-height: 1.4;
  position: relative;
  padding-left: 16px;
}
.article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 24px 0 12px;
}
.article-body p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 16px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.article-body ul li,
.article-body ol li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 8px;
  position: relative;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}
.article-body img {
  border-radius: var(--radius-md);
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.article-body blockquote {
  border-left: 3px solid var(--primary);
  background: rgba(108, 92, 231, 0.08);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  color: var(--text-main);
  font-size: 15px;
}
.article-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(0, 210, 255, 0.3);
  transition: var(--transition);
}
.article-body a:hover { color: #fff; border-color: var(--accent); }

/* 文章底部标签 / 分享 */
.article-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tags .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 4px;
}
.tag {
  display: inline-block;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  color: var(--text-main);
  transition: var(--transition);
}
.tag:hover {
  background: rgba(108, 92, 231, 0.25);
  color: #fff;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-share .share-label { font-size: 13px; color: var(--text-muted); }
.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.share-btn:hover { background: rgba(108, 92, 231, 0.2); color: #fff; transform: translateY(-2px); }

/* ===== 侧边栏 ===== */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.side-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-card h3 i {
  color: var(--primary-light);
  font-size: 15px;
}
.side-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}
.side-list a:hover {
  background: rgba(108, 92, 231, 0.1);
  color: #fff;
  transform: translateX(4px);
}
.side-list a i {
  width: 22px;
  text-align: center;
  color: var(--primary-light);
  font-size: 14px;
}
.side-cover-card {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
  position: relative;
}
.side-cover-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.side-cover-card:hover img { transform: scale(1.05); }
.side-cover-card .cover-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 12px 8px;
  background: linear-gradient(transparent, rgba(11, 15, 25, 0.9));
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 内容未找到 ===== */
.not-found {
  text-align: center;
  padding: 40px 20px;
}
.not-found i {
  font-size: 52px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.not-found h2 {
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.not-found p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ===== 相关推荐 ===== */
.related-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.section-header .subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.section-header .more-link {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.section-header .more-link:hover { color: var(--accent); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: block;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(108, 92, 231, 0.4);
}
.related-card .card-cover {
  height: 140px;
  overflow: hidden;
  position: relative;
}
.related-card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.related-card:hover .card-cover img { transform: scale(1.06); }
.related-card .card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 25, 0.4));
}
.related-card .card-body { padding: 18px; }
.related-card .card-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.related-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.5;
  transition: color 0.2s;
}
.related-card:hover h3 { color: var(--accent); }
.related-card .card-meta {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== FAQ ===== */
.faq-section .container { max-width: 880px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.faq-item:hover {
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-bright);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  background: rgba(108, 92, 231, 0.35);
  color: #fff;
}
.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  border-top: 1px solid var(--border);
  margin: 0 24px 0;
  padding: 16px 0 20px;
}

/* ===== CTA 区块 ===== */
.cta-section {
  position: relative;
  background: url('/assets/images/backpic/back-1.png') center / cover no-repeat;
  padding: 80px 0;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.85), rgba(11, 15, 25, 0.92));
  z-index: 1;
}
.cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-inner h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  line-height: 1.8;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #080C14;
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 340px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-col .tech-note {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .command-search { width: 180px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    margin: 0;
    z-index: 99;
  }
  .main-nav.active { transform: translateY(0); }
  .nav-link {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 15px;
    text-align: left;
  }
  .nav-actions .command-search { display: none; }
  .article-layout {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }
  .article-body { padding: 28px 22px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero { padding: 44px 0 36px; }
  .cta-inner h2 { font-size: 26px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .brand-text { font-size: 17px; }
  .brand-icon { width: 36px; height: 36px; font-size: 15px; }
  .btn-lg { padding: 12px 28px; font-size: 15px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-meta { gap: 12px; flex-direction: column; align-items: flex-start; }
  .page-hero h1 { font-size: 24px; }
  .section-header h2 { font-size: 22px; }
  .article-body { padding: 22px 16px; }
  .article-footer-bar { flex-direction: column; align-items: flex-start; }
}

/* roulang page: category2 */
:root {
    --primary: #00E5A0;
    --primary-600: #00C78C;
    --accent: #FF5C38;
    --accent-600: #E54A28;
    --bg: #0B0F16;
    --bg-soft: #101722;
    --card: #131C2B;
    --card-hover: #172334;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #E6EDF6;
    --text-muted: #8A94A6;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.25);
    --transition: all .3s cubic-bezier(.22, .61, .36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input {
    font-family: inherit;
    outline: none;
}

.container {
    width: min(1200px, 100% - 32px);
    margin-inline: auto;
}

@media (min-width: 640px) {
    .container {
        width: min(1200px, 100% - 64px);
    }
}

/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 22, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 74px;
    gap: 24px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.brand-logo i {
    color: var(--primary);
    font-size: 20px;
}

.brand-logo:hover i {
    transform: rotate(8deg) scale(1.08);
}

.main-nav {
    display: flex;
    gap: 4px;
    margin-left: 12px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(0, 229, 160, 0.1);
    border-color: rgba(0, 229, 160, 0.18);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 220px;
    padding: 8px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: rgba(0, 229, 160, 0.3);
    box-shadow: 0 0 0 4px rgba(0, 229, 160, 0.07);
    width: 260px;
}

.search-box input {
    background: none;
    border: none;
    flex: 1;
    font-size: 13px;
    color: var(--text);
    min-width: 0;
}

.search-box kbd {
    font-size: 11px;
    padding: 2px 6px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    font-size: 18px;
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #08120E;
}

.btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 229, 160, 0.28);
}

.btn-outline {
    border-color: var(--border-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ========== Hero ========== */
.page-hero {
    position: relative;
    padding: 92px 0 88px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11, 15, 22, 0.97) 0%, rgba(11, 15, 22, 0.8) 55%, rgba(11, 15, 22, 0.35) 100%);
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.hero-breadcrumb a:hover {
    color: var(--primary);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 229, 160, 0.1);
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========== Section ========== */
.section-block {
    padding: 80px 0;
    position: relative;
}

.section-block:nth-child(even) {
    background: var(--bg-soft);
}

.section-header {
    margin-bottom: 40px;
    max-width: 640px;
}

.section-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ========== Steps ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    position: relative;
    padding: 28px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 160, 0.25);
    box-shadow: var(--shadow-sm);
}

.step-card:hover::before {
    opacity: 1;
}

.step-num {
    font-size: 44px;
    font-weight: 900;
    color: rgba(0, 229, 160, 0.14);
    line-height: 1;
    font-family: 'Inter', monospace;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 13px;
}

/* ========== Tutorial Grid ========== */
.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tutorial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 160, 0.22);
    box-shadow: var(--shadow);
}

.tutorial-card .thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.tutorial-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tutorial-card:hover .thumb img {
    transform: scale(1.04);
}

.tutorial-card .thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11, 15, 22, 0.6) 100%);
}

.card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 12px;
    background: rgba(11, 15, 22, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta i {
    color: var(--primary);
    font-size: 13px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.card-link:hover {
    gap: 10px;
}

/* ========== Stats HUD ========== */
.stats-panel {
    position: relative;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.stats-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 229, 160, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 92, 56, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.stat-box {
    text-align: center;
    padding: 36px 20px;
    background: rgba(19, 28, 43, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-box:hover {
    border-color: rgba(0, 229, 160, 0.2);
    background: rgba(19, 28, 43, 0.9);
}

.stat-value {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 900;
    color: var(--primary);
    font-family: 'Inter', monospace;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ========== Guide List ========== */
.guide-list {
    display: grid;
    gap: 20px;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.guide-item:hover {
    border-color: rgba(0, 229, 160, 0.25);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.guide-num {
    font-size: 32px;
    font-weight: 900;
    color: rgba(0, 229, 160, 0.25);
    font-family: 'Inter', monospace;
    line-height: 1;
    min-width: 48px;
}

.guide-content {
    flex: 1;
}

.guide-content .meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.guide-content .meta i {
    color: var(--primary);
}

.guide-content h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.45;
}

.guide-content h3:hover {
    color: var(--primary);
}

.guide-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ========== Compare ========== */
.compare-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.compare-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--card);
}

.compare-card.mistake {
    border-color: rgba(255, 92, 56, 0.22);
}

.compare-card.good {
    border-color: rgba(0, 229, 160, 0.22);
}

.compare-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.compare-card.mistake h3 i {
    color: var(--accent);
}

.compare-card.good h3 i {
    color: var(--primary);
}

.compare-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.compare-list li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.compare-list li i {
    flex-shrink: 0;
    margin-top: 4px;
}

.compare-card.mistake li i {
    color: var(--accent);
}

.compare-card.good li i {
    color: var(--primary);
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 229, 160, 0.18);
}

.faq-item.active {
    border-color: rgba(0, 229, 160, 0.3);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
}

.faq-q i {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 13px;
    flex-shrink: 0;
}

.faq-item.active .faq-q i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.faq-a-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 0;
}

/* ========== CTA ========== */
.cta-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 22, 0.85);
}

.cta-box {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 56px 32px;
    background: rgba(19, 28, 43, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.xl\:grid-cols-4,
.stats-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .steps-grid,
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .search-box {
        width: 170px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }
    .main-nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        padding: 16px;
        background: rgba(11, 15, 22, 0.98);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.open {
        display: flex;
    }
    .nav-link {
        padding: 12px 16px;
    }
    .header-actions {
        margin-left: auto;
    }
    .search-box {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .page-hero {
        padding: 64px 0 56px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .section-block {
        padding: 56px 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .compare-wrapper {
        grid-template-columns: 1fr;
    }
    .guide-item {
        flex-direction: column;
        gap: 12px;
        padding: 24px;
    }
    .guide-num {
        font-size: 26px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 520px) {
    .steps-grid,
    .xl\:grid-cols-4 {
        grid-template-columns: 1fr;
    }
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-box {
        padding: 24px 12px;
    }
    .section-header h2 {
        font-size: 26px;
    }
    .brand-logo {
        font-size: 17px;
    }
    .header-actions .btn-sm {
        padding: 7px 12px;
        font-size: 12px;
    }
}

/* ========== Footer ========== */
.site-footer {
    background: #080C12;
    border-top: 1px solid var(--border);
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand .brand-logo {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
