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

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #0b0d12, #05060a);
  color: #e5e7eb;
  overflow: hidden;
  font-family: $font-onest, sans-serif !important;
}

/* ================= BACKGROUND ================= */

.bgGlow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.12), transparent 45%),
    radial-gradient(circle at bottom right, rgba(255,183,3,0.08), transparent 45%);
  z-index: 0;
}

.bgGrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  z-index: 0;
}

/* ================= CONTENT ================= */

.inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 2rem;
  text-align: center;
}

/* Pill */
.pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  border-radius: 999px;
  color: #60a5fa;
  background: rgba(96,165,250,0.15);
  border: 1px solid rgba(96,165,250,0.25);
}

/* Heading */
.inner h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
  font-weight: 700;

  span {
    color: #ffb703;
  }
}

/* Description */
.inner p {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ================= ACTIONS ================= */

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.primaryBtn {
  background: linear-gradient(135deg, #ffb703, #f59e0b);
  color: #000;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(255,183,3,0.25);

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(255,183,3,0.45);
  }
}

.secondaryBtn {
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: all 0.3s ease;

  &:hover {
    background: rgba(255,255,255,0.06);
  }
}

/* ================= TRUST ================= */

.trust {
  margin-top: 2.6rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  opacity: 0.8;

  div {
    display: flex;
    align-items: center;
    gap: 0.45rem;

    svg {
      font-size: 0.95rem;
      color: #ffb703;
    }
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 640px) {
  .inner {
    padding: 1.5rem;
  }

  .inner h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .inner p {
    font-size: 0.95rem;
  }

  .trust {
    gap: 1.2rem;
  }
}
