/* ---------- Global Styles ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #fbbf24;
  --bg: #f3f4f6;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-full: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #eff6ff, #f9fafb);
  color: var(--text);
  line-height: 1.6;
  background-size: 200% 200%;
  animation: bg-shift 22s ease-in-out infinite alternate;
}

@keyframes bg-shift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 100% 0%;
  }
}

/* ---------- Layout ---------- */

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(249, 250, 251, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.navbar-scrolled {
  background: rgba(249, 250, 251, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: conic-gradient(from 160deg, #2563eb, #4f46e5, #f97316, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.brand-text {
  font-weight: 700;
  font-size: 18px;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.2s ease;
}

.nav-cta {
  display: flex;
  gap: 10px;
}

/* ---------- Buttons (BIGGER) ---------- */

.btn {
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text);
  transition:
    transform 0.15s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn-outline:hover {
  transform: translateY(-1px);
  background: rgba(243, 244, 246, 0.9);
  border-color: rgba(148, 163, 184, 0.9);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ---------- Mobile Nav ---------- */

.mobile-menu-btn {
  display: none;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 14px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 40px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(219, 234, 254, 0.8);
  color: #1d4ed8;
  font-size: 12px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero-title span {
  background: linear-gradient(120deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.hero-meta span strong {
  color: var(--text);
}

/* ---------- Hero Visual ---------- */

.hero-card {
  background: var(--white);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  animation: float-card 18s ease-in-out infinite alternate;
}

@keyframes float-card {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(2px);
  }
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  align-items: center;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
}

.hero-card-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.06);
  color: #16a34a;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.hero-course-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-course-item {
  padding: 10px;
  border-radius: 14px;
  background: #f9fafb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-course-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-course-meta {
  font-size: 11px;
  color: var(--muted);
}

.hero-progress {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-top: 6px;
}

.hero-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #a3e635);
  width: 64%;
}

.hero-card-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

/* ---------- Sections ---------- */

.section {
  padding: 24px 0 48px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 13px;
  color: var(--muted);
  max-width: 420px;
}

/* ---------- Course Cards ---------- */

.course-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.course-tag {
  display: inline-flex;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  color: #1d4ed8;
}

.course-title {
  font-size: 15px;
  font-weight: 600;
}

.course-desc {
  font-size: 13px;
  color: var(--muted);
}

.course-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 6px;
}

.course-price {
  font-weight: 700;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
}

/* ---------- Search Bar (Courses Page) ---------- */

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 14px;
}

/* ---------- Contact / Footer ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.contact-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.footer {
  padding: 18px 0 24px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  margin-top: 30px;
}

/* ---------- Trust Strip & Stats ---------- */

.trust-strip {
  background: linear-gradient(to right, #eff6ff, #f5f3ff);
  padding: 28px 0 24px;
  border-top: 1px solid rgba(191, 219, 254, 0.7);
  border-bottom: 1px solid rgba(191, 219, 254, 0.7);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 24px;
  align-items: center;
}

.trust-intro {
  max-width: 420px;
}

.trust-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin-bottom: 6px;
  font-weight: 600;
}

.trust-heading {
  font-size: 18px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  margin-top: 4px;
}

.stat-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.logo-row-caption {
  font-size: 12px;
  color: var(--muted);
  margin-right: 2px;
}

.logo-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.9);
}

/* ---------- Section Variants & Steps ---------- */

.section-alt {
  background: #f9fafb;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
}

