/* ============================================================
   Mathematics Leaders Platform — Unified Landing Design System
   Premium Design | Arabic RTL | Cairo Font | Multi-Section
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --mlp-text-scale: 1;
  --mlp-ink:       #1c2e4a;
  --mlp-muted:     #5a6b80;
  --mlp-line:      #dde4ed;
  --mlp-panel:     rgba(255,255,255,0.97);
  --mlp-white:     #ffffff;
  --mlp-aqua:      #06b6a8;
  --mlp-aqua-lt:   rgba(6,182,168,0.10);
  --mlp-blue:      #3b6fe8;
  --mlp-blue-lt:   #eef3ff;
  --mlp-green:     #10b981;
  --mlp-green-lt:  rgba(16,185,129,0.10);
  --mlp-coral:     #ef4444;
  --mlp-gold:      #d97706;
  --mlp-gold-lt:   rgba(217,119,6,0.10);
  --mlp-violet:    #7c3aed;
  --mlp-violet-lt: rgba(124,58,237,0.10);
  --mlp-bg:        #f0f5ff;
  --mlp-bg2:       #fafafa;
  --mlp-radius:    18px;
  --mlp-radius-sm: 10px;
  --mlp-radius-lg: 24px;
  --mlp-radius-xl: 32px;
  --mlp-shadow:    0 2px 16px rgba(28,46,74,.08);
  --mlp-shadow-lg: 0 8px 40px rgba(28,46,74,.12);
  --mlp-shadow-xl: 0 16px 64px rgba(28,46,74,.16);
  --mlp-fg:        #1c2e4a;
  --mlp-secondary: #c8a03b;
  --mlp-primary:   #0f8a3e;
  --mlp-accent:    #0d6e8c;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  color-scheme: light;
  --mlp-transition: 280ms cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: calc(16px * var(--mlp-text-scale)); }
body {
  min-height: 100vh;
  background: var(--mlp-bg);
  color: var(--mlp-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
  overflow-x: hidden;
}
::selection { background: rgba(6,182,168,.20); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-thumb { background: var(--mlp-line); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--mlp-muted); }
:focus-visible { outline: 3px solid rgba(59,111,232,.35); outline-offset: 2px; border-radius: 4px; }

/* ── Layout ── */
.mlp-shell {
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  padding: 0 0 80px;
}

/* ═══════════════════════════════════════
   NAVIGATION BAR
   ═══════════════════════════════════════ */
