@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap");

.home-page {

  --hero-red:       #e71d36;
  --hero-black:     #111418;
  --hero-silver:    #c9cdd3;
  --hero-white:     #ffffff;

  --hero-bg:         linear-gradient(135deg, var(--hero-silver), var(--hero-silver));
  --hero-text:       #000000;
  --hero-subtext:    rgba(0, 0, 0, 0.85);



  --hero-radius:     14px;
  --hero-gap:        20px;
  --hero-max-w:      960px;
  --hero-min-h:      55vh;

  --hero-font:       "Montserrat", 
                     system-ui, 
                     -apple-system, 
                     Segoe UI, 
                     Roboto, 
                     Arial, 
                     sans-serif;

  font-family:       var(--hero-font);
}

.home-page, .home-page * {
  box-sizing: border-box;
}

.home-page *:where(h1, h2, h3, h4, p, ul) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: var(--hero-min-h);
  background: var(--hero-bg);
  padding: 40px 16px;
  text-align: center;
  color: var(--hero-text);
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    80% 60% at 15% 20%,
    rgba(231, 29, 54, 0.16) 0%,
    rgba(231, 29, 54, 0.06) 40%,
    transparent 70%
  ),
  radial-gradient(
    80% 60% at 85% 80%,
    rgba(231, 29, 54, 0.16) 0%,
    rgba(231, 29, 54, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.home-page .hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--hero-max-w);
  display: grid;
  gap: var(--hero-gap);
}

.home-page .hero-title {
  font-size: 2.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-page .hero-subtitle {
  font-size: 1.4rem;
  color: var(--hero-subtext);
  line-height: 1.6;
  margin-top: 10px;
}

.home-page .hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

/* .home-page .hero-badges .app-badge img {
  height: 56px;
  width: auto;
  display: block;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.home-page .hero-badges .app-badge img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
} */

.home-page .app-badge {
  position: relative;
  display: inline-block;
}

.home-page .app-badge img {
  height: 52px;
  width: auto;
  display: block;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.home-page .app-badge:hover img {
  transform: scale(1.04);
}

.app-badge--soon {
  cursor: not-allowed;
  pointer-events: none;
}

.home-page .app-badge--soon img {
  filter: grayscale(1) contrast(0.9) brightness(0.9);
  opacity: 0.75;
}

.home-page .app-badge--soon::after {
  content: "Coming soon";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hero-white);
  background: rgba(17, 20, 24, 0.45);
  border-radius: 8px;
  letter-spacing: 0.2px;
}

@media (max-width: 640px) {
  .home-page .hero {
    padding: 32px 14px;
  }

  .home-page .hero-title {
    font-size: 1.8rem;
  }

  .home-page .hero-subtitle {
    font-size: 1rem;
  }

  .home-page .hero-badges {
    flex-direction: column;
    gap: 14px;
  }

}

/* ================ FEATURES SECTION =============== */

.home-page .features-section {
  margin-block: clamp(48px, 6vw, 96px);
  padding-inline: clamp(16px, 6vw, 48px);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f9fafb
  );
}

.home-page .features-container {
  margin-inline: auto;
  text-align: center;
}

.home-page .features-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #111417;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.home-page .features-cards {
  display: grid;
  justify-content: center;
  gap: 24px;
  grid-template-columns: 1fr;
}

.home-page .feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  padding: 24px;
  /* transition: transform 0.18s ease, box-shadow 0.18s ease; */
  text-align: center;
  max-width: 395px;
  margin-inline: auto;
}

.home-page .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.home-page .feature-icon {
  display: block;
  font-size: 2.5rem;
  color: #e71d36;
  margin-bottom: 12px;
}

.home-page .feature-card .feature-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111418;
  margin-bottom: 8px;
}

.home-page .feature-card .feature-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

@media (max-width: 641px) {
  .home-page .features-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 28px;
  }

  .home-page .feature-card {
    max-width: 315px;
    margin-inline: auto;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .home-page .features-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .home-page .feature-card {
    max-width: 335px;
    margin-inline: auto;
  }

  .home-page .features-title {
    font-size: 1.6rem;
  }
}

@media (min-width: 1025px) {
  .home-page .feature-container {
    max-width: 1100px;
    margin-inline: auto;
  }

  .home-page .features-cards {
    display: flex;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .home-page .feature-card {
    /* flex: 0 1 280px; */
    /* max-width: 300px; */
    margin-inline: 0;
  }
}
