/* =========================
   HERO
========================= */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;

  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);

  margin-bottom: 1.5rem;
}

.hero-content p {
  max-width: 580px;

  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;

  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
}


/* =========================
   SECTIONS
========================= */

#how-it-works,
#benefits,
.cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

#how-it-works h2,
#benefits h2,
.cta h2 {
  text-align: center;

  font-size: 2rem;
  color: var(--text);

  margin-bottom: 3rem;
}


/* =========================
   CARDS
========================= */

.steps,
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg);

  border: 1px solid var(--border);
  border-radius: 20px;

  padding: 2rem;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);

  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

.card h3 {
  margin-bottom: 1rem;

  font-size: 1.2rem;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  line-height: 1.6;
}


/* =========================
   CTA
========================= */

.cta {
  text-align: center;
}

.cta p {
  max-width: 650px;
  margin: 0 auto 2rem;

  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================
   ICONS
========================= */

.location-pin {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}

.lightning-bolt {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.lock {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-bottom: 4px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    text-align: center;

    gap: 3rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

}

@media (max-width: 600px) {

  .hero,
  #how-it-works,
  #benefits,
  .cta {
    padding: 3rem 1.25rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

}

/* =========================
   RESPONSIVE
========================= */


/* Tablet */
@media (max-width: 1024px) {

  .hero {
    gap: 2rem;
    padding: 4rem 1.5rem;
  }


  .hero-content h1 {
    font-size: 3rem;
  }


  #how-it-works,
  #benefits,
  .cta {
    padding: 4rem 1.5rem;
  }


  .hero-image img {
    max-width: 360px;
  }

}


/* Tablet klein + mobiel */
@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }


  .hero-image {
    order: -1;
  }


  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }


  .hero-actions {
    justify-content: center;
  }


  .steps,
  .benefits {
    grid-template-columns: 1fr;
  }

}


/* Mobiel */
@media (max-width: 600px) {

  .hero {
    padding: 3rem 1rem;
    gap: 2rem;
  }


  .hero-content h1 {
    font-size: 2.2rem;
  }


  .hero-content p {
    font-size: 1rem;
  }


  .hero-actions {
    flex-direction: column;
    width: 100%;
  }


  .hero-actions .btn {
    width: 100%;
  }


  .hero-image img {
    max-width: 280px;
  }


  #how-it-works,
  #benefits,
  .cta {
    padding: 3rem 1rem;
  }


  #how-it-works h2,
  #benefits h2,
  .cta h2 {
    font-size: 1.7rem;
  }


  .card {
    padding: 1.25rem;
  }

}


/* Kleine telefoons */
@media (max-width: 400px) {

  .hero-content h1 {
    font-size: 1.9rem;
  }


  .hero-content p {
    font-size: 0.95rem;
  }


  .hero-image img {
    max-width: 220px;
  }


  .card h3 {
    font-size: 1.05rem;
  }

}