/* ============================================================
   FORMATION THEME — Premium Upgrade
   Color system: indigo #6366f1, gold accent #f59e0b, dark #09090b
   ============================================================ */

:root {
  --brand: #6366f1;
  --brand-rgb: 99, 102, 241;
  --brand-deep: #4f46e5;
  --brand-dim: rgba(99, 102, 241, 0.15);
  --gold: #f59e0b;
  --gold-dim: rgba(245, 158, 11, 0.15);
  --dark: #09090b;
  --surface: rgba(18, 18, 24, 0.6);
  --border: rgba(99, 102, 241, 0.18);
  --border-hover: rgba(99, 102, 241, 0.45);
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-faint: #52525b;
}

/* ---- Google Font import ---- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ---- Base body font upgrade ---- */
body {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  display: block !important;
  width: 100% !important;
}

.section-title h2 {
  margin-top: 1.25rem;
  text-align: center !important;
  font-size: 1.875rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #fafafa;
  padding: 0 1rem;
  display: block !important;
  width: 100% !important;
}

@media (min-width: 640px) { .section-title h2 { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-title h2 { font-size: 2.75rem; padding: 0; } }
@media (min-width: 1024px) { .section-title h2 { font-size: 3.5rem; } }

.section-subtitle {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  display: block !important;
  width: 100% !important;
}

.section-subtitle p {
  color: var(--text-muted);
  margin-top: 1.25rem;
  text-align: center !important;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 0.5rem;
  margin-bottom: 0;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  width: 100% !important;
}

@media (min-width: 640px) { .section-subtitle p { font-size: 1.125rem; } }
@media (min-width: 768px) { .section-subtitle p { font-size: 1.25rem; margin-top: 1.5rem; padding: 0; } }

/* ============================================================
   GRADIENT HEADLINE (used in hero h1)
   ============================================================ */
/* ---- Gradient text on highlighted word in hero title ---- */
.hero-gradient,
h1 .hero-gradient,
.hero .content h1 span.hero-gradient {
  display: inline;
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 45%, #f59e0b 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  /* No box background */
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Override any Bootstrap or theme span background inside h1 */
.hero .content h1 span {
  background-color: transparent;
  padding: 0;
}

/* Formation hero: bigger, more impact */
.hero .content h1 {
  font-size: 3rem !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
}
@media (min-width: 640px)  { .hero .content h1 { font-size: 3.75rem !important; } }
@media (min-width: 768px)  { .hero .content h1 { font-size: 4.5rem !important; } }
@media (min-width: 1024px) { .hero .content h1 { font-size: 5.5rem !important; } }

/* Subtitle — formation tone */
.hero .content p {
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
  color: #a1a1aa !important;
  max-width: 34rem !important;
}
@media (min-width: 768px)  { .hero .content p { font-size: 1.25rem !important; } }
@media (min-width: 1024px) { .hero .content p { font-size: 1.375rem !important; } }

/* Aurora color → indigo */
.aurora-bg {
  background-image:
    repeating-linear-gradient(
      100deg,
      #09090b 0%, #09090b 7%,
      transparent 10%, transparent 12%,
      #09090b 16%
    ),
    repeating-linear-gradient(
      100deg,
      #6366f1 10%,
      rgba(99,102,241,0.8) 15%,
      rgba(79,70,229,0.8) 20%,
      rgba(99,102,241,0.5) 25%,
      #4f46e5 30%
    ) !important;
}
.aurora-bg::after {
  background-image:
    repeating-linear-gradient(
      100deg,
      #09090b 0%, #09090b 7%,
      transparent 10%, transparent 12%,
      #09090b 16%
    ),
    repeating-linear-gradient(
      100deg,
      #6366f1 10%,
      rgba(99,102,241,0.8) 15%,
      rgba(79,70,229,0.8) 20%,
      rgba(99,102,241,0.5) 25%,
      #4f46e5 30%
    ) !important;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.pc-reveal-content {
  will-change: opacity, transform, filter;
  opacity: 0;
  transform: translateY(-40px);
  filter: blur(10px);
  transition: opacity 0.8s cubic-bezier(.4, 0, .2, 1),
              transform 0.8s cubic-bezier(.4, 0, .2, 1),
              filter 0.8s cubic-bezier(.4, 0, .2, 1);
}

.is-animated .pc-reveal-content {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: blur(0) !important;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials .col-12 { margin-bottom: 1.5rem; }

.testimonial {
  background: var(--surface) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border) !important;
  border-radius: 1.25rem !important;
  padding: 1.5rem !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

.testimonial:hover {
  transform: translateY(-5px) !important;
  border-color: var(--border-hover) !important;
  box-shadow: 0 15px 40px rgba(var(--brand-rgb), 0.12) !important;
  background: rgba(18, 18, 24, 0.75) !important;
}

.testimonial .header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1.25rem !important;
  border: none !important;
  padding: 0 !important;
}

.testimonial .quote {
  width: 2rem !important;
  height: 2rem !important;
  color: rgba(var(--brand-rgb), 0.2) !important;
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
}

.testimonial .stars { display: flex !important; gap: 0.25rem !important; }
.testimonial .stars svg { width: 1.125rem !important; height: 1.125rem !important; }

.testimonial .content .message {
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  color: #fafafa !important;
  margin-bottom: 1rem !important;
}

.testimonial .content .reply {
  background: rgba(var(--brand-rgb), 0.05) !important;
  border-left: 2px solid var(--brand) !important;
  padding: 1rem !important;
  border-radius: 0.5rem !important;
  margin-top: 1rem !important;
}

.testimonial .content .reply .text {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0.5rem !important;
}

.testimonial .content .reply .author {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.testimonial .content .reply .author span { color: var(--brand) !important; }

.testimonial .footer {
  margin-top: 1.5rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.testimonial .footer .items {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--brand) !important;
}

.testimonial .footer .date {
  font-size: 0.75rem !important;
  color: #71717a !important;
}

/* ============================================================
   PRICING PLAN SECTION
   ============================================================ */
.pricing-plan-section {
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--dark);
  color: var(--text);
}

@media (min-width: 640px) { .pricing-plan-section { padding-top: 4rem; padding-bottom: 4rem; } }
@media (min-width: 1024px) { .pricing-plan-section { padding-top: 6rem; padding-bottom: 6rem; } }

.pricing-plan-container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 72rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) { .pricing-plan-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .pricing-plan-container { padding-left: 2rem; padding-right: 2rem; } }

.pricing-plan-header {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) { .pricing-plan-header { margin-bottom: 2.5rem; } }
@media (min-width: 1024px) { .pricing-plan-header { margin-bottom: 3rem; } }

.pricing-plan-badge-wrapper { display: flex; justify-content: center; }

.pricing-plan-badge-mono {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  background: var(--brand-dim);
  border: 1px solid var(--border-hover);
  color: var(--brand);
}

.pricing-plan-badge-mono svg { width: 16px; height: 16px; flex-shrink: 0; }
.pricing-plan-badge-mono .badge-separator { width: 1px; height: 14px; background: rgba(var(--brand-rgb), 0.3); flex-shrink: 0; }

.pricing-plan-main-title {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 1.875rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0;
  color: var(--text);
  padding: 0 1rem;
}

@media (min-width: 640px) { .pricing-plan-main-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .pricing-plan-main-title { font-size: 2.75rem; padding: 0; } }
@media (min-width: 1024px) { .pricing-plan-main-title { font-size: 3.5rem; } }

.pricing-plan-main-subtitle {
  color: var(--text-muted);
  margin-top: 1.25rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 0.5rem;
}

@media (min-width: 640px) { .pricing-plan-main-subtitle { font-size: 1.125rem; } }
@media (min-width: 768px) { .pricing-plan-main-subtitle { font-size: 1.25rem; margin-top: 1.5rem; padding: 0; } }

.pricing-plan-content { position: relative; }

.pricing-plan-grid-bg {
  z-index: 0;
  pointer-events: none;
  position: absolute;
  top: -50%; left: -25%; right: -25%; bottom: -50%;
  width: 150%; height: 200%;
  background-image:
    linear-gradient(to right, rgba(var(--brand-rgb), 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--brand-rgb), 0.12) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at center, transparent 0%, black 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 55% at center, transparent 0%, black 35%, transparent 75%);
}

.pricing-plan-cards-container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) { .pricing-plan-cards-container { max-width: 56rem; } }
@media (min-width: 1024px) { .pricing-plan-cards-container { max-width: 64rem; } }

