/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --primary: #0f1b2d;
  --primary-light: #1a3050;
  --primary-dark: #070e1a;
  --secondary: #c99a3b;
  --secondary-light: #e8b84b;
  --secondary-dark: #a8802e;
  --accent: #2d8cf0;
  --bg: #f4f5f7;
  --bg-white: #ffffff;
  --bg-gray: #f0f1f3;
  --bg-dark: #0a1420;
  --text: #1a1a2e;
  --text-secondary: #3d4050;
  --text-light: #6b7280;
  --text-white: #f9fafb;
  --text-muted: #9ca3af;
  --border: #e2e4e8;
  --border-light: #eef0f2;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); }
p { margin-bottom: 1rem; color: var(--text-secondary); }
::selection { background: var(--secondary); color: var(--primary-dark); }

/* ===== Container ===== */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; }

/* ===== Utility ===== */
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--text-light); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.95rem; transition: var(--transition); border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--secondary); color: var(--primary-dark); border-color: var(--secondary);
}
.btn-primary:hover { background: var(--secondary-light); border-color: var(--secondary-light); color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-outline {
  background: transparent; color: var(--text-white); border-color: var(--text-white);
}
.btn-outline:hover { background: var(--text-white); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline:active { transform: translateY(0); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius); }
.btn-block { width: 100%; }

/* ===== Badge & Tag ===== */
.badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 0.8rem;
  font-weight: 600; background: rgba(201, 154, 59, 0.12); color: var(--secondary-dark);
  letter-spacing: 0.3px;
}
.tag {
  display: inline-block; padding: 3px 12px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 500; background: var(--bg-gray); color: var(--text-light);
  transition: var(--transition);
}
.tag:hover { background: var(--secondary); color: var(--primary-dark); }

/* ===== Header & Navigation ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 27, 45, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06); height: var(--header-height);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  gap: 16px;
}
.site-logo {
  font-size: 1.3rem; font-weight: 800; color: var(--text-white);
  letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0;
}
.site-logo span { color: var(--secondary); }
.site-logo:hover { color: var(--secondary-light); }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-links a {
  padding: 8px 16px; color: rgba(255,255,255,0.75); font-weight: 500;
  font-size: 0.92rem; border-radius: var(--radius-sm); transition: var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--text-white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--secondary); background: rgba(201, 154, 59, 0.1); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--secondary); border-radius: 2px;
}

/* Search bar (visual center) */
.search-wrap {
  flex: 1; max-width: 420px; margin: 0 12px; position: relative;
}
.search-wrap .search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.9rem; pointer-events: none;
}
.search-wrap input {
  width: 100%; padding: 10px 16px 10px 42px; border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.08);
  color: var(--text-white); font-size: 0.9rem; transition: var(--transition);
  outline: none;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap input:focus { border-color: var(--secondary); background: rgba(255,255,255,0.14); box-shadow: 0 0 0 3px rgba(201,154,59,0.15); }

/* Header CTA */
.header-cta {
  background: var(--secondary); color: var(--primary-dark); padding: 10px 22px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem;
  transition: var(--transition); white-space: nowrap; flex-shrink: 0;
}
.header-cta:hover { background: var(--secondary-light); color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

/* Mobile toggle */
.mobile-toggle { display: none; color: var(--text-white); font-size: 1.4rem; padding: 4px; cursor: pointer; flex-shrink: 0; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  background: var(--primary-dark); overflow: hidden; margin-top: var(--header-height);
}
.hero-bg {
  position: absolute; inset: 0; background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  opacity: 0.35; transform: scale(1.05); transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,27,45,0.85) 0%, rgba(15,27,45,0.6) 50%, rgba(10,20,32,0.8) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 60px 0; }
.hero-content .container { max-width: 860px; text-align: center; }
.hero-badge { display: inline-block; padding: 6px 20px; border-radius: 24px; background: rgba(201,154,59,0.15); color: var(--secondary-light); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(201,154,59,0.2); }
.hero h1 { color: var(--text-white); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--secondary); }
.hero p.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto 32px; line-height: 1.7; }
.hero-search-wrap { max-width: 560px; margin: 0 auto 28px; position: relative; }
.hero-search-wrap input {
  width: 100%; padding: 16px 24px 16px 52px; border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.1);
  color: var(--text-white); font-size: 1rem; outline: none; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.hero-search-wrap input::placeholder { color: rgba(255,255,255,0.45); }
.hero-search-wrap input:focus { border-color: var(--secondary); background: rgba(255,255,255,0.16); box-shadow: 0 0 0 4px rgba(201,154,59,0.12); }
.hero-search-wrap .hs-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.45); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--secondary); }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ===== Features Section ===== */
.features { background: var(--bg-white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card .icon-wrap {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,154,59,0.1); color: var(--secondary); font-size: 1.4rem;
  transition: var(--transition);
}
.feature-card:hover .icon-wrap { background: var(--secondary); color: var(--primary-dark); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 0; }

/* ===== Categories Section ===== */
.categories { background: var(--bg); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.cate-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-white); box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column;
}
.cate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cate-card .cate-img {
  height: 180px; background: var(--primary-light); position: relative; overflow: hidden;
}
.cate-card .cate-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cate-card:hover .cate-img img { transform: scale(1.05); }
.cate-card .cate-img .overlay {
  position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(15,27,45,0.7));
}
.cate-card .cate-body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.cate-card .cate-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cate-card .cate-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; flex: 1; }
.cate-card .cate-body .cate-link {
  font-weight: 600; color: var(--secondary-dark); font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.cate-card .cate-body .cate-link:hover { color: var(--secondary); gap: 10px; }
.cate-tag { position: absolute; top: 16px; left: 16px; z-index: 2; }

/* ===== Latest Posts Section ===== */
.latest-posts { background: var(--bg-white); }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.post-card {
  background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 24px; transition: var(--transition); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-card .post-cat { font-size: 0.78rem; font-weight: 600; color: var(--secondary-dark); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--secondary); }
.post-card .post-excerpt { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; flex: 1; }
.post-card .post-meta { display: flex; align-items: center; gap: 16px; font-size: 0.82rem; color: var(--text-muted); }
.post-card .post-meta i { margin-right: 4px; }
.empty-posts { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--text-light); background: var(--bg-gray); border-radius: var(--radius); }

