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

.section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #0a0c14 0%, #05060a 100%);
  color: #e5e7eb;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
  font-family: $font-onest, sans-serif !important;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

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

  .eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffb703;
    margin-bottom: 0.8rem;
  }

  h2 {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  p {
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
    opacity: 0.85;
    font-size: 1rem;
  }
}

/* ================= GRID ================= */
.grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* ================= CARD ================= */
.card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: all 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;

  &:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(255, 183, 3, 0.25);
  }

  .iconWrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 183, 3, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;

    svg {
      color: #ffb703;
      width: 28px;
      height: 28px;
    }
  }

  h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #fff;
  }

  p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .card {
    padding: 2rem 1.5rem;

    .iconWrap {
      width: 48px;
      height: 48px;

      svg {
        width: 24px;
        height: 24px;
      }
    }
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 1rem;
  }

  .header {
    margin-bottom: 3rem;

    h2 {
      font-size: 1.8rem;
    }

    p {
      font-size: 0.95rem;
    }
  }

  .card {
    padding: 1.8rem 1.2rem;

    h4 {
      font-size: 1rem;
    }

    p {
      font-size: 0.85rem;
    }
  }
}
