/* ============================================================
   梯子游戏 — 纯静态 CSS (无 Tailwind, 无框架)
   ============================================================ */

/* CSS Variables */
:root {
  --bg: #F8FAFC;
  --bg-dark: #0F172A;
  --text: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --accent: #6366F1;
  --accent-light: rgba(99, 102, 241, 0.1);
  --accent-border: rgba(99, 102, 241, 0.2);
  --purple: #8B5CF6;
  --cyan: #06B6D4;
  --border: #E2E8F0;
  --border-light: rgba(226, 232, 240, 0.5);
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
  --shadow-lg: 0 12px 40px rgba(99, 102, 241, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1280px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-light); color: var(--accent); }

/* Typography */
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', 'Fira Code', monospace; }
.font-display { font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Grid background */
.bg-grid {
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
  border-bottom-color: var(--accent-border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.2);
  transition: box-shadow 0.3s;
}
.nav-logo:hover .nav-logo-icon {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}
.nav-links {
  display: none;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-actions { display: none; align-items: center; gap: 12px; }
.nav-search-btn {
  padding: 8px;
  border-radius: 10px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-search-btn:hover { color: var(--accent); background: var(--accent-light); }
.nav-user-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px; font-weight: 500;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.2);
  transition: all 0.3s;
}
.nav-user-btn:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}
.nav-user-btn.full { width: 100%; justify-content: center; padding: 12px 16px; }

