/* Shared course-detail page styles — reuses Landing Page tokens */
:root {
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --navy-950: #060A17; --navy-900: #0D1630; --navy-800: #142040;
  --sky-300: #7BB8E8; --gold-400: #DFB04E; --gold-500: #C9952E;
  --bg: #FAFAF9; --bg-alt: #F4F4F2; --surface: #FFFFFF;
  --ink-900: #0B1120; --ink-700: #2B3344; --ink-500: #5A6476; --ink-400: #8590A2;
  --line: rgba(11,17,32,0.08); --line-strong: rgba(11,17,32,0.14);
  --radius-md: 14px; --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(11,17,32,0.04), 0 6px 20px rgba(11,17,32,0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink-900); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: -0.02em; color: var(--ink-900); }
a { color: inherit; text-decoration: none; }

/* NAV (reused) */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 200; width: calc(100% - 32px); max-width: 1240px;
  height: 64px; padding: 0 12px 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  border-radius: 999px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 300ms var(--ease), background 300ms;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(11,17,32,0.08); background: rgba(255,255,255,0.88); }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-mark { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-brand-text { font-family: var(--font-heading); font-weight: 700; font-size: 14px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-family: var(--font-heading); font-size: 13px; font-weight: 500; color: var(--ink-700); padding: 8px 14px; border-radius: 999px; transition: background 180ms; }
.nav-links a:hover { background: var(--bg-alt); color: var(--ink-900); }
.nav-cta { font-family: var(--font-heading); font-size: 13px; font-weight: 600; background: var(--ink-900); color: white !important; border-radius: 999px; padding: 10px 18px; display: inline-flex; align-items: center; gap: 6px; }

/* COURSE HERO */
.course-hero {
  position: relative; min-height: 70vh; padding: 160px 32px 80px;
  display: flex; align-items: center; overflow: hidden;
}
.course-hero-img { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.course-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,10,23,0.45) 0%, rgba(6,10,23,0.6) 70%, rgba(6,10,23,0.85) 100%),
    linear-gradient(90deg, rgba(6,10,23,0.65) 0%, rgba(6,10,23,0.2) 70%, rgba(6,10,23,0) 100%);
}
.course-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
.breadcrumb { font-family: var(--font-heading); font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 180ms; }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.4; }
.course-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.85); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 22px; backdrop-filter: blur(10px);
}
.course-pill .code { font-weight: 700; color: var(--gold-400); }
.course-hero h1 {
  font-family: var(--font-heading); font-size: clamp(36px, 5vw, 64px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.035em;
  color: white; max-width: 820px; margin-bottom: 20px;
}
.course-lede {
  font-family: var(--font-body); font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65; color: rgba(255,255,255,0.78);
  max-width: 620px;
}

/* QUICK FACTS BAR */
.facts {
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 32px;
}
.facts-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.fact-label { font-family: var(--font-heading); font-size: 11px; font-weight: 600; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.fact-value { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.02em; }
.fact-sub { font-family: var(--font-body); font-size: 13px; color: var(--ink-500); margin-top: 2px; }

/* MAIN BODY */
.course-body { padding: 100px 32px; }
.course-body-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start;
}
.eyebrow {
  display: inline-block; font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  color: var(--ink-500); margin-bottom: 16px; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line);
}
.section-title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.section-title .light { font-weight: 300; color: var(--ink-500); }
.lead-p { font-family: var(--font-body); font-size: 16px; line-height: 1.75; color: var(--ink-500); margin-bottom: 18px; max-width: 540px; }
.note-card {
  margin-top: 24px; padding: 24px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-body); font-size: 14px; line-height: 1.7; color: var(--ink-700);
  display: flex; gap: 14px; align-items: flex-start;
}
.note-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); margin-top: 8px; flex-shrink: 0; }

/* CURRICULUM */
.curriculum {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); padding: 36px;
}
.curriculum-title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.curriculum-sub { font-family: var(--font-body); font-size: 13px; color: var(--ink-500); margin-bottom: 24px; }
.curriculum-list { list-style: none; }
.curriculum-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink-700);
}
.curriculum-list li:last-child { border-bottom: none; }
.curriculum-list li .num {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600; color: var(--ink-400);
  width: 28px; flex-shrink: 0;
}
.curriculum-list li .name { flex: 1; font-weight: 500; }
.curriculum-list li .hours {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: var(--ink-900); padding: 4px 10px; border-radius: 6px; background: var(--bg-alt);
}
.curriculum-total {
  margin-top: 24px; padding-top: 24px; border-top: 2px solid var(--ink-900);
  display: flex; justify-content: space-between; align-items: center;
}
.curriculum-total .name { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--ink-900); text-transform: uppercase; letter-spacing: 0.06em; }
.curriculum-total .hours { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--ink-900); }

/* CTA STRIP */
.cta-strip {
  background: var(--ink-900); color: white;
  padding: 80px 32px; text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(46,117,200,0.18) 0%, transparent 70%);
}
.cta-strip-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-strip h2 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.03em;
  color: white; margin-bottom: 16px;
}
.cta-strip p { font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.cta-btns { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn-primary { font-family: var(--font-heading); font-size: 14px; font-weight: 600; background: white; color: var(--ink-900) !important; border-radius: 999px; padding: 14px 28px; display: inline-flex; align-items: center; gap: 8px; transition: transform 180ms; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { font-family: var(--font-heading); font-size: 14px; font-weight: 500; background: rgba(255,255,255,0.08); color: white !important; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 13px 24px; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* OTHER COURSES */
.other-courses { padding: 100px 32px; background: var(--bg-alt); }
.other-courses-inner { max-width: 1200px; margin: 0 auto; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.other-card {
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 24px; transition: transform 220ms var(--ease), box-shadow 220ms;
  display: flex; flex-direction: column; gap: 10px;
}
.other-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.other-card .code { font-family: var(--font-heading); font-size: 11px; font-weight: 600; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.12em; }
.other-card h4 { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--ink-900); }
.other-card .arr { font-family: var(--font-heading); font-size: 13px; color: var(--ink-700); margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }

/* FOOTER */
footer { background: var(--bg); padding: 60px 32px 30px; border-top: 1px solid var(--line); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-heading); font-size: 12px; color: var(--ink-400); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .course-body-inner { grid-template-columns: 1fr; gap: 40px; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .other-grid { grid-template-columns: 1fr; }
}

/* WhatsApp Floating Button */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35), 0 2px 6px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: transform 220ms var(--ease), box-shadow 220ms;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37,211,102,0.45), 0 4px 10px rgba(0,0,0,0.18);
}
.wa-float:hover .wa-float-tooltip { opacity: 1; transform: translateX(0); pointer-events: auto; }
.wa-float-icon { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.wa-float-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: 0.55;
  animation: waPulse 2.2s ease-out infinite; z-index: 1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-float-tooltip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(8px, -50%);
  background: #0B1120; color: white;
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  padding: 9px 14px; border-radius: 8px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 220ms, transform 220ms var(--ease);
  box-shadow: 0 6px 20px rgba(11,17,32,0.18);
}
.wa-float-tooltip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: #0B1120;
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float-tooltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float-pulse { animation: none; opacity: 0; }
}
