/* ============================================================
   MATH QUIZ APP - DASHBOARD/LANDING PAGE STYLES
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO SECTION
   ------------------------------------------------------------ */
.hero-section {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}

.hero-image-wrapper {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  position: relative;
  display: inline-block;
}

.hero-illustration .display-1 {
  font-size: 8rem;
  animation: float 3s ease-in-out infinite;
}

/* Hero Stats (menggantikan floating cards) */
.hero-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.hero-stat-item {
  background: white;
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  text-align: center;
  min-width: 90px;
  transition: transform 0.2s;
}

.hero-stat-item:hover {
  transform: translateY(-3px);
}

.hero-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0b5ed7;
}

.hero-stat-label {
  display: block;
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ------------------------------------------------------------
   2. FEATURE CARDS
   ------------------------------------------------------------ */
.feature-card {
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ------------------------------------------------------------
   3. PRICING CARDS
   ------------------------------------------------------------ */
#pricing .card {
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

#pricing .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

#pricing .card.border-primary {
  border-color: var(--color-primary) !important;
}

/* ------------------------------------------------------------
   4. CAMPAIGN BANNER
   ------------------------------------------------------------ */
#campaign .container {
  max-width: 800px;
}

#campaign-banner img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

#campaign-banner img:hover {
  box-shadow: var(--shadow-lg);
}

.campaign-default {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px dashed var(--color-warning);
}

/* ------------------------------------------------------------
   5. PRICING PACKAGES (Advertise)
   ------------------------------------------------------------ */
.pricing-package-card {
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
  border: 1px solid var(--color-gray-200);
}

.pricing-package-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------------
   6. ANIMATIONS
   ------------------------------------------------------------ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ------------------------------------------------------------
   7. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
    text-align: center;
  }

  .hero-section .d-flex.gap-2 {
    justify-content: center;
  }

  .hero-section .d-flex.gap-4 {
    justify-content: center;
  }

  .hero-image-wrapper {
    min-height: 200px;
    margin-top: 2rem;
  }

  .hero-illustration .display-1 {
    font-size: 5rem;
  }

  .hero-stats {
    gap: 0.5rem;
  }

  .hero-stat-item {
    min-width: 75px;
    padding: 0.5rem 0.75rem;
  }

  .hero-stat-number {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-illustration .display-1 {
    font-size: 4rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stat-item {
    min-width: 70px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

/* ------------------------------------------------------------
   8. SMOOTH SCROLL OFFSET (FOR STICKY HEADER)
   ------------------------------------------------------------ */
section[id] {
  scroll-margin-top: 40px;
}