.mlp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240,245,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221,228,237,0.6);
  padding: 0 24px;
}
.mlp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.mlp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mlp-ink);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.mlp-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--mlp-primary) 0%, var(--mlp-aqua) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(15,138,62,.25);
}
.mlp-logo-text { line-height: 1.2; }
.mlp-logo-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--mlp-muted);
  letter-spacing: 0.05em;
}
.mlp-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.mlp-nav-links a {
  text-decoration: none;
  color: var(--mlp-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: var(--mlp-radius-sm);
  transition: var(--mlp-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mlp-nav-links a:hover,
.mlp-nav-links a.active {
  color: var(--mlp-ink);
  background: rgba(28,46,74,0.06);
}
.mlp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mlp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  border-radius: var(--mlp-radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--mlp-transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.mlp-btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.mlp-btn-lg { padding: 13px 32px; font-size: 1rem; border-radius: var(--mlp-radius); }
.mlp-btn-primary {
  background: linear-gradient(135deg, var(--mlp-primary) 0%, #0b7a32 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15,138,62,.28);
}
.mlp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,138,62,.35);
}
.mlp-btn-secondary {
  background: var(--mlp-white);
  color: var(--mlp-ink);
  border: 1.5px solid var(--mlp-line);
  box-shadow: var(--mlp-shadow);
}
.mlp-btn-secondary:hover {
  background: var(--mlp-bg);
  transform: translateY(-1px);
}
.mlp-btn-blue {
  background: linear-gradient(135deg, var(--mlp-blue) 0%, #2850c8 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,111,232,.28);
}
.mlp-btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,111,232,.35);
}
.mlp-btn-ghost {
  background: transparent;
  color: var(--mlp-muted);
  border: 1.5px solid var(--mlp-line);
}
.mlp-btn-ghost:hover {
  color: var(--mlp-ink);
  border-color: var(--mlp-muted);
}
.mlp-btn-violet {
  background: linear-gradient(135deg, var(--mlp-violet) 0%, #5b21b6 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,.28);
}
.mlp-btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124,58,237,.35);
}
.mlp-nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--mlp-ink);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.mlp-hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}
.mlp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(6,182,168,.14) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 90% 0%, rgba(59,111,232,.12) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(124,58,237,.07) 0%, transparent 55%),
    linear-gradient(165deg, #f4f8ff 0%, #edf6f4 40%, #fdf6ee 100%);
  z-index: 0;
}
.mlp-hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.mlp-hero-art-inner {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  opacity: 0.07;
  width: 420px;
  height: 420px;
}
.mlp-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mlp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,138,62,0.08);
  color: var(--mlp-primary);
  border: 1px solid rgba(15,138,62,0.18);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.mlp-hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--mlp-primary);
  border-radius: 50%;
  animation: mlpPulse 2s ease-in-out infinite;
}
@keyframes mlpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.mlp-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--mlp-ink);
  margin-bottom: 18px;
}
.mlp-hero-title .grad-text {
  background: linear-gradient(135deg, var(--mlp-primary), var(--mlp-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mlp-hero-title .grad-text-blue {
  background: linear-gradient(135deg, var(--mlp-blue), var(--mlp-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mlp-hero-desc {
  font-size: 1.05rem;
  color: var(--mlp-muted);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 520px;
}
.mlp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.mlp-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--mlp-line);
}
.mlp-hero-stat-val {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--mlp-ink);
  line-height: 1;
}
.mlp-hero-stat-lbl {
  font-size: 0.78rem;
  color: var(--mlp-muted);
  font-weight: 500;
  margin-top: 4px;
}
.mlp-hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mlp-hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.mlp-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mlp-hero-card {
  background: var(--mlp-white);
  border-radius: var(--mlp-radius);
  padding: 22px 18px;
  box-shadow: var(--mlp-shadow-lg);
  border: 1px solid rgba(255,255,255,0.9);
  transition: var(--mlp-transition);
}
.mlp-hero-card:hover { transform: translateY(-4px); box-shadow: var(--mlp-shadow-xl); }
.mlp-hero-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.mlp-hero-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.mlp-hero-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.mlp-hero-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.mlp-hero-card-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mlp-ink);
  margin-bottom: 5px;
}
.mlp-hero-card-desc {
  font-size: 0.75rem;
  color: var(--mlp-muted);
  line-height: 1.5;
}
.mlp-hero-card-stat {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--mlp-ink);
}
.mlp-hero-float {
  position: absolute;
  background: var(--mlp-white);
  border-radius: var(--mlp-radius-sm);
  padding: 10px 16px;
  box-shadow: var(--mlp-shadow-lg);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  animation: mlpFloat 3s ease-in-out infinite;
}
@keyframes mlpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mlp-hero-float-1 { top: -20px; right: 10%; color: var(--mlp-primary); }
.mlp-hero-float-2 { bottom: -10px; left: 5%; color: var(--mlp-blue); animation-delay: 1s; }
.mlp-hero-float-3 { top: 40%; left: -20px; color: var(--mlp-violet); animation-delay: 0.5s; }

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */
.mlp-section {
  padding: 64px 0;
}
.mlp-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.mlp-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mlp-blue-lt);
  color: var(--mlp-blue);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.mlp-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--mlp-ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.mlp-section-desc {
  font-size: 1rem;
  color: var(--mlp-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   THREE PLATFORMS CARDS
   ═══════════════════════════════════════ */
.mlp-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mlp-platform-card {
  background: var(--mlp-white);
  border-radius: var(--mlp-radius-lg);
  padding: 36px 28px;
  box-shadow: var(--mlp-shadow);
  border: 1.5px solid var(--mlp-line);
  transition: var(--mlp-transition);
  position: relative;
  overflow: hidden;
}
.mlp-platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  border-radius: 0 0 0 100%;
  opacity: 0.06;
  transition: var(--mlp-transition);
}
.mlp-platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mlp-shadow-xl);
  border-color: transparent;
}
.mlp-platform-card:hover::before { opacity: 0.12; }
.mlp-platform-card-games::before { background: var(--mlp-primary); }
.mlp-platform-card-assess::before { background: var(--mlp-blue); }
.mlp-platform-card-admin::before { background: var(--mlp-violet); }
.mlp-platform-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.mlp-platform-icon-games {
  background: var(--mlp-green-lt);
  color: var(--mlp-primary);
}
.mlp-platform-icon-assess {
  background: var(--mlp-blue-lt);
  color: var(--mlp-blue);
}
.mlp-platform-icon-admin {
  background: var(--mlp-violet-lt);
  color: var(--mlp-violet);
}
.mlp-platform-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--mlp-ink);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.mlp-platform-desc {
  font-size: 0.88rem;
  color: var(--mlp-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.mlp-platform-features {
  list-style: none;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.mlp-platform-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--mlp-ink);
  padding: 5px 0;
  font-weight: 500;
}
.mlp-platform-features li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
}
.mlp-platform-card-games .mlp-platform-features li::before { background: var(--mlp-green-lt); color: var(--mlp-primary); }
.mlp-platform-card-assess .mlp-platform-features li::before { background: var(--mlp-blue-lt); color: var(--mlp-blue); }
.mlp-platform-card-admin .mlp-platform-features li::before { background: var(--mlp-violet-lt); color: var(--mlp-violet); }

