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

/* ─── Design Tokens ─── */
:root {
  --primary: #1e3a5a;
  --primary-light: #2e5a85;
  --accent: #3e91e6;
  --accent-soft: rgba(62, 145, 230, 0.12);

  --bg: #f8faff;
  --bg-alt: #eff6ff;
  --surface: #ffffff;
  --foreground: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;

  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--foreground);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-xxl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.section-pt {
  padding-top: var(--space-xxl);
}

.section-pb {
  padding-bottom: var(--space-xxl);
}

/* ─── Flexbox / Grid Utilities ─── */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: 0.5rem; }
.gap-sm { gap: 1rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.5rem; }
.gap-xl { gap: 4rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-2-1 { grid-template-columns: 1fr; }
  .grid-2-1 > * { min-width: 0; }
  .section { padding: 4rem 0; }
  .hide-mobile { display: none !important; }
  .mobile-order-first { order: -1 !important; }
  .mobile-order-last { order: 99 !important; }
  .hero-cta { flex-direction: column; align-items: stretch; justify-content: center; }
  .hero-cta .btn { text-align: center; justify-content: center; width: 100%; }
  .hero .heading-xl { text-align: center; }
  .trust-row { justify-content: center; gap: 1rem; }
  .trust-item { font-size: 0.8125rem; }
  .gap-xl { gap: 2rem; }
  .grid-2-1 { gap: 2rem; }
}

@media (min-width: 600px) and (max-width: 767px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2-1 { grid-template-columns: 2fr 1fr; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.heading-xl { font-size: clamp(2.75rem, 5vw, 4.25rem); }
.heading-lg { font-size: clamp(2rem, 3.5vw, 2.75rem); }
.heading-md { font-size: 1.5rem; }
.heading-sm { font-size: 1.125rem; }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: #fff; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d1d2e 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
  filter: brightness(1.1);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(62, 145, 230, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 145, 230, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(15, 23, 42, 0.02);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--primary);
}

/* ─── Cards ─── */
.card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.course-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
  border-color: rgba(62, 145, 230, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.courses-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .courses-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .courses-home-grid {
    grid-template-columns: 1fr;
  }
}

.course-coming-soon {
  opacity: 0.75;
  border: 2px dashed var(--border);
}

.course-coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.coming-soon-tag {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--border);
  color: var(--muted);
  white-space: nowrap;
}

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 64px;
  min-height: 64px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  min-height: 64px;
  height: 100%;
}

.nav-logo-wrapper {
  display: flex;
  align-items: center;
  height: 30px;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.nav-branding-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .navbar { height: 58px; min-height: 58px; }
  .navbar-inner { min-height: 58px; }
  .nav-logo-wrapper { height: 26px; }
  .nav-branding-text { font-size: 1.125rem; }
}

@media (max-width: 640px) {
  .navbar { height: 58px; min-height: 58px; }
  .navbar-inner { min-height: 58px; }
  .nav-logo-wrapper { height: 24px; }
  .nav-branding-text { font-size: 1rem; }
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

@media (max-width: 768px) {
  .nav-links { display: none !important; }
}

/* ─── Hero ─── */
.hero {
  padding-top: 140px;
  padding-bottom: 5rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-img { height: 320px; }
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background: var(--accent-soft);
  filter: blur(100px);
  border-radius: 50%;
  transform: translate(30%, -30%);
  z-index: -1;
  pointer-events: none;
}

.hero-bg-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: rgba(15, 23, 42, 0.05);
  filter: blur(80px);
  border-radius: 50%;
  transform: translate(-30%, 30%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-bg { width: 400px; height: 400px; filter: blur(60px); }
  .hero-bg-2 { width: 300px; height: 300px; filter: blur(50px); }
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero .badge {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    min-height: auto;
  }
  .hero .badge {
    align-self: center;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }
  .hero .subtitle {
    max-width: 100%;
    text-align: center;
  }
}

/* ─── How It Works (Steps) ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.step-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step-card { padding: 2rem 1.5rem; }
  .card { padding: 1.5rem; }
  .level-card { padding: 1.5rem; }
}

/* ─── Courses Section ─── */
.courses-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.course-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.course-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--primary);
  flex-shrink: 0;
}