.nav-mobile-toggle {
  display: flex;
  padding: 8px;
  border-radius: 10px;
  color: var(--text-secondary);
  transition: background 0.2s;
}
.nav-mobile-toggle:hover { background: var(--accent-light); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px;
  z-index: 49;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.nav-mobile-menu a:hover,
.nav-mobile-menu a.active { color: var(--accent); background: var(--accent-light); }
.nav-mobile-cta { padding-top: 12px; border-top: 1px solid var(--border); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-mobile-toggle { display: none; }
  .nav-mobile-menu { display: none !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(99,102,241,0.03) 0%, rgba(248,250,252,1) 50%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 { top: 80px; right: 40px; width: 500px; height: 500px; background: rgba(99,102,241,0.08); }
.hero-orb-2 { bottom: 80px; left: 40px; width: 400px; height: 400px; background: rgba(139,92,246,0.06); }
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px; font-family: 'JetBrains Mono', monospace; font-weight: 500;
  background: var(--accent-light); color: var(--accent);
  border: 1px solid var(--accent-border);
  margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-content h1 {
  font-size: 36px; font-weight: 700; line-height: 1.2;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 32px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 28px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--accent); }
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.hero-visual { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 auto; }
.hero-canvas { width: 100%; height: 100%; }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 11px; font-family: 'JetBrains Mono', monospace;
}

@media (min-width: 768px) {
  .hero-content h1 { font-size: 48px; }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; padding: 120px 32px 100px; }
  .hero-content h1 { font-size: 56px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px; font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  transition: all 0.3s;
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg:last-child { transform: translateX(3px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px; font-weight: 600;
  color: var(--accent);
  border: 2px solid var(--accent-border);
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ============================================================
   Sections
   ============================================================ */
.section { position: relative; overflow: hidden; }
.section-inner { position: relative; max-width: var(--max-width); margin: 0 auto; padding: 80px 24px; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-header p { font-size: 15px; color: var(--text-secondary); }
.section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px; font-family: 'JetBrains Mono', monospace; font-weight: 500;
  background: var(--accent-light); color: var(--accent);
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.section-more { font-size: 14px; font-weight: 500; color: var(--accent); display: flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.section-more:hover { gap: 10px; }

/* Background orbs */
.bg-orb-top { position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(99,102,241,0.04); border-radius: 50%; filter: blur(80px); }
.bg-orb-bottom { position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; background: rgba(139,92,246,0.04); border-radius: 50%; filter: blur(60px); }
.bg-orb-top-right { position: absolute; top: -100px; right: -50px; width: 350px; height: 350px; background: rgba(99,102,241,0.04); border-radius: 50%; filter: blur(80px); }

/* Section: Stats */
.section-stats { background: white; border-top: 1px solid rgba(226,232,240,0.3); border-bottom: 1px solid rgba(226,232,240,0.3); }
.section-stats-bg { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.3; }

/* ============================================================
   Feature Cards
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.feature-card {
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: white;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -12px rgba(99, 102, 241, 0.12), 0 8px 24px -8px rgba(139, 92, 246, 0.08);
  border-color: var(--accent-border);
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.03), rgba(139,92,246,0.03));
  opacity: 0; transition: opacity 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
  transition: box-shadow 0.5s;
}
.feature-card:hover .feature-icon { box-shadow: 0 8px 28px rgba(99, 102, 241, 0.3); }
.feature-card h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.feature-card:hover h3 { color: var(--accent); }
.feature-card p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 24px;
}
.feature-arrow {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--accent);
  opacity: 0; transform: translateX(-6px); transition: all 0.3s;
}
.feature-card:hover .feature-arrow { opacity: 1; transform: translateX(0); }

@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   Stats Grid
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: white;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}
.stat-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}
.stat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
}
.stat-value { font-size: 32px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-bottom: 4px; }
.stat-label { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }
.stat-desc { font-size: 12px; color: var(--text-muted); }

@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   Article Cards (Latest)
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.article-card {
  display: block;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}
.article-card:hover .article-card-inner {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-border);
}
.article-card-inner {
  display: flex; align-items: stretch;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: white;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.article-card-bar { width: 4px; flex-shrink: 0; }
.article-card-body { padding: 24px; flex: 1; min-width: 0; }
.article-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.article-card-cat {
  font-size: 11px; font-family: 'JetBrains Mono', monospace;
  color: var(--accent); background: var(--accent-light);
  padding: 3px 10px; border-radius: 100px;
}
.article-card-time { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.article-card-body h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.3s;
}
.article-card:hover .article-card-body h3 { color: var(--accent); }
.article-card-body p {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 14px;
}
.article-card-date { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

@media (min-width: 768px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Page Header (Column pages)
   ============================================================ */
.page-main { padding-top: 64px; min-height: 100vh; }
.page-header {
  background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, white 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 64px 24px 48px;
}
.page-header.simple { padding: 80px 24px 48px; }
.page-header-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.page-header-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11px; font-family: 'JetBrains Mono', monospace;
  color: var(--accent); background: var(--accent-light);
  border: 1px solid var(--accent-border);
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: 32px; font-weight: 700; margin-bottom: 16px;
}
.page-header p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7;
}
.page-content { padding: 48px 24px 80px; }
.page-content-inner { max-width: 900px; margin: 0 auto; }
.page-content-inner.narrow { max-width: 700px; }

/* ============================================================
   Column Modules
   ============================================================ */
.col-modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.col-module {
  display: flex; gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: white;
  transition: all 0.3s;
}
.col-module:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow);
}
.col-module-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
}
.col-module-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.col-module-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.col-articles-section { margin-top: 48px; }
.col-articles-title {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 16px;
}
.col-articles-list { display: flex; flex-direction: column; gap: 8px; }
.col-article-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--border-light);
  font-size: 14px; font-weight: 500;
  transition: all 0.2s;
}
.col-article-link:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-light);
}
.col-article-link svg { opacity: 0; transition: all 0.2s; }
.col-article-link:hover svg { opacity: 1; }

@media (min-width: 768px) { .col-modules-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Article Page
   ============================================================ */
.article-page { padding: 32px 0 80px; }
.article-page-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 32px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.article-main { min-width: 0; }
.article-main h1 {
  font-size: 28px; font-weight: 700;
  line-height: 1.3; margin-bottom: 16px;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 32px;
}
.article-meta span { display: flex; align-items: center; gap: 4px; }

/* Article sidebar */
.article-sidebar { display: none; }
.toc-panel, .related-panel {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--border-light);
  position: sticky; top: 88px;
}
.toc-panel h4, .related-panel h4 {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 12px;
}
.toc-link {
  display: block;
  padding: 8px 12px;
  font-size: 13px; color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.toc-link:hover, .toc-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-light);
}
.related-link {
  display: block;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s;
}
.related-link:hover { background: var(--accent-light); }
.related-link h5 {
  font-size: 13px; font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s;
}
.related-link:hover h5 { color: var(--accent); }