/* ═══════════════════════════════════════
   ABOUT / FEATURES SECTION
   ═══════════════════════════════════════ */
.mlp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mlp-about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mlp-about-img-card {
  background: var(--mlp-white);
  border-radius: var(--mlp-radius-lg);
  padding: 32px;
  box-shadow: var(--mlp-shadow-lg);
  border: 1px solid var(--mlp-line);
  position: relative;
}
.mlp-about-img-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.mlp-about-img-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mlp-aqua-lt);
  color: var(--mlp-aqua);
  font-size: 1.2rem;
}
.mlp-about-img-label {
  font-size: 0.8rem;
  color: var(--mlp-muted);
  font-weight: 500;
}
.mlp-about-img-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--mlp-ink);
}
.mlp-dimension-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.mlp-dim-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid;
}
.mlp-about-donut {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}
.mlp-about-donut svg {
  width: 200px;
  height: 200px;
  transform: rotate(-90deg);
}
.mlp-about-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mlp-about-donut-pct {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--mlp-ink);
  line-height: 1;
}
.mlp-about-donut-label {
  font-size: 0.75rem;
  color: var(--mlp-muted);
  font-weight: 600;
}
.mlp-about-content {}
.mlp-about-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--mlp-aqua-lt);
  color: var(--mlp-aqua);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.mlp-about-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--mlp-ink);
  margin-bottom: 18px;
  line-height: 1.2;
}
.mlp-about-desc {
  font-size: 0.95rem;
  color: var(--mlp-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}
.mlp-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mlp-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.mlp-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.mlp-feature-item-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--mlp-ink);
  margin-bottom: 2px;
}
.mlp-feature-item-desc {
  font-size: 0.78rem;
  color: var(--mlp-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════ */
.mlp-stats-bar {
  background: linear-gradient(135deg, var(--mlp-ink) 0%, #2d4a8a 60%, #1a6b6b 100%);
  border-radius: var(--mlp-radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.mlp-stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  z-index: 0;
}
.mlp-stats-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.mlp-stats-val {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.mlp-stats-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.mlp-stats-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════
   TEACHER / TEACHER SECTION
   ═══════════════════════════════════════ */
.mlp-teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.mlp-teacher-card {
  background: var(--mlp-white);
  border-radius: var(--mlp-radius-lg);
  padding: 36px;
  box-shadow: var(--mlp-shadow-lg);
  border: 1px solid var(--mlp-line);
}
.mlp-teacher-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mlp-line);
}
.mlp-teacher-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.mlp-teacher-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--mlp-ink);
}
.mlp-teacher-role {
  font-size: 0.82rem;
  color: var(--mlp-muted);
  font-weight: 500;
}
.mlp-teacher-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.mlp-teacher-stat {
  background: var(--mlp-bg);
  border-radius: var(--mlp-radius-sm);
  padding: 16px 12px;
  text-align: center;
}
.mlp-teacher-stat-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--mlp-ink);
  line-height: 1;
}
.mlp-teacher-stat-lbl {
  font-size: 0.72rem;
  color: var(--mlp-muted);
  margin-top: 4px;
  font-weight: 500;
}
.mlp-teacher-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mlp-teacher-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}
.mlp-teacher-content {}
.mlp-teacher-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--mlp-violet-lt);
  color: var(--mlp-violet);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.mlp-teacher-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--mlp-ink);
  margin-bottom: 18px;
  line-height: 1.2;
}
.mlp-teacher-desc {
  font-size: 0.95rem;
  color: var(--mlp-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.mlp-teacher-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.mlp-teacher-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--mlp-ink);
  font-weight: 500;
}
.mlp-teacher-perks li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ═══════════════════════════════════════
   GAMES TEASER
   ═══════════════════════════════════════ */
