@use "../../../../styles/abstracts/variables" as *;

/* ================= ROOT ================= */
.intro {
  background:
    radial-gradient(circle at top, rgba(247,147,26,0.14), transparent 45%),
    #0a0a0a;
  color: #ffffff;
  padding: 5rem 1.5rem;
  font-family: $font-onest, sans-serif;
  padding-top: 5rem;
}

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

/* ================= HEADER ================= */
.header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;

   h1 {
      font-size: 2.5rem !important;
      font-weight: 800 !important;
      line-height: 1.2;
      text-transform: capitalize;

      span { color: #f7931a; }
      @media (max-width: 768px){
        font-size: 1.7rem !important;
      }
    }

  p {
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
  }
}

/* ================= LAYOUT ================= */
.content {
  display: grid;
  gap: 3rem;

  @media (min-width: 1024px) {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ================= FLOAT ANIMATION ================= */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ================= LEFT SECTION ================= */
.left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;

  .badge {
    width: fit-content;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(247,147,26,0.14);
    color: #fbbf24;
  }

  h3 {
    font-size: 1.7rem;
    font-weight: 600;
  }

  p {
    max-width: 480px;
    line-height: 1.7;
    color: #cbd5e1;
  }

  .stats {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;

    div {
      background: rgba(255, 255, 255, 0.045);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 1.25rem;
      border-radius: 16px;
      backdrop-filter: blur(10px);

      animation: float 6s ease-in-out infinite;

      strong {
        display: block;
        font-size: 1.35rem;
        font-weight: 700;
        color: #fbbf24;
      }

      span {
        font-size: 0.85rem;
        color: #9ca3af;
      }
    }

    /* stagger animation */
    div:nth-child(2) {
      animation-delay: 0.8s;
    }

    div:nth-child(3) {
      animation-delay: 1.6s;
    }

    div:nth-child(4) {
      animation-delay: 2.4s;
    }
  }
}

/* ================= RIGHT SECTION ================= */
.right {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.065),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.2rem;
  backdrop-filter: blur(14px);

  h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
  }

  ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.2rem;

    li {
      display: flex;
      gap: 1rem;
      padding: 1.2rem;
      border-radius: 18px;
      background: transparent;

      transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

      &:hover {
        background: rgba(255, 255, 255, 0.055);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
      }

      /* ===== MOBILE ICON TOP ===== */
      @media (max-width: 640px) {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    }
  }
}

/* ================= ICON + TEXT ================= */
.icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: rgba(247, 147, 26, 0.18);
  color: #f7931a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.featureText {
  strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
  }

  span {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cbd5e1;
  }
}
