@import url('style.css');

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  padding: 16rem 0 8rem;
  background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-pink) 100%);
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.research-timeline {
  padding: 6rem 0;
  background: var(--bg-gray);
}

.research-timeline h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--text-dark);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--secondary-pink), var(--secondary-purple));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: -2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50%;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--secondary-pink);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-marker::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: rgba(236, 72, 153, 0.2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.timeline-content {
  /* background: white; */
  padding: 2rem;
  /* border-radius: 15px; */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.key-findings {
  padding: 6rem 8rem;
  background: var(--bg-white);
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
}

.key-findings img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.key-findings h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--text-dark);
}

.findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.finding-card {
  background: var(--bg-gradient-neutral);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.6s ease;
  opacity: 1;
  transform: translateY(0);
}

.finding-card:hover {
  transform: translateY(-10px);
}

.finding-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.finding-card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.finding-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.research-impact {
  padding: 6rem 0;
  background: var(--bg-gray);
}

.impact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.impact-text h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.impact-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.impact-text ul {
  list-style: none;
  padding-left: 0;
}

.impact-text li {
  color: var(--neutral-600);
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.impact-text li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--border-accent);
  font-weight: bold;
}

.research-chart {
  display: flex;
  justify-content: space-around;
  align-items: end;
  height: 300px;
  background: var(--bg-white);
  padding: 1rem;
  border-radius: 20px;
  margin: 0px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 80px;
  height: 200px;
  justify-content: flex-end;
  align-items: center;
}

.bar-container {
  width: 60px;
  height: 10px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-pink));
  border-radius: 30px 30px 0 0;
  transition: height 2s ease;
  margin-bottom: 1rem;
  order: 2;
}

.chart-bar.animate .bar-container {
  height: var(--height);
}

.bar-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  /* margin-top: 1rem; */
  line-height: 1.2;
  order: 3;
}

.bar-value {
  position: absolute;
  top: -40px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
  order: 1;
  text-align: center;
  width: 100%;
}

.research-papers {
  padding: 6rem 0;
  background: var(--bg-white);
  display: block;
  visibility: visible;
  opacity: 1;
}

.research-papers h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--text-dark);
}

.papers-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.paper-card {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.6s ease;
  opacity: 1;
  transform: translateY(0);
  max-width: 400px;
}

.paper-card:hover {
  transform: translateY(-5px);
}

.paper-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--bg-dark);
}

.paper-card h3 {
  font-size: 1.3rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.paper-card p {
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.download-btn {
  background: linear-gradient(135deg, var(--secondary-pink), var(--secondary-purple));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
}

/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.notification-success {
  background: #10b981;
  color: white;
}

.notification-info {
  background: #3b82f6;
  color: white;
}

@media (max-width: 1024px) {
  .key-findings {
    padding: 6rem 2rem;
  }
}

@media (max-width: 768px) {
  .key-findings {
    padding: 6rem 0rem;
    grid-template-columns: 1fr;
  }

  .key-findings img {
    display: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
    padding-left: 2rem;
    padding-right: 1rem;
    text-align: left;
  }

  .timeline-marker {
    left: 20px;
  }

  .impact-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .chart-bar {
    width: 60px;
    height: 150px;
  }
  
  .bar-container {
    width: 50px;
  }
  
  .bar-label {
    font-size: 0.8rem;
  }
  
  .bar-value {
    font-size: 1rem;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    transform: translateY(-100%);
  }
  
  .notification.show {
    transform: translateY(0);
  }
}