.mlp-games-teaser {
  background: var(--mlp-white);
  border-radius: var(--mlp-radius-xl);
  padding: 52px 48px;
  box-shadow: var(--mlp-shadow-lg);
  border: 1px solid var(--mlp-line);
  position: relative;
  overflow: hidden;
}
.mlp-games-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(16,185,129,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(15,138,62,0.06) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.mlp-games-teaser-inner {
  position: relative;
  z-index: 1;
}
.mlp-games-teaser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.mlp-games-teaser-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--mlp-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mlp-levels-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mlp-level-block {
  background: var(--mlp-bg);
  border-radius: var(--mlp-radius);
  padding: 24px 20px;
  border: 1.5px solid var(--mlp-line);
  transition: var(--mlp-transition);
}
.mlp-level-block:hover {
  border-color: var(--mlp-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15,138,62,.12);
}
.mlp-level-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mlp-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mlp-level-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--mlp-ink);
  margin-bottom: 10px;
}
.mlp-level-challenges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.mlp-level-challenge-chip {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--mlp-white);
  border: 1px solid var(--mlp-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mlp-muted);
}
.mlp-level-count {
  font-size: 0.78rem;
  color: var(--mlp-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   ASSESSMENT TEASER
   ═══════════════════════════════════════ */
.mlp-assess-teaser {
  background: var(--mlp-white);
  border-radius: var(--mlp-radius-xl);
  padding: 52px 48px;
  box-shadow: var(--mlp-shadow-lg);
  border: 1px solid var(--mlp-line);
  position: relative;
  overflow: hidden;
}
.mlp-assess-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(59,111,232,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(124,58,237,0.05) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.mlp-assess-teaser-inner { position: relative; z-index: 1; }
.mlp-assess-teaser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.mlp-assess-teaser-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--mlp-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mlp-dimensions-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.mlp-dim-block {
  background: var(--mlp-bg);
  border-radius: var(--mlp-radius-sm);
  padding: 14px 10px;
  text-align: center;
  border: 1.5px solid var(--mlp-line);
  transition: var(--mlp-transition);
}
.mlp-dim-block:hover { transform: translateY(-3px); box-shadow: var(--mlp-shadow); }
.mlp-dim-icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.mlp-dim-name {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--mlp-ink);
  line-height: 1.3;
}
.mlp-dim-ar {
  font-size: 0.65rem;
  color: var(--mlp-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.mlp-cta {
  background: linear-gradient(135deg, var(--mlp-ink) 0%, #2d4a8a 50%, #1a4a7a 100%);
  border-radius: var(--mlp-radius-xl);
  padding: 60px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mlp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
  z-index: 0;
}
.mlp-cta-content { position: relative; z-index: 1; }
.mlp-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.mlp-cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.mlp-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.mlp-cta-btn-primary {
  background: linear-gradient(135deg, var(--mlp-aqua) 0%, #059e8f 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--mlp-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(6,182,168,.35);
  transition: var(--mlp-transition);
}
.mlp-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(6,182,168,.45);
}
.mlp-cta-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: var(--mlp-radius);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: var(--mlp-transition);
}
.mlp-cta-btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════
   TEACHER CREDIT SECTION
   ═══════════════════════════════════════ */
.mlp-teacher-credit {
  background: linear-gradient(135deg, #1c2e4a 0%, #2d4a8a 50%, #1a3a6a 100%);
  border-radius: var(--mlp-radius-xl);
  margin: 0 0 0;
  position: relative;
  overflow: hidden;
}
.mlp-teacher-credit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-24v2L54 40h-2zm4 0l24-20v2L58 40h-2zm4 0l20-16v2L62 40h-2zm4 0l16-12v2L66 40h-2zm4 0l12-8v2l-10 10h-2zm4 0l8-4v2l-6 6h-2zm4 0l4-2v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  z-index: 0;
}
.mlp-teacher-credit-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 48px 52px;
}
.mlp-teacher-credit-badge {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--mlp-gold) 0%, #f59e0b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 0 6px rgba(217,119,6,.2), 0 0 0 12px rgba(217,119,6,.1), 0 8px 24px rgba(217,119,6,.3);
  animation: mlpCreditPulse 3s ease-in-out infinite;
}
@keyframes mlpCreditPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(217,119,6,.2), 0 0 0 12px rgba(217,119,6,.1), 0 8px 24px rgba(217,119,6,.3); }
  50% { box-shadow: 0 0 0 10px rgba(217,119,6,.25), 0 0 0 20px rgba(217,119,6,.12), 0 8px 32px rgba(217,119,6,.4); }
}
.mlp-teacher-credit-content { flex: 1; }
.mlp-teacher-credit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217,119,6,.2);
  color: #fbbf24;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.mlp-teacher-credit-star { color: #f59e0b; font-size: 0.65rem; }
