/* ============================================
   TOP Page Specific Styles
   ============================================ */

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 80px 0 120px;
}

.hero__bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 6s ease-in-out infinite;
}

.hero__bg-circle--1 {
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: var(--color-accent-orange);
}

.hero__bg-circle--2 {
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: var(--color-accent-teal);
  opacity: 0.1;
  animation-delay: 1s;
  animation-duration: 8s;
}

.hero__bg-circle--3 {
  top: 30%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: var(--color-accent-purple);
  opacity: 0.06;
  animation-delay: 2s;
  animation-duration: 7s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__subtitle {
  font-size: var(--fs-base);
  color: var(--color-primary);
  font-weight: var(--fw-bold);
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  font-family: var(--font-accent);
}

.hero__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  color: var(--color-text);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-lg);
}

.hero__title-accent {
  color: var(--color-primary);
}

.hero__desc {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Wave divider */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

/* --- Home About Summary --- */
.home-about {
  position: relative;
  overflow: hidden;
}

.home-about__rainbow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-rainbow);
}

.home-about__text {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-xl);
}

.home-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* --- Home CTA --- */
.home-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.home-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.home-cta__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--color-text-white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.home-cta__desc {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.home-cta .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   Responsive - Home
   ============================================ */

@media (max-width: 1024px) {
  .hero {
    padding: 60px 0 100px;
  }

  .hero__title {
    font-size: var(--fs-3xl);
  }

  .home-about__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 80px;
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }

  .hero__desc {
    font-size: var(--fs-base);
  }

  .home-about__stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .home-cta {
    padding: var(--space-3xl) var(--space-lg);
  }

  .home-cta__title {
    font-size: var(--fs-xl);
  }
}
