/* =============================================
   ICDL (ECDL) felkészítő – tanuljtovival.hu/icdl-ecdl-vizsga-online
   Az alap az infoszakmaivizsga.hu stíluslapja (/assets/szv/css/styles.css),
   itt csak az ICDL-oldal saját elemei vannak.
============================================= */

/* Hero: „Hamarosan indulunk” címke a buborékban */
.icdl-soon-pill {
  display: inline-block;
  background: #f28c28;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 0.6rem;
}

/* Az „Értesítést kérek!” hosszabb a szv-s „Megrendelem!”-nél, ne törjön két sorba */
.gotopackagesbtn {
  width: max-content;
  white-space: nowrap;
}

.icdl-lead {
  color: #6c757d;
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

#icdl-exam-section .section-title,
#icdl-modules-section .section-title {
  color: #343a40;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* =============================================
   AZ ICDL VIZSGA RÖVIDEN – tény-kártyák
============================================= */
#icdl-exam-section {
  padding: 4.5rem 0;
  background: #f1f4f8;
}

.icdl-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.icdl-fact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.icdl-fact .bi {
  font-size: 1.8rem;
  color: #673ab7;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.icdl-fact strong {
  color: #343a40;
  font-size: 1.2rem;
  font-weight: 800;
}

.icdl-fact span {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* =============================================
   MODULOK – Tovi-kártyák szimulátor-címkével
============================================= */
#icdl-modules-section {
  padding: 4.5rem 0;
  background: #fff;
}

/* flex, hogy a csonka utolsó sor középre kerüljön */
.icdl-module-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.icdl-module-card {
  flex: 0 0 calc((100% - 3 * 1.25rem) / 4);
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icdl-module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.icdl-module-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0.6rem 0.6rem 0;
}

.icdl-module-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.6rem;
}

.icdl-module-content {
  padding: 0.8rem 1rem 1.1rem;
}

.icdl-module-sim {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ede7f6;
  color: #673ab7;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.5rem;
}

.icdl-module-content h3 {
  color: #343a40;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.icdl-module-content p {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0;
}

.icdl-theory {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.75rem;
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.icdl-theory > .bi {
  font-size: 1.8rem;
  color: #f28c28;
  line-height: 1;
}

.icdl-theory strong {
  color: #343a40;
  margin-right: 0.35rem;
}

.icdl-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  color: #495057;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.7rem;
  margin: 0.15rem 0.25rem 0.35rem 0;
}

.icdl-theory p {
  color: #6c757d;
}

/* =============================================
   HAMAROSAN INDULUNK – feliratkozó doboz
============================================= */
#signup-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ede7f6 100%);
}

.coming-soon-card {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(25, 30, 36, 0.12);
  padding: 2.5rem 2rem;
  text-align: center;
}

.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(135deg, #673ab7 0%, #9575cd 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.coming-soon-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #343a40;
  margin-bottom: 0.75rem;
}

.coming-soon-form .form-control {
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
}

.coming-soon-form .btn-cta {
  white-space: nowrap;
}

.coming-soon-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* =============================================
   RESZPONZIVITÁS
============================================= */
@media (max-width: 991.98px) {
  .icdl-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icdl-module-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 575.98px) {
  #icdl-exam-section,
  #icdl-modules-section {
    padding: 3.5rem 0;
  }

  .icdl-facts {
    grid-template-columns: 1fr;
  }

  .icdl-module-card {
    flex-basis: 100%;
  }

  .icdl-theory {
    flex-direction: column;
  }

  .coming-soon-card {
    padding: 2rem 1.25rem;
  }
}