/* Article content */
.article-content h2 {
  font-size: 24px; font-weight: 700;
  margin-top: 40px; margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.article-content h3 {
  font-size: 20px; font-weight: 600;
  margin-top: 32px; margin-bottom: 12px;
}
.article-content p {
  font-size: 15px; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 16px;
}
.article-content strong { color: var(--text); font-weight: 600; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 16px 0; }
.table-wrap table { width: 100%; font-size: 14px; border-collapse: collapse; }
.table-wrap .th, .table-wrap th {
  padding: 10px 14px;
  font-weight: 600; color: var(--text);
  background: var(--accent-light);
  border-bottom: 2px solid var(--border);
  text-align: left;
}
.table-wrap td {
  padding: 10px 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(226,232,240,0.5);
}
.article-section { margin-bottom: 8px; }

@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 220px 1fr 220px; }
  .article-sidebar { display: block; }
  .article-main h1 { font-size: 32px; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.1;
}
.footer::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent);
}
.footer-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}
.footer-top-line {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 48px;
}
.footer-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent); }
.footer-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-family: 'JetBrains Mono', monospace;
  color: rgba(99, 102, 241, 0.6);
  white-space: nowrap;
}
.footer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.footer-dot.green { background: #4ade80; }
.footer-dot.small { width: 4px; height: 4px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.7; margin-bottom: 20px;
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex; align-items: center; justify-content: center;
}
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer-nav h4 {
  font-size: 14px; font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a {
  font-size: 13px; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 4px;
  transition: all 0.2s;
}
.footer-nav a:hover { color: white; }
.footer-nav a svg { opacity: 0; margin-left: -16px; transition: all 0.2s; }
.footer-nav a:hover svg { opacity: 1; margin-left: 0; }

.footer-hot h4 {
  font-size: 14px; font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.footer-tags a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px; font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.footer-tags a:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
  color: white;
}
.footer-data-panel {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-data-status {
  font-size: 11px; font-family: 'JetBrains Mono', monospace;
  color: rgba(99, 102, 241, 0.6);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.footer-data-info { font-size: 10px; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.2); }
.footer-data-info div { margin-bottom: 2px; }

.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.2); font-family: 'JetBrains Mono', monospace; }
.footer-bottom div { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.15); display: flex; align-items: center; gap: 4px; }

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 3fr 2fr; }
}

/* ============================================================
   Simple Content Pages
   ============================================================ */
.simple-content h2 {
  font-size: 22px; font-weight: 700;
  margin-top: 36px; margin-bottom: 12px;
}
.simple-content h3 { font-size: 18px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.simple-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.simple-content strong { color: var(--text); }

.contact-cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: white;
}
.contact-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.contact-card p { font-size: 14px; color: var(--text-secondary); }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Search Page
   ============================================================ */
.search-page p { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; }
.search-hot h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.search-tags a {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px; font-weight: 500;
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.search-tags a:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-light);
}

/* ============================================================
   404 Page
   ============================================================ */
.not-found-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 80vh;
}
.not-found-content {
  text-align: center;
  padding: 60px 24px;
}
.not-found-content h1 {
  font-size: 96px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.not-found-content p { font-size: 18px; color: var(--text-secondary); margin-bottom: 32px; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Utils */
.w-6 { width: 24px; height: 24px; }
.w-5 { width: 20px; height: 20px; }
.h-6 { width: 24px; height: 24px; }
.h-5 { width: 20px; height: 20px; }
.text-white { color: white !important; }
.text-sm { font-size: 13px; }

/* ============================================================
   Gradient backgrounds for icons
   ============================================================ */
.from-indigo-500 { background: linear-gradient(135deg, #6366F1, #3B82F6); }
.from-violet-500 { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.from-blue-500 { background: linear-gradient(135deg, #3B82F6, #06B6D4); }
.from-purple-500 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }
.to-blue-500 {}
.to-purple-500 {}
.to-cyan-500 {}
.to-pink-500 {}