/* ===== Process Section ===== */
.process { background: var(--bg-dark); position: relative; overflow: hidden; }
.process::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.08;
}
.process .section-title h2 { color: var(--text-white); }
.process .section-title p { color: rgba(255,255,255,0.55); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; position: relative; z-index: 1; }
.process-step { text-align: center; position: relative; }
.process-step .step-num {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(201,154,59,0.15); border: 2px solid var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--secondary);
  transition: var(--transition);
}
.process-step:hover .step-num { background: var(--secondary); color: var(--primary-dark); transform: scale(1.1); }
.process-step h4 { color: var(--text-white); font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 0; }
.process-step::after {
  content: '→'; position: absolute; right: -20px; top: 20px;
  font-size: 1.4rem; color: var(--secondary); opacity: 0.4;
}
.process-step:last-child::after { display: none; }

/* ===== FAQ Section ===== */
.faq { background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light); overflow: hidden; transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item summary {
  padding: 20px 24px; font-weight: 600; font-size: 1rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); list-style: none; transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.4rem; color: var(--secondary); font-weight: 400;
  transition: var(--transition); flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { content: '−'; transform: rotate(0); }
.faq-item[open] summary { background: rgba(201,154,59,0.04); }
.faq-item .faq-answer { padding: 0 24px 20px; color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ===== CTA Section ===== */
.cta-section {
  background: var(--primary); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  opacity: 0.1;
}
.cta-inner { position: relative; z-index: 1; text-align: center; padding: 80px 0; }
.cta-inner h2 { color: var(--text-white); margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; }
.cta-inner .btn { font-size: 1.05rem; padding: 16px 40px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.6); padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .site-logo { font-size: 1.1rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
  font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); border-color: var(--secondary); }
.footer-col h4 { color: var(--text-white); font-size: 0.95rem; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .section-padding { padding: 56px 0; }
  .section-title { margin-bottom: 32px; }

  .nav-links { display: none; }
  .search-wrap { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: block; }

  /* mobile nav open */
  .nav-open .nav-links {
    display: flex; flex-direction: column; position: fixed; top: var(--header-height);
    left: 0; right: 0; background: rgba(15,27,45,0.98); backdrop-filter: blur(16px);
    padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-xl);
  }
  .nav-open .nav-links a { padding: 12px 16px; font-size: 1rem; width: 100%; }
  .nav-open .search-wrap {
    display: block; max-width: 100%; margin: 12px 0 0; order: 10;
  }
  .nav-open .header-cta { display: inline-flex; margin-top: 12px; width: 100%; justify-content: center; }

  .hero { min-height: 70vh; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.6rem; }
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .categories-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .section-padding { padding: 40px 0; }
  .hero { min-height: 60vh; }
  .hero-content { padding: 40px 0; }
  .hero-search-wrap input { padding: 14px 16px 14px 42px; font-size: 0.92rem; }
  .process-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .faq-item summary { padding: 16px 18px; font-size: 0.92rem; }
  .faq-item .faq-answer { padding: 0 18px 16px; }
  .cta-inner { padding: 48px 0; }
  .footer-grid { gap: 24px; }
}