.step-number {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  font-weight: 800;
  color: rgba(148, 163, 184, 0.3);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge-pill {
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #1d4ed8;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-tag {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
}

.faq-list details {
  background: var(--white);
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  margin-bottom: 8px;
  font-size: 13px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.faq-side-card {
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
}

.faq-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.final-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Catalogue & Filters Basics ---------- */

.catalog-pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid rgba(191, 219, 254, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 12px;
}

.filter-label {
  font-weight: 600;
  color: var(--muted);
}

.filter-pill {
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 999px;
  padding: 4px 10px;
  background: #ffffff;
  cursor: pointer;
  font-size: 12px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.filter-pill:hover {
  transform: translateY(-1px);
  background: #eff6ff;
  border-color: #2563eb;
}

.course-info-strip {
  background: #f3f4ff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.video-meta-row {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- Video Preview Cards ---------- */

.video-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

.video-preview-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9fafb;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.video-preview-card.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.video-preview-card.hero-video {
  margin-bottom: 14px;
  background: radial-gradient(circle at top left, #eff6ff, #f9fafb);
  position: relative;
  overflow: hidden;
}

.video-preview-card.hero-video:hover::before {
  animation: shimmer 1s ease-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.video-thumb {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  flex-shrink: 0;
}

.video-meta {
  flex: 1;
}

.video-title {
  font-size: 13px;
  font-weight: 600;
}

.video-sub {
  font-size: 11px;
  color: var(--muted);
}

.video-length {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Sidebar extras ---------- */

.guarantee-box {
  background: #ecfdf5;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(22, 163, 74, 0.25);
  font-size: 12px;
  margin: 6px 0 10px;
}

/* ---------- Support cards (Contact page) ---------- */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.support-card {
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* ---------- Global CTA Strip ---------- */

.cta-strip-global {
  background: linear-gradient(120deg, #2563eb, #7c3aed);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 16px 40px rgba(55, 65, 81, 0.4);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-strip-global h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.cta-strip-global p {
  font-size: 13px;
  opacity: 0.9;
}

.cta-strip-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-strip-global .btn-outline {
  border-color: rgba(249, 250, 251, 0.7);
  color: #f9fafb;
}

.cta-strip-global .btn-outline:hover {
  background: rgba(15, 23, 42, 0.15);
}

/* ---------- Scroll reveal & card hover ---------- */

/* Default: visible, so if JS fails, nothing is hidden */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out,
    box-shadow 0.25s ease-out;
}

/* Only when JS is enabled, we use the animated state */
.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.course-card,
.testimonial-card,
.step-card,
.support-card,
.faq-list details,
.video-preview-card,
.final-cta,
.contact-form,
.hero-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.course-card:hover,
.testimonial-card:hover,
.step-card:hover,
.support-card:hover,
.faq-list details:hover,
.video-preview-card:hover,
.final-cta:hover,
.contact-form:hover,
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(129, 140, 248, 0.9);
}

/* ---------- Video Modal Overlay & Frame ---------- */

.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.video-modal.open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 92%);
  max-height: 88vh;
  background: #0b1120;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.65);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  animation: video-modal-in 0.28s ease-out forwards;
}

@keyframes video-modal-in {
  from {
    transform: translateY(10px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close:hover {
  background: rgba(30, 64, 175, 0.9);
}

.video-modal-header {
  margin-top: 8px;
}

.video-modal-header h2 {
  font-size: 16px;
  margin-bottom: 4px;
}

.video-modal-subtitle {
  font-size: 12px;
  color: #9ca3af;
}

.video-modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-modal-meta {
  font-size: 12px;
  color: #9ca3af;
}

/* Responsive 16:9 iframe container */
.video-modal-player-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.video-modal-player-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-modal-player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Prevent body scroll while modal open */
.video-modal-open {
  overflow: hidden;
}

/* ---------- Course Detail (new layout) ---------- */

.course-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.course-label-dot {
  opacity: 0.6;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

.course-hero-header {
  background: radial-gradient(circle at top left, #eff6ff, #f9fafb);
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-bottom: 18px;
}

.course-hero-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-hero-tag {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  display: inline-flex;
  width: fit-content;
}

.course-hero-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.course-hero-subtitle {
  font-size: 14px;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-chip {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #1d4ed8;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.rating-score {
  font-size: 14px;
  font-weight: 700;
  color: #f97316;
}

.rating-text {
  font-size: 12px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.course-hero-right {
  display: flex;
  justify-content: flex-end;
}

.course-pricing-card {
  background: #020617;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(129, 140, 248, 0.8);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.6);
  font-size: 13px;
}

.price-row {
  margin-bottom: 8px;
}

.price-main {
  font-size: 22px;
  font-weight: 700;
  margin-right: 6px;
}

.price-note {
  font-size: 11px;
  color: #9ca3af;
}

.pricing-small-note {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 6px;
}

/* Main layout below hero */

.course-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 18px;
}

.course-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.course-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.course-section-card {
  background: var(--white);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 14px;
}

.course-section-card h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.course-section-card p + p {
  margin-top: 6px;
}

.course-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.course-meta-badges span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

/* Sticky sidebar on large screens */

.sticky-sidebar {
  position: sticky;
  top: 84px;
}

/* Video hero preview */

.course-video-hero {
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.6);
  background: radial-gradient(circle at top left, #1e293b, #020617);
  padding: 14px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.8);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.course-video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-video-hero:hover::after {
  opacity: 1;
}

.course-video-overlay {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e5e7eb;
}

.course-video-play {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(209, 213, 219, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.course-video-label {
  font-size: 14px;
  font-weight: 600;
}

.course-video-sub {
  font-size: 12px;
  color: #9ca3af;
}

.course-video-meta {
  font-size: 11px;
  color: #9ca3af;
  display: flex;
  justify-content: space-between;
}

/* Curriculum layout */

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.curriculum-module {
  background: #f9fafb;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
}

.curriculum-module h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.curriculum-module ul {
  padding-left: 16px;
  margin-top: 4px;
}

/* Checklists & "How to use" */

.course-checklist {
  list-style: none;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

/* Who this is for */

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.who-card {
  background: #f9fafb;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
}

/* ---------- Courses page advanced layout ---------- */

.courses-hero {
  background: radial-gradient(circle at top left, #eff6ff, #f9fafb);
  border-radius: 24px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 22px;
  margin-bottom: 22px;
}

.courses-hero-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.courses-hero-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.courses-hero-subtitle {
  font-size: 14px;
  color: var(--muted);
  max-width: 480px;
}

.courses-hero-right {
  display: flex;
  justify-content: flex-end;
}

.courses-hero-card {
  background: #020617;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(129, 140, 248, 0.8);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.6);
  font-size: 13px;
  width: 100%;
  max-width: 360px;
}

.courses-hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.courses-hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.courses-hero-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.courses-hero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.courses-hero-list li strong {
  display: block;
  font-size: 13px;
}

.courses-hero-list li span {
  font-size: 11px;
  color: #9ca3af;
}

/* Main catalog columns */

.courses-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 20px;
  align-items: flex-start;
}

.courses-filter-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-card {
  background: var(--white);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
}

.filter-card h2 {
  font-size: 15px;
  margin-bottom: 6px;
}

.filter-card p {
  font-size: 13px;
  color: var(--muted);
}

.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.courses-list-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Toolbar refinement */

.courses-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.courses-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .course-hero-header {
    grid-template-columns: 1fr;
  }

  .course-hero-right {
    justify-content: flex-start;
  }

  .sticky-sidebar {
    position: static;
  }

  .course-detail-layout {
    grid-template-columns: 1fr;
  }

  .courses-hero {
    grid-template-columns: 1fr;
  }

  .courses-hero-right {
    justify-content: flex-start;
  }

  .courses-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .navbar-inner {
    padding: 10px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-nav.show {
    display: flex;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
  }

  .course-filters {
    gap: 6px;
  }

  .course-info-strip {
    font-size: 11px;
  }

  .hero-card {
    animation-duration: 14s;
  }
}

@media (max-width: 640px) {
  .video-modal-dialog {
    padding: 14px;
  }
}

/* ---------- Hero visual panel & “image” graphics ---------- */

.hero-visual-panel {
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-visual-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
}

.hero-video-frame {
  position: relative;
  border-radius: 18px;
  padding: 12px;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border: 1px solid rgba(129, 140, 248, 0.8);
  overflow: hidden;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.8);
}

.hero-video-play-button {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid rgba(229, 231, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-video-caption {
  font-size: 11px;
  color: #9ca3af;
}

.hero-screenshot-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-screen-card {
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.25), transparent 55%);
}

.hero-screen-card.law {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.95));
}

.hero-screen-card.ca {
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), rgba(15, 23, 42, 0.95));
}

.hero-screen-card.cs {
  background: radial-gradient(circle at top left, rgba(196, 181, 253, 0.18), rgba(15, 23, 42, 0.95));
}

.hero-screen-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-screen-text {
  font-size: 11px;
  color: #e5e7eb;
  margin-top: 2px;
}

.hero-device-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.hero-device-tile {
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.hero-device-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-device-text span {
  display: block;
  color: #9ca3af;
}

/* ---------- Home image tiles (LAW / CA / CS dashboards) ---------- */

.home-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.home-image-tile {
  background: var(--white);
  border-radius: 20px;
  padding: 12px 12px 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-image-tile.law {
  background: radial-gradient(circle at top left, #eef2ff, #f9fafb);
}

.home-image-tile.ca {
  background: radial-gradient(circle at top left, #fffbeb, #f9fafb);
}

.home-image-tile.cs {
  background: radial-gradient(circle at top left, #f5f3ff, #f9fafb);
}

.home-image-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.home-image-badge {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #111827;
  color: #f9fafb;
}

.home-image-pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  color: #4b5563;
  background: rgba(255, 255, 255, 0.8);
}

.home-image-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 10px;
  margin-top: 6px;
  align-items: center;
}

.home-image-graphic {
  position: relative;
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
  min-height: 90px;
}

.home-image-tile.law .home-image-graphic {
  background: radial-gradient(circle at top left, #1d4ed8, #1e293b);
}

.home-image-tile.ca .home-image-graphic {
  background: radial-gradient(circle at top left, #ca8a04, #1e293b);
}

.home-image-tile.cs .home-image-graphic {
  background: radial-gradient(circle at top left, #7c3aed, #020617);
}

.home-image-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #f9fafb;
}

.home-image-layer {
  position: absolute;
  right: -18px;
  top: 10px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px dashed rgba(226, 232, 240, 0.7);
  opacity: 0.6;
}

.home-image-text h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.home-image-text p {
  font-size: 13px;
  color: var(--muted);
}

.home-image-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  margin-top: 6px;
  color: #2563eb;
  text-decoration: none;
}

.home-image-link:hover {
  text-decoration: underline;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 900px) {
  .hero-visual-main {
    grid-template-columns: 1fr;
  }

  .hero-device-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-image-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-device-strip {
    grid-template-columns: 1fr;
  }
}

