/* ===== CSS Variables - Light Theme ===== */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #0891b2;
  --accent-light: #22d3ee;
  --bg-light: #ffffff;
  --bg-light-alt: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #0891b2 100%);
  --gradient-2: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  --short-term-color: #16a34a;
  --long-term-color: #d97706;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ===== Navigation ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  height: 32px;
  width: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text {
  font-weight: 700;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: rgba(99, 102, 241, 0.1);
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(8, 145, 178, 0.08) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Hero Authors */
.hero-authors {
  margin-top: 2rem;
  padding: 1.5rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.authors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

.author {
  font-size: 0.95rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.author-name {
  color: var(--text-primary);
}

.author sup {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.7rem;
}

.corresponding-icon {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-left: 2px;
  cursor: help;
}

.affiliations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.affiliation sup {
  color: var(--primary);
  font-weight: 600;
}

.author-notes {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Hero Institutions Logos */
.hero-institutions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.hero-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

.hero-logo img {
  height: 55px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-main);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-1);
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-primary);
}

.btn-outline-light:hover {
  background: var(--bg-light-alt);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  border: none;
  color: white;
}

.btn-accent:hover {
  background: #0e7490;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(8, 145, 178, 0.3);
  color: white;
}

/* ===== Sections ===== */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-1);
  margin: 1rem auto 0;
}

.subsection-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
}

.subsection-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* MemGUI-Eval Section */
.eval-intro .lead {
  font-size: 1.1rem;
  line-height: 1.8;
}

.eval-stages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.eval-stage {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.eval-stage:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stage-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}

.stage-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stage-info strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.stage-info span {
  color: #64748b;
  font-size: 0.9rem;
  border-radius: 2px;
}

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

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ===== Feature Cards ===== */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== RQ Cards ===== */
.rq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.25rem;
}

.rq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.rq-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rq-badge {
  background: var(--gradient-1);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.rq-question {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.rq-answer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.rq-answer strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

/* ===== Comparison Table ===== */
.comparison-table {
  font-size: 0.9rem;
}

.comparison-table thead th {
  background: #f8f9fa;
  font-weight: 600;
  vertical-align: middle;
  text-align: center;
  font-size: 0.85rem;
}

.comparison-table tbody td {
  text-align: center;
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table .table-primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
}

.comparison-table .text-success {
  font-weight: 600;
}

.comparison-table .text-danger {
  opacity: 0.6;
}

/* ===== Metrics Section ===== */
.metric-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.metric-group h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1rem;
}

.metric-badge.short-term {
  background: rgba(22, 163, 74, 0.15);
  color: var(--short-term-color);
}

.metric-badge.long-term {
  background: rgba(217, 119, 6, 0.15);
  color: var(--long-term-color);
}

.metric-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.metric-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.metric-list li:last-child {
  border-bottom: none;
}

.metric-list li strong {
  color: var(--primary);
  font-family: var(--font-mono);
}

/* ===== Figure Gallery ===== */
.figure-gallery {
  display: grid;
  gap: 2rem;
}

.figure-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.figure-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.figure-card .figure-img-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  min-height: 300px;
  padding: 1rem;
}

.figure-card img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.figure-caption {
  padding: 1rem 1.5rem;
  background: var(--bg-light-alt);
  border-top: 1px solid var(--border-color);
}

.figure-caption h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.figure-caption p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Equal height rows */
.row.g-4 > [class*="col-"] {
  display: flex;
}

.row.g-4 > [class*="col-"] > .figure-card {
  width: 100%;
}

/* ===== Citation ===== */
.citation-box {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.citation-box pre {
  margin: 0;
  overflow-x: auto;
}

.citation-box code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: pre-wrap;
}

.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* ===== Affiliations Section ===== */
.affiliations-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-light-alt) 100%);
  border-top: 1px solid var(--border-color);
}

.affiliations-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.affiliations-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.affiliation-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: all 0.3s ease;
  opacity: 0.7;
  filter: grayscale(30%);
}

.affiliation-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.affiliation-logo img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .affiliations-logos {
    gap: 25px;
  }
  
  .affiliation-logo img {
    height: 40px;
    max-width: 120px;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-light-alt);
}

.footer p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.footer a {
  color: var(--primary);
}

/* ===== Hero Layout (Two Column) ===== */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
}

.hero-content .hero-title {
  text-align: left;
}

.hero-content .hero-subtitle {
  text-align: left !important;
  max-width: 100%;
  margin: 0 0 1rem 0 !important;
}

.hero-content .hero-buttons {
  justify-content: flex-start;
}

.hero-content .hero-authors {
  text-align: left;
}

.hero-content .authors-list,
.hero-content .affiliations-list,
.hero-content .author-notes {
  justify-content: flex-start;
  text-align: left;
}

.hero-content .hero-institutions {
  justify-content: flex-start;
}