.pricing-plan-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(8px);
  position: relative;
  border: 1px solid var(--border);
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) { .pricing-plan-cards-grid { gap: 1rem; padding: 1rem; } }
@media (min-width: 768px) { .pricing-plan-cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pricing-plan-cards-grid { gap: 1.25rem; padding: 1.5rem; } }

.pricing-plus-icon {
  position: absolute;
  width: 18px; height: 18px;
  color: var(--brand);
  background: var(--dark);
  z-index: 2;
}
@media (min-width: 640px) { .pricing-plus-icon { width: 22px; height: 22px; } }

.pricing-plus-top-left    { top: -10px; left: -10px; }
.pricing-plus-top-right   { top: -10px; right: -10px; }
.pricing-plus-bottom-left { bottom: -10px; left: -10px; }
.pricing-plus-bottom-right{ right: -10px; bottom: -10px; }

@media (min-width: 640px) {
  .pricing-plus-top-left    { top: -12px; left: -12px; }
  .pricing-plus-top-right   { top: -12px; right: -12px; }
  .pricing-plus-bottom-left { bottom: -12px; left: -12px; }
  .pricing-plus-bottom-right{ right: -12px; bottom: -12px; }
}

.pricing-card-item { width: 100%; padding: 1rem 0.75rem 0.75rem; position: relative; }
@media (min-width: 640px) { .pricing-card-item { padding: 1.25rem 1rem 1rem; } }
@media (min-width: 1024px) { .pricing-card-item { padding: 1.5rem 1.25rem 1.25rem; } }

