/* ============================================================
   MatekStream Pótvizsga Landing — kiegészítő stílusok
   (A fő styles.css mellett töltődik be, csak az új elemeket
   tartalmazza. A meglévő rendszerváltozókra épít.)
   ============================================================ */

/* ---------- Másodlagos CTA-link a hero alatt ---------- */

.hero-secondary-cta {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.secondary-link {
  display: inline-block;
  color: var(--ink-muted) !important;
  text-decoration: underline;
  text-decoration-color: rgba(15, 20, 25, 0.25);
  text-underline-offset: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.secondary-link:hover {
  color: var(--accent-deep) !important;
  text-decoration-color: var(--accent-deep);
}

/* ---------- Demo szekció (próbafeladat-beágyazás) ---------- */

.section-demo {
  background: var(--paper-warm);
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-demo > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.section-demo .section-eyebrow,
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.demo-lead {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  line-height: 1.5;
}

.feladat-beagyazas {
  background: white;
  border: 1px solid rgba(15, 20, 25, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 20, 25, 0.05);
  margin-bottom: 2.5rem;
}

.feladat-beagyazas iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  border: 0;
  background: white;
}

@media (min-width: 768px) {
  .feladat-beagyazas iframe {
    min-height: 600px;
  }
}

.demo-cta {
  text-align: center;
}

/* ---------- Tanár szekció (Rólad szóló) ---------- */

.section-tanar {
  background: var(--paper);
  max-width: var(--maxw);
}

.tanar-lead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.tanar-aláírás {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1rem;
}

/* ---------- Pullquote — kiemelt érzelmi idézet ---------- */

.pullquote-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter);
}

.pullquote {
  position: relative;
  max-width: 30ch;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.pullquote > blockquote,
.pullquote > p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.pullquote strong {
  font-style: normal;
  background: var(--highlight);
  padding: 0 0.1em;
  font-weight: 700;
}

/* ---------- Pricing szekció (ár / csomag / garancia) ---------- */

.section-pricing {
  background: var(--paper);
}

.pricing-lead {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--ink-soft);
  margin-bottom: 3rem;
  max-width: 58ch;
  line-height: 1.55;
}

.pricing-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.pricing-box {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 8px 8px 0 var(--accent);
  position: relative;
}

.pricing-box-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.pricing-box-price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.pricing-box-period {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.pricing-box-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  text-align: left;
  max-width: 400px;
}

.pricing-box-features li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed rgba(15, 20, 25, 0.08);
}

.pricing-box-features li:last-child { border-bottom: none; }

.pricing-box-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--success);
  font-weight: 700;
  font-size: 1.05rem;
}

.pricing-box-features strong {
  color: var(--ink);
  font-weight: 700;
}

.pricing-box-cta {
  margin: 1.5rem 0 1rem;
}

.pricing-box-fineprint {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .pricing-box {
    box-shadow: 4px 4px 0 var(--accent);
  }
}

/* ---------- "Nem tudod, melyik tankönyv" segítő blokk a tankönyv-rács fölött ---------- */

.tankonyv-help-top {
  background: white;
  border: 1px solid rgba(15, 20, 25, 0.08);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 0 auto 2.5rem;
  max-width: 60ch;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.tankonyv-help-top strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Hero badge-ek finomítás (több badge soros elhelyezéséhez) ---------- */

.hero-badges {
  max-width: 100%;
}

@media (max-width: 640px) {
  .hero-badges .badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
  }
}

/* ---------- Pótvizsga-csomag CTA-szöveg vizuális hangsúlya a kártyán ---------- */

.tankonyv-card .tankonyv-cta {
  color: var(--accent-deep);
}

.tankonyv-card:hover .tankonyv-cta {
  color: var(--ink);
}

/* ============================================================
   KÖZÉPRE-IGAZÍTÓ FELÜLÍRÁS — csak a pótvizsga-landingen
   ============================================================ */

/* ---------- Hero középre ---------- */

.hero {
  text-align: center;
}

.hero-eyebrow,
.hero-title,
.hero-lead,
.hero-cta,
.hero-secondary-cta,
.hero-badges {
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-title {
  max-width: 22ch;
}

.hero-lead {
  max-width: 52ch;
}

.hero-badges {
  justify-content: center;
}

/* ---------- Szekció-fejlécek és bevezetők középre ---------- */

.section-title,
h2.section-title {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.section-eyebrow,
.solution-eyebrow,
.tankonyvek-eyebrow {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.demo-lead,
.tanar-lead,
.tanar-aláírás,
.pricing-lead,
.tankonyvek-lead {
  text-align: center;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* A solution-grid items h3-ai egy "→" pseudoelem-tel kezdődnek;
   ezeket nem nyúljuk meg, a kártya belül balra-igazítva marad. */

/* ---------- Tankönyv-help-top blokk középre ---------- */

.tankonyv-help-top {
  text-align: center;
}

/* ---------- Pricing-box: a doboz maga középre, a felsorolás belül balra ---------- */

.pricing-box {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Audience-kártyák: a kártyák a grid közepén, belül a felsorolás balra ---------- */

.audience-card h3 {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

/* ---------- Demo-CTA középre (már alapból az, de biztosítjuk) ---------- */

.demo-cta {
  text-align: center;
}

/* ---------- Pullquote középre maradjon ---------- */

.pullquote {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Tanár szekció (Rólad szóló) ---------- */

.section-tanar {
  background: var(--paper);
  max-width: var(--maxw);
}

/* Mobile-first: egyetlen oszlop, a fotó fent */
.tanar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

/* Desktop: két oszlop, fotó balra (~38%), szöveg jobbra (~62%) */
@media (min-width: 768px) {
  .tanar-grid {
    grid-template-columns: minmax(240px, 1fr) 1.6fr;
    gap: 3.5rem;
  }
}

/* A fotó konténer és maga a kép */
.tanar-foto {
  display: flex;
  justify-content: center;
}

.tanar-foto img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 12px;
  box-shadow: 8px 8px 0 var(--accent);
  display: block;
}

@media (max-width: 767px) {
  .tanar-foto img {
    max-width: 280px;
  }
}

/* A szöveg-oszlop */
.tanar-szoveg .section-eyebrow {
  margin-bottom: 1rem;
}

.tanar-szoveg .section-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: left;
}

.tanar-lead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: 1.5rem;
  text-align: left;
}

.tanar-aláírás {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1rem;
  text-align: left;
}

/* ---------- Testimoniál — felhasználói idézet ---------- */

.testimonial-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter);
}

.testimonial {
  position: relative;
  max-width: 32ch;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.testimonial > blockquote,
.testimonial > p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
  background: transparent;
}

.testimonial-forras {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
  font-style: normal;
  text-align: center;
}

/* ---------- Kétoszlopos testimoniál-elrendezés ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* A grid-en belül a testimoniál picit kompaktabb */
.testimonial-grid .testimonial {
  max-width: none;
  padding: 1.5rem 0;
}

.testimonial-grid .testimonial > blockquote,
.testimonial-grid .testimonial > p {
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
}

/* ---------- FAQ-felsorolás méret-illesztés a bekezdésekhez ---------- */

.faq-item ul,
.faq-item ol {
  font-size: 0.97rem;
  color: var(--ink-muted);
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.faq-item li {
  margin: 0.5rem 0;
  line-height: 1.55;
}

.faq-item li strong {
  color: var(--ink);
  font-weight: 600;
}