/* ===== Hero Leaderboard Panel ===== */
.hero-leaderboard-panel {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.lb-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.lb-panel-title {
  font-weight: 700;
  font-size: 1.1em;
  color: #fff;
}

.lb-panel-link {
  font-size: 0.85em;
  color: #fbbf24;
  text-decoration: none;
  font-weight: 600;
}

.lb-panel-link:hover {
  color: #fcd34d;
}

.lb-panel-table {
  padding: 8px 0;
}

.lb-panel-row {
  display: grid;
  grid-template-columns: 36px 1fr repeat(5, 48px);
  gap: 4px;
  padding: 10px 16px;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease;
}

.lb-panel-row:last-child {
  border-bottom: none;
}

.lb-panel-row:not(.header):hover {
  background: #f8fafc;
}

.lb-panel-row.header {
  background: #f8fafc;
  font-weight: 600;
  font-size: 0.75em;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lb-panel-row.rank-1 {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.lb-panel-row.rank-2 {
  background: linear-gradient(90deg, rgba(156, 163, 175, 0.15) 0%, rgba(156, 163, 175, 0.05) 100%);
}

.lb-panel-row.rank-3 {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.12) 0%, rgba(180, 83, 9, 0.03) 100%);
}

.lb-col-rank {
  font-weight: 700;
  font-size: 0.95em;
  text-align: center;
}

.lb-col-name {
  font-weight: 600;
  font-size: 0.9em;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-col-metric {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: #475569;
  text-align: center;
}

.lb-col-metric.highlight {
  color: #059669;
  font-weight: 700;
}

.lb-panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.lb-panel-cta:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #fff !important;
}

.lb-panel-loading {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  font-size: 0.9em;
}

/* Ensure all links in leaderboard panel are clickable */
.hero-leaderboard-panel a {
  position: relative;
  z-index: 20;
  cursor: pointer;
}

.lb-panel-header,
.lb-panel-cta {
  position: relative;
  z-index: 20;
}

/* ===== Leaderboard CTA Section (can be removed if not used) ===== */
.leaderboard-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  position: relative;
  overflow: hidden;
}

.leaderboard-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.leaderboard-cta-card {
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e1b4b;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9em;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.cta-title {
  color: #fff;
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta-description strong {
  color: #fbbf24;
}

.cta-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.cta-stat {
  text-align: center;
}

.cta-stat-value {
  display: block;
  font-size: 2em;
  font-weight: 700;
  color: #fbbf24;
  line-height: 1;
}

.cta-stat-label {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-leaderboard {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e1b4b;
  border: none;
  font-weight: 700;
  padding: 14px 32px;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
  transition: all 0.3s ease;
}

.btn-leaderboard:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
  color: #1e1b4b;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(251, 191, 36, 0.5);
}

.btn-leaderboard i {
  margin-right: 8px;
}

/* Leaderboard Preview Card */
.cta-preview {
  background: #0f0a2e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-header {
  background: #1a1440;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #fbbf24; }
.preview-dot.green { background: #22c55e; }

.preview-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85em;
  margin-left: auto;
  font-family: var(--font-mono);
}

.preview-content {
  padding: 16px;
}

.preview-row {
  display: grid;
  grid-template-columns: 40px 1fr 60px 60px;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  margin-bottom: 8px;
}

.preview-row.header {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 0.8em;
  text-transform: uppercase;
}

.preview-row.gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
  color: #fbbf24;
  font-weight: 600;
}

.preview-row.silver {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.preview-row.bronze {
  background: rgba(205, 127, 50, 0.15);
  color: #e8a762;
}

.preview-more {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85em;
  padding: 8px;
  font-style: italic;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-authors {
    text-align: center;
  }
  
  .hero-content .hero-buttons {
    justify-content: center;
  }
  
  .hero-content .hero-institutions {
    justify-content: center;
  }
  
  .hero-leaderboard-panel {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .cta-preview {
    margin-top: 40px;
  }
  
  .cta-title {
    font-size: 2em;
  }
  
  .cta-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .hero-institutions {
    gap: 20px;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .hero-logo img {
    height: 35px;
    max-width: 110px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  /* Hero Layout Responsive */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-authors {
    text-align: center;
  }
  
  .hero-content .hero-buttons {
    justify-content: center;
  }
  
  .hero-content .hero-institutions {
    justify-content: center;
  }
  
  .hero-leaderboard-panel {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .lb-panel-row {
    grid-template-columns: 30px 1fr repeat(5, 40px);
    padding: 8px 12px;
    gap: 2px;
  }
  
  .lb-col-name {
    font-size: 0.8em;
  }
  
  .lb-col-metric {
    font-size: 0.75em;
  }
  
  .leaderboard-cta-section {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 1.75em;
  }
  
  .cta-stats {
    gap: 20px;
  }
  
  .cta-stat-value {
    font-size: 1.5em;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
