/* Video Sample Item Card Styling */
.video-sample-item {
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-light);
  transition: background 0.3s, border 0.3s;
}
.video-sample-item h6 {
  margin: 0 0 8px 0;
  color: var(--text-color-light);
}
.video-sample-item p {
  margin: 0 0 10px 0;
  font-size: 0.9em;
  color: #6c757d;
}
.dark-mode .video-sample-item {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-dark);
}
.dark-mode .video-sample-item h6 {
  color: var(--text-color-dark);
}
.dark-mode .video-sample-item p {
  color: #b0b3b8;
}
/* Bulk Download Section Styling (matches step-item/replicability-overview) */
.bulk-download-section {
  background: var(--card-bg-light);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: background 0.3s, border 0.3s;
}
.dark-mode .bulk-download-section {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-dark);
}
/* Instantly show all animate-fade-in, animate-slide-left, animate-slide-right, animate-on-scroll, and animate-scale-in except the main title */
h1.animate-fade-in {
  /* Main title keeps animation */
}
.animate-fade-in:not(h1),
.animate-slide-left,
.animate-slide-right,
.animate-on-scroll,
.animate-scale-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
:root {
  /* Professional Academic Color Scheme */
  --bg-color-light: #fdfdfd;
  --text-color-light: #1a1a1a;
  --bg-color-dark: #0f0f0f;
  --text-color-dark: #f5f5f5;
  
  /* Accent colors */
  --accent-color: #3b82f6;
  --accent-hover: #2563eb;
  --accent-secondary: #374151;
  --accent-tertiary: #6b7280;
  
  /* Card and Surface Colors */
  --card-bg-light: #fafafa;
  --card-bg-dark: #1a1a1a;
  --card-bg-elevated-light: #ffffff;
  --card-bg-elevated-dark: #262626;
  
  /* Border Colors - More Subtle */
  --border-light: #d1d5db;
  --border-dark: #404040;
  --border-accent-light: #9ca3af;
  --border-accent-dark: #525252;
  
  /* Professional Shadows */
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.09), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-dark: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  --gradient-secondary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-accent: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --gradient-dark: linear-gradient(135deg, #262626 0%, #404040 100%);
  
  /* Status and Semantic Colors - More Muted */
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --info-color: #0284c7;
}

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

body {
  font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  max-width: 1600px; /* Increased from 1200px */
  margin: 0 auto;
  color: var(--text-color-light);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%, #f8fafc 100%);
  background-size: 400% 400%;
  background-attachment: fixed;
  animation: gradientShift 15s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 100px 30px 0 30px; /* Increased horizontal padding */
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}
p {
  margin: 16px 0;
  font-size: 16px;
  font-weight: 400;
}

.dark-mode {
  background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 25%, #2a2a2a 50%, #1f1f1f 75%, #0a0a0a 100%) !important;
  background-attachment: fixed !important;
  color: var(--text-color-dark);
}

