/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  padding: 4rem 0;
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Content Section */
.content-section {
  padding: 2rem 0;
}

/* Filter Tags */
.filter-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #6366f1;
  color: white;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

/* Rangli digital cardlar (to'qroq va biroz ko'proq effekt) */
.cards-grid .digital-card:nth-child(1) {
  background: linear-gradient(135deg, #ffe5e5 60%, #ffb3b3 100%);
  box-shadow: 0 4px 24px 0 rgba(255, 179, 179, 0.10);
}
.cards-grid .digital-card:nth-child(2) {
  background: linear-gradient(135deg, #e0f2f7 60%, #7de3f7 100%);
  box-shadow: 0 4px 24px 0 rgba(125, 227, 247, 0.10);
}
.cards-grid .digital-card:nth-child(3) {
  background: linear-gradient(135deg, #e3ffe3 60%, #7dffb3 100%);
  box-shadow: 0 4px 24px 0 rgba(125, 255, 179, 0.10);
}
.cards-grid .digital-card:nth-child(4) {
  background: linear-gradient(135deg, #fffbe3 60%, #ffe97d 100%);
  box-shadow: 0 4px 24px 0 rgba(255, 233, 125, 0.10);
}
.cards-grid .digital-card:nth-child(5) {
  background: linear-gradient(135deg, #e3e3ff 60%, #7d7dff 100%);
  box-shadow: 0 4px 24px 0 rgba(125, 125, 255, 0.10);
}
.cards-grid .digital-card:nth-child(6) {
  background: linear-gradient(135deg, #ffe3fa 60%, #ff7ddc 100%);
  box-shadow: 0 4px 24px 0 rgba(255, 125, 220, 0.10);
}

/* Digital Cards */
.digital-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid #e5e7eb;
}

.digital-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #f3f4f6;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #6366f1;
}

.card-content h3 {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.card-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1rem;
}

.card-footer {
  margin-top: auto;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.download-link:hover {
  color: #4f46e5;
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #6366f1;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  background: #4f46e5;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }

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

  .subtitle {
    font-size: 1rem;
  }

  .filter-tags {
    gap: 0.5rem;
  }

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

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .digital-card {
    padding: 1.5rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .card-content h3 {
    font-size: 1.3rem;
  }
} 