/* ==========================================================================
   魔戒机场首页 - 黑绿色系 Design System (Dark Cyber Emerald / Matrix Glassmorphism)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  /* Color Palette - Premium Dark Green Theme */
  --bg-main: #070d0a;
  --bg-sidebar: #0b1410;
  --bg-card: #0f1c16;
  --bg-card-hover: #14261e;
  --bg-subtle: #112019;
  --bg-glass: rgba(15, 28, 22, 0.75);
  
  --emerald-primary: #10b981;
  --emerald-hover: #059669;
  --emerald-light: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-glow-strong: rgba(16, 185, 129, 0.45);
  --emerald-soft: rgba(16, 185, 129, 0.1);

  --accent-cyan: #06b6d4;
  --accent-neon: #00ff87;
  --amber-warning: #f59e0b;
  --red-danger: #ef4444;

  --text-title: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #64748b;
  --text-emerald-bright: #34d399;

  --border-light: rgba(16, 185, 129, 0.15);
  --border-strong: rgba(16, 185, 129, 0.35);
  --border-glow: rgba(0, 255, 135, 0.4);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.1);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.2);
  --shadow-emerald-btn: 0 10px 25px rgba(16, 185, 129, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-family: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Dynamic Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* App Wrapper - Two Column Sidebar Layout */
.app-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Sidebar Styling */
.sidebar {
  width: 270px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  transition: var(--transition-smooth);
}

.sidebar-header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--emerald-primary), var(--accent-cyan));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070d0a;
  font-size: 22px;
  box-shadow: 0 0 15px var(--emerald-glow);
}

.sidebar-brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.5px;
}

.sidebar-brand-text span {
  color: var(--emerald-primary);
}

.sidebar-version {
  font-size: 0.72rem;
  background: var(--emerald-soft);
  color: var(--emerald-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  margin-left: 4px;
}

.sidebar-menu {
  padding: 20px 12px;
  flex: 1;
  overflow-y: auto;
  list-style: none;
}

.sidebar-menu-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 12px 12px 6px 12px;
  font-weight: 700;
}

.sidebar-menu-item {
  margin-bottom: 4px;
}

.sidebar-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-body);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.93rem;
  transition: var(--transition-smooth);
}

.sidebar-menu-link i {
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.sidebar-menu-link:hover, .sidebar-menu-link.active {
  background: var(--emerald-soft);
  color: var(--emerald-primary);
  border-left: 3px solid var(--emerald-primary);
}

.sidebar-menu-link:hover i, .sidebar-menu-link.active i {
  color: var(--emerald-primary);
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background: rgba(7, 13, 10, 0.4);
}

.sidebar-system-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-primary);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Content Area */
.main-content {
  margin-left: 270px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Top Navigation Bar in Right Content Area */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 20, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  justify-content: space-between;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.top-nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.top-nav-links a:hover {
  color: var(--emerald-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-hover));
  color: #070d0a;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-emerald-btn);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399, var(--emerald-primary));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-title);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
}

/* Top Announcement Banner inside Main Content */
.top-announcement {
  background: linear-gradient(90deg, #0b1410, #14261e, #0b1410);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-title);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 24px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.badge-flash {
  background: var(--emerald-primary);
  color: #070d0a;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Sections General */
.container-main {
  padding: 0 40px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: 70px 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--emerald-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--emerald-soft);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--emerald-light);
  margin-bottom: 24px;
  box-shadow: 0 0 20px var(--emerald-glow);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-title);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #00ff87, #10b981, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}

.trust-item i {
  color: var(--emerald-primary);
  font-size: 1.1rem;
}

/* 3. Node Status Section */
.node-control-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.status-summary {
  display: flex;
  gap: 24px;
}

.status-summary-item {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-summary-item span {
  font-weight: 700;
  color: var(--text-title);
  margin-left: 4px;
}

.btn-refresh-ping {
  background: var(--emerald-soft);
  border: 1px solid var(--border-light);
  color: var(--emerald-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-refresh-ping:hover {
  background: var(--emerald-primary);
  color: #070d0a;
}

.node-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-smooth);
}

.node-card:hover {
  border-color: var(--emerald-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.node-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.node-flag {
  font-size: 1.6rem;
}

.node-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-title);
}

.node-tag {
  font-size: 0.72rem;
  background: var(--bg-subtle);
  color: var(--emerald-light);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.node-ping-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.ping-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ping-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald-primary);
}

.ping-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald-primary);
}

/* 4. Core Advantages Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  background: var(--emerald-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 4. Pricing Plans Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 30px var(--emerald-glow);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card-hover));
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--emerald-primary), var(--accent-cyan));
  color: #070d0a;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 40px;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--emerald-light);
  margin-bottom: 24px;
}

.plan-price .currency {
  font-size: 1.4rem;
  font-weight: 700;
}

.plan-price .unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 12px;
}

.plan-features li i {
  color: var(--emerald-primary);
}

/* 5. Knowledge Base & Tutorials Section */
.knowledge-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 15px var(--emerald-glow);
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.tag-filter-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tag-btn:hover, .tag-btn.active {
  background: var(--emerald-soft);
  color: var(--emerald-primary);
  border-color: var(--emerald-primary);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-primary);
  background: var(--emerald-soft);
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  padding-top: 14px;
}

.article-read-more {
  color: var(--emerald-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 5. FAQ Section */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 20px var(--emerald-glow);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--emerald-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: var(--bg-main);
}

.faq-answer-inner {
  padding: 0 24px 20px 24px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 6. Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-primary), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070d0a;
  font-weight: 800;
  font-size: 1rem;
}

.user-name {
  font-weight: 700;
  color: var(--text-title);
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.star-rating {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

/* Article Modal Reader */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 850px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-title);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--emerald-primary);
  color: #070d0a;
}

.modal-article-body h2 {
  font-size: 1.35rem;
  color: var(--emerald-light);
  margin: 24px 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.modal-article-body h3 {
  font-size: 1.1rem;
  color: var(--text-title);
  margin: 18px 0 8px 0;
}

.modal-article-body p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}

.modal-article-body ul, .modal-article-body ol {
  margin: 0 0 16px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
}

.modal-article-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.modal-article-body pre {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--emerald-light);
  margin-bottom: 16px;
}

/* Footer */
.main-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  background: var(--bg-sidebar);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
}