.course-info { flex: 1; margin-left: 1rem; }
.course-name { font-weight: 700; font-size: 1rem; color: var(--foreground); }
.course-meta { font-size: 0.8125rem; color: var(--muted); margin-top: 0.125rem; }
.course-price { font-weight: 800; font-size: 1.125rem; color: var(--primary); margin-right: 1rem; white-space: nowrap; }

@media (max-width: 768px) {
  .course-item { flex-wrap: wrap; gap: 0.75rem; }
  .course-price { margin-right: 0; }
}

/* ─── Testimonials Grid ─── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: 1rem;
}

/* ─── CTA Section ─── */
.cta-banner {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(62, 145, 230, 0.08);
  pointer-events: none;
}

@media (max-width: 768px) {
  .cta-banner { padding: 3rem 1.5rem; }
}

/* ─── Footer ─── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-content > .flex-col:first-child {
    align-items: center;
  }
  .footer-content > .flex.gap-xl {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }
  .footer-content > .flex.gap-xl > div {
    align-items: center;
    text-align: center;
    width: 100%;
  }
}

.footer-link {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-link:hover { color: var(--primary); }

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ─── Misc Utilities ─── */
.max-w-md { max-width: 520px; }
.max-w-lg { max-width: 720px; }
.break-word { word-break: break-word; overflow-wrap: break-word; }
.legal-content { word-break: break-word; overflow-wrap: break-word; }

/* ─── Level Grid ─── */
.grid-level {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-level { grid-template-columns: repeat(2, 1fr); }
}

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

.level-card {
  cursor: pointer;
  text-align: left;
  padding: 2rem;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.level-card:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.level-badge-lg {
  width: 56px;
  height: 56px;
  font-size: 1.25rem;
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: var(--surface);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--muted);
  transition: color 0.2s ease;
  z-index: 10;
  background: none;
  border: none;
}

.modal-close:hover { color: var(--foreground); }

