/* roulang page: index */
/* ===== Design Variables ===== */
:root {
  --clr-primary: #6c5ce7;
  --clr-primary-light: #a29bfe;
  --clr-primary-dark: #3d2e8e;
  --clr-accent: #fdcb6e;
  --clr-accent-light: #ffeaa7;
  --clr-bg: #0a0e1a;
  --clr-bg-alt: #111627;
  --clr-bg-card: #1a1f36;
  --clr-bg-card-hover: #222a47;
  --clr-text: #e8e8f0;
  --clr-text-muted: #8a8fa8;
  --clr-border: #2a2f4a;
  --clr-border-light: #3a3f5a;
  --clr-white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(108,92,231,0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
  --header-height: 72px;
}
/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--clr-primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--clr-accent); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--clr-white); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--clr-text-muted); }
/* ===== Container ===== */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
/* ===== Header / Nav ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}
.header.scrolled { background: rgba(10, 14, 26, 0.96); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; color: var(--clr-white); letter-spacing: 0.5px; }
.logo i { color: var(--clr-accent); font-size: 1.6rem; }
.logo span { background: linear-gradient(135deg, var(--clr-white) 0%, var(--clr-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { position: relative; padding: 8px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--clr-text-muted); transition: var(--transition); }
.nav a:hover { color: var(--clr-white); background: rgba(255,255,255,0.06); }
.nav a.active { color: var(--clr-white); background: rgba(108,92,231,0.2); }
.nav a.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; border-radius: 2px; background: var(--clr-accent); }
.nav-cta { padding: 8px 22px !important; background: var(--clr-primary) !important; color: var(--clr-white) !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--clr-primary-light) !important; transform: translateY(-1px); box-shadow: var(--shadow-glow) !important; }
.mobile-toggle { display: none; background: none; border: none; color: var(--clr-white); font-size: 1.5rem; cursor: pointer; padding: 8px; }
/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  padding-top: var(--header-height); overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,14,26,0.88) 0%, rgba(10,14,26,0.6) 50%, rgba(10,14,26,0.88) 100%); z-index: 1; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(108,92,231,0.15) 0%, transparent 70%); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; padding: 60px 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 50px; background: rgba(108,92,231,0.2); border: 1px solid rgba(108,92,231,0.3); font-size: 0.85rem; color: var(--clr-primary-light); margin-bottom: 24px; }
.hero-badge i { font-size: 0.75rem; color: var(--clr-accent); }
.hero h1 { margin-bottom: 20px; background: linear-gradient(135deg, var(--clr-white) 0%, var(--clr-accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: var(--clr-text-muted); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--clr-primary); color: var(--clr-white); box-shadow: 0 4px 20px rgba(108,92,231,0.35); }
.btn-primary:hover { background: var(--clr-primary-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,92,231,0.45); color: var(--clr-white); }
.btn-outline { background: transparent; color: var(--clr-white); border: 1.5px solid var(--clr-border-light); }
.btn-outline:hover { border-color: var(--clr-primary); background: rgba(108,92,231,0.1); transform: translateY(-2px); color: var(--clr-white); }
.btn-accent { background: var(--clr-accent); color: #0a0e1a; }
.btn-accent:hover { background: var(--clr-accent-light); transform: translateY(-2px); color: #0a0e1a; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; margin-top: 50px; }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--clr-white); }
.hero-stat-label { font-size: 0.85rem; color: var(--clr-text-muted); margin-top: 4px; }
/* ===== Section ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--clr-bg-alt); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-tag { display: inline-block; padding: 4px 14px; border-radius: 50px; background: rgba(108,92,231,0.15); border: 1px solid rgba(108,92,231,0.2); font-size: 0.8rem; color: var(--clr-primary-light); margin-bottom: 16px; letter-spacing: 0.5px; }
/* ===== Features / Cards ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--clr-bg-card); border-radius: var(--radius-md); padding: 32px 28px; border: 1px solid var(--clr-border); transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); border-color: var(--clr-primary); box-shadow: var(--shadow-lg), var(--shadow-glow); background: var(--clr-bg-card-hover); }
.feature-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; background: rgba(108,92,231,0.15); color: var(--clr-primary-light); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }
/* ===== Cover Cards ===== */
.cover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cover-card { border-radius: var(--radius-md); overflow: hidden; background: var(--clr-bg-card); border: 1px solid var(--clr-border); transition: var(--transition); }
.cover-card:hover { transform: translateY(-4px); border-color: var(--clr-primary); box-shadow: var(--shadow-lg); }
.cover-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.cover-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.cover-card:hover .cover-card-img img { transform: scale(1.05); }
.cover-card-body { padding: 20px 22px 24px; }
.cover-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cover-card-body p { font-size: 0.9rem; margin-bottom: 0; }
.cover-card-tag { display: inline-block; padding: 2px 12px; border-radius: 50px; font-size: 0.75rem; background: rgba(108,92,231,0.15); color: var(--clr-primary-light); margin-bottom: 10px; }
/* ===== Process / Steps ===== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; counter-reset: step; }
.process-step { text-align: center; position: relative; }
.process-step::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--clr-primary); color: var(--clr-white); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px rgba(108,92,231,0.3); }
.process-step-icon { font-size: 2.2rem; color: var(--clr-accent); margin: 30px 0 16px; }
.process-step h4 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; margin-bottom: 0; }
/* ===== Latest Posts ===== */
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--clr-bg-card); border-radius: var(--radius-md); padding: 24px 26px; border: 1px solid var(--clr-border); transition: var(--transition); }
.post-card:hover { transform: translateY(-3px); border-color: var(--clr-primary-light); box-shadow: var(--shadow-md); }
.post-card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--clr-text-muted); margin-bottom: 10px; }
.post-card-meta .category { color: var(--clr-accent); font-weight: 500; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--clr-white); }
.post-card h3 a:hover { color: var(--clr-primary-light); }
.post-card p { font-size: 0.9rem; margin-bottom: 0; }
.post-empty { text-align: center; padding: 40px; color: var(--clr-text-muted); font-size: 1rem; grid-column: 1 / -1; }
/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--clr-bg-card); border-radius: var(--radius-md); border: 1px solid var(--clr-border); overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--clr-border-light); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; font-weight: 500; color: var(--clr-white); font-size: 1rem; transition: var(--transition); }
.faq-question i { transition: var(--transition); color: var(--clr-text-muted); font-size: 0.9rem; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--clr-primary-light); }
.faq-answer { padding: 0 24px 18px; font-size: 0.92rem; color: var(--clr-text-muted); display: none; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, #111627 0%, #1a1f36 100%); border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border); }
.cta-inner { text-align: center; padding: 60px 24px; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
/* ===== Footer ===== */
.footer { background: var(--clr-bg-alt); border-top: 1px solid var(--clr-border); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--clr-white); }
.footer-col a { display: block; font-size: 0.88rem; color: var(--clr-text-muted); padding: 4px 0; }
.footer-col a:hover { color: var(--clr-primary-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--clr-border); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--clr-text-muted); }
.footer-bottom a { color: var(--clr-text-muted); }
.footer-bottom a:hover { color: var(--clr-accent); }
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; background: rgba(10,14,26,0.98); backdrop-filter: blur(16px); flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--clr-border); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 16px; }
  .mobile-toggle { display: block; }
  .hero { min-height: 90vh; }
  .hero-stats { gap: 24px; }
  .hero-stat-number { font-size: 1.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .cover-grid { grid-template-columns: 1fr; }
  .post-list { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 520px) {
  .section { padding: 48px 0; }
  .hero-content { padding: 40px 16px; }
  .hero p { font-size: 1rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
}
/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* roulang page: category1 */
/* ===== Design Variables ===== */
:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a78bfa;
  --primary-glow: rgba(124, 58, 237, 0.35);
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --bg-dark: #0f0e17;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1f1f3a;
  --bg-section-alt: #15132b;
  --text-primary: #f5f3ff;
  --text-secondary: #c4b5fd;
  --text-muted: #8b8ba7;
  --border-color: #2d2b55;
  --border-glow: rgba(124, 58, 237, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --nav-height: 68px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: #fff; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
p { color: var(--text-secondary); margin-bottom: 1rem; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section-alt); }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--primary-light); text-transform: uppercase;
  background: rgba(124,58,237,0.12); padding: 6px 16px;
  border-radius: 50px; border: 1px solid rgba(124,58,237,0.2);
  margin-bottom: 16px;
}
.section-title { margin-bottom: 12px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; margin-bottom: 40px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.fade-in { opacity: 0; transform: translateY(24px); animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ===== Navigation ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,14,23,0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(45,43,85,0.4);
  height: var(--nav-height);
  transition: var(--transition);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700; color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo i { color: var(--primary-light); font-size: 1.3rem; }
.nav-logo span { background: linear-gradient(135deg, #fff 60%, var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 18px; border-radius: 50px; font-size: 0.88rem; font-weight: 500;
  color: var(--text-secondary); transition: var(--transition);
  position: relative;
}
.nav-links a:hover { color: #fff; background: rgba(124,58,237,0.1); }
.nav-links a.active {
  color: #fff; background: rgba(124,58,237,0.18);
  box-shadow: 0 0 20px rgba(124,58,237,0.1);
}
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; border-radius: 2px; background: var(--primary-light);
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important; padding: 8px 22px !important; border-radius: 50px !important;
  font-weight: 600 !important; box-shadow: 0 4px 20px rgba(124,58,237,0.3);
  display: flex; align-items: center; gap: 8px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.4); }
.nav-toggle { display: none; background: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 6px; }

/* ===== Hero / Banner (分类页) ===== */
.category-hero {
  padding: 120px 0 70px; margin-top: var(--nav-height);
  background: linear-gradient(160deg, #0f0e17 0%, #1a1a2e 50%, #0f0e17 100%);
  position: relative; overflow: hidden;
}
.category-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.10; pointer-events: none;
}
.category-hero::after {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.category-hero .hero-content { position: relative; z-index: 2; }
.category-hero .hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.25);
  padding: 5px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 500;
  color: var(--primary-light); margin-bottom: 18px;
}
.category-hero h1 { margin-bottom: 16px; }
.category-hero h1 i { color: var(--accent); margin-right: 8px; }
.category-hero .hero-desc {
  font-size: 1.1rem; color: var(--text-muted); max-width: 680px;
  line-height: 1.8; margin-bottom: 24px;
}
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 20px; }
.hero-stat { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-secondary); }
.hero-stat i { color: var(--primary-light); font-size: 1.1rem; }
.hero-stat strong { color: #fff; font-weight: 700; }

/* ===== Guide Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 20px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 32px 24px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.step-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.step-number {
  font-size: 2.6rem; font-weight: 800; color: rgba(124,58,237,0.12);
  position: absolute; top: 12px; right: 20px; line-height: 1;
}
.step-card .icon { font-size: 1.8rem; color: var(--primary-light); margin-bottom: 14px; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== Platform Cards ===== */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 36px 28px 30px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.platform-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: var(--transition);
}
.platform-card:hover { transform: translateY(-6px); border-color: rgba(124,58,237,0.3); box-shadow: var(--shadow-glow); }
.platform-card:hover::before { opacity: 1; }
.platform-card .plat-icon { font-size: 2rem; color: var(--primary-light); margin-bottom: 14px; }
.platform-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.platform-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.platform-card .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-card .tag {
  font-size: 0.72rem; font-weight: 500; padding: 3px 12px; border-radius: 50px;
  background: rgba(124,58,237,0.1); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.15);
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: rgba(124,58,237,0.2); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer; font-size: 1rem; font-weight: 600;
  color: #fff; background: none; width: 100%; text-align: left;
  transition: var(--transition);
}
.faq-question i { color: var(--primary-light); font-size: 0.85rem; transition: var(--transition); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  padding: 0 24px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ===== CTA ===== */
.cta-block {
  background: linear-gradient(145deg, #1a1a2e, #15132b);
  border: 1px solid rgba(124,58,237,0.2); border-radius: var(--radius-xl);
  padding: 56px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  opacity: 0.04; pointer-events: none;
}
.cta-block h2 { margin-bottom: 12px; }
.cta-block p { max-width: 560px; margin: 0 auto 28px; color: var(--text-muted); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 6px 28px rgba(124,58,237,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(124,58,237,0.4); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text-secondary); border: 1px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--primary); color: #fff; background: rgba(124,58,237,0.08); transform: translateY(-2px); }

/* ===== Related Content ===== */
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.content-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--transition);
}
.content-card:hover { transform: translateY(-5px); border-color: rgba(124,58,237,0.25); box-shadow: var(--shadow-glow); }
.content-card .card-img {
  width: 100%; height: 170px; object-fit: cover; display: block;
  background: var(--bg-section-alt);
}
.content-card .card-body { padding: 20px 22px 24px; }
.content-card .card-tag {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--primary-light); background: rgba(124,58,237,0.1); padding: 2px 12px; border-radius: 50px; display: inline-block; margin-bottom: 8px;
}
.content-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.content-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }
.content-card .card-link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 500; color: var(--primary-light); }
.content-card .card-link i { font-size: 0.75rem; }