.mlp-teacher-credit-name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.mlp-teacher-credit-quote {
  font-size: 0.95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 680px;
}
.mlp-teacher-credit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mlp-teacher-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}
.mlp-teacher-credit-decoration {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.mlp-tc-orbit {
  position: absolute;
  font-size: 1.2rem;
  font-weight: 900;
  opacity: 0.25;
  animation: mlpOrbit 6s linear infinite;
}
.mlp-tc-orbit-1 { top: 0; right: 10px; color: var(--mlp-gold); animation-duration: 8s; }
.mlp-tc-orbit-2 { bottom: 30px; left: 5px; color: var(--mlp-primary); animation-duration: 6s; animation-direction: reverse; }
.mlp-tc-orbit-3 { bottom: 5px; right: 5px; color: var(--mlp-blue); animation-duration: 10s; }
@keyframes mlpOrbit {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.25; }
  50% { opacity: 0.5; }
  100% { transform: translateY(-20px) rotate(360deg); opacity: 0.25; }
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.mlp-footer {
  background: var(--mlp-ink);
  padding: 48px 0 32px;
  margin-top: 24px;
}
.mlp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.mlp-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.mlp-footer-brand {}
.mlp-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
  text-decoration: none;
}
.mlp-footer-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--mlp-primary) 0%, var(--mlp-aqua) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}
.mlp-footer-brand-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.mlp-footer-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mlp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mlp-footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--mlp-transition);
}
.mlp-footer-links a:hover { color: #fff; }
.mlp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.mlp-footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.mlp-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* ═══════════════════════════════════════
   SEPARATOR
   ═══════════════════════════════════════ */
.mlp-sep {
  height: 1px;
  background: var(--mlp-line);
  margin: 0 0;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes mlpFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mlpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes mlpScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes mlpSlideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.mlp-animate { animation: mlpFadeInUp 0.6s ease-out both; }
.mlp-animate-delay-1 { animation-delay: 0.1s; }
.mlp-animate-delay-2 { animation-delay: 0.2s; }
.mlp-animate-delay-3 { animation-delay: 0.3s; }
.mlp-animate-delay-4 { animation-delay: 0.4s; }
.mlp-animate-delay-5 { animation-delay: 0.5s; }
.mlp-animate-scale { animation: mlpScaleIn 0.5s ease-out both; }

.mlp-footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.mlp-footer-copy span { color: var(--mlp-gold); font-weight: 700; }

/* ═══════════════════════════════════════
   ENHANCED ANIMATIONS
   ═══════════════════════════════════════ */
.mlp-hero-art-inner { animation: mlpHeroDrift 20s ease-in-out infinite; }
@keyframes mlpHeroDrift {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-53%) scale(1.05); }
}
.mlp-hero-card:hover { transform: translateY(-6px) scale(1.02); }
.mlp-platform-card:hover .mlp-platform-icon { transform: scale(1.1) rotate(3deg); }
.mlp-platform-icon { transition: transform 300ms cubic-bezier(.4,0,.2,1); }
.mlp-btn { position: relative; overflow: hidden; }
.mlp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 400ms ease-out, opacity 400ms ease-out;
  opacity: 0;
}
.mlp-btn:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: transform 0s, opacity 400ms;
}
.grad-text, .grad-text-blue { background-size: 200% auto; animation: mlpShimmer 4s linear infinite; }
@keyframes mlpShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.mlp-level-block { transition: transform 300ms cubic-bezier(.4,0,.2,1), box-shadow 300ms ease, border-color 300ms ease; }
.mlp-level-block:hover { border-color: var(--mlp-primary) !important; }
.mlp-dim-block { transition: transform 280ms cubic-bezier(.4,0,.2,1), box-shadow 280ms ease; }
.mlp-dim-block:hover { transform: translateY(-4px) scale(1.05); }
.mlp-dim-block:nth-child(1):hover { box-shadow: 0 6px 20px rgba(6,182,168,.25); }
.mlp-dim-block:nth-child(2):hover { box-shadow: 0 6px 20px rgba(59,111,232,.25); }
.mlp-dim-block:nth-child(3):hover { box-shadow: 0 6px 20px rgba(217,119,6,.25); }
.mlp-dim-block:nth-child(4):hover { box-shadow: 0 6px 20px rgba(16,185,129,.25); }
.mlp-dim-block:nth-child(5):hover { box-shadow: 0 6px 20px rgba(124,58,237,.25); }
.mlp-dim-block:nth-child(6):hover { box-shadow: 0 6px 20px rgba(239,68,68,.25); }
.mlp-dim-block:nth-child(7):hover { box-shadow: 0 6px 20px rgba(236,72,153,.25); }
.mlp-section { animation: mlpFadeInUp 0.7s ease-out both; }
@keyframes mlpFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mlp-hero-badge { animation: mlpBadgeGlow 3s ease-in-out infinite; }
@keyframes mlpBadgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15,138,62,.0); }
  50% { box-shadow: 0 0 0 8px rgba(15,138,62,.08); }
}
.mlp-games-teaser { animation: mlpFadeInUp 0.7s 0.1s ease-out both; }
.mlp-assess-teaser { animation: mlpFadeInUp 0.7s 0.2s ease-out both; }
.mlp-cta { animation: mlpScaleIn 0.7s ease-out both; }
@keyframes mlpScaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.mlp-teacher-credit { animation: mlpFadeInUp 0.8s ease-out both; }
.mlp-platform-card-games:hover { box-shadow: 0 16px 48px rgba(15,138,62,.18); }
.mlp-platform-card-assess:hover { box-shadow: 0 16px 48px rgba(59,111,232,.18); }
.mlp-platform-card-admin:hover { box-shadow: 0 16px 48px rgba(124,58,237,.18); }
.mlp-footer { animation: mlpFadeInUp 0.8s 0.3s ease-out both; }
.mlp-nav-links a { transition: color 200ms ease, background 200ms ease, transform 200ms ease; }
.mlp-nav-links a:hover { transform: translateX(-3px); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 960px) {
  .mlp-hero-content { grid-template-columns: 1fr; gap: 40px; }
  .mlp-hero-right { order: -1; }
  .mlp-hero-visual { max-width: 360px; }
  .mlp-platforms-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .mlp-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .mlp-about-visual { order: -1; }
  .mlp-stats-bar { grid-template-columns: 1fr 1fr; }
  .mlp-teacher-grid { grid-template-columns: 1fr; gap: 32px; }
  .mlp-dimensions-row { grid-template-columns: repeat(4, 1fr); }
  .mlp-teacher-credit-inner { flex-direction: column; text-align: center; padding: 36px 28px; gap: 20px; }
  .mlp-teacher-credit-badge { width: 70px; height: 70px; font-size: 2rem; }
  .mlp-teacher-credit-decoration { display: none; }
  .mlp-teacher-credit-badges { justify-content: center; }
  .mlp-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mlp-nav-links { display: none; }
  .mlp-nav-mobile-toggle { display: flex; }
  .mlp-hero { padding: 40px 0 48px; }
  .mlp-hero-title { font-size: 1.8rem; }
  .mlp-hero-stats { gap: 20px; }
  .mlp-hero-cards { grid-template-columns: 1fr; }
  .mlp-hero-card:nth-child(2) { grid-column: 1; grid-row: auto; }
  .mlp-hero-float { display: none; }
  .mlp-section { padding: 40px 0; }
  .mlp-stats-bar { grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px 24px; }
  .mlp-stats-val { font-size: 1.8rem; }
  .mlp-levels-row { grid-template-columns: 1fr; }
  .mlp-dimensions-row { grid-template-columns: repeat(3, 1fr); }
  .mlp-teacher-stats { grid-template-columns: 1fr 1fr; }
  .mlp-feature-list { grid-template-columns: 1fr; }
  .mlp-games-teaser, .mlp-assess-teaser { padding: 32px 20px; }
  .mlp-cta { padding: 40px 24px; }
  .mlp-footer-top { grid-template-columns: 1fr; }
  .mlp-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .mlp-dimensions-row { grid-template-columns: repeat(2, 1fr); }
  .mlp-hero-actions { flex-direction: column; align-items: stretch; }
  .mlp-hero-actions .mlp-btn { justify-content: center; }
}