.pricing-card-featured {
  border-radius: 0.5rem;
  border: 1px solid var(--brand);
  background: var(--brand-dim);
}

.pricing-card-content-space { margin-bottom: 1.5rem; position: relative; z-index: 1; }
@media (min-width: 640px) { .pricing-card-content-space { margin-bottom: 2rem; } }
@media (min-width: 1024px) { .pricing-card-content-space { margin-bottom: 2.5rem; } }

.pricing-card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}
@media (min-width: 640px) { .pricing-card-header-flex { flex-wrap: nowrap; } }

.pricing-card-plan-title { line-height: 1; font-weight: 700; font-size: 1.125rem; margin: 0; color: var(--text); }
@media (min-width: 640px) { .pricing-card-plan-title { font-size: 1.25rem; } }

.pricing-card-discount-flex { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.pricing-card-strikethrough { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.25rem; text-decoration: line-through; }
@media (min-width: 640px) { .pricing-card-strikethrough { font-size: 0.875rem; } }

.pricing-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid transparent;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  line-height: 1rem;
  font-weight: 600;
  transition: colors 0.2s;
}
@media (min-width: 640px) { .pricing-badge { padding: 0.125rem 0.625rem; font-size: 0.75rem; } }

.pricing-badge-secondary { background-color: #27272a; color: var(--text); }
.pricing-badge-primary   { background-color: var(--brand); color: #fff; }

/* Gold "Best value" badge */
.pricing-badge-gold { background-color: var(--gold); color: #09090b; font-weight: 700; }

.pricing-card-desc { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.4; margin: 0; }
@media (min-width: 640px) { .pricing-card-desc { font-size: 0.875rem; line-height: 1.5; } }

.pricing-card-price-section { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; position: relative; z-index: 1; }
@media (min-width: 640px) { .pricing-card-price-section { margin-top: 2rem; gap: 1rem; } }
@media (min-width: 1024px) { .pricing-card-price-section { margin-top: 2.5rem; } }

.pricing-card-price-wrapper { color: var(--text-muted); display: flex; align-items: flex-end; gap: 0.125rem; font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) { .pricing-card-price-wrapper { font-size: 1.125rem; } }
@media (min-width: 1024px) { .pricing-card-price-wrapper { font-size: 1.25rem; } }

.pricing-card-amount {
  color: var(--text);
  margin-bottom: -0.125rem;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.025em;
}
@media (min-width: 640px)  { .pricing-card-amount { font-size: 3rem; } }
@media (min-width: 768px)  { .pricing-card-amount { font-size: 3.5rem; } }
@media (min-width: 1024px) { .pricing-card-amount { font-size: 4rem; } }

.pricing-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}
@media (min-width: 640px) { .pricing-btn { font-size: 0.9375rem; height: 2.75rem; padding: 0.5rem 1.25rem; } }

.pricing-btn-outline {
  border: 1px solid #3f3f46;
  background: rgba(255,255,255,0.03);
  color: var(--text);
}
.pricing-btn-outline:hover {
  background: var(--brand-dim);
  border-color: var(--brand);
  color: var(--text);
}

.pricing-btn-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(var(--brand-rgb), 0.35);
}
.pricing-btn-primary:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 6px 24px rgba(var(--brand-rgb), 0.5);
  transform: translateY(-1px);
  color: #fff;
}