/* roulang page: category1 */
/* ===== Design Variables ===== */
        :root {
            --primary: #1a3a5c;
            --primary-dark: #0f2a44;
            --primary-light: #2a5a8c;
            --secondary: #e8a832;
            --secondary-light: #f0c060;
            --secondary-dark: #c88a1e;
            --accent: #3a9bd5;
            --bg-light: #f8f9fb;
            --bg-white: #ffffff;
            --bg-dark: #1a2a3a;
            --text-dark: #1e2a3a;
            --text-body: #3a4a5a;
            --text-muted: #7a8a9a;
            --text-light: #ffffff;
            --border-color: #e4e8ed;
            --border-light: #f0f2f5;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            --max-width: 1200px;
            --header-height: 72px;
        }

        /* ===== Reset & Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-family);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-body);
            background: var(--bg-light);
            -webkit-font-smoothing: antialiased;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--secondary); }
        ul, ol { list-style: none; }
        input, button, textarea { font-family: inherit; font-size: 1rem; border: none; outline: none; }
        button { cursor: pointer; background: none; }
        h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text-dark); font-weight: 700; }

        /* ===== Container ===== */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 768px) {
            .container { padding: 0 16px; }
        }

        /* ===== Header & Navigation ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: var(--bg-white);
            border-bottom: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            height: var(--header-height);
            transition: var(--transition);
        }
        .site-header.scrolled {
            box-shadow: var(--shadow-md);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--header-height);
            gap: 16px;
        }
        .site-logo {
            display: flex;
            align-items: center;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.3px;
            flex-shrink: 0;
        }
        .site-logo span {
            color: var(--secondary);
            font-weight: 700;
        }
        .site-logo i {
            color: var(--secondary);
            margin-right: 8px;
            font-size: 1.2rem;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            justify-content: flex-end;
        }
        .nav-links a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-body);
            transition: var(--transition);
            position: relative;
            white-space: nowrap;
        }
        .nav-links a:hover {
            color: var(--primary);
            background: rgba(26,58,92,0.06);
        }
        .nav-links a.active {
            color: var(--primary);
            background: rgba(26,58,92,0.08);
            font-weight: 600;
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 18px;
            right: 18px;
            height: 3px;
            background: var(--secondary);
            border-radius: 2px;
        }
        .search-wrap {
            position: relative;
            max-width: 260px;
            min-width: 180px;
            margin-left: 12px;
        }
        .search-wrap .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 0.85rem;
            pointer-events: none;
        }
        .search-wrap input {
            width: 100%;
            padding: 9px 14px 9px 38px;
            border-radius: 50px;
            border: 1px solid var(--border-color);
            background: var(--bg-light);
            font-size: 0.88rem;
            color: var(--text-dark);
            transition: var(--transition);
        }
        .search-wrap input:focus {
            border-color: var(--primary-light);
            background: var(--bg-white);
            box-shadow: 0 0 0 3px rgba(42,90,140,0.12);
        }
        .search-wrap input::placeholder {
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 6px;
            cursor: pointer;
            background: none;
            border: none;
        }
        .menu-toggle span {
            display: block;
            width: 26px;
            height: 2.5px;
            background: var(--primary);
            border-radius: 2px;
            transition: var(--transition);
        }

        @media (max-width: 820px) {
            .menu-toggle { display: flex; }
            .nav-links {
                position: fixed;
                top: var(--header-height);
                left: 0;
                right: 0;
                background: var(--bg-white);
                flex-direction: column;
                padding: 20px 24px 28px;
                gap: 6px;
                box-shadow: var(--shadow-lg);
                transform: translateY(-120%);
                opacity: 0;
                pointer-events: none;
                transition: var(--transition);
                border-bottom: 2px solid var(--border-color);
                align-items: stretch;
            }
            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-links a {
                padding: 12px 16px;
                border-radius: var(--radius-sm);
                text-align: center;
            }
            .nav-links a.active::after {
                display: none;
            }
            .nav-links a.active {
                background: rgba(26,58,92,0.08);
                border-left: 4px solid var(--secondary);
            }
            .search-wrap {
                max-width: 100%;
                margin-left: 0;
                margin-top: 8px;
            }
            .search-wrap input {
                padding: 12px 16px 12px 42px;
                font-size: 0.95rem;
            }
        }

        /* ===== Page Banner ===== */
        .page-banner {
            margin-top: var(--header-height);
            padding: 80px 0 70px;
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
            position: relative;
            overflow: hidden;
            min-height: 300px;
            display: flex;
            align-items: center;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.12;
            mix-blend-mode: overlay;
        }
        .page-banner::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 60px;
            background: var(--bg-light);
            clip-path: ellipse(70% 100% at 50% 100%);
        }
        .banner-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
        .banner-content .breadcrumb {
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 0.9rem;
            color: rgba(255,255,255,0.7);
            margin-bottom: 18px;
        }
        .banner-content .breadcrumb a {
            color: rgba(255,255,255,0.8);
        }
        .banner-content .breadcrumb a:hover {
            color: var(--secondary-light);
        }
        .banner-content .breadcrumb span {
            color: var(--secondary-light);
        }
        .banner-content h1 {
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
        .banner-content p {
            font-size: 1.1rem;
            color: rgba(255,255,255,0.85);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.7;
        }
        .banner-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 24px;
        }
        .banner-tags .tag {
            padding: 5px 16px;
            border-radius: 50px;
            background: rgba(255,255,255,0.12);
            color: rgba(255,255,255,0.9);
            font-size: 0.82rem;
            border: 1px solid rgba(255,255,255,0.15);
            backdrop-filter: blur(4px);
        }

        @media (max-width: 768px) {
            .page-banner { padding: 60px 0 50px; min-height: 240px; }
            .banner-content h1 { font-size: 1.8rem; }
            .banner-content p { font-size: 0.95rem; }
            .banner-tags .tag { font-size: 0.75rem; padding: 4px 12px; }
        }
        @media (max-width: 520px) {
            .page-banner { padding: 50px 0 40px; }
            .banner-content h1 { font-size: 1.5rem; }
        }

        /* ===== Section Shared ===== */
        .section {
            padding: 70px 0;
        }
        .section-alt {
            background: var(--bg-white);
        }
        .section-title {
            text-align: center;
            margin-bottom: 48px;
        }
        .section-title h2 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 12px;
        }
        .section-title p {
            font-size: 1.05rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }
        .section-title .title-accent {
            display: inline-block;
            width: 50px;
            height: 4px;
            background: var(--secondary);
            border-radius: 3px;
            margin-bottom: 16px;
        }

        @media (max-width: 768px) {
            .section { padding: 50px 0; }
            .section-title h2 { font-size: 1.5rem; }
            .section-title p { font-size: 0.92rem; }
            .section-title { margin-bottom: 32px; }
        }

        /* ===== Guide Steps ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 28px;
        }
        .step-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            padding: 32px 26px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
            position: relative;
            text-align: center;
        }
        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--secondary-light);
        }
        .step-card .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 18px;
        }
        .step-card h3 {
            font-size: 1.15rem;
            margin-bottom: 10px;
            color: var(--text-dark);
        }
        .step-card p {
            font-size: 0.92rem;
            color: var(--text-muted);
            line-height: 1.6;
        }
        .step-card .step-icon {
            font-size: 2rem;
            color: var(--secondary);
            margin-bottom: 14px;
        }

        @media (max-width: 600px) {
            .steps-grid { grid-template-columns: 1fr; }
        }

        /* ===== Content Cards ===== */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }
        .content-card {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .content-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .content-card .card-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: var(--border-color);
        }
        .content-card .card-body {
            padding: 22px 20px 24px;
        }
        .content-card .card-body .card-tag {
            display: inline-block;
            padding: 3px 12px;
            border-radius: 50px;
            background: rgba(232,168,50,0.12);
            color: var(--secondary-dark);
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 10px;
        }
        .content-card .card-body h3 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: var(--text-dark);
        }
        .content-card .card-body p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 14px;
        }
        .content-card .card-body .card-link {
            font-weight: 600;
            color: var(--primary-light);
            font-size: 0.9rem;
        }
        .content-card .card-body .card-link i {
            font-size: 0.75rem;
            margin-left: 4px;
            transition: var(--transition);
        }
        .content-card .card-body .card-link:hover i {
            transform: translateX(4px);
        }

        @media (max-width: 600px) {
            .cards-grid { grid-template-columns: 1fr; }
            .content-card .card-img { height: 150px; }
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: var(--border-color);
        }
        .faq-question {
            padding: 18px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            font-size: 1rem;
            background: none;
            width: 100%;
            text-align: left;
            gap: 16px;
        }
        .faq-question i {
            color: var(--secondary);
            transition: var(--transition);
            font-size: 0.85rem;
            flex-shrink: 0;
        }
        .faq-question.open i {
            transform: rotate(180deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 24px;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-answer.open {
            max-height: 300px;
            padding: 0 24px 20px;
        }
        .faq-answer p {
            margin-bottom: 8px;
        }
        .faq-answer p:last-child {
            margin-bottom: 0;
        }

        @media (max-width: 768px) {
            .faq-question { padding: 14px 16px; font-size: 0.92rem; }
            .faq-answer.open { padding: 0 16px 16px; }
        }

        /* ===== Resources / List ===== */
        .resource-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 16px;
        }
        .resource-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            background: var(--bg-white);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .resource-item:hover {
            border-color: var(--primary-light);
            box-shadow: var(--shadow-sm);
            transform: translateX(4px);
        }
        .resource-item .r-icon {
            width: 42px;
            height: 42px;
            border-radius: var(--radius-sm);
            background: rgba(232,168,50,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary);
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        .resource-item .r-content {
            flex: 1;
        }
        .resource-item .r-content h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 2px;
        }
        .resource-item .r-content p {
            font-size: 0.82rem;
            color: var(--text-muted);
        }
        .resource-item .r-arrow {
            color: var(--text-muted);
            font-size: 0.8rem;
            transition: var(--transition);
        }
        .resource-item:hover .r-arrow {
            color: var(--secondary);
            transform: translateX(4px);
        }

        @media (max-width: 600px) {
            .resource-list { grid-template-columns: 1fr; }
        }

        /* ===== CTA ===== */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
            padding: 70px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
            opacity: 0.08;
            mix-blend-mode: overlay;
        }
        .cta-section .container {
            position: relative;
            z-index: 2;
        }
        .cta-section h2 {
            font-size: 2rem;
            color: var(--text-light);
            margin-bottom: 12px;
        }
        .cta-section p {
            font-size: 1.05rem;
            color: rgba(255,255,255,0.85);
            max-width: 560px;
            margin: 0 auto 28px;
        }
        .cta-btn {
            display: inline-block;
            padding: 14px 40px;
            border-radius: 50px;
            background: var(--secondary);
            color: var(--primary-dark);
            font-weight: 700;
            font-size: 1.05rem;
            transition: var(--transition);
            border: none;
            box-shadow: 0 4px 16px rgba(232,168,50,0.35);
        }
        .cta-btn:hover {
            background: var(--secondary-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(232,168,50,0.45);
            color: var(--primary-dark);
        }
        .cta-btn i {
            margin-right: 8px;
        }

        @media (max-width: 768px) {
            .cta-section { padding: 50px 0; }
            .cta-section h2 { font-size: 1.5rem; }
            .cta-section p { font-size: 0.92rem; }
            .cta-btn { padding: 12px 32px; font-size: 0.95rem; }
        }

        /* ===== Features ===== */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 24px;
        }
        .feature-item {
            text-align: center;
            padding: 28px 20px;
            border-radius: var(--radius-md);
            background: var(--bg-white);
            border: 1px solid var(--border-light);
            transition: var(--transition);
        }
        .feature-item:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
        }
        .feature-item .fi-icon {
            font-size: 2.2rem;
            color: var(--secondary);
            margin-bottom: 14px;
        }
        .feature-item h3 {
            font-size: 1.05rem;
            margin-bottom: 6px;
            color: var(--text-dark);
        }
        .feature-item p {
            font-size: 0.88rem;
            color: var(--text-muted);
        }

        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-dark);
            color: rgba(255,255,255,0.75);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
            gap: 36px;
            padding-bottom: 40px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        .footer-brand .site-logo {
            color: #fff;
            font-size: 1.3rem;
            margin-bottom: 14px;
        }
        .footer-brand .site-logo span {
            color: var(--secondary);
        }
        .footer-brand p {
            font-size: 0.9rem;
            color: rgba(255,255,255,0.6);
            line-height: 1.7;
            margin-bottom: 18px;
            max-width: 320px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.7);
            font-size: 1rem;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: var(--secondary);
            color: var(--primary-dark);
            transform: translateY(-2px);
        }
        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 18px;
            position: relative;
            padding-bottom: 8px;
        }
        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 28px;
            height: 3px;
            background: var(--secondary);
            border-radius: 2px;
        }
        .footer-col ul li {
            margin-bottom: 10px;
        }
        .footer-col ul li a {
            color: rgba(255,255,255,0.65);
            font-size: 0.9rem;
            transition: var(--transition);
        }
        .footer-col ul li a:hover {
            color: var(--secondary-light);
            padding-left: 4px;
        }
        .footer-col ul li i {
            margin-right: 6px;
            color: var(--secondary);
            width: 18px;
            text-align: center;
        }
        .footer-bottom {
            padding: 22px 0;
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.45);
            border-top: 1px solid rgba(255,255,255,0.05);
        }
        .footer-bottom a {
            color: rgba(255,255,255,0.5);
        }
        .footer-bottom a:hover {
            color: var(--secondary-light);
        }

        @media (max-width: 900px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
            .footer-brand { grid-column: 1 / -1; }
        }
        @media (max-width: 520px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .site-footer { padding: 40px 0 0; }
        }

        /* ===== Back to Top ===== */
        .back-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            box-shadow: var(--shadow-md);
            z-index: 900;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: var(--transition);
            border: none;
        }
        .back-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .back-top:hover {
            background: var(--secondary);
            color: var(--primary-dark);
            transform: translateY(-3px);
        }

        /* ===== Responsive Fine-tune ===== */
        @media (max-width: 1024px) {
            .nav-links a { padding: 8px 12px; font-size: 0.88rem; }
            .search-wrap { max-width: 200px; min-width: 140px; }
        }
        @media (max-width: 520px) {
            .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .feature-item { padding: 20px 14px; }
            .feature-item .fi-icon { font-size: 1.6rem; }
            .feature-item h3 { font-size: 0.92rem; }
        }
        @media (max-width: 400px) {
            .features-grid { grid-template-columns: 1fr; }
        }

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #1a1a2e;
            --primary-light: #16213e;
            --primary-dark: #0f0f1a;
            --secondary: #d4a853;
            --secondary-light: #e8c46a;
            --secondary-dark: #b8913a;
            --accent: #c0392b;
            --bg-body: #f8f6f3;
            --bg-card: #ffffff;
            --bg-dark: #1a1a2e;
            --bg-soft: #f0ede8;
            --text-primary: #1e1e2a;
            --text-secondary: #4a4a5a;
            --text-weak: #8a8a9a;
            --text-white: #f5f3ef;
            --text-muted: #b0aeb8;
            --border-light: #e2dfd9;
            --border-card: #ece9e4;
            --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
            --shadow-md: 0 8px 28px rgba(26, 26, 46, 0.08);
            --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.12);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1200px;
            --header-height: 72px;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
        }

        /* ===== 基础重置 ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background: var(--bg-body);
            min-height: 100vh;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color var(--transition);
        }
        a:hover {
            color: var(--secondary);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--radius-sm);
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: 1rem;
            border: none;
            outline: none;
            transition: var(--transition);
        }
        ul,
        ol {
            list-style: none;
        }
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            line-height: 1.3;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* ===== 容器 ===== */
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 768px) {
            .container {
                padding: 0 16px;
            }
        }

        /* ===== 头部 & 导航 ===== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            background: rgba(26, 26, 46, 0.97);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(212, 168, 83, 0.15);
            z-index: 1000;
            transition: background var(--transition);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
            gap: 16px;
        }
        .site-logo {
            display: flex;
            align-items: center;
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-white);
            white-space: nowrap;
            letter-spacing: 0.02em;
        }
        .site-logo span {
            color: var(--secondary);
            margin: 0 2px;
        }
        .site-logo i {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-right: 8px;
        }
        .site-logo:hover {
            color: var(--text-white);
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .nav-links a {
            color: rgba(245, 243, 239, 0.75);
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all var(--transition);
            white-space: nowrap;
            position: relative;
        }
        .nav-links a:hover {
            color: var(--text-white);
            background: rgba(212, 168, 83, 0.12);
        }
        .nav-links a.active {
            color: var(--secondary);
            background: rgba(212, 168, 83, 0.15);
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 2px;
            background: var(--secondary);
            border-radius: 2px;
        }
        .search-wrap {
            position: relative;
            max-width: 240px;
            margin-left: 8px;
        }
        .search-wrap .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 0.8rem;
            pointer-events: none;
        }
        .search-wrap input {
            width: 100%;
            padding: 8px 12px 8px 34px;
            font-size: 0.85rem;
            border-radius: var(--radius-lg);
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-white);
            border: 1px solid rgba(212, 168, 83, 0.12);
            transition: all var(--transition);
        }
        .search-wrap input::placeholder {
            color: var(--text-muted);
            font-size: 0.8rem;
        }
        .search-wrap input:focus {
            background: rgba(255, 255, 255, 0.14);
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
        }
        .menu-toggle {
            display: none;
            background: none;
            color: var(--text-white);
            font-size: 1.4rem;
            padding: 4px 8px;
            cursor: pointer;
            border-radius: var(--radius-sm);
        }
        .menu-toggle:hover {
            background: rgba(212, 168, 83, 0.12);
        }
        @media (max-width: 820px) {
            .nav-links {
                position: fixed;
                top: var(--header-height);
                left: 0;
                width: 100%;
                flex-direction: column;
                background: rgba(26, 26, 46, 0.99);
                backdrop-filter: blur(16px);
                padding: 16px 24px 24px;
                gap: 6px;
                border-bottom: 1px solid rgba(212, 168, 83, 0.12);
                transform: translateY(-110%);
                opacity: 0;
                pointer-events: none;
                transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: var(--shadow-lg);
            }
            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-links a {
                width: 100%;
                padding: 12px 16px;
                font-size: 1rem;
            }
            .nav-links a.active::after {
                display: none;
            }
            .nav-links a.active {
                border-left: 3px solid var(--secondary);
                background: rgba(212, 168, 83, 0.1);
            }
            .search-wrap {
                max-width: 100%;
                margin-left: 0;
                margin-top: 8px;
                width: 100%;
            }
            .search-wrap input {
                padding: 10px 14px 10px 38px;
                font-size: 0.95rem;
            }
            .menu-toggle {
                display: block;
            }
            .header-inner {
                padding: 0 16px;
            }
        }
        @media (max-width: 520px) {
            :root {
                --header-height: 64px;
            }
            .site-logo {
                font-size: 1.1rem;
            }
            .site-logo i {
                font-size: 1.2rem;
                margin-right: 6px;
            }
        }

        /* ===== 移动端菜单遮罩 ===== */
        .nav-overlay {
            display: none;
            position: fixed;
            top: var(--header-height);
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.35);
            z-index: 999;
            backdrop-filter: blur(2px);
        }
        .nav-overlay.active {
            display: block;
        }
        @media (max-width: 820px) {
            .nav-overlay.active {
                display: block;
            }
        }

        /* ===== 主体 ===== */
        main {
            padding-top: var(--header-height);
            min-height: 70vh;
        }

        /* ===== 文章详情区 ===== */
        .article-section {
            padding: 48px 0 40px;
        }
        .article-wrapper {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 40px;
        }
        .article-main {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            padding: 40px 44px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-card);
        }
        .article-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--text-weak);
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .article-breadcrumb a {
            color: var(--text-weak);
            transition: color var(--transition);
        }
        .article-breadcrumb a:hover {
            color: var(--secondary);
        }
        .article-breadcrumb .sep {
            color: var(--text-muted);
            font-size: 0.7rem;
        }
        .article-breadcrumb .current {
            color: var(--text-secondary);
            font-weight: 500;
            max-width: 280px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .article-title {
            font-size: 2rem;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 16px;
            color: var(--primary);
        }
        .article-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 18px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-light);
            margin-bottom: 28px;
            font-size: 0.9rem;
            color: var(--text-weak);
        }
        .article-meta .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .article-meta .meta-item i {
            color: var(--secondary);
            font-size: 0.8rem;
        }
        .article-meta .category-badge {
            background: rgba(212, 168, 83, 0.12);
            color: var(--secondary-dark);
            padding: 2px 12px;
            border-radius: var(--radius-lg);
            font-size: 0.8rem;
            font-weight: 600;
        }
        .article-content {
            font-size: 1.05rem;
            line-height: 1.85;
            color: var(--text-secondary);
        }
        .article-content p {
            margin-bottom: 1.2em;
        }
        .article-content h2,
        .article-content h3 {
            margin-top: 1.6em;
            margin-bottom: 0.6em;
            color: var(--primary);
        }
        .article-content h2 {
            font-size: 1.5rem;
        }
        .article-content h3 {
            font-size: 1.25rem;
        }
        .article-content ul,
        .article-content ol {
            margin-bottom: 1.2em;
            padding-left: 1.6em;
        }
        .article-content ul li {
            list-style: disc;
            margin-bottom: 0.4em;
        }
        .article-content ol li {
            list-style: decimal;
            margin-bottom: 0.4em;
        }
        .article-content a {
            color: var(--secondary-dark);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-content a:hover {
            color: var(--primary);
        }
        .article-content blockquote {
            border-left: 4px solid var(--secondary);
            background: var(--bg-soft);
            padding: 12px 20px;
            margin: 1.2em 0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            color: var(--text-secondary);
        }
        .article-content img {
            margin: 1.5em auto;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
        }
        .article-content code {
            background: var(--bg-soft);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.9em;
            color: var(--accent);
        }
        .article-content pre {
            background: var(--primary);
            color: var(--text-white);
            padding: 20px 24px;
            border-radius: var(--radius-md);
            overflow-x: auto;
            margin: 1.2em 0;
            font-size: 0.9rem;
        }
        .article-content pre code {
            background: transparent;
            color: inherit;
            padding: 0;
        }
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.2em 0;
            font-size: 0.95rem;
        }
        .article-content th,
        .article-content td {
            padding: 10px 14px;
            border: 1px solid var(--border-light);
            text-align: left;
        }
        .article-content th {
            background: var(--bg-soft);
            font-weight: 600;
            color: var(--primary);
        }
        .article-content td {
            color: var(--text-secondary);
        }

        .article-not-found {
            text-align: center;
            padding: 60px 20px;
        }
        .article-not-found i {
            font-size: 3.5rem;
            color: var(--text-muted);
            margin-bottom: 20px;
        }
        .article-not-found h2 {
            font-size: 1.6rem;
            margin-bottom: 12px;
            color: var(--primary);
        }
        .article-not-found p {
            color: var(--text-weak);
            margin-bottom: 24px;
        }
        .article-not-found .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 32px;
            background: var(--primary);
            color: var(--text-white);
            border-radius: var(--radius-lg);
            font-weight: 600;
            transition: all var(--transition);
        }
        .article-not-found .btn-back:hover {
            background: var(--secondary);
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* ===== 侧栏 ===== */
        .article-sidebar {
            display: flex;
            flex-direction: column;
            gap: 28px;
        }
        .sidebar-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 24px 26px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-card);
        }
        .sidebar-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-card h3 i {
            color: var(--secondary);
        }
        .sidebar-list li {
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
        }
        .sidebar-list li:last-child {
            border-bottom: none;
        }
        .sidebar-list a {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.5;
            transition: color var(--transition);
        }
        .sidebar-list a:hover {
            color: var(--secondary-dark);
        }
        .sidebar-list a .num {
            color: var(--text-muted);
            font-size: 0.8rem;
            font-weight: 600;
            min-width: 22px;
        }
        .sidebar-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .sidebar-tags a {
            display: inline-block;
            padding: 4px 14px;
            font-size: 0.8rem;
            border-radius: var(--radius-lg);
            background: var(--bg-soft);
            color: var(--text-secondary);
            border: 1px solid var(--border-light);
            transition: all var(--transition);
        }
        .sidebar-tags a:hover {
            background: var(--secondary);
            color: var(--primary);
            border-color: var(--secondary);
            transform: translateY(-1px);
        }
        .sidebar-cta {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            border-color: transparent;
            color: var(--text-white);
            text-align: center;
        }
        .sidebar-cta h3 {
            color: var(--secondary);
            justify-content: center;
        }
        .sidebar-cta p {
            color: rgba(245, 243, 239, 0.8);
            font-size: 0.9rem;
            margin-bottom: 18px;
        }
        .sidebar-cta .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 28px;
            background: var(--secondary);
            color: var(--primary);
            border-radius: var(--radius-lg);
            font-weight: 600;
            font-size: 0.9rem;
            transition: all var(--transition);
        }
        .sidebar-cta .btn-cta:hover {
            background: var(--secondary-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(212, 168, 83, 0.25);
        }

        @media (max-width: 1024px) {
            .article-wrapper {
                grid-template-columns: 1fr;
            }
            .article-sidebar {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
            .sidebar-cta {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 768px) {
            .article-section {
                padding: 24px 0 28px;
            }
            .article-main {
                padding: 24px 20px;
                border-radius: var(--radius-md);
            }
            .article-title {
                font-size: 1.5rem;
            }
            .article-meta {
                gap: 12px;
                font-size: 0.82rem;
                padding-bottom: 16px;
                margin-bottom: 20px;
            }
            .article-content {
                font-size: 1rem;
            }
            .article-sidebar {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 520px) {
            .article-main {
                padding: 18px 14px;
            }
            .article-title {
                font-size: 1.25rem;
            }
            .article-breadcrumb {
                font-size: 0.78rem;
            }
            .article-breadcrumb .current {
                max-width: 140px;
            }
        }

        /* ===== 上一篇 / 下一篇 ===== */
        .article-nav {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            margin-top: 36px;
            padding-top: 24px;
            border-top: 1px solid var(--border-light);
            flex-wrap: wrap;
        }
        .article-nav a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 18px;
            border-radius: var(--radius-md);
            background: var(--bg-soft);
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all var(--transition);
            max-width: 45%;
        }
        .article-nav a:hover {
            background: var(--secondary);
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }
        .article-nav a .dir {
            color: var(--text-weak);
            font-size: 0.8rem;
        }
        .article-nav a:hover .dir {
            color: var(--primary);
        }
        .article-nav .nav-next {
            text-align: right;
            flex-direction: row-reverse;
        }
        @media (max-width: 520px) {
            .article-nav a {
                max-width: 100%;
                width: 100%;
                justify-content: center;
            }
            .article-nav .nav-next {
                flex-direction: row;
                justify-content: center;
            }
        }

        /* ===== 分享区 ===== */
        .article-share {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--border-light);
            flex-wrap: wrap;
        }
        .article-share span {
            font-size: 0.9rem;
            color: var(--text-weak);
            font-weight: 500;
        }
        .article-share a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-soft);
            color: var(--text-secondary);
            font-size: 0.95rem;
            transition: all var(--transition);
            border: 1px solid var(--border-light);
        }
        .article-share a:hover {
            background: var(--secondary);
            color: var(--primary);
            border-color: var(--secondary);
            transform: translateY(-2px);
        }

        /* ===== 相关推荐 ===== */
        .related-section {
            padding: 32px 0 48px;
            background: var(--bg-soft);
        }
        .related-section .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 28px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .related-section .section-title i {
            color: var(--secondary);
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
        }
        .related-card {
            background: var(--bg-card);
            border-radius: var(--radius-md);
            padding: 20px 22px;
            border: 1px solid var(--border-card);
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }
        .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--secondary);
        }
        .related-card .rc-cat {
            font-size: 0.75rem;
            color: var(--secondary-dark);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 6px;
        }
        .related-card h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .related-card h4 a {
            color: var(--primary);
        }
        .related-card h4 a:hover {
            color: var(--secondary-dark);
        }
        .related-card p {
            font-size: 0.88rem;
            color: var(--text-weak);
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card .rc-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 12px;
            font-size: 0.78rem;
            color: var(--text-muted);
        }
        @media (max-width: 768px) {
            .related-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 520px) {
            .related-grid {
                grid-template-columns: 1fr;
            }
            .related-section .section-title {
                font-size: 1.25rem;
            }
        }

        /* ===== FAQ 区块 ===== */
        .faq-section {
            padding: 48px 0;
            background: var(--bg-card);
        }
        .faq-section .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-align: center;
            margin-bottom: 12px;
        }
        .faq-section .section-sub {
            text-align: center;
            color: var(--text-weak);
            margin-bottom: 36px;
            font-size: 1rem;
        }
        .faq-grid {
            max-width: 780px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: var(--bg-soft);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            overflow: hidden;
            transition: all var(--transition);
        }
        .faq-item:hover {
            border-color: var(--secondary);
        }
        .faq-item .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 22px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.98rem;
            color: var(--text-primary);
            gap: 12px;
            user-select: none;
            transition: background var(--transition);
        }
        .faq-item .faq-question:hover {
            background: rgba(212, 168, 83, 0.06);
        }
        .faq-item .faq-question i {
            color: var(--secondary);
            font-size: 0.85rem;
            transition: transform var(--transition);
            flex-shrink: 0;
        }
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }
        .faq-item .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.3s ease;
            padding: 0 22px;
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.7;
        }
        .faq-item.active .faq-answer {
            max-height: 300px;
            padding: 0 22px 18px;
        }
        @media (max-width: 768px) {
            .faq-section {
                padding: 32px 0;
            }
            .faq-item .faq-question {
                padding: 14px 16px;
                font-size: 0.9rem;
            }
            .faq-item .faq-answer {
                padding: 0 16px;
                font-size: 0.85rem;
            }
            .faq-item.active .faq-answer {
                padding: 0 16px 14px;
            }
        }

        /* ===== CTA ===== */
        .cta-section {
            padding: 56px 0;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--text-white);
            text-align: center;
        }
        .cta-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 12px;
        }
        .cta-section p {
            color: rgba(245, 243, 239, 0.85);
            font-size: 1.05rem;
            max-width: 600px;
            margin: 0 auto 28px;
        }
        .cta-section .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 40px;
            background: var(--secondary);
            color: var(--primary);
            border-radius: var(--radius-lg);
            font-weight: 700;
            font-size: 1.05rem;
            transition: all var(--transition);
        }
        .cta-section .btn-cta:hover {
            background: var(--secondary-light);
            transform: translateY(-3px);
            box-shadow: 0 12px 36px rgba(212, 168, 83, 0.3);
        }
        @media (max-width: 768px) {
            .cta-section {
                padding: 40px 0;
            }
            .cta-section h2 {
                font-size: 1.4rem;
            }
            .cta-section p {
                font-size: 0.95rem;
            }
            .cta-section .btn-cta {
                padding: 12px 28px;
                font-size: 0.95rem;
            }
        }

        /* ===== 页脚 ===== */
        .site-footer {
            background: var(--primary-dark);
            color: rgba(245, 243, 239, 0.8);
            padding: 48px 0 28px;
            border-top: 1px solid rgba(212, 168, 83, 0.1);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
            gap: 36px;
            margin-bottom: 36px;
        }
        .footer-brand .site-logo {
            font-size: 1.3rem;
            margin-bottom: 12px;
            display: inline-flex;
        }
        .footer-brand p {
            font-size: 0.88rem;
            color: rgba(245, 243, 239, 0.65);
            line-height: 1.7;
            margin-bottom: 16px;
            max-width: 320px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(212, 168, 83, 0.1);
            color: var(--secondary);
            font-size: 1.1rem;
            transition: all var(--transition);
            border: 1px solid rgba(212, 168, 83, 0.15);
        }
        .footer-social a:hover {
            background: var(--secondary);
            color: var(--primary);
            transform: translateY(-3px);
        }
        .footer-col h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 16px;
            letter-spacing: 0.02em;
        }
        .footer-col ul li {
            margin-bottom: 10px;
        }
        .footer-col ul li a {
            color: rgba(245, 243, 239, 0.65);
            font-size: 0.88rem;
            transition: color var(--transition);
        }
        .footer-col ul li a:hover {
            color: var(--secondary);
        }
        .footer-col ul li i {
            margin-right: 6px;
            color: var(--secondary);
            font-size: 0.8rem;
        }
        .footer-bottom {
            border-top: 1px solid rgba(212, 168, 83, 0.08);
            padding-top: 20px;
            text-align: center;
            font-size: 0.82rem;
            color: rgba(245, 243, 239, 0.45);
        }
        @media (max-width: 900px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 28px;
            }
            .footer-brand {
                grid-column: 1 / -1;
            }
        }
        @media (max-width: 520px) {
            .site-footer {
                padding: 32px 0 20px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-brand {
                grid-column: 1;
            }
            .footer-bottom {
                font-size: 0.75rem;
            }
        }

        /* ===== 工具类 ===== */
        .text-center {
            text-align: center;
        }
        .mt-16 {
            margin-top: 16px;
        }
        .mt-24 {
            margin-top: 24px;
        }
        .mb-16 {
            margin-bottom: 16px;
        }
        .mb-24 {
            margin-bottom: 24px;
        }

        /* ===== 空状态 ===== */
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-weak);
        }
        .empty-state i {
            font-size: 2.5rem;
            color: var(--text-muted);
            margin-bottom: 16px;
        }
        .empty-state p {
            font-size: 0.95rem;
        }

        /* ===== 打印优化 ===== */
        @media print {
            .site-header,
            .site-footer,
            .sidebar-card,
            .related-section,
            .faq-section,
            .cta-section,
            .article-share,
            .article-nav,
            .search-wrap,
            .menu-toggle {
                display: none !important;
            }
            .article-wrapper {
                grid-template-columns: 1fr;
            }
            .article-main {
                box-shadow: none;
                border: none;
                padding: 0;
            }
            main {
                padding-top: 0;
            }
            body {
                background: #fff;
                font-size: 12pt;
            }
        }
