@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; object-fit: cover; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: #5348a4;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #3d3490; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border: 2px solid #5348a4;
  color: #5348a4;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #5348a4; color: #fff; }

/* ── NAVBAR ───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eef0f6;
  z-index: 999;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img--light {}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.nav-links > li > a i { font-size: 10px; transition: transform 0.2s; }
.nav-links > li:hover > a { background: #ede9f8; color: #5348a4; }
.nav-links > li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid #eef0f6;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  min-width: 180px;
  padding: 6px 0;
  z-index: 200;
}
.has-drop:hover .drop { display: block; }
.drop li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #444;
  transition: background 0.15s, color 0.15s;
}
.drop li a:hover { background: #ede9f8; color: #5348a4; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.nav-login {
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.nav-login:hover { color: #5348a4; border-color: #5348a4; }
.nav-signup {
  color: #5348a4;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1.5px solid #5348a4;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-signup:hover { background: #f4f2ff; }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #5348a4;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #3d3490; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  background: #fff;
  border-top: 1px solid #eef0f6;
  padding: 16px 24px 28px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer ul li a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #f2f2f2;
}
.mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f5f4fb 0%, #e8e4f5 50%, #d6eef7 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ede9f8;
  color: #5348a4;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-badge i { font-size: 12px; }

.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a2e;
  margin-bottom: 18px;
}
.hero-title span { color: #5348a4; }

.hero-desc {
  font-size: 16px;
  color: #555;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.hero-perks span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
}
.hero-perks i { color: #5348a4; font-size: 13px; }

/* Centered hero copy (used when the screenshot lives in its own showcase below,
   instead of alongside the copy in a two-column grid) */
.hero-copy--centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy--centered .hero-desc { margin-left: auto; margin-right: auto; }
.hero-copy--centered .hero-btns,
.hero-copy--centered .hero-perks { justify-content: center; }

/* Full-width platform screenshot showcase below the hero copy */
.hero-showcase {
  max-width: 1112px;
  margin: 56px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(83,72,164,0.28);
  border: 1px solid rgba(83,72,164,0.12);
}
.hero-showcase-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.hero-showcase .hero-img-placeholder {
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0;
  border: none;
}

@media (max-width: 640px) {
  .hero-showcase { margin-top: 40px; border-radius: 14px; }
}

/* Hero image */
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 560px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(83,72,164,0.15);
  object-fit: cover;
}

/* Fallback placeholder (shown only if image missing) */
.hero-img-placeholder {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4/3;
  background: #ddd9f5;
  border: 2px dashed #a89de0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #7b6ec4;
}
.hero-img-placeholder i { font-size: 48px; opacity: 0.5; }
.hero-img-placeholder span { font-size: 14px; font-weight: 500; }

/* ── TRUST BAR ────────────────────────────────────── */
.trust-bar {
  padding: 36px 0;
  border-top: 1px solid #eef0f6;
  border-bottom: 1px solid #eef0f6;
  background: #fff;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  flex-shrink: 0;
  min-width: 140px;
}

