/* ========================================
   Homepage Hero Banner - Modern Design
   ======================================== */

.homepage-modern {
  background: #f8f9fa;
}

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    #6253e8 0%,
    #7c3aed 25%,
    #8b5cf6 50%,
    #6253e8 75%,
    #5144d3 100%
  );
  opacity: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

/* ===== Hero Text ===== */
.hero-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Hero Search Area ===== */
.hero-search-area {
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-search-form {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.hero-search-input {
  flex: 1;
  padding: 18px 28px;
  font-size: 17px;
  border: none;
  border-radius: 12px;
  background: white;
  color: #111827;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  outline: none;
}

.hero-search-input::placeholder {
  color: #9ca3af;
}

.hero-search-input:focus {
  box-shadow: 0 15px 50px rgba(98, 83, 232, 0.4);
  transform: translateY(-2px);
}

.hero-search-button {
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  color: white;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(98, 83, 232, 0.35);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero-search-button:hover {
  background: linear-gradient(135deg, #5144d3, #7c3aed);
  box-shadow: 0 12px 32px rgba(98, 83, 232, 0.5);
  transform: translateY(-2px);
}

.hero-search-button:active {
  transform: translateY(0);
}

/* ===== Quick Links ===== */
.quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-links span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 15px;
}

.quick-links a {
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.quick-links a:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ===== Hero Stats ===== */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 1.75rem;
  color: white;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ===== Statistics Dashboard ===== */
.stats-dashboard {
  padding: 5rem 0;
  background: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
  border-color: #6253e8;
  box-shadow: 0 10px 40px rgba(98, 83, 232, 0.15);
  transform: translateY(-4px);
}

.stat-item-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  border-radius: 12px;
  flex-shrink: 0;
}

.stat-item-icon i {
  font-size: 1.75rem;
  color: white;
}

.stat-item-content {
  flex: 1;
}

.stat-item-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}

.stat-item-desc {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 400;
}

/* ===== Featured Datasets ===== */
.featured-datasets {
  padding: 5rem 0;
  background: #f8f9fa;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  background: linear-gradient(135deg, #5144d3, #7c3aed);
  box-shadow: 0 8px 24px rgba(98, 83, 232, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

.view-all-link i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.view-all-link:hover i {
  transform: translateX(4px);
}

.datasets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dataset-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.dataset-card:hover {
  border-color: #6253e8;
  box-shadow: 0 12px 40px rgba(98, 83, 232, 0.15);
  transform: translateY(-6px);
}

.dataset-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.dataset-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  border-radius: 10px;
}

.dataset-icon i {
  font-size: 1.5rem;
  color: white;
}

.dataset-badge {
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dataset-badge-new {
  background: linear-gradient(135deg, #10b981, #059669);
}

.dataset-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.dataset-description {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.dataset-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.dataset-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.dataset-meta-item i {
  font-size: 0.875rem;
  color: #9ca3af;
}

.dataset-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dataset-tag {
  padding: 0.375rem 0.875rem;
  background: #f3f4f6;
  color: #6253e8;
  border-radius: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dataset-tag:hover {
  background: #e5e7eb;
}


/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero-content {
    padding: 3rem 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .datasets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-banner {
    min-height: 550px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
    gap: 1rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item {
    padding: 2rem;
  }

  .datasets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}


@media (max-width: 768px) {
  .hero-banner {
    min-height: 500px;
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }

  .hero-search-form {
    flex-direction: column;
    gap: 10px;
  }

  .hero-search-input {
    padding: 16px 22px;
    font-size: 16px;
  }

  .hero-search-button {
    padding: 16px 28px;
    font-size: 15px;
  }

  .quick-links {
    flex-direction: column;
    gap: 8px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .stats-dashboard,
  .featured-datasets {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .stats-grid,
  .datasets-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-item {
    padding: 1.75rem;
  }

  .dataset-card {
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    min-height: 450px;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .hero-search-input {
    padding: 14px 18px;
    font-size: 15px;
  }

  .hero-search-button {
    padding: 14px 24px;
    font-size: 14px;
  }

  .quick-links span {
    font-size: 14px;
  }

  .quick-links a {
    padding: 6px 14px;
    font-size: 13px;
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stats-dashboard,
  .featured-datasets {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .stat-item-icon {
    width: 56px;
    height: 56px;
  }

  .stat-item-number {
    font-size: 2rem;
  }

  .dataset-card {
    padding: 1.5rem;
  }

  .dataset-title {
    font-size: 1.125rem;
  }

  .dataset-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

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

.hero-title,
.hero-subtitle,
.hero-search-area,
.hero-stats {
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  animation-delay: 0.1s;
}

.hero-search-area {
  animation-delay: 0.2s;
}

.hero-stats {
  animation-delay: 0.3s;
}