.modal-header {
  padding: 3rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-body {
  padding: 1.5rem 2.5rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1.5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.competence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 640px) {
  .competence-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.competence-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.competence-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.competence-item {
  font-size: 0.9375rem;
  color: var(--foreground);
  display: flex;
  gap: 0.5rem;
  line-height: 1.4;
}

.competence-bullet { color: var(--accent); font-weight: bold; }

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── Margin/Padding Utilities ─── */
.mt-xs { margin-top: 0.5rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.mt-xl { margin-top: 4rem; }
.mb-xs { margin-bottom: 0.5rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 2.5rem; }
.mb-xl { margin-bottom: 4rem; }
.pt-xs { padding-top: var(--space-xs); }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }
.pt-xxl { padding-top: var(--space-xxl); }
.pb-xs { padding-bottom: var(--space-xs); }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }
.pb-xxl { padding-bottom: var(--space-xxl); }
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.p-xxl { padding: var(--space-xxl); }
.px-xs { padding-left: var(--space-xs); padding-right: var(--space-xs); }
.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.px-xxl { padding-left: var(--space-xxl); padding-right: var(--space-xxl); }
.py-xs { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-xxl { padding-top: var(--space-xxl); padding-bottom: var(--space-xxl); }

.border-t { border-top: 1px solid var(--border); }
.opacity-80 { opacity: 0.8; }
.text-accent-blue { color: var(--accent); }

/* ─── Courses Page ─── */
.courses-page {
  padding-top: 120px;
  padding-bottom: 4rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── Mobile Menu ─── */
.mobile-menu-btn {
  display: none;
  color: var(--foreground);
  padding: 10px;
  margin: -10px;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem 0;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
}

.mobile-lang-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ─── Course Detail Pages ─── */
.course-detail-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.course-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.course-detail-back:hover { color: var(--primary); }

.course-detail-hero-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.course-detail-level-badge {
  width: 72px;
  height: 72px;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.course-detail-subtitle {
  font-size: 1.1875rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 1rem;
}

.course-detail-location {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.course-detail-outcomes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto;
}

.course-detail-outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  transition: all 0.25s ease;
}

.course-detail-outcome-item:hover {
  border-color: rgba(62, 145, 230, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.course-detail-check { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.course-detail-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.course-detail-audience-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.course-detail-audience-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.course-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 680px;
  margin: 0 auto;
}

.course-detail-info-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.course-detail-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.course-detail-info-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (max-width: 768px) {
  .course-detail-info-grid { grid-template-columns: repeat(2, 1fr); }
  .course-detail-hero { padding-top: 100px; padding-bottom: 2rem; }
  .course-detail-level-badge { width: 56px; height: 56px; font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .course-detail-info-grid { grid-template-columns: 1fr; }
}

/* ─── Form Styles ─── */
.form-input {
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-select {
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  appearance: auto;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-textarea {
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  background: var(--surface);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

/* ─── Placement Test ─── */
.placement-test-container {
  min-height: 80vh;
  padding-bottom: 4rem;
}

.option-btn {
  display: flex;
  align-items: center;
  padding: clamp(0.875rem, 3vw, 1.25rem) clamp(1rem, 4vw, 1.5rem);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: clamp(0.9375rem, 3vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}

.option-btn:hover {
  border-color: var(--muted);
  transform: translateY(-2px);
}

.option-btn.selected {
  background: var(--bg-alt);
  border-color: var(--muted);
}

.option-btn.disabled {
  cursor: default;
}

.option-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--muted);
  font-weight: 700;
  margin-right: clamp(0.75rem, 2vw, 1rem);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.option-btn.selected .option-label {
  background: var(--muted);
  color: var(--surface);
}

/* ─── Hero Image Container ─── */
.hero-image-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ─── Section Backgrounds ─── */
.bg-white { background: #fff; }
.bg-alt { background: var(--bg-alt); }

/* ─── Language Switcher ─── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lang-switcher a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.lang-switcher a:hover { color: var(--foreground); }
.lang-switcher a.active { color: var(--primary); background: var(--accent-soft); }
.lang-switcher .sep { color: var(--border); }

/* ─── Module Detail Grid ─── */
.module-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .module-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .picker-module-item {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .heading-xl { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .heading-lg { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .heading-md { font-size: 1.25rem; }
  .heading-sm { font-size: 1rem; }
  h1, h2, h3, h4, h5, h6 { letter-spacing: -0.01em; }
  .subtitle { font-size: 0.9375rem; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .trust-item { font-size: 0.8125rem; }
  .section { padding: 2.5rem 0; }
  .cta-banner { padding: 2.5rem 1.25rem; border-radius: 1.25rem; }
  .cta-banner .heading-lg { font-size: 1.5rem; }
  .testimonial-card { padding: 1.25rem; }
  .card { padding: 1.25rem; border-radius: var(--radius-md); }
  .level-card { padding: 1.25rem; }
  .step-card { padding: 1.25rem 1rem; }
  .steps-grid { gap: 0.75rem; }
  .grid-level { gap: 0.75rem; }
  .gap-xl { gap: 1.5rem; }
  .gap-lg { gap: 1.5rem; }
  .gap-md { gap: 1rem; }
  .hero { padding-top: 72px; padding-bottom: 2.5rem; }
  .hero .heading-xl { font-size: clamp(1.625rem, 8vw, 2.25rem); }
  .hero-img { height: 200px; }
  .mobile-menu .container { padding: 0 1rem; }
  .mobile-nav-link { font-size: 1rem; padding: 0.75rem 0; }
  .lang-switcher { font-size: 0.6875rem; }
  .nav-branding-text { font-size: 0.875rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
  .btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
  .modal-header { padding: 2rem 1.25rem 1rem; }
  .modal-body { padding: 1rem 1.25rem; }
  .modal-footer { padding: 1rem 1.25rem 1.5rem; }
  .module-detail-table td,
  .module-detail-table th {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
}
