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

body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;

  background:
    radial-gradient(circle at top left, rgba(41, 227, 208, 0.12), transparent 35%),
    radial-gradient(circle at top right, rgba(30, 100, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #050b12 0%, #07101b 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);

  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 72vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding-bottom: 40px;
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto;

  letter-spacing: -0.05em;
}

.hero h1 span {
  display: inline-block;

  background: linear-gradient(90deg, #29e3d0, #8ffff4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;

  color: #aeb9cc;
}

/* =========================
   TABS SECTION
========================= */

.tabs-section {
  padding-top: 0;
  padding-bottom: 20px;
}

.tabs {
  padding: 10px;
  background: rgba(8, 17, 29, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;

  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;

  backdrop-filter: blur(16px);
}

/* =========================
   FEATURED TOOL CARDS
========================= */

.tools-grid {
  margin-top: 40px;
}

.tool-card {
  position: relative;
  overflow: hidden;

  min-height: 230px;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top right, rgba(41, 227, 208, 0.12), transparent 35%);

  opacity: 0;
  transition: 0.25s ease;
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card h3,
.tool-card p,
.tool-card a {
  position: relative;
  z-index: 1;
}

.tool-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.tool-card p {
  min-height: 52px;
}

/* =========================
   TRUST SECTION HOME
========================= */

.trust {
  margin-top: 70px;
}

.trust-card {
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(135deg, rgba(41, 227, 208, 0.08), transparent 45%);

  opacity: 0;
  transition: 0.25s ease;
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-card h4,
.trust-card p {
  position: relative;
  z-index: 1;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .tabs {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .tabs button {
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .hero p {
    font-size: 1rem;
  }
}