/* ===== Footer ===== */
.footer {
  background: #0b0a13; border-top: 1px solid rgba(45,43,85,0.3);
  padding: 56px 0 32px; margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand .logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-brand .logo i { color: var(--primary-light); }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); max-width: 300px; }
.footer-col h4 { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-muted); padding: 4px 0; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(45,43,85,0.3); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .category-hero { padding: 100px 0 50px; }
}
@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav-links { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(15,14,23,0.96); backdrop-filter: blur(18px); flex-direction: column; padding: 16px 24px 24px; border-bottom: 1px solid var(--border-color); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 16px; }
  .nav-cta { justify-content: center; }
  .nav-toggle { display: block; }
  .hero-stats { flex-direction: column; gap: 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 40px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .category-hero h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .category-hero { padding: 80px 0 40px; }
  .category-hero .hero-desc { font-size: 0.95rem; }
  .step-card { padding: 24px 18px 22px; }
  .platform-card { padding: 28px 18px 24px; }
  .faq-question { padding: 14px 16px; font-size: 0.92rem; }
  .faq-answer { font-size: 0.85rem; }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
        :root {
            --primary: #7c3aed;
            --primary-light: #a78bfa;
            --primary-dark: #5b21b6;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --accent-dark: #d97706;
            --bg-deep: #07070f;
            --bg-dark: #0d0d1a;
            --bg-card: #13132a;
            --bg-card-hover: #1a1a3a;
            --bg-elevated: #1c1c3a;
            --text-primary: #f1f5f9;
            --text-secondary: #c4b5fd;
            --text-muted: #7c7caa;
            --border-color: rgba(124, 58, 237, 0.15);
            --border-light: rgba(255, 255, 255, 0.06);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 22px;
            --radius-xl: 32px;
            --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 58, 237, 0.08);
            --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(124, 58, 237, 0.2);
            --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --nav-height: 72px;
        }

        /* ===== Reset / Base ===== */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
        body {
            font-family: var(--font-sans);
            background: var(--bg-deep);
            color: var(--text-primary);
            line-height: 1.7;
            min-height: 100vh;
        }
        a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
        a:hover { color: var(--accent-light); }
        img { max-width: 100%; height: auto; display: block; }
        button, input, textarea { font-family: inherit; font-size: inherit; }
        ul, ol { list-style: none; }

        /* ===== 容器 ===== */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .container-narrow {
            max-width: 820px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ===== 导航 ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(7, 7, 15, 0.85);
            backdrop-filter: blur(20px) saturate(1.8);
            border-bottom: 1px solid var(--border-light);
            height: var(--nav-height);
            transition: var(--transition);
        }
        .header.scrolled {
            background: rgba(7, 7, 15, 0.96);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        }
        .nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--nav-height);
            gap: 12px;
        }
        .nav .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.3px;
        }
        .nav .logo i {
            color: var(--accent);
            font-size: 1.4rem;
        }
        .nav .logo span {
            background: linear-gradient(135deg, #f1f5f9, #c4b5fd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .nav-links a {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }
        .nav-links a:hover {
            color: var(--text-primary);
            background: rgba(124, 58, 237, 0.1);
        }
        .nav-links a.active {
            color: #fff;
            background: rgba(124, 58, 237, 0.2);
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.08);
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
        }
        .nav-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 22px !important;
            border-radius: var(--radius-sm) !important;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
            color: #fff !important;
            font-weight: 600 !important;
            box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3) !important;
            border: none !important;
        }
        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45) !important;
            background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
            color: #fff !important;
        }
        .nav-cta i {
            font-size: 0.85rem;
            transition: transform 0.3s;
        }
        .nav-cta:hover i {
            transform: translateX(4px);
        }

        /* 移动端菜单按钮 */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 6px;
            transition: var(--transition);
        }
        .menu-toggle:hover {
            background: rgba(124, 58, 237, 0.1);
        }

        /* ===== Hero 文章头 ===== */
        .article-hero {
            padding: calc(var(--nav-height) + 60px) 0 60px;
            position: relative;
            background: var(--bg-dark);
            overflow: hidden;
        }
        .article-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
            opacity: 0.15;
            pointer-events: none;
        }
        .article-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(7, 7, 15, 0.6) 0%, var(--bg-dark) 100%);
            pointer-events: none;
        }
        .article-hero .container-narrow {
            position: relative;
            z-index: 2;
        }
        .article-hero .category-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 16px;
            border-radius: 50px;
            background: rgba(124, 58, 237, 0.2);
            border: 1px solid rgba(124, 58, 237, 0.25);
            color: var(--primary-light);
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            margin-bottom: 20px;
            backdrop-filter: blur(4px);
        }
        .article-hero .category-badge i {
            font-size: 0.7rem;
        }
        .article-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.5px;
            color: var(--text-primary);
            margin-bottom: 20px;
            background: linear-gradient(135deg, #f1f5f9 40%, #c4b5fd 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .article-hero .meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px 28px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .article-hero .meta i {
            margin-right: 6px;
            color: var(--primary-light);
            opacity: 0.7;
        }
        .article-hero .meta span {
            display: inline-flex;
            align-items: center;
        }
        .article-hero .excerpt {
            margin-top: 24px;
            padding: 18px 24px;
            border-radius: var(--radius-md);
            background: rgba(124, 58, 237, 0.06);
            border-left: 3px solid var(--primary);
            color: var(--text-secondary);
            font-size: 1.05rem;
            line-height: 1.7;
        }

        /* ===== 正文内容 ===== */
        .article-body {
            padding: 50px 0 60px;
            background: var(--bg-deep);
        }
        .article-body .content {
            font-size: 1.05rem;
            line-height: 1.9;
            color: var(--text-primary);
        }
        .article-body .content p {
            margin-bottom: 1.5em;
        }
        .article-body .content h2,
        .article-body .content h3,
        .article-body .content h4 {
            margin-top: 2em;
            margin-bottom: 0.8em;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: -0.3px;
        }
        .article-body .content h2 { font-size: 1.7rem; }
        .article-body .content h3 { font-size: 1.35rem; }
        .article-body .content ul,
        .article-body .content ol {
            margin-bottom: 1.5em;
            padding-left: 1.6em;
        }
        .article-body .content ul { list-style: disc; }
        .article-body .content ol { list-style: decimal; }
        .article-body .content li { margin-bottom: 0.4em; }
        .article-body .content blockquote {
            margin: 1.8em 0;
            padding: 18px 24px;
            border-radius: var(--radius-md);
            background: rgba(124, 58, 237, 0.06);
            border-left: 4px solid var(--primary);
            color: var(--text-secondary);
            font-style: italic;
        }
        .article-body .content a {
            color: var(--accent-light);
            border-bottom: 1px solid rgba(245, 158, 11, 0.3);
        }
        .article-body .content a:hover {
            border-bottom-color: var(--accent);
        }
        .article-body .content img {
            border-radius: var(--radius-md);
            margin: 1.8em 0;
            box-shadow: var(--shadow-card);
        }
        .article-body .content code {
            padding: 2px 10px;
            border-radius: 4px;
            background: rgba(124, 58, 237, 0.12);
            color: var(--accent-light);
            font-size: 0.9em;
        }
        .article-body .content pre {
            margin: 1.8em 0;
            padding: 20px 24px;
            border-radius: var(--radius-md);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            overflow-x: auto;
            font-size: 0.9rem;
            color: var(--text-secondary);
        }
        .article-body .content pre code {
            background: none;
            padding: 0;
            color: inherit;
        }

        /* 文章底部信息 */
        .article-footer-meta {
            margin-top: 48px;
            padding-top: 32px;
            border-top: 1px solid var(--border-color);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        .article-footer-meta .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .article-footer-meta .tags span {
            padding: 4px 14px;
            border-radius: 50px;
            background: rgba(124, 58, 237, 0.1);
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            font-size: 0.8rem;
        }
        .article-footer-meta .share {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .article-footer-meta .share a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .article-footer-meta .share a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }

        /* ===== 未找到文章 ===== */
        .not-found {
            padding: 120px 0 80px;
            text-align: center;
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .not-found .icon {
            font-size: 4rem;
            color: var(--text-muted);
            margin-bottom: 24px;
            opacity: 0.5;
        }
        .not-found h2 {
            font-size: 2rem;
            color: var(--text-primary);
            margin-bottom: 12px;
        }
        .not-found p {
            color: var(--text-muted);
            margin-bottom: 28px;
        }
        .not-found .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 32px;
            border-radius: var(--radius-sm);
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            transition: var(--transition);
        }
        .not-found .btn-back:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
        }

        /* ===== 相关文章 ===== */
        .related-section {
            padding: 60px 0 80px;
            background: var(--bg-dark);
            border-top: 1px solid var(--border-light);
        }
        .related-section .section-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-primary);
            letter-spacing: -0.3px;
        }
        .related-section .section-sub {
            color: var(--text-muted);
            margin-bottom: 36px;
            font-size: 0.95rem;
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 24px;
        }
        .related-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: var(--transition);
        }
        .related-card:hover {
            transform: translateY(-6px);
            border-color: rgba(124, 58, 237, 0.3);
            box-shadow: var(--shadow-hover);
            background: var(--bg-card-hover);
        }
        .related-card .card-img {
            width: 100%;
            height: 170px;
            object-fit: cover;
            display: block;
        }
        .related-card .card-body {
            padding: 18px 20px 22px;
        }
        .related-card .card-body .cat {
            font-size: 0.75rem;
            color: var(--primary-light);
            font-weight: 600;
            letter-spacing: 0.3px;
            text-transform: uppercase;
            margin-bottom: 6px;
        }
        .related-card .card-body h3 {
            font-size: 1.05rem;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 8px;
        }
        .related-card .card-body h3 a {
            color: var(--text-primary);
        }
        .related-card .card-body h3 a:hover {
            color: var(--accent-light);
        }
        .related-card .card-body .meta {
            font-size: 0.8rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .related-card .card-body .meta i {
            margin-right: 4px;
            opacity: 0.6;
        }

        /* ===== CTA 区块 ===== */
        .article-cta {
            padding: 70px 0;
            background: var(--bg-deep);
            border-top: 1px solid var(--border-light);
        }
        .article-cta .cta-box {
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
            padding: 48px 40px;
            border-radius: var(--radius-lg);
            background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-glow);
        }
        .article-cta .cta-box h2 {
            font-size: 1.7rem;
            font-weight: 700;
            margin-bottom: 12px;
            background: linear-gradient(135deg, #f1f5f9, #c4b5fd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .article-cta .cta-box p {
            color: var(--text-muted);
            margin-bottom: 28px;
            font-size: 1rem;
        }
        .article-cta .cta-box .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 36px;
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-weight: 600;
            font-size: 1rem;
            box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }
        .article-cta .cta-box .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 36px rgba(124, 58, 237, 0.5);
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
        }
        .article-cta .cta-box .btn-primary i {
            font-size: 0.9rem;
            transition: transform 0.3s;
        }
        .article-cta .cta-box .btn-primary:hover i {
            transform: translateX(4px);
        }

        /* ===== 页脚 ===== */
        .footer {
            background: var(--bg-dark);
            border-top: 1px solid var(--border-light);
            padding: 56px 0 30px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.8fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-brand .logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 14px;
        }
        .footer-brand .logo i {
            color: var(--accent);
        }
        .footer-brand p {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.7;
            max-width: 300px;
        }
        .footer-col h4 {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 16px;
            letter-spacing: 0.3px;
        }
        .footer-col a {
            display: block;
            color: var(--text-muted);
            font-size: 0.88rem;
            padding: 4px 0;
            transition: var(--transition);
        }
        .footer-col a:hover {
            color: var(--accent-light);
            padding-left: 4px;
        }
        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding-top: 24px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            font-size: 0.82rem;
            color: var(--text-muted);
        }
        .footer-bottom a {
            color: var(--text-muted);
        }
        .footer-bottom a:hover {
            color: var(--accent-light);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .article-hero h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                width: 100%;
                flex-direction: column;
                background: rgba(7, 7, 15, 0.98);
                backdrop-filter: blur(20px);
                border-bottom: 1px solid var(--border-color);
                padding: 16px 20px;
                gap: 4px;
                transform: translateY(-120%);
                opacity: 0;
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                pointer-events: none;
            }
            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: all;
            }
            .nav-links a {
                padding: 12px 16px;
                width: 100%;
                border-radius: var(--radius-sm);
                font-size: 1rem;
            }
            .nav-links a.active::after {
                display: none;
            }
            .nav-links a.active {
                background: rgba(124, 58, 237, 0.15);
            }
            .nav-cta {
                margin-top: 6px;
                justify-content: center;
            }
            .menu-toggle {
                display: block;
            }

            .article-hero {
                padding: calc(var(--nav-height) + 30px) 0 36px;
            }
            .article-hero h1 {
                font-size: 1.7rem;
            }
            .article-hero .meta {
                gap: 10px 16px;
                font-size: 0.8rem;
            }
            .article-hero .excerpt {
                font-size: 0.95rem;
                padding: 14px 18px;
            }

            .article-body {
                padding: 30px 0 40px;
            }
            .article-body .content {
                font-size: 0.98rem;
            }
            .article-body .content h2 { font-size: 1.35rem; }
            .article-body .content h3 { font-size: 1.15rem; }

            .related-grid {
                grid-template-columns: 1fr;
            }

            .article-cta .cta-box {
                padding: 32px 20px;
            }
            .article-cta .cta-box h2 {
                font-size: 1.3rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .container-narrow {
                padding: 0 16px;
            }
            .article-hero h1 {
                font-size: 1.4rem;
            }
            .article-body .content {
                font-size: 0.95rem;
            }
            .article-footer-meta {
                flex-direction: column;
                align-items: flex-start;
            }
            .related-section .section-title {
                font-size: 1.3rem;
            }
        }

        /* ===== 实用辅助 ===== */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0,0,0,0);
            border: 0;
        }
        .fade-in {
            animation: fadeIn 0.8s ease-out forwards;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