.header {
  text-align: center;
  padding: 60px 40px;
  background: var(--card-bg-light);
  border-radius: 20px;
  margin: 40px 0 50px 0;
  box-shadow: var(--shadow-large);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

h1 {
  color: var(--accent-color);
  margin-bottom: 20px;
  margin-top: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.authors {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.8;
  color: var(--text-color-light);
}

.authors p {
  margin: 12px 0;
}

.authors a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.authors a:hover {
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.authors a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.authors a:hover::after {
  width: 100%;
}

.authors sup {
  font-size: 14px;
  vertical-align: super;
  font-weight: 700;
  color: var(--accent-color);
}

.authors em {
  font-size: 14px;
  color: var(--accent-tertiary);
  font-style: italic;
}
.abstract {
  scroll-margin-top: 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 40px;
  border-radius: 20px;
  margin: 40px 0;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.abstract:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(79, 70, 229, 0.4);
}

.abstract::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 20px 20px 0 0;
}

h2 {
  color: var(--accent-color);
  border-bottom: none;
  padding-bottom: 0;
  margin: 0 0 20px 0;
  padding-left: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h3 {
  color: var(--accent-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 15px 0;
  text-align: center;
}

.content-section {
  margin: 15px 0;
  scroll-margin-top: 20px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 24px;
  z-index: -1;
}

.content-section:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(59, 130, 246, 0.3);
}

.content-section ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.content-section li {
  margin: 12px 0;
  padding: 12px 0 12px 40px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.content-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 18px;
}
.footer {
  position: relative;
  margin-top: 120px;
  padding: 0;
  background: transparent;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.footer-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 -8px 25px rgba(0, 0, 0, 0.1),
    0 -4px 12px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-branding {
  text-align: left;
}

.footer-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color-light);
  margin: 0 0 12px 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-subtitle {
  font-size: 16px;
  color: var(--accent-tertiary);
  margin: 0;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color-light);
  margin: 0 0 20px 0;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section a {
  color: var(--accent-tertiary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 6px;
  padding-left: 12px;
}

.footer-section a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.footer-section a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
  background: rgba(59, 130, 246, 0.05);
}

.footer-section a:hover::before {
  width: 4px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.3) 50%, 
    transparent 100%);
  margin: 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
}

.footer-credits p {
  margin: 8px 0;
  color: var(--accent-tertiary);
  font-size: 14px;
}

.footer-template-credit {
  opacity: 0.7;
}

.footer-template-credit a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-template-credit a:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-hover);
}

.footer-stats {
  display: flex;
  align-items: center;
}

