/* ========================================
   CITATIONS PAGE - WORLD CLASS UI/UX
   ======================================== */

/* Home Dot Button */
.home-dot {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.home-dot:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(240, 147, 251, 0.6);
}

.dot-pulse {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: relative;
}

.dot-pulse::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Hero Section */
.citations-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient( #a9b8ff 0%, #0026ff 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

.citations-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 182, 182, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(204, 123, 241, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.citations-hero-content {
  max-width: 1200px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.citations-title {
  font-family: 'quick-gaseous', sans-serif;
  line-height:90%;
  letter-spacing: -3px;
  font-style: italic;
  font-size: 10rem;
  color: white;
  text-shadow: 5px 2px 4px rgb(142, 0, 137);
  animation: fadeInUp 0.8s ease;
    text-decoration: underline 2px;
    text-underline-offset: 0.5rem;

}



.citations-tagline {
    font-family: 'quick-gaseous', sans-serif;
  font-size: 2rem;
padding: 20px;
  color: rgb(255, 255, 255);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-num {
  font-size: 3rem;
  font-weight: bold;
  color: rgb(142, 0, 0);
  font-family: 'quick-gaseous', sans-serif;
}

.stat-label {
    font-family: monospace;
  font-size: 0.9rem;
  color: rgb(0, 255, 213);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Filter Section */
.filter-section {
    opacity:90%;
  background: #0026ff;
  padding: 2rem 0;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(240, 147, 251, 0.4);
}

/* Citations Grid */
.citations-section {
    font-family: monospace;
  background: radial-gradient( #ffffff 40%, #0026ff 100%);
  padding: 4rem 2rem;
  position: relative;
}

.citations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 182, 182, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(204, 123, 241, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.citations-grid {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.citation-card {
  background: rgba(255, 242, 215, 0.95);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(30px);
  animation: cardFadeIn 0.6s ease forwards;
  position: relative;
  overflow: hidden;
}

.citation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.citation-card.protein::before {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.citation-card.glucose::before {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.citation-card.insulin::before {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.citation-card.gi::before {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.citation-card.metabolic::before {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.citation-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgb(255, 255, 255);
}

.citation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.citation-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #002fff;
  font-family: 'quick-gaseous', sans-serif;
}

.citation-badge {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  color: rgb(255, 255, 255);
}

.citation-badge.protein-badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.citation-badge.glycemic-badge {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.citation-badge.gi-badge {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.citation-badge.metabolic-badge {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.citation-badge.timing-badge {
  background: linear-gradient(135deg, #00a84c 0%, #c1003d 100%);
}

.citation-badge.datasets-badge {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.citation-category {

  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.citation-category.protein {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.citation-category.glucose {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.citation-category.insulin {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.citation-category.gi {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.citation-category.metabolic {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  color: white;
}

.citation-category.datasets {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
  color: white;
}

.citation-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
  font-family: 'quick-gaseous', sans-serif;
}

.citation-authors {
  font-size: 1.1rem;
  font-weight: 600;
  color: #002d7b;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.citation-title {
  font-size: 1rem;
  color: #314361;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.citation-journal {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.citation-journal::before {
  content: '📄';
  font-size: 1.2rem;
}

.citation-findings {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.findings-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.citation-findings p {
  font-size: 0.95rem;
  color: #005eff;
  line-height: 1.6;
  margin: 0;
}

.citation-impact {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.impact-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f5576c;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.citation-impact p {
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.6;
  margin: 0;
}

.citation-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #718096;
}

.meta-icon {
  font-size: 1.1rem;
}

.citation-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.citation-link {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.citation-link.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.citation-link.primary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.citation-link.secondary {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 2px solid #667eea;
}

.citation-link.secondary:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

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

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(255, 182, 182, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(204, 123, 241, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'quick-gaseous', sans-serif;
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-button-large {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: 'quick-gaseous', sans-serif;
}

.cta-button-large.primary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.cta-button-large.primary:hover {
  background: linear-gradient(135deg, #e084f7 0%, #e0446b 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.5);
}

.cta-button-large.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.cta-button-large.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .citations-title {
    font-size: 4rem;
    padding: 15px;
  }

  .citations-tagline {
    font-size: 1.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .stat-num {
  font-size: 4rem;
  font-weight: bold;
  color: rgb(0, 255, 51);
  font-family: 'quick-gaseous', sans-serif;
}


  .citation-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .citation-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .filter-bar {
    gap: 0.1rem;
  }

  .filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }

  .cta-buttons-group {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-button-large {
    width: 100%;
  }
}
