/* Styles specific to /doucovani-anglictiny/ landing page.
   Shares base typography, container, header, footer, breadcrumb,
   .seo-cta-banner, .lede, .faq, .h1-pattern from /seznam/seznam.css. */

.lede-sub {
  color: var(--muted, #5a6675);
  font-size: 1.02em;
  margin: -0.5rem 0 1.25rem;
}

/* --- Audience grid (Pro koho je to) --- */
.audience-grid { margin: 2.5rem 0; }
.audience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.audience-card {
  background: var(--bg-elev, #fff);
  border: 1px solid var(--border, #e5e9ef);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
}
.audience-emoji { font-size: 2.25rem; line-height: 1; margin-bottom: 0.5rem; }
.audience-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.audience-card p { margin: 0 0 0.85rem; color: var(--muted, #5a6675); line-height: 1.55; flex: 1; }
.audience-link {
  align-self: flex-start;
  font-weight: 600;
  color: var(--accent, #ff6b6b);
  text-decoration: none;
}
.audience-link:hover { text-decoration: underline; }

/* --- How it works (screenshots grid) --- */
.how-it-works { margin: 3rem 0; }
.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.screen-figure {
  margin: 0;
  background: var(--bg-elev, #fff);
  border: 1px solid var(--border, #e5e9ef);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.screen-figure img {
  width: 100%;
  height: auto;
  display: block;
  background: #f5f7fb;
}
.screen-figure figcaption {
  padding: 1rem 1.25rem 1.1rem;
  color: var(--muted, #5a6675);
  line-height: 1.55;
  font-size: 0.95rem;
}
.screen-figure figcaption strong { color: var(--text, #1d2330); }

/* --- Maturita plan --- */
.exam-prep { margin: 3rem 0; }
.exam-prep h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.plan-list,
.tips-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
  line-height: 1.6;
}
.plan-list li,
.tips-list li { margin-bottom: 0.75rem; }

/* --- For parents --- */
.for-parents { margin: 3rem 0; }

/* --- Comparison table --- */
.comparison { margin: 3rem 0; }
.compare-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: 12px;
  border: 1px solid var(--border, #e5e9ef);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elev, #fff);
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border, #eef1f6);
}
.compare-table thead th {
  background: #f6f8fb;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted, #5a6675);
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 500; }

/* --- With tutor (UČ SE! upsell) --- */
.with-tutor { margin: 3rem 0; }
.tutor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.tutor-card {
  background: var(--bg-elev, #fff);
  border: 1px solid var(--border, #e5e9ef);
  border-radius: 16px;
  padding: 1.25rem;
}
.tutor-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.tutor-card p { margin: 0; color: var(--muted, #5a6675); line-height: 1.55; }
.tutor-cta-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, hsl(170 55% 95%), var(--bg-elev, #fff) 80%);
  border: 1.5px solid hsl(170 45% 70%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.tutor-price {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--text, #1d2330);
}
.tutor-price strong { font-size: 1.5rem; }
.tutor-cta-sub {
  margin: 0;
  color: var(--muted, #5a6675);
  line-height: 1.5;
  max-width: 42ch;
}
[data-theme="dark"] .tutor-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .tutor-cta-card {
  background: linear-gradient(135deg, hsl(170 35% 16%), rgba(255,255,255,0.04) 80%);
  border-color: hsl(170 40% 40%);
}
[data-theme="dark"] .tutor-price { color: hsl(170 50% 80%); }

/* --- Pricing --- */
.pricing { margin: 3rem 0; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.price-card {
  background: var(--bg-elev, #fff);
  border: 1.5px solid var(--border, #e5e9ef);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.price-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.price-tag {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--text, #1d2330);
}
.price-tag span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted, #5a6675);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.price-card li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  line-height: 1.45;
  color: var(--muted, #5a6675);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2ecc71;
  font-weight: 700;
}
.price-premium {
  border-color: hsl(210 65% 60%);
  background: linear-gradient(135deg, hsl(210 70% 97%), var(--bg-elev, #fff) 80%);
}
.price-premium .price-tag { color: hsl(210 65% 40%); }

/* --- Dark mode --- */
[data-theme="dark"] .audience-card,
[data-theme="dark"] .screen-figure,
[data-theme="dark"] .compare-table,
[data-theme="dark"] .price-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .compare-table thead th { background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .screen-figure img { background: rgba(255, 255, 255, 0.03); }
[data-theme="dark"] .price-premium {
  background: linear-gradient(135deg, hsl(210 35% 18%), rgba(255,255,255,0.04) 80%);
  border-color: hsl(210 45% 45%);
}
[data-theme="dark"] .price-premium .price-tag { color: hsl(210 70% 75%); }

/* --- Mobile tuning --- */
@media (max-width: 640px) {
  .audience-cards,
  .screens-grid,
  .pricing-cards { grid-template-columns: 1fr; }
  .price-tag { font-size: 1.7rem; }
}