/* Gold CTA button for premium plan */
.pricing-btn-gold {
  background: linear-gradient(135deg, #d97706, var(--gold));
  color: #09090b;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.pricing-btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), #d97706);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
  color: #09090b;
}

.pricing-footer-info {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 640px) { .pricing-footer-info { font-size: 0.875rem; padding: 0; } }
.pricing-footer-info svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (min-width: 640px) { .pricing-footer-info svg { width: 16px; height: 16px; } }

/* ============================================================
   FEATURES — formation-oriented upgrade
   ============================================================ */
.feature-frame {
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  position: relative;
  overflow: visible;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 1rem;
}

.feature-frame:hover {
  border-color: var(--border-hover);
  background: var(--brand-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(var(--brand-rgb), 0.1);
}

/* ============================================================
   CURRICULUM / PROGRAMME SECTION
   New section for formation themes — vertical timeline
   ============================================================ */
.curriculum-section {
  position: relative;
  padding: 5rem 0;
  background: var(--dark);
  overflow: hidden;
}

.curriculum-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--brand-rgb), 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.curriculum-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.curriculum-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.curriculum-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-dim);
  border: 1px solid var(--border-hover);
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.curriculum-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) { .curriculum-header h2 { font-size: 2.75rem; } }
@media (min-width: 1024px) { .curriculum-header h2 { font-size: 3rem; } }

.curriculum-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto;
}

/* Timeline line */
.curriculum-timeline {
  position: relative;
  padding-left: 2rem;
}

.curriculum-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), rgba(var(--brand-rgb), 0.1));
  border-radius: 2px;
}

@media (min-width: 640px) {
  .curriculum-timeline { padding-left: 3rem; }
  .curriculum-timeline::before { left: 15px; }
}

.curriculum-module {
  position: relative;
  margin-bottom: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
  cursor: default;
}

.curriculum-module:hover {
  border-color: var(--border-hover);
  background: rgba(18, 18, 24, 0.85);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(var(--brand-rgb), 0.08);
}

/* Dot on timeline */
.curriculum-module::before {
  content: '';
  position: absolute;
  left: -2.375rem;
  top: 1.625rem;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: var(--dark);
  border: 2.5px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.15);
  transition: all 0.3s ease;
  z-index: 2;
}

.curriculum-module:hover::before {
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(var(--brand-rgb), 0.2);
}

@media (min-width: 640px) {
  .curriculum-module::before { left: -2.85rem; width: 16px; height: 16px; top: 1.7rem; }
}

.curriculum-module-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.curriculum-module-num {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-dim);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.2rem 0.55rem;
  margin-top: 0.1rem;
}

.curriculum-module-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}

@media (min-width: 640px) { .curriculum-module-title { font-size: 1.125rem; } }

.curriculum-module-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.curriculum-lessons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.curriculum-lessons li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.375rem;
  padding: 0.25rem 0.625rem;
}

.curriculum-lessons li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: var(--brand);
  flex-shrink: 0;
}

.curriculum-module-footer {
  margin-top: 1.125rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.curriculum-module-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 500;
}

.curriculum-module-meta svg {
  width: 13px;
  height: 13px;
  color: var(--brand);
  opacity: 0.75;
}

/* Module highlight (gold for bonus) */
.curriculum-module.curriculum-bonus {
  border-color: rgba(245, 158, 11, 0.25);
}
.curriculum-module.curriculum-bonus::before {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}
.curriculum-module.curriculum-bonus:hover::before {
  background: var(--gold);
}
.curriculum-module.curriculum-bonus .curriculum-module-num {
  color: var(--gold);
  background: var(--gold-dim);
  border-color: rgba(245, 158, 11, 0.2);
}

/* ============================================================
   INSTRUCTOR / FORMATEUR CARD
   ============================================================ */
.instructor-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  overflow: hidden;
}

.instructor-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.instructor-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(var(--brand-rgb), 0.1);
}

.instructor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  border: 2px solid var(--border-hover);
  object-fit: cover;
  flex-shrink: 0;
}

.instructor-info { flex: 1; }

.instructor-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.instructor-title {
  font-size: 0.875rem;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.instructor-bio {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   GUARANTEE BADGE
   ============================================================ */
.guarantee-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.07), rgba(245,158,11,0.05));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.3);
}

.guarantee-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.guarantee-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.guarantee-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   NAVBAR & FOOTER tweaks — indigo brand
   ============================================================ */
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--brand) !important;
}

/* ============================================================
   PRODUCT CARDS — Formation style
   ============================================================ */
.product-card {
  border: 1px solid var(--border) !important;
  transition: all 0.3s ease !important;
}
.product-card:hover {
  border-color: var(--border-hover) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 36px rgba(var(--brand-rgb), 0.12) !important;
}

/* "En cours" progress bar on product card */
.product-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.product-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 9999px;
  transition: width 0.6s ease;
}

/* ============================================================
   BUTTONS — global indigo upgrade
   ============================================================ */
.btn-primary,
.btn.btn-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand)) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), 0.35) !important;
  font-weight: 600 !important;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(var(--brand-rgb), 0.5) !important;
  transform: translateY(-1px) !important;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border: 1px solid var(--border) !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover,
.faq-item.open {
  border-color: var(--border-hover) !important;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: rgba(var(--brand-rgb), 0.35); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

