/* ==========================================================================
   Smol-VL-BLV: Visual-First 3D Interactive Academic Research Website
   Modern, Immersive, Spacious, Non-Congested Design System
   ========================================================================== */

:root {
  --bg-dark-hero: #070b14;
  --bg-dark-surface: #0b1120;
  --bg-dark-card: rgba(15, 23, 42, 0.75);
  --bg-dark-border: rgba(255, 255, 255, 0.1);

  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;

  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-primary-light: rgba(37, 99, 235, 0.08);

  --cue-distance: #059669;
  --cue-distance-bg: #ecfdf5;
  --cue-distance-border: #a7f3d0;

  --cue-direction: #2563eb;
  --cue-direction-bg: #eff6ff;
  --cue-direction-border: #bfdbfe;

  --cue-hazard: #dc2626;
  --cue-hazard-bg: #fef2f2;
  --cue-hazard-border: #fecaca;

  --cue-entity: #7c3aed;
  --cue-entity-bg: #f5f3ff;
  --cue-entity-border: #ddd6fe;

  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 45px -8px rgba(15, 23, 42, 0.16), 0 8px 20px -6px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 50px rgba(59, 130, 246, 0.2);

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

code, kbd, samp, pre {
  font-family: 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-primary-hover);
}

/* Custom Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(37, 99, 235, 0.06) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.15s ease-out, opacity 0.3s ease;
  opacity: 0.8;
}

/* ==========================================================================
   FULLSCREEN 3D HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(130% 130% at 50% 10%, #0d1629 0%, #070b14 60%, #03060c 100%);
  color: var(--text-inverse);
  padding: 100px 24px 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--bg-dark-border);
}

/* 3D Canvas Background */
#hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.hero-inner {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badges */
.hero-badge-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.paper-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 8px 22px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #93c5fd;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.paper-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-2px);
}

.paper-badge.highlight {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.45);
  color: #bfdbfe;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.3);
}

/* Title */
.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: #ffffff;
  max-width: 1180px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-title .title-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Authors */
.authors-block {
  margin: 0 auto 28px;
  max-width: 1100px;
}

.authors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.6;
}

.author-item {
  color: #f1f5f9;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.author-item:hover {
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--text-inverse-muted);
  max-width: 980px;
  margin: 0 auto 34px;
  line-height: 1.75;
}

/* Action Buttons */
.hero-action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
}

.btn-dark {
  background-color: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-dark:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   METRICS BANNER (Wide 5-Column Grid)
   ========================================================================== */
.metrics-banner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  perspective: 1000px;
}

.metric-stat-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease;
  transform-style: preserve-3d;
}

.metric-stat-card:hover {
  background: rgba(20, 30, 55, 0.85);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number.cyan { color: #38bdf8; text-shadow: 0 0 20px rgba(56, 189, 248, 0.3); }
.stat-number.green { color: #34d399; text-shadow: 0 0 20px rgba(52, 211, 153, 0.3); }
.stat-number.purple { color: #a78bfa; text-shadow: 0 0 20px rgba(167, 139, 250, 0.3); }
.stat-number.amber { color: #fbbf24; text-shadow: 0 0 20px rgba(251, 191, 36, 0.3); }
.stat-number.blue { color: #60a5fa; text-shadow: 0 0 20px rgba(96, 165, 250, 0.3); }

.stat-delta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   STICKY NAVIGATION
   ========================================================================== */
.sticky-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 36px;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
  background-color: var(--accent-primary-light);
  font-weight: 600;
}

/* ==========================================================================
   SECTIONS & CONTAINERS
   ========================================================================== */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 36px;
}

.section {
  padding: 85px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  margin-bottom: 36px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section-tag i {
  font-size: 0.65rem;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 980px;
  line-height: 1.7;
}

/* ==========================================================================
   IMAGE SHOWCASE CARDS (3D Hover & Zoom)
   ========================================================================== */
.image-showcase-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.image-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.image-showcase-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
  transition: transform 0.4s ease;
}

.image-showcase-card:hover img {
  transform: scale(1.008);
}

.image-caption {
  padding: 16px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.image-caption strong {
  color: var(--text-primary);
}

/* Compact Feature Grid */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.compact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compact-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Reward Matrix Grid */
.reward-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.reward-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.reward-card:hover {
  background: #ffffff;
  border-color: var(--border-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.reward-score-tag {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.reward-score-tag.positive {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.reward-score-tag.negative {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.reward-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.reward-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Deployment Layout */
.deployment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.deploy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.deploy-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-mockup-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.phone-spec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.phone-spec-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #60a5fa;
}

.cli-box {
  background: #000000;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #4ade80;
  line-height: 1.6;
  margin-bottom: 18px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cli-box .prompt {
  color: #94a3b8;
}

.device-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.device-stat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
}

.device-stat-label {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-bottom: 3px;
}

.device-stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

/* Tabs & Tables */
.tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 14px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.data-table thead {
  background: #0f172a;
  color: #ffffff;
}

.data-table th {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.data-table th:first-child {
  text-align: left;
}

.data-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-secondary);
}

.data-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.data-table tbody tr:hover {
  background-color: #f1f5f9;
}

.data-table tr.highlight-row {
  background-color: #eff6ff;
  font-weight: 600;
}

.data-table tr.highlight-row td {
  color: var(--accent-primary);
}

/* Qualitative Scene Viewer */
.scene-selector-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.scene-select-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scene-select-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.scene-select-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.qualitative-viewer-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.legend-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.82rem;
}

.legend-title {
  font-weight: 700;
  color: var(--text-primary);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.tag-direction {
  background: var(--cue-direction-bg);
  color: var(--cue-direction);
  border: 1px solid var(--cue-direction-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.tag-distance {
  background: var(--cue-distance-bg);
  color: var(--cue-distance);
  border: 1px solid var(--cue-distance-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.tag-hazard {
  background: var(--cue-hazard-bg);
  color: var(--cue-hazard);
  border: 1px solid var(--cue-hazard-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.tag-entity {
  background: var(--cue-entity-bg);
  color: var(--cue-entity);
  border: 1px solid var(--cue-entity-border);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.scene-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.comparison-box {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comparison-box.featured {
  background: #ffffff;
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.box-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.box-badge.ours {
  background: #2563eb;
  color: #ffffff;
}

.box-badge.base {
  background: #64748b;
  color: #ffffff;
}

.box-badge.large {
  background: #475569;
  color: #ffffff;
}

.model-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.caption-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.card-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* BibTeX */
.bibtex-box {
  background: #0f172a;
  color: #93c5fd;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  font-size: 0.84rem;
  line-height: 1.7;
  overflow-x: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--radius-xs);
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.site-footer {
  background: #070b14;
  color: #94a3b8;
  padding: 55px 24px 40px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 500;
}

.footer-links a:hover {
  color: #60a5fa;
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 9999;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1200px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .deployment-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 70px 20px 50px;
  }
  .container {
    padding: 0 20px;
  }
  .nav-container {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid .metric-stat-card:last-child {
    grid-column: span 2;
  }
  .scene-comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid .metric-stat-card:last-child {
    grid-column: span 1;
  }
}
