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

.hero {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  font-family: $font-onest, sans-serif;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  overflow: hidden;

  /* ================= SIGNAL WAVES ================= */
  .signalLines {
    position: absolute;
    inset: 0;
    z-index: 0;

    span {
      position: absolute;
      width: 200%;
      height: 2px;
      background: linear-gradient(90deg, #f7931a, #ffb703);
      opacity: 0.12;
      top: 20%;
      left: -50%;
      transform: rotate(-2deg);
      animation: slideWave 12s linear infinite;

      &:nth-child(2) { top: 50%; animation-delay: 4s; }
      &:nth-child(3) { top: 80%; animation-delay: 8s; }
    }
  }

  @keyframes slideWave {
    0% { transform: translateX(-50%) rotate(-2deg); }
    100% { transform: translateX(50%) rotate(-2deg); }
  }

  /* ================= PULSING DOTS ================= */
  .pulsingDots {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    pointer-events: none;

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #f7931a;
      opacity: 0.3;
      margin: 2rem;
      animation: pulse 2s infinite alternate;
      filter: drop-shadow(0 0 8px #f7931a);
    }

    .dot:nth-child(odd) { animation-delay: 0.3s; }
    .dot:nth-child(even) { animation-delay: 0.6s; }
  }

  @keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.6); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.3; }
  }

  /* ================= CONTENT ================= */
  .content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;

    h1 {
      font-size: clamp(2.6rem, 6vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.2rem;

      .accent {
        color: #f7931a;
      }
    }

    p {
      font-size: 1.05rem;
      line-height: 1.7;
      color: #cbd5e1;
      margin-bottom: 2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

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

      .primary {
        background: linear-gradient(135deg, #ffb703, #f7931a);
        color: #0a0a0a;
        padding: 0.85rem 2rem;
        border-radius: 999px;
        font-weight: 600;
        box-shadow: 0 10px 30px rgba(255,183,3,0.25);
        transition: all 0.3s;

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

      .secondary {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.2);
        color: #f7931a;
        padding: 0.85rem 2rem;
        border-radius: 999px;
        backdrop-filter: blur(12px);
        transition: all 0.3s;

        &:hover {
          background: rgba(255,255,255,0.12);
          transform: translateY(-2px);
        }
      }
    }
  }

  /* ================= RESPONSIVENESS ================= */
  @media (max-width: 768px) {
    padding: 4rem 1.5rem;

    .content h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .content p { font-size: 0.95rem; }
    .ctas { flex-direction: column; button { width: 100%; } }
  }
}