.trust-icons {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #555;
}
.trust-item i { font-size: 22px; color: #5348a4; }
.trust-item span { font-size: 12px; font-weight: 500; white-space: nowrap; }

.trust-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.trust-count strong { font-size: 28px; font-weight: 800; color: #5348a4; line-height: 1; }
.trust-count span   { font-size: 13px; color: #666; }

/* ── FEATURES ─────────────────────────────────────── */
.features {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 16px;
  border-radius: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: 0 6px 24px rgba(83,72,164,0.1);
  transform: translateY(-3px);
}

.feat-icon {
  width: 52px; height: 52px;
  background: #ede9f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.feat-icon i { font-size: 22px; color: #5348a4; }

.feature-card h3 { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.feature-card p  { font-size: 12px; color: #777; line-height: 1.6; }

/* ── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  background: #5348a4;
  padding: 32px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cta-text strong { font-size: 18px; font-weight: 700; color: #fff; }
.cta-text span   { font-size: 14px; color: rgba(255,255,255,0.75); }

.cta-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #5348a4;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-watch:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.cta-watch i { font-size: 20px; }

/* ── CTA video thumbnail (e.g. "See Learnophia in Action") ──
   Additive modifier + new classes only — .cta-banner/.cta-inner/.cta-text/.cta-watch
   above stay untouched since About.html and Pricing.html reuse them for plain CTAs. */
.cta-banner--video { padding: 56px 0; }

.cta-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  flex-shrink: 0;
  background: none;
}
.cta-video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.cta-video-thumb:hover img { transform: scale(1.04); }

.cta-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,6,30,0.3);
  transition: background 0.25s;
}
.cta-video-thumb:hover::after { background: rgba(10,6,30,0.15); }

.cta-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.96);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5348a4;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s, background 0.25s;
  z-index: 2;
}
.cta-play-btn i { margin-left: 4px; }
.cta-video-thumb:hover .cta-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

/* Pulsing ring around the play button to draw the eye */
.cta-play-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  animation: ctaPulse 2.2s ease-out infinite;
}
@keyframes ctaPulse {
  0%   { transform: scale(0.85); opacity: 0.85; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-play-btn::before { animation: none; }
}

.cta-video-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

@media (max-width: 640px) {
  .cta-video-thumb { max-width: 100%; }
}

/* ── COURSES ──────────────────────────────────────── */
.courses {
  padding: 80px 0;
  background: #f5f4fb;
}

.course-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tab {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1.5px solid #e0e3f0;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.18s;
}
.tab:hover  { border-color: #5348a4; color: #5348a4; }
.tab.active { background: #5348a4; color: #fff; border-color: #5348a4; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.course-card:hover {
  box-shadow: 0 8px 28px rgba(83,72,164,0.12);
  transform: translateY(-3px);
}

.course-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.badge.popular { background: #fff3cd; color: #856404; }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5348a4;
  font-size: 14px;
  transition: transform 0.15s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }

.course-info { padding: 14px; }
.course-info h4 { font-size: 13px; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }

.course-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #888;
}
.course-meta i { font-size: 10px; }

.level {
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500;
}
.level.inter { background: #fff3cd; color: #856404; }
.level.beg   { background: #d1fae5; color: #065f46; }

/* ── COURSE LIBRARY BANNER ────────────────────────── */
.course-library-banner {
  background: linear-gradient(160deg, #1a0e3d 0%, #2a1f6e 40%, #5348a4 75%, #2596be 100%);
  padding: 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Top and bottom concave curves */
.clb-curve {
  width: 100%;
  line-height: 0;
  display: block;
}
.clb-curve svg {
  display: block;
  width: 100%;
  height: 80px;
}
.clb-curve--top  { margin-bottom: -1px; }
.clb-curve--bottom { margin-top: -1px; }

.clb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 24px 0;
}

.clb-pre {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.4px;
}

.clb-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 640px;
}

.clb-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.7;
}

.clb-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: #fff;
  color: #1565c0;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  transition: background 0.2s, transform 0.15s;
  margin-top: 4px;
}
.clb-btn:hover { background: #e8f0fe; transform: translateY(-1px); }

.clb-image-wrap {
  width: 100%;
  max-width: 900px;
  margin: 20px auto 0;
  position: relative;
  z-index: 1;
}

.clb-img {
  width: 100%;
  display: block;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

/* Curved wave at the bottom of the section */
.clb-wave {
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}
.clb-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* Placeholder shown until real image is added */
.clb-img-placeholder {
  width: 100%;
  aspect-ratio: 16/7;
  background: rgba(255,255,255,0.12);
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.6);
}
.clb-img-placeholder i    { font-size: 52px; }
.clb-img-placeholder span { font-size: 14px; font-weight: 500; }

/* Responsive */
@media (max-width: 1100px) {
  .clb-title { font-size: 36px; }
  .clb-image-wrap { max-width: 640px; margin-top: 30px; }
}

@media (max-width: 860px) {
  .clb-curve svg { height: 56px; }
  .clb-inner { padding: 48px 24px 0; gap: 16px; }
  .clb-title { font-size: 28px; }
  .clb-desc  { font-size: 14px; }
  .clb-image-wrap { max-width: 100%; margin-top: 36px; }
  .clb-img-placeholder { aspect-ratio: 16/8; }
  .clb-img-placeholder i { font-size: 40px; }
}

@media (max-width: 640px) {
  .clb-curve svg { height: 40px; }
  .clb-inner { padding: 40px 16px 0; gap: 14px; }
  .clb-title { font-size: 22px; }
  .clb-desc  { font-size: 13px; }
  .clb-btn   { width: 100%; justify-content: center; font-size: 13px; padding: 12px 20px; }
  .clb-image-wrap { margin-top: 40px; }
  .clb-img-placeholder { aspect-ratio: 4/3; border-radius: 12px 12px 0 0; }
  .clb-img-placeholder i { font-size: 32px; }
  .clb-img-placeholder span { font-size: 12px; }
}

@media (max-width: 420px) {
  .clb-title { font-size: 20px; }
  .clb-curve svg { height: 30px; }
  .clb-image-wrap { margin-top: 44px; }
}

/* ── Course Library fanned card gallery (replaces static preview image) ── */
.clb-card-fan {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: 48px auto 0;
}

.clb-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
  overflow: hidden;
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s;
}
.clb-card:hover {
  box-shadow: 0 20px 44px rgba(0,0,0,0.32);
  /* Must clear the highest resting z-index (30 > card--3's 20) — a tie would fall back
     to DOM order, which silently buries an earlier card behind the center card. */
  z-index: 30 !important;
}

/* Each card straightens + lifts IN PLACE on hover (same horizontal anchor as its
   resting position) rather than sliding toward a shared center point — sliding a
   large distance moves the card out from under the cursor mid-transition, which
   causes the browser to un-hover it and the transform to flicker/reset in a loop. */
.clb-card--1 { transform: translate(calc(-50% - 340px), 70px) rotate(-14deg); z-index: 10; }
.clb-card--2 { transform: translate(calc(-50% - 170px), 30px) rotate(-7deg);  z-index: 15; }
.clb-card--3 { transform: translate(-50%, 0) rotate(0deg);                   z-index: 20; }
.clb-card--4 { transform: translate(calc(-50% + 170px), 30px) rotate(7deg);  z-index: 15; }
.clb-card--5 { transform: translate(calc(-50% + 340px), 70px) rotate(14deg); z-index: 10; }

.clb-card--1:hover { transform: translate(calc(-50% - 340px), 40px) rotate(0deg) scale(1.06) !important; }
.clb-card--2:hover { transform: translate(calc(-50% - 170px), 0px)  rotate(0deg) scale(1.06) !important; }
.clb-card--3:hover { transform: translate(-50%, -14px)              rotate(0deg) scale(1.06) !important; }
.clb-card--4:hover { transform: translate(calc(-50% + 170px), 0px)  rotate(0deg) scale(1.06) !important; }
.clb-card--5:hover { transform: translate(calc(-50% + 340px), 40px) rotate(0deg) scale(1.06) !important; }

.clb-card-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.clb-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.clb-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(26,14,61,0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}
.clb-card-badge i { font-size: 10px; }

.clb-card-body { padding: 16px 16px 18px; }
.clb-card-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.35;
  margin-bottom: 6px;
}
.clb-card-body p {
  font-size: 12px;
  color: #777;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Collapse the fan into a swipeable horizontal row on narrow screens —
   rotated/overlapping cards don't hold up below ~860px */
@media (max-width: 860px) {
  .clb-card-fan {
    height: auto;
    max-width: 100%;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 32px -24px 0;
    padding: 8px 24px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .clb-card {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
  .clb-card--1, .clb-card--2, .clb-card--3, .clb-card--4, .clb-card--5 {
    transform: none;
    z-index: 1;
  }
  .clb-card:hover {
    transform: translateY(-4px) !important;
    z-index: 1 !important;
  }
}

@media (max-width: 480px) {
  .clb-card { flex-basis: 190px; }
}

/* ── MISSION ──────────────────────────────────────── */
.mission {
  padding: 80px 0;
  background: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.mission-pre {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.mission-copy h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 18px;
}
.mission-copy h2 span { color: #5348a4; }

.mission-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 24px;
}

.mission-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #5348a4;
  transition: gap 0.2s;
}
.mission-link:hover { gap: 10px; }

/* Orbit diagram (replaces the old stock photo) */
.orbit-card {
  height: 300px;
  border-radius: 16px;
  background: linear-gradient(180deg, #faf9ff 0%, #f3f1fb 100%);
  border: 1px solid #ece9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.orbit-diagram {
  position: relative;
  width: 240px;
  height: 240px;
  --radius: 100px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(83, 72, 164, 0.2);
  border-radius: 50%;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.12);
  z-index: 2;
}
.orbit-center-logo { width: 40px; height: auto; }

.orbit-orbiter {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  animation: orbit-spin var(--duration, 26s) linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes orbit-spin {
  from { transform: rotate(0deg)   translateX(var(--radius)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg); }
}

.orbit-node {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.orbit-node-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(26, 26, 46, 0.1);
}
.orbit-node-circle i { font-size: 16px; }

.orbit-node-label {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a2e;
  background: #fff;
  padding: 2px 9px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(26, 26, 46, 0.08);
  white-space: nowrap;
}

.orbit-node--purple .orbit-node-circle { background: #ede9f8; color: #5348a4; }
.orbit-node--blue   .orbit-node-circle { background: #e5f0fd; color: #2f6fed; }
.orbit-node--green  .orbit-node-circle { background: #e6f7ee; color: #1f9d55; }
.orbit-node--amber  .orbit-node-circle { background: #fdf1de; color: #c9860f; }

@media (prefers-reduced-motion: reduce) {
  .orbit-orbiter { animation: none; }
  .orbit-orbiter:nth-of-type(1) { transform: translateY(calc(var(--radius) * -1)); }
  .orbit-orbiter:nth-of-type(2) { transform: translateX(var(--radius)); }
  .orbit-orbiter:nth-of-type(3) { transform: translateY(var(--radius)); }
  .orbit-orbiter:nth-of-type(4) { transform: translateX(calc(var(--radius) * -1)); }
}

.mission-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid #eef0f6;
}

.mstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.mstat-icon {
  width: 44px; height: 44px;
  background: #ede9f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mstat-icon i { font-size: 18px; color: #5348a4; }

.mstat strong { display: block; font-size: 24px; font-weight: 800; color: #1a1a2e; line-height: 1.1; }
.mstat span   { font-size: 13px; color: #777; }

.mstat-divider {
  width: 1px;
  height: 40px;
  background: #e8eaf0;
  flex-shrink: 0;
}

/* ── RESPONSIVE ───────────────────────────────────── */

/* Laptop (≤1100px) */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .course-grid   { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet (≤860px) */
@media (max-width: 860px) {
  /* Navbar */
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-badge { margin: 0 auto 20px; }
  .hero-desc  { margin: 0 auto 32px; }
  .hero-btns  { justify-content: center; }
  .hero-perks { justify-content: center; }
  .hero-image-wrap { order: -1; }
  .hero-img, .hero-img-placeholder { max-width: 420px; margin: 0 auto; }

  /* Trust */
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .trust-count { align-items: flex-start; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  /* Courses */
  .course-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mission */
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .orbit-card { height: 240px; }
  .orbit-diagram { width: 190px; height: 190px; --radius: 78px; }
  .mission-stats-bar { justify-content: center; gap: 28px 20px; }
  .mstat-divider { display: none; }
  .mstat { flex: 1 1 40%; }
}

/* Mobile (≤520px) */
@media (max-width: 520px) {
  .hero { padding: 100px 0 60px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-card  { padding: 18px 12px; }

  .course-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .trust-icons { gap: 18px; }

  .mission-stats-bar { flex-direction: column; }
  .mstat { flex: unset; }
}

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: #1a0e3d;
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

/* Brand column */
.footer-brand .nav-logo { margin-bottom: 18px; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.footer-socials a:hover {
  background: #2596be;
  color: #fff;
  transform: translateY(-2px);
}

/* Link columns */
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.18s;
}
.footer-legal a:hover { color: #fff; }

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 24px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 380px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   SOLUTIONS PAGE
═══════════════════════════════════════════════════ */

.sol-page { padding-top: 68px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}
.breadcrumb a { color: #888; transition: color 0.18s; }
.breadcrumb a:hover { color: #5348a4; }
.breadcrumb i { font-size: 10px; }
.breadcrumb span { color: #333; font-weight: 500; }

.active-link { color: #5348a4 !important; }

.sol-section { padding: 64px 0; background: #fff; }
.sol-section--gray { background: #f5f4fb; }

.sol-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.2;
}
.sol-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 40px;
  max-width: 560px;
}

/* Solution cards */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.sol-card {
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.sol-card:hover {
  box-shadow: 0 8px 32px rgba(83,72,164,0.1);
  transform: translateY(-3px);
  border-color: #b8b0e8;
}
.sol-icon {
  width: 52px; height: 52px;
  background: #ede9f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.sol-icon i { font-size: 22px; color: #5348a4; }
.sol-card h3 { font-size: 16px; font-weight: 700; color: #1a1a2e; }
.sol-card p  { font-size: 14px; color: #666; line-height: 1.65; flex: 1; }

.sol-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #5348a4;
  margin-top: 4px;
  transition: gap 0.2s;
}
.sol-link:hover { gap: 10px; }
.sol-link i { font-size: 12px; }

/* Expert strip */
.sol-expert-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ede9f8;
  border: 1.5px solid #c4bce8;
  border-radius: 14px;
  padding: 24px 32px;
  flex-wrap: wrap;
}
.sol-expert-left { display: flex; align-items: center; gap: 16px; }
.sol-expert-icon {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(83,72,164,0.12);
}
.sol-expert-icon i { font-size: 18px; color: #5348a4; }
.sol-expert-left strong { display: block; font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 2px; }
.sol-expert-left span   { font-size: 13px; color: #666; }

/* Solution tabs */
.sol-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.sol-tab {
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1.5px solid #e0e3f0;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.18s;
}
.sol-tab:hover  { border-color: #5348a4; color: #5348a4; }
.sol-tab.active { background: #5348a4; color: #fff; border-color: #5348a4; }

/* Audience grid */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.aud-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.aud-card:hover {
  box-shadow: 0 10px 32px rgba(83,72,164,0.12);
  transform: translateY(-3px);
}
.aud-img { aspect-ratio: 16/9; overflow: hidden; }
.aud-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.aud-card:hover .aud-img img { transform: scale(1.04); }
.aud-info { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.aud-info h4 { font-size: 15px; font-weight: 700; color: #1a1a2e; }
.aud-info p  { font-size: 13px; color: #666; line-height: 1.6; }

/* Mission strip */
.sol-mission-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #5348a4;
  border-radius: 14px;
  padding: 24px 32px;
  flex-wrap: wrap;
}
.sol-mission-strip .sol-expert-left strong { color: #fff; }
.sol-mission-strip .sol-expert-left span   { color: rgba(255,255,255,0.75); }
.sol-mission-strip .sol-expert-icon { background: rgba(255,255,255,0.15); box-shadow: none; }
.sol-mission-strip .sol-expert-icon i { color: #fff; }

.btn-outline--white {
  border-color: #fff !important;
  color: #fff !important;
}
.btn-outline--white:hover {
  background: #fff !important;
  color: #5348a4 !important;
}

/* Solutions responsive */
@media (max-width: 900px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sol-section { padding: 48px 0; }
  .sol-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .sol-expert-strip,
  .sol-mission-strip { flex-direction: column; align-items: flex-start; }
  .sol-expert-strip .btn-outline,
  .sol-mission-strip .btn-outline { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   PRICING PAGE
═══════════════════════════════════════════════════ */

/* Hero */
.pricing-hero {
  background: linear-gradient(160deg, #1a0e3d 0%, #2a1f6e 40%, #5348a4 75%, #2596be 100%);
  padding: 100px 0 56px;
  text-align: center;
}

.pricing-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 20px;
}
.pricing-hero .breadcrumb a,
.pricing-hero .breadcrumb i,
.pricing-hero .breadcrumb span { color: rgba(255,255,255,0.6); }
.pricing-hero .breadcrumb span { color: rgba(255,255,255,0.9); }

.pricing-hero-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.pricing-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}

/* Toggle bar */
.pricing-toggle-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: #999;
  transition: color 0.2s;
}
.toggle-label.active { color: #1a1a2e; }

.toggle-switch {
  width: 44px; height: 24px;
  background: #5348a4;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle-switch.off { background: #ccc; }
.toggle-knob {
  position: absolute;
  top: 3px; right: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: right 0.2s;
}
.toggle-switch.off .toggle-knob { right: auto; left: 3px; }

.toggle-save {
  font-size: 12px;
  font-weight: 600;
  color: #2596be;
  background: #ddf0f7;
  padding: 3px 10px;
  border-radius: 50px;
}

.toggle-divider {
  width: 1px; height: 20px;
  background: #e0e3f0;
}

.toggle-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
}
.toggle-check input { accent-color: #5348a4; width: 15px; height: 15px; cursor: pointer; }
.toggle-check i { font-size: 12px; color: #aaa; }

/* ── PRICING CARDS ────────────────────────────────── */
.pricing-cards-section {
  background: #f5f4fb;
  padding: 40px 0 72px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 32px;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e8eaf0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(83,72,164,0.1);
  z-index: 50; /* lift entire card above sibling sticky headers so tooltip isn't clipped */
}

/* Featured card */
.pricing-card--featured {
  border-color: #2596be;
  box-shadow: 0 12px 40px rgba(37,150,190,0.15);
  border-radius: 16px;
}

/* Disabled card — lower-tier plan can't support the selected user count */
.pricing-card--disabled {
  opacity: 0.45;
  filter: grayscale(0.4);
  pointer-events: none;
  user-select: none;
}
.pricing-card--disabled .pc-btn {
  border-color: #ccc;
  color: #ccc;
  background: transparent;
  cursor: not-allowed;
}
/* Re-enable pointer events on the tooltip wraps so they still work */
.pricing-card--disabled .pc-tooltip-wrap {
  pointer-events: auto;
}

/* Subtle "upgrade required" label that appears on disabled cards */
.pc-disabled-banner {
  display: none;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-align: center;
  padding: 6px 8px;
  background: #f5f5f5;
  border-radius: 6px;
  margin-top: -4px;
}
.pricing-card--disabled .pc-disabled-banner {
  display: block;
}

/* Clips the badge flush to the card's top rounded corners without
   hiding the tooltip which lives lower in the card body */
.pc-badge-clip {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.pc-popular-badge {
  background: #2596be;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 0;
  text-align: center;
  width: 100%;
  letter-spacing: 0.3px;
}

/* Sticky top section */
.pc-sticky-top {
  position: sticky;
  top: 68px;
  background: #fff;
  z-index: 2;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-sticky-top--featured { background: #fff; }

.pc-header { display: flex; flex-direction: column; gap: 10px; }

.pc-name {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
}

.pc-user-select select {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #e0e3f0;
  border-radius: 8px;
  font-size: 13px;
  color: #444;
  background: #fff;
  cursor: pointer;
  /* Hidden — replaced by custom dropdown */
  display: none;
}
.pricing-card--featured .pc-user-select select { border-color: #2596be; }

/* ── Custom dropdown ── */
.pc-dropdown {
  position: relative;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

/* Trigger button */
.pc-dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border: 1.5px solid #e0e3f0;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s;
}
.pc-dropdown-trigger:hover { border-color: #5348a4; }
.pc-dropdown-trigger i {
  font-size: 11px;
  color: #999;
  flex-shrink: 0;
  transition: transform 0.22s;
}
/* Trigger open state */
.pc-dropdown.open .pc-dropdown-trigger {
  border-color: #5348a4;
}
.pc-dropdown.open .pc-dropdown-trigger i {
  transform: rotate(180deg);
}
.pricing-card--featured .pc-dropdown-trigger { border-color: #2596be; }
.pricing-card--featured .pc-dropdown.open .pc-dropdown-trigger { border-color: #2596be; }

/* Dropdown panel — appended to body, positioned via JS */
.pc-dropdown-panel {
  display: none;
  position: fixed;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 998;
  overflow: hidden;
  animation: ddFadeIn 0.15s ease;
  min-width: 180px;
}
.pc-dropdown-panel.open { display: block; }

@keyframes ddFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Option rows */
.pc-dropdown-option {
  display: block;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.pc-dropdown-option:hover { background: #f0eefb; color: #5348a4; }
.pc-dropdown-option.selected {
  background: #ede9f8;
  color: #5348a4;
  font-weight: 600;
}

/* Dark overlay behind open dropdown */
.pc-dropdown-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 997;
  animation: overlayIn 0.2s ease;
}
.pc-dropdown-overlay.visible { display: block; }

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 640px) {
  .pc-dropdown-trigger { font-size: 12px; padding: 8px 10px; }
  .pc-dropdown-option  { font-size: 12px; padding: 10px 14px; }
}

.pc-user-tag {
  display: inline-block;
  padding: 8px 12px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 13px;
  color: #555;
  font-weight: 500;
}

/* Price */
.pc-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-wrap: wrap;
}
.pc-currency { font-size: 20px; font-weight: 700; color: #5348a4; }
.pc-amount   { font-size: 40px; font-weight: 800; color: #5348a4; line-height: 1; }
.pc-period   { font-size: 13px; color: #888; margin-left: 2px; }
.pc-annual   { font-size: 12px; color: #aaa; margin-left: 6px; }

.pricing-card--featured .pc-currency,
.pricing-card--featured .pc-amount { color: #2596be; }

.pc-billed { font-size: 12px; color: #5348a4; margin-top: -4px; }

/* Buttons */
.pc-btn {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.18s;
}
.pc-btn--outline { border: 1.5px solid #5348a4; color: #5348a4; }
.pc-btn--outline:hover { background: #5348a4; color: #fff; }
.pc-btn--featured { background: #2596be; color: #fff; border: none; }
.pc-btn--featured:hover { background: #1a7a9e; }

.pc-note { font-size: 11px; color: #aaa; text-align: center; margin-top: -4px; }

/* Enterprise msg */
.pc-enterprise-msg { padding: 4px 0; }
.pc-enterprise-msg p { font-size: 14px; color: #666; }
.pc-enterprise-msg a { color: #2596be; font-weight: 600; }

/* Scrollable body */
.pc-body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 0; }

/* Feature groups */
.pc-group { border-top: 1px solid #f0f0f0; padding: 14px 0 4px; }

.pc-group-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}
.pc-group-heading > i:first-child { color: #5348a4; font-size: 13px; }
.pc-chevron { margin-left: auto; font-size: 10px; color: #aaa; transition: transform 0.25s; }

/* Collapsed state — toggled by JS per group independently */
.pc-group.collapsed ul { display: none; }
.pc-group.collapsed .pc-chevron { transform: rotate(180deg); }

.pc-group ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.pc-group ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.pc-group ul li.on  { color: #333; }
.pc-group ul li.off { color: #bbb; }
.pc-group ul li.on  > i:first-child { color: #2596be; font-size: 11px; flex-shrink: 0; }
.pc-group ul li.off > i:first-child { color: #ddd; font-size: 11px; flex-shrink: 0; }
.pc-info { margin-left: auto; font-size: 11px; color: #ccc; flex-shrink: 0; }

/* Free plan banner */
.free-plan-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 2px solid #5348a4;
  border-radius: 16px;
  padding: 32px 36px;
  flex-wrap: wrap;
  background: #fff;
}
.free-plan-banner h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: #5348a4;
  line-height: 1.3;
  margin-bottom: 14px;
}
.free-plan-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.free-plan-perks span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #444;
}
.free-plan-perks i { color: #2596be; font-size: 12px; }
.free-plan-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.free-plan-right p { font-size: 11px; color: #aaa; text-align: center; }

/* ── FAQ ──────────────────────────────────────────── */
.pricing-faq {
  padding: 72px 0;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: #5348a4; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  text-align: left;
}
.faq-q i { font-size: 12px; color: #aaa; transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: #5348a4; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 20px 18px;
}

/* ── PRICING RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-toggle-bar { padding: 12px 16px; gap: 10px; }
  .toggle-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .pricing-hero { padding: 90px 0 48px; }
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════ */

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #5348a4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* ── About Hero ───────────────────────────────────── */
.about-hero {
  background: #f5f4fb;
  padding: 110px 0 72px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 24px;
}

.about-hero-copy h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 18px;
}
.about-hero-copy h1 span { color: #5348a4; }
.about-hero-copy p {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.about-hero-img {
  position: relative;
}
.about-hero-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(83,72,164,0.12);
  object-fit: cover;
  height: 400px;
}

.about-hero-badge-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.about-hero-badge-card i {
  font-size: 24px;
  color: #5348a4;
}
.about-hero-badge-card strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.1;
}
.about-hero-badge-card span {
  font-size: 12px;
  color: #888;
}

/* ── Stats Bar ────────────────────────────────────── */
.about-stats {
  background: #fff;
  padding: 48px 0;
  border-top: 1px solid #eef0f6;
  border-bottom: 1px solid #eef0f6;
}

.about-stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.astat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.astat strong {
  font-size: 32px;
  font-weight: 800;
  color: #5348a4;
  line-height: 1;
}
.astat span { font-size: 13px; color: #666; }

.astat-divider {
  width: 1px;
  height: 40px;
  background: #e8eaf0;
}

/* ── Mission ──────────────────────────────────────── */
.about-mission {
  padding: 88px 0;
  background: #fff;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-mission-img img {
  width: 100%;
  border-radius: 20px;
  height: 420px;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(83,72,164,0.1);
}

.about-mission-copy h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 18px;
}
.about-mission-copy h2 span { color: #5348a4; }
.about-mission-copy > p {
  font-size: 15px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 36px;
}

.about-values { display: flex; flex-direction: column; gap: 20px; }

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.av-icon {
  width: 44px; height: 44px;
  background: #ede9f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.av-icon i { font-size: 18px; color: #5348a4; }
.about-value strong { display: block; font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 3px; }
.about-value span   { font-size: 13px; color: #777; line-height: 1.5; }

/* ── Team ─────────────────────────────────────────── */
.about-team {
  padding: 88px 0;
  background: #f5f4fb;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  border: 1.5px solid #eef0f6;
  transition: box-shadow 0.2s, transform 0.2s;
  /* Column flex + full height so cards in the same grid row have
     matching heights (grid stretch), then push the socials to the
     bottom with `margin-top: auto` regardless of paragraph length. */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.team-card:hover {
  box-shadow: 0 10px 32px rgba(83,72,164,0.1);
  transform: translateY(-4px);
}

.team-img {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid #ede9f8;
}
.team-img img { width: 100%; height: 100%; object-fit: cover; }

/* Per-headshot framing tweaks. The source PNGs were cropped
   differently — this centres each face inside the shared 88×88
   circle without editing the files themselves. `alt`-attribute
   selectors so the rule follows the img wherever it's used. */
.team-img img[alt*="Antone"]  { transform: scale(1.18); transform-origin: center 40%; }
.team-img img[alt*="Claire"]  { transform: scale(0.90); transform-origin: center center; object-position: center 30%; }
.team-img img[alt*="Fidelis"] { object-position: center 30%; }

.team-card h4 { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.team-card > span { font-size: 13px; color: #5348a4; font-weight: 500; display: block; margin-bottom: 12px; }
.team-card > p { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 16px; }

.team-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  /* Pin to card bottom regardless of paragraph length (works
     because `.team-card` is a flex column with height: 100%). */
  margin-top: auto;
}
.team-socials a {
  width: 32px; height: 32px;
  background: #ede9f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5348a4;
  font-size: 13px;
  transition: background 0.18s, color 0.18s;
}
.team-socials a:hover { background: #5348a4; color: #fff; }

/* ── Timeline ─────────────────────────────────────── */
.about-timeline {
  padding: 88px 0;
  background: #fff;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: #e8eaf0;
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 32px);
  margin-bottom: 40px;
  position: relative;
}

.tl-item--right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 32px);
}

.tl-dot {
  position: absolute;
  left: 50%;
  top: 16px;
  width: 14px; height: 14px;
  background: #5348a4;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #5348a4;
  z-index: 1;
}

.tl-card {
  background: #f5f4fb;
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 280px;
  transition: box-shadow 0.2s;
}
.tl-card:hover { box-shadow: 0 6px 20px rgba(83,72,164,0.1); }

.tl-year {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #5348a4;
  background: #ede9f8;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}
.tl-card h4 { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.tl-card p  { font-size: 13px; color: #666; line-height: 1.6; }

/* ── About Responsive ─────────────────────────────── */
@media (max-width: 960px) {
  .about-hero-grid    { grid-template-columns: 1fr; gap: 48px; }
  .about-hero-copy p  { max-width: 100%; }
  .about-hero-img img { height: 300px; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-mission-img img { height: 280px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .about-hero { padding: 96px 0 56px; }
  .about-stats-grid { justify-content: center; }
  .astat-divider { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 16px; }
  .tl-item, .tl-item--right {
    justify-content: flex-start;
    padding-left: 48px;
    padding-right: 0;
  }
  .tl-dot { left: 16px; }
  .tl-card { max-width: 100%; }
}

@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════ */

.contact-hero {
  background: linear-gradient(160deg, #1a0e3d 0%, #2a1f6e 40%, #5348a4 75%, #2596be 100%);
  padding: 110px 0 56px;
  text-align: center;
}
.contact-hero .breadcrumb { justify-content: center; margin-bottom: 20px; }
.contact-hero .breadcrumb a,
.contact-hero .breadcrumb i,
.contact-hero .breadcrumb span { color: rgba(255,255,255,0.6); }
.contact-hero .breadcrumb span { color: rgba(255,255,255,0.9); }

.contact-hero-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.contact-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Body */
.contact-body { padding: 72px 0 88px; background: #f5f4fb; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

/* Form wrap */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px 40px;
  border: 1.5px solid #eef0f6;
  box-shadow: 0 4px 24px rgba(83,72,164,0.06);
}
.contact-form-wrap h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.contact-form-wrap > p {
  font-size: 14px;
  color: #777;
  margin-bottom: 28px;
}

/* Form elements */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.form-group label span { color: #e53e3e; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid #e0e3f0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #5348a4;
  box-shadow: 0 0 0 3px rgba(83,72,164,0.1);
}
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #e53e3e;
}

.form-error {
  display: none;
  font-size: 12px;
  color: #e53e3e;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox input { margin-top: 2px; accent-color: #5348a4; flex-shrink: 0; }

.contact-submit {
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.form-success {
  display: none;
  align-items: center;
  gap: 16px;
  background: #ddf0f7;
  border: 1.5px solid #2596be;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 8px;
}
.form-success i { font-size: 28px; color: #2596be; flex-shrink: 0; }
.form-success strong { display: block; font-size: 15px; font-weight: 700; color: #1a6e8a; }
.form-success span   { font-size: 13px; color: #2596be; }

/* Info cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: #fff;
  border: 1.5px solid #eef0f6;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow 0.2s;
}
.contact-info-card:hover { box-shadow: 0 6px 20px rgba(83,72,164,0.08); }

.ci-icon {
  width: 40px; height: 40px;
  background: #ede9f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.ci-icon i { font-size: 16px; color: #2596be; }

.contact-info-card h4 { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.contact-info-card p  { font-size: 13px; color: #777; line-height: 1.5; }
.contact-info-card a  { font-size: 13px; font-weight: 600; color: #2596be; margin-top: 2px; display: inline-flex; align-items: center; gap: 5px; }
.contact-info-card a:hover { text-decoration: underline; }

.contact-socials { padding: 4px 0; }
.contact-socials p { font-size: 13px; font-weight: 600; color: #555; margin-bottom: 10px; }
.contact-socials .footer-socials { justify-content: flex-start; }

/* Contact responsive */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .contact-info-card { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 560px) {
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-card { flex: 1 1 100%; }
}

/* ═══════════════════════════════════════════════════
   GLOBAL RESPONSIVE OVERRIDES
   Breakpoints: 1100 | 860 | 640 | 420
═══════════════════════════════════════════════════ */

/* ── Laptop ≤1100px ───────────────────────────────── */
@media (max-width: 1100px) {
  /* Footer: 4-col → 3-col */
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }

  /* Pricing: 4-col → 2-col */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  /* About mission */
  .about-mission-grid { gap: 40px; }
}

/* ── Tablet ≤860px ────────────────────────────────── */
@media (max-width: 860px) {
  /* ── Shared sections ── */
  .section-title { font-size: 22px; margin-bottom: 32px; }

  /* ── Solutions ── */
  .sol-section { padding: 48px 0; }
  .sol-grid    { grid-template-columns: repeat(2, 1fr); }
  .aud-grid    { grid-template-columns: repeat(2, 1fr); }
  .sol-expert-strip,
  .sol-mission-strip { flex-direction: column; align-items: flex-start; }
  .sol-expert-strip .btn-outline,
  .sol-mission-strip .btn-outline { width: 100%; justify-content: center; }

  /* ── Pricing ── */
  .pricing-hero { padding: 96px 0 40px; }
  .pricing-hero-title { font-size: 28px; }
  .pricing-toggle-bar { flex-wrap: wrap; gap: 10px; padding: 12px 18px; }
  .toggle-divider { display: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pc-sticky-top { position: static; } /* disable sticky on tablet so cards don't overlap */
  .faq-grid { grid-template-columns: 1fr; }
  .free-plan-banner { flex-direction: column; align-items: flex-start; }
  .free-plan-banner .btn-primary { width: 100%; justify-content: center; }

  /* ── About ── */
  .about-hero { padding: 96px 0 56px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-hero-copy p { max-width: 100%; }
  .about-hero-copy .hero-btns { justify-content: center; }
  .about-hero-img img { height: 280px; }
  .about-hero-badge-card { left: 50%; transform: translateX(-50%); bottom: -16px; white-space: nowrap; }
  .about-stats-grid { justify-content: center; gap: 20px; }
  .astat-divider { display: none; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-mission-img img { height: 240px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-stats-bar { justify-content: center; gap: 28px 20px; }
  .mstat-divider { display: none; }
  .mstat { flex: 1 1 40%; }

  /* ── Contact ── */
  .contact-hero { padding: 96px 0 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .contact-info-card { flex: 1 1 calc(50% - 8px); }

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 24px 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
}

/* ── Mobile ≤640px ────────────────────────────────── */
@media (max-width: 640px) {
  /* ── Global ── */
  .container { padding: 0 16px; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  /* ── Home hero ── */
  .hero { padding: 96px 0 56px; }
  .hero-title { font-size: 28px; }
  .hero-btns { flex-direction: column; }
  .hero-perks { gap: 12px; }
  .hero-img, .hero-img-placeholder { max-width: 100%; }

  /* ── Trust ── */
  .trust-inner { flex-direction: column; gap: 16px; }
  .trust-icons { gap: 16px; justify-content: center; }
  .trust-count { align-items: center; }

  /* ── Features ── */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-card  { padding: 16px 10px; }

  /* ── Courses ── */
  .course-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .course-tabs { gap: 6px; }
  .tab { padding: 7px 14px; font-size: 13px; }

  /* ── CTA banner ── */
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-watch { width: 100%; justify-content: center; }

  /* ── Mission ── */
  .mission-grid { grid-template-columns: 1fr; gap: 28px; }
  .mission-stats-bar { flex-direction: column; }
  .mstat { flex: unset; }

  /* ── Solutions ── */
  .sol-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .sol-title { font-size: 24px; }

  /* ── Pricing ── */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-toggle-bar { padding: 10px 14px; }
  .toggle-check { font-size: 12px; }
  .pc-name { font-size: 20px; }
  .pc-amount { font-size: 34px; }
  .free-plan-perks { gap: 10px; }
  .free-plan-perks span { font-size: 12px; }

  /* ── About ── */
  .about-hero-badge-card { position: static; transform: none; margin-top: 16px; }
  .about-stats-grid { flex-direction: column; align-items: center; gap: 16px; }
  .astat { flex-direction: row; gap: 12px; align-items: center; }
  .astat strong { font-size: 24px; }
  .about-values { gap: 14px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Timeline: collapse to single column */
  .timeline::before { left: 14px; }
  .tl-item,
  .tl-item--right {
    justify-content: flex-start;
    padding-left: 44px;
    padding-right: 0;
  }
  .tl-dot { left: 14px; }
  .tl-card { max-width: 100%; }

  /* ── Contact ── */
  .contact-form-wrap { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; }
  .contact-info-card { flex: unset; }
  .contact-hero-title { font-size: 26px; }

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; padding: 36px 16px 28px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}

/* ── Small mobile ≤420px ──────────────────────────── */
@media (max-width: 420px) {
  .hero-title { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; }
  .contact-info-card { flex: 1 1 100%; }
  .about-hero-copy h1 { font-size: 26px; }
  .about-mission-copy h2 { font-size: 22px; }
  .pricing-hero-title { font-size: 22px; }
  .sol-title { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════
   PRICING TOOLTIPS
═══════════════════════════════════════════════════ */

/* Wrapper — relative so the bubble positions against it */
.pc-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  cursor: pointer;
  /* Lift this element above sibling cards when hovered */
  z-index: 1;
}
.pc-tooltip-wrap:hover {
  z-index: 9999;
}

/* Hide the inline data-carrier bubble from layout — shown via CSS on hover */
.pc-tooltip-bubble {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 220px;
  background: #1a1a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  padding: 14px 16px 12px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

/* Arrow */
.pc-tooltip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #1a1a2e;
}

/* "More" link inside tooltip — removed */

/* Show on hover */
.pc-tooltip-wrap:hover .pc-tooltip-bubble {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* The info icon */
.pc-info {
  font-size: 13px;
  color: #ccc;
  display: block;
  transition: color 0.18s;
}
.pc-tooltip-wrap:hover .pc-info { color: #5348a4; }

/* ── Global floating tooltip bubble (appended to <body>) ── */
#pc-tooltip-global {
  display: none;
}

@media (max-width: 640px) {
  .pc-tooltip-bubble {
    width: 180px;
    font-size: 12px;
    padding: 12px 14px 10px;
  }
}

/* ═══════════════════════════════════════════════════════
   CONTENT UPDATE (July 2026) — About new sections
   ═══════════════════════════════════════════════════════ */

/* Growing team blurb */
.team-grid--three { grid-template-columns: repeat(3, 1fr); }
.team-growing {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
  background: #f5f4fb;
  border: 1px solid #e0e3f0;
  border-radius: 16px;
  padding: 28px 32px;
}
.team-growing h3 { font-size: 20px; color: #1a1a2e; margin-bottom: 10px; }
.team-growing p { color: #4a4a5e; line-height: 1.7; font-size: 15px; }

/* Four Pillars */
.about-pillars { padding: 72px 0; background: #fff; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.pillar-card {
  background: #f5f4fb;
  border: 1px solid #e0e3f0;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.pillar-icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: #ede9f8;
  color: #5348a4;
  font-size: 22px;
}
.pillar-card h4 { font-size: 18px; color: #1a1a2e; margin-bottom: 10px; }
.pillar-card p { font-size: 14px; color: #4a4a5e; line-height: 1.65; }

/* Riskophia Ecosystem */
.about-ecosystem { padding: 72px 0; background: #1a1a2e; color: #fff; }
.about-ecosystem .section-title { color: #fff; }
.ecosystem-intro {
  max-width: 780px;
  margin: 16px auto 40px;
  text-align: center;
  color: #c9c9d6;
  line-height: 1.75;
  font-size: 16px;
}
.ecosystem-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.eco-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 22px 18px;
}
.eco-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #2596be; color: #fff; font-weight: 700; font-size: 15px;
  margin-bottom: 12px;
}
.eco-step p { font-size: 13.5px; color: #d5d5e0; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════
   Solution detail pages (Section 3 subpages)
   ═══════════════════════════════════════════════════════ */
.sd-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2450 55%, #5348a4 100%);
  color: #fff;
  padding: 116px 0 64px;
}
.sd-hero .breadcrumb a,
.sd-hero .breadcrumb span,
.sd-hero .breadcrumb i { color: rgba(255,255,255,0.7); }
.sd-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #7fd3ec;
  margin: 18px 0 14px;
}
.sd-hero h1 {
  font-size: 42px; line-height: 1.15; max-width: none; margin-bottom: 18px;
}
.sd-hero p { font-size: 17px; color: #d5d5e0; line-height: 1.7; max-width: none; }

.sd-body { padding: 64px 0; }
/* Full-width container so body content spans the same 1160px as the rest of
   the site (Home, hero band) — no narrow centered column. */
.sd-narrow { max-width: 1160px; }
/* Two-column section: heading on the left, content on the right. Fills the
   full container width so there's no large empty gutter. */
.sd-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}
.sd-section h2 {
  font-size: 24px; color: #1a1a2e; margin-bottom: 0;
}
.sd-section p { font-size: 16px; color: #4a4a5e; line-height: 1.8; }

.sd-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.sd-list li {
  position: relative;
  padding: 16px 18px 16px 50px;
  background: #f5f4fb;
  border: 1px solid #e0e3f0;
  border-radius: 12px;
  font-size: 15px; color: #33334a; line-height: 1.6;
}
.sd-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 18px; top: 16px; color: #2596be;
}

.sd-quote {
  margin: 48px 0;
  max-width: none;
  text-align: left;
  font-size: 22px; line-height: 1.5; font-weight: 600;
  color: #1a1a2e;
  border-left: 4px solid #5348a4;
  padding: 8px 28px;
}
.sd-quote cite { display: block; margin-top: 14px; font-size: 14px; font-weight: 500; font-style: normal; color: #5348a4; }

.sd-note {
  display: flex; gap: 14px;
  background: #fff3cd; border: 1px solid #ffe08a;
  border-radius: 12px; padding: 18px 20px; margin: 8px 0 40px;
}
.sd-note i { color: #b8860b; font-size: 18px; margin-top: 2px; }
.sd-note p { font-size: 14.5px; color: #665117; line-height: 1.65; margin: 0; }

.sd-cta-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ── Audience solution pages (for-organizations, for-individuals, …) ── */
/* Intro callout — highlighted statement at the top of the body */
.aud-intro {
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(135deg, #f5f4fb 0%, #ede9f8 100%);
  border: 1px solid #e0dcf3; border-left: 4px solid #5348a4;
  border-radius: 16px;
  padding: 28px 32px; margin-bottom: 56px;
}
.aud-intro-ic {
  width: 52px; height: 52px; flex-shrink: 0;
  background: #5348a4; color: #fff; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.aud-intro p { font-size: 17px; line-height: 1.7; color: #1a1a2e; font-weight: 500; margin: 0; }
@media (max-width: 600px) {
  .aud-intro { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
}

/* Centered block: heading on top, content below (like the FAQ) */
.aud-block { margin-bottom: 56px; }
.aud-block:last-child { margin-bottom: 0; }

/* Built-for tags — centered under the heading */
.aud-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; max-width: 820px; margin: 0 auto;
}
.aud-tag {
  background: #f2f1fb; color: #5348a4;
  border: 1px solid #e4e2f5;
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
}

/* What you can do — icon cards, centered under the heading */
.aud-do-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.aud-do-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1.5px solid #e8eaf0; border-radius: 14px;
  padding: 16px 18px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.aud-do-card:hover {
  box-shadow: 0 8px 32px rgba(83,72,164,0.1);
  transform: translateY(-3px); border-color: #b8b0e8;
}
.aud-do-ic {
  width: 42px; height: 42px; flex-shrink: 0;
  background: #ede9f8; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #5348a4; font-size: 15px;
}
.aud-do-card span { font-size: 15px; font-weight: 600; color: #1a1a2e; line-height: 1.4; }

/* Why Learnophia — full-width band */
.aud-why-section {
  background: #f5f4fb;
  border-top: 1px solid #e8eaf0; border-bottom: 1px solid #e8eaf0;
  padding: 64px 0;
}
.aud-why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px 44px; max-width: 860px; margin: 0 auto;
}
.aud-why-grid div { display: flex; align-items: center; gap: 13px; font-size: 16px; color: #1a1a2e; font-weight: 500; }
.aud-why-grid i {
  width: 28px; height: 28px; flex-shrink: 0;
  background: #5348a4; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}

/* Final CTA band */
.aud-cta { background: linear-gradient(135deg, #2a2550 0%, #5348a4 100%); padding: 64px 0; text-align: center; }
.aud-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); margin-bottom: 14px; }
.aud-cta p { color: #d5d5e0; font-size: 16px; line-height: 1.7; max-width: 600px; margin: 0 auto 28px; }
.btn-white { background: #fff !important; color: #5348a4 !important; border: 2px solid #fff !important; }
.btn-white:hover { background: #f0eefb !important; transform: translateY(-1px); }

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-flow { grid-template-columns: repeat(2, 1fr); }
  .team-grid--three { grid-template-columns: 1fr; }
  .sd-hero h1 { font-size: 32px; }
  /* Stack the solution-detail heading/content into one column on narrow screens */
  .sd-section { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 700px) {
  .aud-do-grid { grid-template-columns: 1fr; }
  .aud-why-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .pillars-grid, .ecosystem-flow { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   CAREERS PAGE
═══════════════════════════════════════ */
.career-hero .sd-cta-row { justify-content: flex-start; margin-top: 28px; }

.career-section { padding: 64px 0; }
.career-section--gray { background: #f5f4fb; border-top: 1px solid #e8eaf0; border-bottom: 1px solid #e8eaf0; }
.career-lead { text-align: center; max-width: 880px; margin: 0 auto; font-size: 16px; color: #4a4a5e; line-height: 1.8; }
.career-lead + .career-lead { margin-top: 18px; }

/* Culture stat tiles (replaces the fake benefits) */
.career-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.career-stat {
  background: #fff; border: 1.5px solid #e8eaf0; border-radius: 16px;
  padding: 28px 26px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.career-stat:hover { box-shadow: 0 8px 32px rgba(83,72,164,0.1); transform: translateY(-3px); border-color: #b8b0e8; }
.career-stat .emoji { font-size: 30px; display: block; margin-bottom: 14px; line-height: 1; }
.career-stat h3 { font-size: 17px; color: #1a1a2e; margin-bottom: 8px; }
.career-stat p { font-size: 14px; color: #4a4a5e; line-height: 1.65; }

/* Mission statement */
.career-mission { text-align: center; }
.career-mission .lead-lines {
  font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: #1a1a2e;
  line-height: 1.4; margin-bottom: 22px;
}
.career-mission .lead-lines span { color: #5348a4; }

/* Values (5 cards) */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid #e0e3f0; border-radius: 16px; padding: 28px 22px; text-align: center; }
.value-icon {
  width: 54px; height: 54px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: #ede9f8; color: #5348a4; font-size: 22px;
}
.value-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: #4a4a5e; line-height: 1.6; }

/* Simple check list */
.career-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.career-list li { position: relative; padding-left: 30px; font-size: 15px; color: #33334a; line-height: 1.55; }
.career-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 2px; color: #5348a4; font-size: 13px;
}

/* Two-column info cards (Explore / Talent community) */
.career-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin: 0 auto; }
.career-panel { background: #fff; border: 1.5px solid #e8eaf0; border-radius: 16px; padding: 32px 30px; }
.career-panel h3 { font-size: 20px; color: #1a1a2e; margin-bottom: 10px; }
.career-panel > p { font-size: 15px; color: #4a4a5e; line-height: 1.7; margin-bottom: 18px; }
.career-panel .btn-outline { margin-top: 22px; }

.career-note { text-align: center; margin-top: 26px; font-size: 15px; color: #5348a4; font-weight: 500; }

@media (max-width: 980px) {
  .career-stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .career-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .career-stats { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .career-hero .sd-cta-row { justify-content: center; }
}

/* ── Home course cards as links + browse-all + filter empty state ── */
.course-card { color: inherit; text-decoration: none; display: block; }
.course-browse { text-align: center; margin-top: 36px; }
.course-browse .btn-primary i { margin-left: 8px; }
.course-empty {
  text-align: center;
  color: #4a4a5e;
  font-size: 15px;
  margin: 28px auto 0;
  max-width: 520px;
}

/* ═══════════════════════════════════════
   DEMO VIDEO MODAL
═══════════════════════════════════════ */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 45, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.demo-modal.open {
  opacity: 1;
  visibility: visible;
}
.demo-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-modal.open .demo-modal__dialog {
  transform: translateY(0) scale(1);
}
.demo-modal__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.demo-modal__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.demo-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #5348a4;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.demo-modal__close:hover {
  transform: scale(1.08) rotate(90deg);
  background: #5348a4;
  color: #fff;
}
@media (max-width: 640px) {
  .demo-modal { padding: 16px; }
  .demo-modal__close {
    top: -10px;
    right: -6px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════════════
   COURSE LIBRARY PAGE
═══════════════════════════════════════════════════ */

/* ── PAGE OFFSET ── */
.cl-page { padding-top: 68px; }

/* ── HERO ── */
.cl-hero {
  background: #f5f3ee;
  padding: 72px 0 72px;
}
.cl-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.cl-hero-copy h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cl-hero-copy p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 440px;
}
.cl-hero-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.cl-hero-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #333;
  list-style: none;
}
.cl-hero-perks li i { color: #5348a4; font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.cl-hero-perks li strong { color: #1a1a2e; }

.cl-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: #5348a4;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.cl-hero-btn:hover { background: #3d3490; transform: translateY(-1px); }

.cl-hero-image { display: flex; justify-content: flex-end; align-items: center; }

.cl-hero-video {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(83,72,164,0.15);
  position: relative;
  cursor: pointer;
  background: #000;
}
.cl-hero-video img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0.85; transition: opacity 0.2s;
}
.cl-hero-video:hover img { opacity: 0.7; }
.cl-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5348a4;
  font-size: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  pointer-events: none;
}
.cl-hero-video:hover .cl-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* ── COURSES SECTION ── */
.cl-courses { padding: 80px 0 88px; background: #fff; }
.cl-courses-head { text-align: center; margin-bottom: 52px; }
.cl-courses-head h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.cl-courses-head p {
  font-size: 15px; color: #666;
  max-width: 520px; margin: 0 auto; line-height: 1.65;
}

.cl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cl-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e8eaf0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.cl-card:hover {
  box-shadow: 0 10px 36px rgba(83,72,164,0.13);
  transform: translateY(-3px);
}

.cl-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  flex-shrink: 0;
}
.cl-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cl-card:hover .cl-thumb img { transform: scale(1.04); }

.cl-students {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(26,26,46,0.85);
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}
.cl-students i { font-size: 13px; }

.cl-card-body {
  padding: 18px 18px 16px;
  display: flex; flex-direction: column;
  flex: 1; gap: 8px;
}
.cl-card-body h3 { font-size: 15px; font-weight: 700; color: #1a1a2e; line-height: 1.4; }
.cl-card-body p  { font-size: 13px; color: #777; line-height: 1.65; flex: 1; }

.cl-card-foot {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid #f0f0f0;
}
.cl-sections { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #888; }
.cl-sections i { font-size: 13px; }
.cl-badge-free {
  font-size: 12px; font-weight: 600;
  color: #2596be; background: #ddf0f7;
  padding: 4px 12px; border-radius: 50px;
}

/* ── BOTTOM ACTIONS ── */
.cl-bottom-actions {
  display: flex; align-items: center;
  justify-content: center;
  gap: 16px; margin-top: 48px; flex-wrap: wrap;
}
.cl-btn-outline {
  display: inline-flex; align-items: center;
  padding: 13px 28px;
  border: 2px solid #1a1a2e; color: #1a1a2e;
  font-size: 15px; font-weight: 600;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
.cl-btn-outline:hover { background: #1a1a2e; color: #fff; }
.cl-btn-solid {
  display: inline-flex; align-items: center;
  padding: 13px 28px;
  background: #1a1a2e; color: #fff;
  font-size: 15px; font-weight: 600;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
}
.cl-btn-solid:hover { background: #5348a4; transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .cl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .cl-hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .cl-hero-copy p { margin: 0 auto 24px; }
  .cl-hero-perks { align-items: flex-start; display: inline-flex; text-align: left; }
  .cl-hero-btn { margin: 0 auto; }
  .cl-hero-image { justify-content: center; }
  .cl-hero-video { max-width: 100%; }
  .cl-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 580px) {
  .cl-hero { padding: 48px 0 48px; }
  .cl-grid { grid-template-columns: 1fr; gap: 16px; }
  .cl-courses { padding: 56px 0 64px; }
  .cl-bottom-actions { flex-direction: column; align-items: stretch; }
  .cl-btn-outline, .cl-btn-solid { justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   FULL COURSE LIBRARY PAGE
═══════════════════════════════════════════════════ */

.fcl-hero {
  background: linear-gradient(160deg, #1a0e3d 0%, #2a1f6e 40%, #5348a4 75%, #2596be 100%);
  padding: 100px 0 48px;
}
.fcl-hero .breadcrumb a,
.fcl-hero .breadcrumb i { color: rgba(255,255,255,0.6); }
.fcl-hero .breadcrumb span { color: rgba(255,255,255,0.9); }

.fcl-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  margin-top: 16px;
}
.fcl-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
}

.fcl-section {
  padding: 56px 0 80px;
  background: #f5f4fb;
}

/* Dummy card placeholder thumb */
.cl-thumb--placeholder {
  background: linear-gradient(135deg, #ede9f8, #ddf0f7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-thumb--placeholder i {
  font-size: 48px;
  color: #5348a4;
  opacity: 0.4;
}
.cl-card--dummy { opacity: 0.75; }
.cl-card--dummy:hover { opacity: 1; }

@media (max-width: 640px) {
  .fcl-hero { padding: 88px 0 36px; }
  .fcl-title { font-size: 26px; }
}

/* ═══════════════════════════════════════════════════
   FULL COURSE LIBRARY PAGE (fcl-)
═══════════════════════════════════════════════════ */

/* ── Header ── */
.fcl-header {
  background: #f0f4f8;
  padding: 96px 0 40px;
  border-bottom: 1px solid #e0e3f0;
}
.fcl-header .breadcrumb { margin-bottom: 16px; }

.fcl-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 28px;
  text-align: center;
}

.fcl-perks {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.fcl-perk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 240px;
}
.fcl-perk > i { color: #5348a4; font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.fcl-perk strong { display: block; font-size: 13px; font-weight: 700; color: #1a1a2e; }
.fcl-perk span   { font-size: 12px; color: #666; line-height: 1.5; }

/* ── Body layout ── */
.fcl-body { background: #fff; padding: 48px 0 80px; }

.fcl-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Sidebar ── */
.fcl-sidebar {
  position: sticky;
  top: 88px;
}
.fcl-sidebar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #e8eaf0;
  margin-bottom: 8px;
}
.fcl-sidebar-label  { font-size: 15px; font-weight: 700; color: #1a1a2e; }
.fcl-sidebar-courses { font-size: 12px; color: #aaa; font-weight: 500; }

.fcl-filter-list { display: flex; flex-direction: column; }
.fcl-filter-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  font-size: 14px;
  color: #555;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.fcl-filter-list li a span {
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
}
.fcl-filter-list li:hover a,
.fcl-filter-list li.active a {
  background: #ede9f8;
  color: #5348a4;
}
.fcl-filter-list li.active a span { color: #5348a4; }

/* ── Content area ── */
.fcl-content { display: flex; flex-direction: column; gap: 56px; }

.fcl-category {}
.fcl-cat-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.fcl-cat-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 640px;
}

/* ── Collection card grid ── */
.fcl-collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fcl-col-card {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  background: #fff;
}
.fcl-col-card:hover {
  box-shadow: 0 8px 32px rgba(83,72,164,0.1);
  transform: translateY(-2px);
  border-color: #b8b0e8;
}

/* Left: text */
.fcl-col-info {
  flex: 1;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fcl-col-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #5348a4;
  line-height: 1.35;
}
.fcl-col-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  flex: 1;
}
.fcl-explore {
  font-size: 13px;
  font-weight: 600;
  color: #5348a4;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fcl-col-card:hover .fcl-explore::after {
  content: ' →';
}

/* Right: image + count */
.fcl-col-thumb {
  width: 140px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.fcl-col-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.fcl-col-card:hover .fcl-col-thumb img { transform: scale(1.06); }

.fcl-col-count {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #f0a500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.fcl-count-num   { font-size: 16px; font-weight: 800; color: #f0a500; line-height: 1; }
.fcl-count-label { font-size: 9px;  font-weight: 600; color: #888; letter-spacing: 0.3px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .fcl-layout { grid-template-columns: 180px 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .fcl-layout { grid-template-columns: 1fr; }
  .fcl-sidebar { position: static; }
  .fcl-filter-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .fcl-filter-list li a { padding: 7px 14px; border: 1.5px solid #e0e3f0; border-radius: 50px; }
  .fcl-filter-list li.active a { border-color: #5348a4; }
  .fcl-sidebar-top { display: none; }
  .fcl-perks { gap: 24px; }
}
@media (max-width: 640px) {
  .fcl-collection-grid { grid-template-columns: 1fr; }
  .fcl-col-thumb { width: 110px; }
  .fcl-header { padding: 84px 0 32px; }
  .fcl-perks { flex-direction: column; align-items: center; }
  .fcl-perk { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════
   LEGAL PAGES (Terms and Conditions, etc.)
═══════════════════════════════════════════════════ */

.legal-page { padding-top: 68px; }

.legal-hero {
  background: #f5f4fb;
  padding: 64px 0 40px;
}
.legal-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.2;
}
.legal-updated { font-size: 13px; color: #888; }

.legal-content {
  padding: 56px 0 80px;
  background: #fff;
}
.legal-content .container { max-width: 1160px; }

.legal-notice {
  background: #f5f4fb;
  border-left: 3px solid #5348a4;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.6;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 40px 0 14px;
  scroll-margin-top: 90px;
}
.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content p strong { color: #1a1a2e; }

.legal-content ul {
  margin: 0 0 16px 0;
}
.legal-content ul li {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.legal-content ul li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: #5348a4;
  font-weight: 700;
}

.legal-content a { color: #5348a4; text-decoration: underline; }
.legal-content a:hover { color: #3d3490; }

.legal-toc {
  border: 1.5px solid #e8eaf0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.legal-toc h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.legal-toc ol {
  columns: 2;
  column-gap: 24px;
  list-style: decimal;
  padding-left: 18px;
}
.legal-toc ol li { font-size: 13px; margin-bottom: 8px; break-inside: avoid; }
.legal-toc ol li a { color: #555; }
.legal-toc ol li a:hover { color: #5348a4; }

@media (max-width: 640px) {
  .legal-hero { padding: 48px 0 32px; }
  .legal-content { padding: 40px 0 56px; }
  .legal-toc ol { columns: 1; }
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ("pop in") ANIMATION
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.16,0.8,0.3,1),
              transform 0.7s cubic-bezier(0.16,0.8,0.3,1);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── TERMS & CONDITIONS FILTER BAR ────────────────────────── */
.tc-filter-bar {
  position: sticky;
  top: 64px; /* sits just below the navbar */
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #e8e8f0;
  box-shadow: 0 2px 8px rgba(83,72,164,0.06);
  padding: 10px 0;
}

.tc-filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tc-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #5348a4;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tc-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-pill {
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.tc-pill:hover {
  border-color: #5348a4;
  color: #5348a4;
  background: #f4f2ff;
}

.tc-pill.active {
  background: #5348a4;
  border-color: #5348a4;
  color: #fff;
}

@media (max-width: 600px) {
  .tc-filter-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .tc-filter-pills {
    gap: 6px;
  }
  .tc-pill {
    font-size: 12px;
    padding: 4px 11px;
  }
}
