/* styles/classes.css */

.classes-hero {
  background: var(--bg-accent);
  padding: 2.5rem 1.5rem 1.75rem;
}

.hero-note {
  margin-top: 0.5rem;
  font-size: 0.85rem; /* smaller than body text */
  line-height: 1.35;
  color: #777777; /* softer than main text */
  font-style: italic;
}
.classes-hero-inner {
  max-width: 900px;
}

.classes-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.classes-title {
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  font-size: 1.75rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.classes-subtitle {
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 1.1rem;
}

.classes-hero-ctas {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.trust-chips {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

/* Vertical info badges (NOT clickable, NOT buttons) */
.trust-chips-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 1.3rem;
}

/* Calm, editorial badge */
.trust-badge {
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 500;

  background: #f9f9f9;
  border-left: 4px solid #d6d6d6;
  border-radius: 6px;

  color: var(--text-main);

  /* explicitly non-interactive */
  cursor: default;
}

/* Discount emphasis (still non-button) */
.trust-badge-highlight {
  background: rgba(227, 107, 77, 0.08);
  border-left-color: var(--accent);
  font-weight: 600;
}

/* soft section background */
.section-soft {
  background: var(--bg-soft);
}

/* video embeds */
.video-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.video-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  padding: 0.9rem 1rem 1rem;
}

.video-meta h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem 0;
}

.video-meta p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
}

/* how it works */
.how-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.how-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.how-card h3 {
  margin-bottom: 0.25rem;
}

.how-card p {
  color: var(--text-muted);
  margin: 0;
}

/* courses */
.course-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow-soft);
}

.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(227, 107, 77, 0.1);
  border: 1px solid rgba(227, 107, 77, 0.25);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.course-card h3 {
  margin-bottom: 0.35rem;
}

.course-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.course-list {
  margin: 0.6rem 0 0.9rem 0;
  color: var(--text-main);
}

.course-list li {
  margin-bottom: 0.35rem;
}

.course-actions {
  display: grid;
  gap: 0.6rem;
}

/* worksheets */
.worksheet-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.ws-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.ws-card h3 {
  margin-bottom: 0.25rem;
}

.ws-card p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* progress */
.progress-steps {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 1.2rem;
}

.progress-steps li {
  margin-bottom: 0.6rem;
}

/* FAQ */
.faq details {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Sticky CTA (mobile only) */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.7rem 1rem;
}

.sticky-cta-btn {
  width: 100%;
  height: 48px;
}

/* tablet+ */
@media (min-width: 640px) {
  .video-grid,
  .how-grid,
  .course-grid,
  .worksheet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classes-hero-ctas {
    grid-template-columns: 1fr 1fr;
  }
}

/* desktop */
@media (min-width: 900px) {
  .classes-title {
    font-size: 2.2rem;
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sticky-cta {
    display: none; /* hide on desktop */
  }
}
