/* Course intro pages: /developer, /architect, and /bundle.
 * Scaffold styles. Owner will refine via /fsp-design pass. */

.course-intro {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  color: var(--text-primary, #e8eaed);
}

.course-intro-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.course-intro-heading {
  font-size: 3rem;
  margin: 0 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.course-intro-tagline {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-secondary, #a8b1bd);
  max-width: 720px;
  margin: 0 auto;
}

.course-intro-prerequisite {
  background: var(--surface-elevated, rgba(255, 255, 255, 0.04));
  border-right: 4px solid var(--accent, #6366f1);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

.course-intro-prerequisite h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.course-intro-prerequisite p {
  margin: 0;
  line-height: 1.6;
}

.course-intro-pricing {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: 280px;
}

.pricing-card-amount {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-card-note {
  font-size: 0.95rem;
  color: var(--text-secondary, #a8b1bd);
  margin-bottom: 1.5rem;
}

.pricing-card-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent, #6366f1);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.pricing-card-cta:hover {
  background: var(--accent-hover, #5457e0);
}

.pricing-card-bundle {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(168, 85, 247, 0.14));
  border-color: rgba(168, 85, 247, 0.4);
}

.bundle-savings {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary, #a8b1bd);
  margin: 1rem 0 1.5rem;
  text-align: right;
  direction: rtl;
}

.course-intro-modules,
.course-intro-bundle-teaser,
.bundle-bonus {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: var(--surface-elevated, rgba(255, 255, 255, 0.03));
  border-radius: 12px;
}

.course-intro-modules h2,
.course-intro-bundle-teaser h2,
.bundle-bonus h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.course-intro-modules p,
.course-intro-bundle-teaser p,
.bundle-bonus p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--text-secondary, #a8b1bd);
}

.course-intro-link {
  color: var(--accent, #6366f1);
  font-weight: 600;
  text-decoration: none;
}

.course-intro-link:hover {
  text-decoration: underline;
}

.bundle-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.bundle-course-card {
  background: var(--surface-elevated, rgba(255, 255, 255, 0.04));
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.bundle-course-card h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .course-intro {
    padding: 2rem 1rem 3rem;
  }
  .course-intro-heading {
    font-size: 2.25rem;
  }
  .pricing-card-amount {
    font-size: 2rem;
  }
  .bundle-courses {
    grid-template-columns: 1fr;
  }
}
