/* SEO x vibe-coding cohort 2 promo (course_promo.js). Remove this file + script to drop the promo. */
.course-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 20px 0 8px; padding: 26px 28px; border-radius: 16px; background: var(--navy, #15233b); color: #fff; }
.course-banner[hidden] { display: none; }
.course-banner .eyebrow { margin: 0 0 8px; color: var(--lime, #d6ff4a); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.course-banner h3 { margin: 0; color: #fff; font-size: 21px; line-height: 1.45; letter-spacing: -.4px; }
.course-banner p.desc { margin: 8px 0 0; color: #c9d3e3; font-size: 14px; line-height: 1.75; }
.course-banner .course-note { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(214, 255, 74, .14); color: var(--lime, #d6ff4a); font-size: 12.5px; font-weight: 700; }
.course-banner a { flex-shrink: 0; padding: 14px 22px; border-radius: 10px; background: var(--lime, #d6ff4a); color: var(--navy, #15233b); font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.course-banner a:hover { background: var(--lime-2, #c6f032); }

.course-bar { position: fixed; left: 50%; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 14px; width: min(720px, calc(100% - 32px)); padding: 12px 12px 12px 20px; border-radius: 14px; background: var(--navy, #15233b); color: #fff; box-shadow: 0 10px 30px rgba(10, 20, 40, .28); transform: translate(-50%, 140%); opacity: 0; transition: transform .3s ease, opacity .3s ease; pointer-events: none; }
.course-bar.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.course-bar p { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.5; }
.course-bar b { display: block; color: #fff; font-weight: 700; }
.course-bar span { display: block; color: var(--lime, #d6ff4a); font-size: 12.5px; font-weight: 600; }
.course-bar-go { flex-shrink: 0; padding: 10px 16px; border-radius: 9px; background: var(--lime, #d6ff4a); color: var(--navy, #15233b); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.course-bar-close { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #9fb0c8; font-size: 22px; line-height: 1; cursor: pointer; }
.course-bar-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (prefers-reduced-motion: reduce) { .course-bar { transition: none; } }
@media (max-width: 700px) {
  .course-banner { flex-direction: column; align-items: stretch; padding: 22px 18px; }
  .course-banner h3 { font-size: 18px; }
  .course-banner a { text-align: center; }
  .course-bar { bottom: 10px; width: calc(100% - 20px); padding: 10px 8px 10px 14px; gap: 8px; }
  .course-bar p { font-size: 13px; }
  .course-bar span { font-size: 11.5px; }
  .course-bar-go { padding: 9px 12px; font-size: 13px; }
}