.footer-counter {
  opacity: 0.8;
  transition: opacity 0.3s ease;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-counter:hover {
  opacity: 1;
}

.nav {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  margin: 0 0 30px 0;
  width: 100vw;
  left: 50%;
  z-index: 1000;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.nav-container {
  max-width: 1600px; /* Match body max-width */
  margin: 0 auto;
  padding: 0 30px; /* Match body padding */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.dark-mode {
  background: var(--card-bg-dark);
  border-bottom-color: var(--border-dark);
}

/* Navigation Brand */
.nav-brand {
  flex-shrink: 0;
  margin-right: clamp(16px, 2vw, 24px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-color);
  text-decoration: none;
}

.nav-logo svg {
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.nav-logo:hover svg {
  transform: scale(1.1);
}

.nav-title {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 16px);
  flex: 1;
  justify-content: center;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 clamp(8px, 1vw, 16px);
}

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

.nav-link {
  color: var(--text-color-light);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(12px, 1.3vw, 14px);
  position: relative;
  transition: all 0.3s ease;
  padding: 8px clamp(6px, 1vw, 12px);
  border-radius: 8px;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: clamp(6px, 1vw, 12px);
  right: clamp(6px, 1vw, 12px);
  width: calc(100% - 2 * clamp(6px, 1vw, 12px));
  height: 2px;
  background: var(--gradient-primary);
  transition: transform 0.3s ease;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--accent-color);
  background: rgba(37, 99, 235, 0.05);
}

.nav-link.active {
  color: var(--accent-color);
  background: rgba(37, 99, 235, 0.1);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Navigation Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: clamp(16px, 2vw, 24px);
}

/* Legacy nav a support for old structure */
.nav a {
  margin: 0 20px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: var(--accent-hover);
  transform: translateY(-1px);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  position: relative;
  background: var(--card-bg-light);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.theme-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.theme-toggle-btn .sun-icon,
.theme-toggle-btn .moon-icon {
  position: absolute;
  color: var(--accent-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn .sun-icon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.theme-toggle-btn .moon-icon {
  transform: rotate(180deg) scale(0);
  opacity: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(37, 99, 235, 0.05);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-color-light);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Links */
.mobile-nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card-bg-light);
  border-top: 1px solid var(--border-light);
  box-shadow: var(--shadow-medium);
  flex-direction: column;
  padding: 20px 0;
  z-index: 100;
  max-height: 70vh;
  overflow-y: auto;
}

.mobile-nav-links.active {
  display: flex;
}

.mobile-nav-link {
  padding: 16px 24px;
  color: var(--text-color-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(37, 99, 235, 0.05);
  border-left-color: var(--accent-color);
  color: var(--accent-color);
}

/* Legacy support for old toggle button */
.toggle-btn {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-weight: 500;
  font-size: 14px;
  box-shadow: var(--shadow-light);
}

.toggle-btn:hover {
  transform: translateY(-50%) translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.toggle-btn:active {
  transform: translateY(-50%) translateY(0);
}
.buttons {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.buttons a {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.buttons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.buttons a:hover::before {
  left: 100%;
}

.buttons a:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(59, 130, 246, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.buttons a:active {
  transform: translateY(-3px) scale(1.02);
}

.video-section {
  margin: 15px 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.video-section h2 {
  margin: 0 0 20px 0;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.bibtex-section {
  position: relative;
  margin: 60px 0;
  padding: 40px;
  background: var(--card-bg-light);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.bibtex-section:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.bibtex-section pre {
  padding: 30px;
  background: var(--card-bg-light);
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
}

.bibtex-copy-button {
  position: absolute;
  top: 60px;
  right: 60px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 13px;
  box-shadow: var(--shadow-light);
}

.bibtex-copy-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}
.carousel-container {
  max-width: 1200px;
  margin: 60px auto;
  position: relative;
  background: var(--card-bg-light);
  border-radius: 16px;
  padding: 40px 20px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.carousel-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.carousel-slide img,
.carousel-slide iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: none;
  transition: transform 0.3s ease;
}

.carousel-slide:hover img,
.carousel-slide:hover iframe {
  transform: scale(1.02);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, filter 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--accent-hover);
  filter: brightness(1.1);
}

.carousel-button:active {
  transform: translateY(-50%);
  filter: brightness(0.9);
}

.carousel-button.prev {
  left: 15px;
}

.carousel-button.next {
  right: 15px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
}

.indicator:hover {
  background: var(--border-accent-light);
  transform: scale(1.1);
}

.indicator.active {
  background: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.scrollUpBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 16px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-large);
  z-index: 1000;
  width: 56px;
  height: 56px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scrollUpBtn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.4);
}

.scrollUpBtn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Dark Mode Styles - Professional Academic Theme */
.dark-mode .header,
.dark-mode .abstract,
.dark-mode .footer,
.dark-mode .content-section,
.dark-mode .video-section,
.dark-mode .bibtex-section,
.dark-mode .carousel-container {
  background-color: var(--card-bg-dark);
  border-color: var(--border-dark);
  color: var(--text-color-dark);
  box-shadow: var(--shadow-dark);
}

.dark-mode h1 {
  color: var(--text-color-dark);
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode h2,
.dark-mode h3 {
  color: var(--text-color-dark);
}

.dark-mode .authors {
  color: var(--text-color-dark);
}

.dark-mode .authors a {
  color: #60a5fa;
}

.dark-mode .authors a:hover {
  color: #93c5fd;
}

.dark-mode .authors em {
  color: #9ca3af;
}

.dark-mode .authors p {
  color: #d1d5db;
}

.dark-mode .authors sup {
  color: #93c5fd;
  font-weight: 600;
}

/* General content links in dark mode */
.dark-mode a:not(.nav-link):not(.nav-logo):not(.toggle-btn):not(.buttons a) {
  color: #60a5fa;
}

.dark-mode a:not(.nav-link):not(.nav-logo):not(.toggle-btn):not(.buttons a):hover {
  color: #93c5fd;
}

.dark-mode .nav {
  background: rgba(15, 15, 15, 0.98);
  border-bottom-color: var(--border-dark);
  backdrop-filter: blur(12px);
}

.dark-mode .nav a {
  color: var(--text-color-dark);
}

.dark-mode .nav a:hover {
  color: var(--accent-hover);
}

/* Dark mode for new navigation components */
.dark-mode .nav-logo {
  color: #60a5fa;
}

.dark-mode .nav-logo svg {
  color: #60a5fa;
}

.dark-mode .nav-title {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode .nav-link {
  color: var(--text-color-dark);
}

.dark-mode .nav-link:hover {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
}

.dark-mode .nav-link.active {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.2);
}

.dark-mode .theme-toggle-btn {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

.dark-mode .theme-toggle-btn:hover {
  border-color: var(--accent-color);
  background: var(--card-bg-elevated-dark);
}

/* Dark mode icon states */
.dark-mode .theme-toggle-btn .sun-icon {
  transform: rotate(180deg) scale(0);
  opacity: 0;
}

.dark-mode .theme-toggle-btn .moon-icon {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.dark-mode .mobile-nav-links {
  background: rgba(15, 15, 15, 0.98);
  border-top-color: var(--border-dark);
  backdrop-filter: blur(12px);
}

.dark-mode .mobile-nav-link {
  color: var(--text-color-dark);
}

.dark-mode .mobile-nav-link:hover,
.dark-mode .mobile-nav-link.active {
  background: rgba(30, 58, 138, 0.15);
  border-left-color: var(--accent-color);
  color: var(--accent-color);
}

.dark-mode .hamburger-line {
  background: var(--text-color-dark);
}

/* Dark mode TL;DR section adjustments */
.dark-mode .tldr-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.dark-mode .tldr-highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.dark-mode .tldr-highlight h3 {
  color: rgba(255, 255, 255, 0.95);
}

.dark-mode .tldr-highlight p {
  color: rgba(255, 255, 255, 0.8);
}

.dark-mode .stat-number {
  color: rgba(255, 255, 255, 0.95);
}

.dark-mode .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* Dark mode glass morphism effects */
.dark-mode body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 25%, #2a2a2a 50%, #1f1f1f 75%, #0a0a0a 100%) !important;
  background-attachment: fixed !important;
}

.dark-mode body::before {
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(147, 197, 253, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 60% 40%, rgba(99, 102, 241, 0.06) 0%, transparent 70%) !important;
}

.dark-mode .nav {
  background: rgba(15, 15, 15, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode .content-section {
  background: rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode .content-section::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.dark-mode .content-section:hover {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(96, 165, 250, 0.3);
}

.dark-mode .abstract {
  background: rgba(26, 26, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dark-mode .abstract:hover {
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(96, 165, 250, 0.4);
}

.dark-mode .buttons a {
  box-shadow: 
    0 8px 25px rgba(59, 130, 246, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .buttons a:hover {
  box-shadow: 
    0 15px 40px rgba(59, 130, 246, 0.5),
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.dark-mode .video-section {
  background: rgba(26, 26, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dark-mode .video-section:hover {
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(96, 165, 250, 0.25);
}

.dark-mode .impact-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dark-mode .impact-card:hover {
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 6px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(96, 165, 250, 0.2);
}

.dark-mode .bibtex-section pre {
  background: var(--card-bg-elevated-dark);
  border-color: var(--border-dark);
  color: var(--text-color-dark);
}

/* Dark Mode Footer Styling */
.dark-mode .footer-content {
  background: rgba(20, 20, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 -8px 25px rgba(0, 0, 0, 0.4),
    0 -4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .footer-title {
  color: var(--text-color-dark);
}

.dark-mode .footer-subtitle {
  color: rgba(229, 231, 235, 0.7);
}

.dark-mode .footer-section h4 {
  color: var(--text-color-dark);
}

.dark-mode .footer-section a {
  color: rgba(229, 231, 235, 0.8);
}

.dark-mode .footer-section a:hover {
  color: var(--accent-color-dark);
  background: rgba(99, 179, 237, 0.1);
}

.dark-mode .footer-divider {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(99, 179, 237, 0.4) 50%, 
    transparent 100%);
}

.dark-mode .footer-credits p {
  color: rgba(229, 231, 235, 0.7);
}

.dark-mode .footer-template-credit a {
  color: var(--accent-color-dark);
}

.dark-mode .footer-template-credit a:hover {
  background: rgba(99, 179, 237, 0.15);
  color: rgba(147, 197, 253, 1);
}

.dark-mode .footer-counter {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode .carousel-button {
  background: rgba(30, 35, 45, 0.95);
  color: var(--accent-color-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.2);
}

.dark-mode .carousel-button:hover {
  background: rgba(30, 35, 45, 1);
  transform: translateY(-50%);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
  color: rgba(147, 197, 253, 1);
  filter: brightness(1.2);
}

.dark-mode .indicator {
  background: var(--border-dark);
}

.dark-mode .indicator:hover {
  background: var(--border-accent-dark);
}

/* Medium screens */
@media (max-width: 1024px) {
  .nav-links {
    gap: clamp(4px, 1vw, 12px);
  }
  
  .nav-link {
    font-size: clamp(11px, 1.2vw, 13px);
    padding: 6px clamp(4px, 0.8vw, 10px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 0;
  }
  
  .header,
  .content-section,
  .abstract,
  .video-section,
  .bibtex-section,
  .carousel-container {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  /* Footer mobile overrides */
  .footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 80px;
  }
  
  .footer-content {
    padding: 40px 0 0;
  }
  
  .footer-inner {
    padding: 0 20px 30px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-branding {
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-title {
    font-size: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .header {
    padding: 40px 20px;
    margin: 20px 0 30px 0;
  }
  
  .content-section,
  .abstract,
  .video-section,
  .bibtex-section {
    padding: 25px 20px;
    margin: 30px 0;
  }
  
  .carousel-slide {
    flex: 0 0 calc(100% - 20px);
    height: 250px;
  }
  
  /* Mobile Navigation */
  .nav {
    padding: 12px 0;
    margin: 0;
    border-radius: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  
  .nav-container {
    padding: 0 16px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-title {
    font-size: 16px;
  }
  
  .theme-toggle-btn {
    width: 40px;
    height: 40px;
  }
  
  .nav-brand {
    flex-shrink: 0;
    max-width: calc(100% - 120px);
    margin-right: clamp(8px, 2vw, 16px);
  }
  
  .nav-logo {
    gap: 8px;
  }
  
  .nav-controls {
    gap: 12px;
    margin-left: clamp(8px, 2vw, 16px);
  }
  
  .nav a {
    margin: 0 10px;
    font-size: 14px;
  }
  
  .toggle-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .buttons a {
    margin: 5px 0;
    width: 200px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 10px 0;
  }
  
  .nav-container {
    padding: 0 12px;
  }
  
  .nav-brand {
    margin-right: clamp(6px, 1.5vw, 12px);
  }
  
  .nav-controls {
    margin-left: clamp(6px, 1.5vw, 12px);
  }
  
  .nav-title {
    font-size: 14px;
  }
  
  .nav-logo svg {
    width: 24px;
    height: 24px;
  }
  
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
  }
  
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
  
  .hamburger-line {
    width: 20px;
  }
  
  .carousel-container {
    padding: 20px 10px;
  }
  
  .carousel-button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .carousel-button.prev {
    left: 10px;
  }
  
  .carousel-button.next {
    right: 10px;
  }
}

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

.header,
.abstract,
.content-section,
.video-section,
.bibtex-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
.nav a:focus,
.buttons a:focus,
.toggle-btn:focus,
.bibtex-copy-button:focus,
.carousel-button:focus,
.scrollUpBtn:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* TL;DR Section Styles */
.tldr-section {
  margin: 15px 0;
  padding: 40px;
  background: var(--gradient-primary);
  border-radius: 20px;
  color: white;
  box-shadow: var(--shadow-large);
  position: relative;
  overflow: hidden;
}

.tldr-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.tldr-section h2 {
  color: white;
  margin: 0 0 30px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.content-section h2 {
  margin: 0 0 20px 0;
}

.tldr-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.tldr-highlight {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.tldr-highlight:hover {
  transform: translateY(-5px);
}

.tldr-highlight h3 {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.tldr-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Impact & Applications Styles */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.impact-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.08),
    0 3px 10px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.impact-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(59, 130, 246, 0.2);
}

.impact-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.impact-card h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.future-work {
  background: rgba(37, 99, 235, 0.05);
  padding: 30px;
  border-radius: 16px;
  border-left: 4px solid var(--accent-color);
}

.future-work h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

/* FAQ Styles */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0;
}

.faq-item:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(59, 130, 246, 0.2);
}

.faq-item.active {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 15px 45px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 0 0 1px rgba(59, 130, 246, 0.4);
}

.faq-question {
  width: 100%;
  box-sizing: border-box;
  padding: 24px 32px 24px 32px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-color-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-question::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-question::before {
  width: 100%;
}

.faq-item.active .faq-question::before {
  width: 100%;
}

.faq-toggle {
  font-size: 18px;
  font-weight: 400;
  color: var(--accent-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 179, 237, 0.15));
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 
    0 2px 8px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1;
  text-align: center;
}

.faq-toggle:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 179, 237, 0.25));
  box-shadow: 
    0 4px 12px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg) scale(1.05);
  background: linear-gradient(135deg, var(--accent-color), rgba(99, 179, 237, 0.9));
  color: #ffffff !important;
  box-shadow: 
    0 6px 16px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
}

.faq-answer {
  width: 100%;
  box-sizing: border-box;
  padding-left: 32px;
  padding-right: 32px;
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(59, 130, 246, 0.02);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  opacity: 0;
  transform: translateY(-10px);
}

.faq-item.active .faq-answer {
  padding: 28px;
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  color: var(--text-color-light);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

/* Infographic Styles */
.infographic-container {
  text-align: center;
}

.infographic-placeholder {
  background: var(--card-bg-light);
  border: 2px dashed var(--border-light);
  border-radius: 16px;
  padding: 60px 40px;
  margin: 20px 0;
  color: var(--text-color-light);
}

.infographic-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.infographic-note {
  font-style: italic;
  color: var(--text-color-light);
  margin-top: 15px;
}

.infographic-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

/* Replicability Styles */
.replicability-overview {
  background: rgba(37, 99, 235, 0.05);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  border-left: 4px solid var(--accent-color);
}

.replicability-steps {
  margin-bottom: 40px;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--card-bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.step-number {
  background: var(--gradient-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 10px;
  color: var(--accent-color);
}

.step-content code {
  background: var(--card-bg-light);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  display: block;
  margin-top: 10px;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-color-light);
  transition: all 0.3s ease;
}

.resource-link:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.resource-icon {
  font-size: 1.5rem;
}

/* Supplementary Materials Styles */
.supplementary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.supplementary-card {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.supplementary-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.supplementary-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.supplementary-card h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.supplementary-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.supplementary-link:hover {
  color: var(--accent-hover);
}

/* Acknowledgements Styles */
.acknowledgements-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.ack-section {
  background: rgba(37, 99, 235, 0.05);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.ack-section h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* Contact & Collaboration Styles */
.contact-intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--text-color-light);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-card h3 {
  color: var(--accent-color);
  margin-bottom: 10px;
}

.contact-link {
  display: inline-block;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-hover);
}

.collaboration-interests {
  text-align: center;
  background: rgba(37, 99, 235, 0.05);
  padding: 30px;
  border-radius: 16px;
}

.collaboration-interests h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.interests-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.interest-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Dark Mode Styles for New Sections (excluding TL;DR which has custom glass effect) */
.dark-mode .impact-card,
.dark-mode .step-item,
.dark-mode .resource-link,
.dark-mode .supplementary-card,
.dark-mode .contact-card,
.dark-mode .infographic-placeholder {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
  color: var(--text-color-dark);
}
 
.dark-mode .infographic-note {
  color: var(--text-color-dark);
}

/* Premium Dark Mode FAQ Styling */
.dark-mode .faq-item {
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .faq-item:hover {
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.5),
    0 6px 18px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(99, 179, 237, 0.3);
}

.dark-mode .faq-item.active {
  box-shadow: 
    0 15px 45px rgba(0, 0, 0, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(99, 179, 237, 0.5);
}

.dark-mode .faq-question {
  color: var(--text-color-dark);
  background: transparent;
}

.dark-mode .faq-toggle {
  background: linear-gradient(135deg, rgba(99, 179, 237, 0.15), rgba(139, 192, 216, 0.2));
  border-color: rgba(99, 179, 237, 0.35);
  color: var(--accent-color-dark);
  box-shadow: 
    0 2px 8px rgba(99, 179, 237, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-mode .faq-toggle:hover {
  background: linear-gradient(135deg, rgba(99, 179, 237, 0.25), rgba(139, 192, 216, 0.3));
  box-shadow: 
    0 4px 12px rgba(99, 179, 237, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dark-mode .faq-item.active .faq-toggle {
  background: linear-gradient(135deg, var(--accent-color-dark), rgba(139, 192, 216, 0.9));
  color: #1a1a2e !important;
  box-shadow: 
    0 6px 16px rgba(99, 179, 237, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color-dark);
}

.dark-mode .faq-answer {
  background: rgba(99, 179, 237, 0.05);
  border-top-color: rgba(99, 179, 237, 0.15);
}

.dark-mode .faq-answer p {
  color: rgba(229, 231, 235, 0.9);
}

.dark-mode .step-content code {
  background: #374151;
  color: var(--text-color-dark);
}

.dark-mode .future-work,
.dark-mode .replicability-overview,
.dark-mode .ack-section,
.dark-mode .collaboration-interests {
  background: rgba(74, 85, 104, 0.3);
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
  .tldr-content {
    grid-template-columns: 1fr;
  }
  
  .tldr-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .impact-grid,
  .supplementary-grid,
  .contact-methods,
  .acknowledgements-content {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .interests-tags {
    justify-content: center;
  }
}

/* ===============================================
   PREMIUM ANIMATIONS & EFFECTS
   =============================================== */

/* Foundational Animation Variables */
:root {
  --animation-speed-fast: 0.2s;
  --animation-speed-normal: 0.4s;
  --animation-speed-slow: 0.8s;
  --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --animation-easing-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --animation-easing-bounce: cubic-bezier(0.68, 0.55, 0.265, 1.45);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Scroll-triggered Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--animation-speed-slow) var(--animation-easing);
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  transition: opacity var(--animation-speed-slow) var(--animation-easing);
}

.animate-fade-in.animate {
  opacity: 1;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all var(--animation-speed-slow) var(--animation-easing);
}

.animate-slide-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--animation-speed-slow) var(--animation-easing);
}

.animate-slide-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--animation-speed-slow) var(--animation-easing-back);
}

.animate-scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Animation Delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* Enhanced Hover Effects */
.hover-lift {
  transition: all var(--animation-speed-normal) var(--animation-easing);
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
}

.hover-glow {
  transition: all var(--animation-speed-normal) var(--animation-easing);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.hover-magnetic {
  transition: all var(--animation-speed-fast) var(--animation-easing);
  position: relative;
  cursor: pointer;
}

.hover-magnetic:hover {
  transform: scale(1.05);
}

/* Pulse Animation for CTAs */
.pulse-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Background Animation */
.animated-gradient {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* Loading States */
.skeleton-loader {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

.dark-mode .skeleton-loader {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Floating Animation */
.float-animation {
  animation: floatUp 6s ease-in-out infinite;
}

/* Ripple Effect for Buttons */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

/* Enhanced Background Gradients */
body {
  background-size: 400% 400%;
}

.dark-mode body {
  background-size: 400% 400%;
}

/* Parallax Elements */
.parallax-bg {
  will-change: transform;
}

/* Loading States */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.dark-mode .page-loader {
  background: var(--bg-color-dark);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Text Selection Animation */
::selection {
  background: rgba(59, 130, 246, 0.2);
  color: inherit;
}

.dark-mode ::selection {
  background: rgba(96, 165, 250, 0.3);
}

/* Smooth Focus States */
*:focus {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
  transition: outline 0.2s ease;
}

/* Enhanced Glass Morphism with Animation */
.content-section, .abstract, .tldr-section {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

/* Staggered Content Animation */
.tldr-highlight:nth-child(1) { animation-delay: 0.1s; }
.tldr-highlight:nth-child(2) { animation-delay: 0.2s; }
.tldr-highlight:nth-child(3) { animation-delay: 0.3s; }

.buttons a:nth-child(1) { animation-delay: 0.1s; }
.buttons a:nth-child(2) { animation-delay: 0.2s; }
.buttons a:nth-child(3) { animation-delay: 0.3s; }
.buttons a:nth-child(4) { animation-delay: 0.4s; }
.buttons a:nth-child(5) { animation-delay: 0.5s; }
.buttons a:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   HORIZONTAL SPACE OPTIMIZATION LAYOUTS
   ======================================== */

/* Enhanced Multi-Column Content Sections */
.content-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.content-section.two-column {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.content-section.three-column {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.content-section.sidebar-layout {
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Enhanced Card Grid Layouts */
.horizontal-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.horizontal-card-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.horizontal-card-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

/* Split Content Layout */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 30px 0;
}

.split-content .left-panel,
.split-content .right-panel {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
}

.dark-mode .split-content .left-panel,
.dark-mode .split-content .right-panel {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

/* Comparison Layout */
.comparison-layout {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 20px;
  align-items: center;
  margin: 30px 0;
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-weight: 600;
  font-size: 18px;
  margin: 0 auto;
}

/* Enhanced Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.result-card {
  background: var(--card-bg-light);
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
}

.dark-mode .result-card {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

/* Methodology Steps Layout */
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.methodology-step {
  background: var(--card-bg-light);
  padding: 25px;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
  position: relative;
}

.methodology-step::before {
  content: attr(data-step);
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.dark-mode .methodology-step {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

/* Performance Metrics Layout */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.metric-card {
  background: var(--card-bg-light);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
}

.metric-value {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 10px;
  display: block;
}

.metric-label {
  font-size: 0.9em;
  color: var(--accent-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.dark-mode .metric-card {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

/* Enhanced Video Samples Grid */
.video-samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 20px 0;
}

/* Platform Comparison Layout */
.platform-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.platform-card {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
}

.platform-card h4 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.4em;
}

.dark-mode .platform-card {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

/* Responsive Breakpoints */
@media (max-width: 1400px) {
  body {
    max-width: 1200px;
    padding: 100px 25px 0 25px;
  }
  
  .content-section.three-column {
    grid-template-columns: 1fr 1fr;
  }
  
  .horizontal-card-grid.wide {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 1024px) {
  body {
    max-width: 95%;
    padding: 80px 20px 0 20px;
  }
  
  .content-section.two-column,
  .content-section.sidebar-layout {
    grid-template-columns: 1fr;
  }
  
  .split-content,
  .comparison-layout,
  .platform-comparison {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .comparison-divider {
    transform: rotate(90deg);
    margin: 10px auto;
  }
}

@media (max-width: 768px) {
  .horizontal-card-grid,
  .results-grid,
  .methodology-steps {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .video-samples-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Typography for Wider Screens */
@media (min-width: 1400px) {
  body {
    font-size: 17px; /* Slightly larger base font */
    line-height: 1.8;
  }
  
  h1 {
    font-size: 3.2em;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 2.4em;
    margin: 50px 0 30px 0;
  }
  
  h3 {
    font-size: 1.6em;
    margin: 35px 0 20px 0;
  }
  
  .header {
    padding: 80px 60px;
  }
  
  .content-section {
    margin: 60px 0;
    padding: 50px;
  }
  
  .tldr-section {
    padding: 50px;
  }
}

/* Ultra-wide screen optimizations */
@media (min-width: 1800px) {
  body {
    max-width: 1800px;
    padding: 100px 40px 0 40px;
  }
  
  .nav-container {
    max-width: 1800px;
    padding: 0 40px;
  }
  
  .content-section.three-column {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .horizontal-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }
  
  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}
