/* ═══════════════════════════════════════════════════════
   Discoveries Platform — Master Stylesheet
   Founder: Sipho Segauque
   Brand: Forest Green #2D6A4F  |  Deep Maroon #7B1D1D
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ── Variables ──────────────────────────────────────── */
:root {
  --green:        #2D6A4F;
  --green-light:  #52B788;
  --green-pale:   #D8F3DC;
  --maroon:       #7B1D1D;
  --maroon-light: #C0392B;
  --maroon-pale:  #FDECEA;
  --gold:         #D4A843;
  --teal:         #0d6e78;
  --ink:          #1A1A1A;
  --muted:        #6B7280;
  --surface:      #F8FAF8;
  --white:        #FFFFFF;
  --border:       #E2EBE6;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.14);
  --shadow-xl:    0 24px 80px rgba(0,0,0,.20);

  /* Animation speeds */
  --ease-bounce:  cubic-bezier(.34,1.56,.64,1);
  --ease-smooth:  cubic-bezier(.25,.46,.45,.94);
  --ease-spring:  cubic-bezier(.175,.885,.32,1.275);
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--maroon); }

/* ══════════════════════════════════════════════════════════════
   SCROLL-TRIGGERED ANIMATION CLASSES
   ══════════════════════════════════════════════════════════════ */

/* Elements start hidden, animate-in when .is-visible is added by JS */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth);
}
.fade-left.is-visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth);
}
.fade-right.is-visible { opacity: 1; transform: translateX(0); }
.scale-in {
  opacity: 0;
  transform: scale(.85);
  transition: opacity .6s var(--ease-spring), transform .6s var(--ease-spring);
}
.scale-in.is-visible { opacity: 1; transform: scale(1); }
.fade-up-delay-1 { transition-delay: .1s !important; }
.fade-up-delay-2 { transition-delay: .2s !important; }
.fade-up-delay-3 { transition-delay: .3s !important; }
.fade-up-delay-4 { transition-delay: .4s !important; }

/* ══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(3deg); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(45,106,79,.3); }
  50%       { box-shadow: 0 0 48px rgba(45,106,79,.7), 0 0 80px rgba(45,106,79,.3); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}
@keyframes bounce-in {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes slide-up-fade {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes blink {
  50% { border-color: transparent; }
}
@keyframes particle-float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: .6; }
  33%       { transform: translateY(-30px) translateX(15px) scale(1.1); opacity: 1; }
  66%       { transform: translateY(-15px) translateX(-10px) scale(.9); opacity: .8; }
}
@keyframes wave-text {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes ripple {
  0%   { transform: scale(0); opacity: .5; }
  100% { transform: scale(4); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════════════════════ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.overflow-hidden { overflow: hidden; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s var(--ease-bounce);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
/* Shimmer effect on all buttons */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: left .6s;
}
.btn:hover::after { left: 200%; }

.btn-primary {
  background: var(--green);
  color: var(--white) !important;
  border-color: var(--green);
}
.btn-primary:hover {
  background: #1e4d38;
  border-color: #1e4d38;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(45,106,79,.45);
}
.btn-maroon {
  background: var(--maroon);
  color: var(--white) !important;
  border-color: var(--maroon);
}
.btn-maroon:hover {
  background: #5a1010;
  border-color: #5a1010;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(123,29,29,.45);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white) !important;
  transform: translateY(-3px);
}
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn:active { transform: scale(.97) !important; }

/* Ripple click effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  animation: ripple .6s linear;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: box-shadow .3s, background .3s;
}
.navbar.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.98);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: #0d0d0d;
  padding: 2px;
  transition: transform .3s var(--ease-bounce);
}
.navbar-brand:hover .brand-logo-img { transform: rotate(-5deg) scale(1.1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--maroon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
.brand-sub { font-size: 10px; color: var(--muted); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
  transition: all .2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green);
  background: var(--green-pale);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: none;
  border: none;
  transition: background .2s;
}
.hamburger:hover { background: var(--green-pale); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s var(--ease-smooth);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  z-index: 998;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .35s var(--ease-smooth);
  overflow-y: auto;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--border);
  transition: all .2s;
  animation: slide-up-fade .3s ease both;
}
.mobile-nav a:hover { background: var(--green-pale); color: var(--green); border-color: var(--green); }
.mobile-nav .mobile-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--green), var(--maroon));
  color: #fff !important;
  border-color: transparent;
  justify-content: center;
  font-size: 17px;
  padding: 18px;
}
.nav-cta { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2b1e 0%, #1a0a0a 50%, #0d2b1e 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image:
    repeating-linear-gradient(0deg, #fff 0, #fff 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, #fff 0, #fff 1px, transparent 1px, transparent 60px);
}
/* Animated particles */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-particle-1 { width: 6px; height: 6px; background: var(--green-light); top: 20%; left: 15%; animation: particle-float 6s ease-in-out infinite; opacity: .6; }
.hero-particle-2 { width: 4px; height: 4px; background: var(--gold); top: 60%; left: 80%; animation: particle-float 8s ease-in-out infinite 1s; opacity: .5; }
.hero-particle-3 { width: 8px; height: 8px; background: var(--maroon-light); top: 80%; left: 30%; animation: particle-float 7s ease-in-out infinite 2s; opacity: .4; }
.hero-particle-4 { width: 5px; height: 5px; background: var(--green-light); top: 35%; left: 70%; animation: particle-float 9s ease-in-out infinite .5s; opacity: .5; }
.hero-particle-5 { width: 3px; height: 3px; background: #fff; top: 15%; left: 60%; animation: particle-float 5s ease-in-out infinite 3s; opacity: .4; }

.hero-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  pointer-events: none;
}
.hero-accent-1 { background: var(--green); top: -100px; right: -100px; width: 500px; height: 500px; animation: float-slow 10s ease-in-out infinite; }
.hero-accent-2 { background: var(--maroon); bottom: -100px; left: -100px; width: 500px; height: 500px; animation: float-slow 12s ease-in-out infinite 2s; }
.hero-accent-3 { background: var(--gold); top: 50%; left: 50%; width: 200px; height: 200px; animation: pulse-glow 4s ease-in-out infinite; opacity: .08; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82,183,136,.15);
  border: 1px solid rgba(82,183,136,.3);
  color: var(--green-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: slide-up-fade .8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: slide-up-fade .8s ease .15s both;
}
.hero-title span {
  background: linear-gradient(90deg, var(--green-light), var(--gold), var(--green-light));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
  animation: slide-up-fade .8s ease .3s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slide-up-fade .8s ease .45s both;
}
.hero-stats {
  position: absolute;
  bottom: 48px;
  right: 0;
  display: flex;
  gap: 32px;
  animation: slide-up-fade .8s ease .6s both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════ */
.section { padding: 88px 0; }
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   MODULE CARDS
   ══════════════════════════════════════════════════════════════ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.module-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-bounce), box-shadow .4s;
  border: 1px solid var(--border);
  position: relative;
}
.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 1;
}
.module-card:hover { transform: translateY(-10px) scale(1.01); box-shadow: var(--shadow-xl); }
.module-card:hover::before { opacity: 1; }

.module-card-header {
  padding: 36px 32px 24px;
  position: relative;
  overflow: hidden;
}
.module-card-header::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: transform .4s;
}
.module-card:hover .module-card-header::after { transform: scale(2); }
.module-card-header.green  { background: linear-gradient(135deg, var(--green) 0%, #1b4332 100%); }
.module-card-header.maroon { background: linear-gradient(135deg, var(--maroon) 0%, #4a0e0e 100%); }
.module-card-header.teal   { background: linear-gradient(135deg, #0d6e78 0%, #0a4550 100%); }
.module-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  transition: transform .3s var(--ease-bounce);
}
.module-card:hover .module-icon { transform: scale(1.15) rotate(-5deg); }
.module-card-header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.module-card-header p  { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.6; }
.module-card-body { padding: 24px 32px 32px; }
.module-topics { list-style: none; margin-bottom: 24px; }
.module-topics li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
}
.module-topics li:last-child { border-bottom: none; }
.module-topics li:hover { color: var(--green); padding-left: 4px; }
.module-topics li::before { content: '✦'; color: var(--green); font-size: 10px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS — animated steps
   ══════════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.step-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform .4s var(--ease-bounce);
}
.step-card:hover .step-icon { transform: scale(1.2) rotate(10deg); }
.step-num {
  position: absolute;
  top: -12px; left: 20px;
  background: var(--green);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT / FOUNDER  — display:contents layout
   ══════════════════════════════════════════════════════════════ */
.about-section {
  padding: 80px 0;
  background: var(--white);
}
.about-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
/* display:contents makes the wrapper transparent to layout */
.about-photo-wrapper { display: contents; }
.about-photo-col {
  flex: 0 0 380px;
  position: relative;
}
.about-photo-glow {
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, var(--green), var(--maroon));
  border-radius: 28px;
  opacity: .12;
  animation: pulse-glow 4s ease-in-out infinite;
}
.about-photo-frame {
  position: relative;
  background: linear-gradient(160deg, var(--green-pale) 0%, var(--maroon-pale) 100%);
  border-radius: 24px;
  padding: 28px 28px 0;
  overflow: hidden;
  transition: transform .4s var(--ease-bounce);
}
.about-photo-frame:hover { transform: translateY(-8px) rotate(1deg); }
.about-photo-frame img {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  transition: transform .5s var(--ease-smooth);
}
.about-photo-frame:hover img { transform: scale(1.03); }
/* Ring pulse behind photo */
.about-photo-frame::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,106,79,.2), transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}
.about-badge {
  position: absolute;
  bottom: 24px; right: -16px;
  background: linear-gradient(135deg, var(--green), #1b4332);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(45,106,79,.5);
  animation: float 3.5s ease-in-out infinite;
  white-space: nowrap;
}
.about-text-col { flex: 1; min-width: 0; }
.about-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.about-divider-line {
  height: 3px;
  width: 48px;
  background: linear-gradient(90deg, var(--green), var(--maroon));
  border-radius: 2px;
}
.about-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.about-tag {
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s var(--ease-bounce), box-shadow .2s;
}
.about-tag:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow); }

/* ══════════════════════════════════════════════════════════════
   LEADERBOARD TEASER
   ══════════════════════════════════════════════════════════════ */
.leaderboard-teaser-row {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform .2s var(--ease-bounce), box-shadow .2s;
}
.leaderboard-teaser-row:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }

/* ══════════════════════════════════════════════════════════════
   SIGNUP FORM
   ══════════════════════════════════════════════════════════════ */
.signup-section {
  background: linear-gradient(135deg, #0d2b1e 0%, #1a0a0a 100%);
  background-size: 200% 200%;
  animation: gradient-shift 10s ease infinite;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.signup-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(45,106,79,.1) 0%, transparent 60%);
  animation: spin-slow 30s linear infinite;
  pointer-events: none;
}
.signup-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 56px;
  max-width: 640px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform .3s;
}
.signup-card:hover { transform: translateY(-4px); }
.signup-card h2 { font-family: var(--font-display); font-size: 32px; color: #fff; margin-bottom: 8px; }
.signup-card p { color: rgba(255,255,255,.6); margin-bottom: 36px; }

/* ══════════════════════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════════════════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group label.dark { color: var(--green); }
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .25s, background .25s, box-shadow .25s;
  outline: none;
  -webkit-appearance: none;
}
.form-control.light {
  border-color: var(--border);
  background: var(--white);
  color: var(--ink);
}
.form-control:focus {
  border-color: var(--green-light);
  background: rgba(82,183,136,.08);
  box-shadow: 0 0 0 3px rgba(82,183,136,.2);
}
.form-control.light:focus {
  border-color: var(--green);
  background: var(--green-pale);
  box-shadow: 0 0 0 3px rgba(45,106,79,.15);
}
select.form-control { cursor: pointer; }
.phone-row { display: flex; gap: 8px; }
.phone-row .country-select { width: 130px; flex-shrink: 0; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════
   QUIZ
   ══════════════════════════════════════════════════════════════ */
.quiz-wrapper { max-width: 760px; margin: 0 auto; padding: 48px 0; }
.quiz-header {
  background: linear-gradient(135deg, var(--green), var(--maroon));
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  color: #fff;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.quiz-header::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}
.quiz-header h1 { font-family: var(--font-display); font-size: 28px; }
.quiz-progress { margin-top: 16px; }
.progress-bar-bg {
  height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 50px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  border-radius: 50px;
  transition: width .5s var(--ease-smooth);
}
.question-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  animation: slide-up-fade .4s ease both;
  border: 1px solid var(--border);
  transition: box-shadow .3s;
}
.question-card:hover { box-shadow: var(--shadow-lg); }
.question-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 12px;
}
.question-text {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 28px;
  line-height: 1.4;
}
.options-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.option-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s var(--ease-smooth);
  font-size: 15px;
  position: relative;
  overflow: hidden;
}
.option-label::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-pale);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-smooth);
  z-index: 0;
}
.option-label:hover { border-color: var(--green); }
.option-label:hover::before { transform: scaleX(1); }
.option-label * { position: relative; z-index: 1; }
.option-label input[type="radio"] { display: none; }
.option-label.selected { border-color: var(--green); }
.option-label.selected::before { transform: scaleX(1); }
.option-bullet {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: all .25s var(--ease-bounce);
}
.option-label:hover .option-bullet,
.option-label.selected .option-bullet {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: scale(1.1);
}

/* ══════════════════════════════════════════════════════════════
   RESULTS
   ══════════════════════════════════════════════════════════════ */
.result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: bounce-in .6s var(--ease-spring) both;
}
.result-header {
  background: linear-gradient(135deg, var(--green), var(--maroon));
  padding: 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.result-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.result-score-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 4px solid rgba(255,255,255,.35);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  animation: pulse-glow 3s ease-in-out infinite;
}
/* Pulse rings */
.result-score-circle::before,
.result-score-circle::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  animation: pulse-ring 2s ease-out infinite;
}
.result-score-circle::after { animation-delay: 1s; }
.result-score-pct { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: 1; }
.result-score-label { font-size: 12px; opacity: .8; }
.result-grade { font-family: var(--font-display); font-size: 26px; margin-bottom: 4px; position: relative; z-index: 1; }
.result-body { padding: 40px; }
.answers-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.answers-table th {
  text-align: left; padding: 10px 12px;
  background: var(--green); color: #fff; font-weight: 600;
}
.answers-table th:first-child { border-radius: 6px 0 0 0; }
.answers-table th:last-child  { border-radius: 0 6px 0 0; }
.answers-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.answers-table tr:last-child td { border-bottom: none; }
.answers-table tr { transition: background .15s; }
.answers-table tr:hover td { background: var(--surface); }
.correct-ans { color: var(--green); font-weight: 700; }
.wrong-ans   { color: var(--maroon); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   LEARN PAGE
   ══════════════════════════════════════════════════════════════ */
.learn-hero {
  background: linear-gradient(135deg, var(--green) 0%, #1b4332 100%);
  padding: 64px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.learn-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.learn-hero.robotics-hero { background: linear-gradient(135deg, #0d6e78 0%, #063944 100%); }
.learn-hero.tech-hero     { background: linear-gradient(135deg, var(--maroon) 0%, #4a0e0e 100%); }
.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  border: 1px solid var(--border);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.content-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green), var(--maroon));
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-smooth);
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.content-card:hover::before { transform: scaleY(1); }
.content-card h2 { font-family: var(--font-display); font-size: 24px; color: var(--green); margin-bottom: 16px; }
.content-card h2.maroon { color: var(--maroon); }
.content-card p { color: #444; line-height: 1.85; margin-bottom: 12px; }
.fact-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  color: #1b4332;
  transition: transform .2s;
}
.fact-box:hover { transform: translateX(4px); }
.fact-box.maroon-box { background: var(--maroon-pale); border-color: var(--maroon); color: #4a0e0e; }

/* ══════════════════════════════════════════════════════════════
   CHOOSE PAGE
   ══════════════════════════════════════════════════════════════ */
.choose-section { padding: 80px 0; }
.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.choose-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-decoration: none;
  transition: transform .4s var(--ease-bounce), box-shadow .4s;
  display: block;
  position: relative;
}
.choose-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-xl); }
.choose-card-top { padding: 48px 32px; text-align: center; position: relative; overflow: hidden; }
.choose-card-top::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: transform .4s;
}
.choose-card:hover .choose-card-top::after { transform: scale(2.5); }
.choose-card-top .icon {
  font-size: 52px;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform .4s var(--ease-bounce);
}
.choose-card:hover .icon { transform: scale(1.2) rotate(-5deg); }
.choose-card-top h3 { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.choose-card-top p  { color: rgba(255,255,255,.75); font-size: 14px; }
.choose-card-bottom {
  background: var(--white);
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .2s;
}
.choose-card:hover .choose-card-bottom { background: var(--green-pale); }
.choose-card-bottom span { font-weight: 600; font-size: 15px; transition: color .2s; }
.choose-card-bottom .arrow { font-size: 20px; transition: transform .3s var(--ease-bounce); }
.choose-card:hover .choose-card-bottom .arrow { transform: translateX(6px); }

/* ══════════════════════════════════════════════════════════════
   LEADERBOARD
   ══════════════════════════════════════════════════════════════ */
.leaderboard-row {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 20px;
  transition: transform .25s var(--ease-bounce), box-shadow .25s;
  cursor: default;
}
.leaderboard-row:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.leaderboard-row.top3 { background: var(--white); box-shadow: var(--shadow); }

/* ══════════════════════════════════════════════════════════════
   PROGRESS
   ══════════════════════════════════════════════════════════════ */
.progress-module-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 24px;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-bounce);
}
.progress-module-card.done { box-shadow: var(--shadow); }
.progress-module-card:hover { transform: translateY(-4px); }

/* ══════════════════════════════════════════════════════════════
   VIDEO RESOURCES
   ══════════════════════════════════════════════════════════════ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-wrapper { position: relative; padding-top: 56.25%; background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-title { padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   CERTIFICATE BANNER
   ══════════════════════════════════════════════════════════════ */
.cert-banner {
  background: linear-gradient(135deg, #fffbf0, #fff8e6);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
  animation: bounce-in .5s var(--ease-spring) both;
}

/* ══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════════════════════════════ */
.lang-switcher { position: relative; margin-right: 4px; }
.lang-btn {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s;
  font-family: var(--font-body);
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-pale); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  overflow: hidden;
  z-index: 1000;
  animation: slide-up-fade .2s ease both;
}
.lang-opt {
  display: block; padding: 10px 16px;
  font-size: 13px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  transition: background .15s, padding-left .15s;
}
.lang-opt:hover { background: var(--green-pale); color: var(--green); padding-left: 20px; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: #0d1a12;
  color: rgba(255,255,255,.6);
  padding: 56px 0 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--maroon), var(--green));
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
}
.footer-brand { font-family: var(--font-display); font-size: 26px; font-weight: 900; color: var(--green-light); margin-bottom: 4px; }
.footer-founder { font-size: 13px; margin-bottom: 24px; color: rgba(255,255,255,.35); }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,.45); font-size: 14px;
  transition: color .2s, transform .2s;
  display: inline-block;
}
.footer-links a:hover { color: var(--green-light); transform: translateY(-2px); }
.footer-copy { font-size: 13px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin-top: 8px; }

/* ══════════════════════════════════════════════════════════════
   ALERTS
   ══════════════════════════════════════════════════════════════ */
.alert {
  padding: 14px 20px; border-radius: var(--radius);
  margin-bottom: 20px; font-size: 14px; font-weight: 500;
  animation: slide-up-fade .3s ease both;
}
.alert-success { background: var(--green-pale); color: #1b4332; border-left: 4px solid var(--green); }
.alert-error   { background: var(--maroon-pale); color: #4a0e0e; border-left: 4px solid var(--maroon); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .about-photo-col { flex: none; width: 100%; max-width: 360px; margin: 0 auto; }
  .about-badge { right: 0; bottom: -16px; }
  .about-divider { justify-content: center; }
  .about-tags { justify-content: center; }
  .about-text-col .section-title { text-align: center !important; }
  .hero-stats { position: static; margin-top: 48px; justify-content: center; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .lang-switcher { margin-right: 0; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤600px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Hero */
  .hero { min-height: 85vh; padding: 40px 0; align-items: flex-start; padding-top: 60px; }
  .hero-title { font-size: clamp(30px, 9vw, 48px); }
  .hero-desc  { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 24px; }

  /* Navbar */
  .navbar .container { height: 60px; }
  .brand-logo-img { height: 38px; width: 38px; }
  .brand-name { font-size: 16px; }
  .brand-sub  { display: none; }
  .mobile-nav { top: 60px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(22px, 6vw, 32px); }

  /* Modules grid */
  .modules-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .module-card-header { padding: 28px 24px 20px; }
  .module-card-body   { padding: 20px 24px 28px; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
  .step-card  { padding: 20px 14px; }
  .step-icon  { font-size: 32px; }

  /* About */
  .about-section { padding: 56px 0; }
  .about-photo-col { max-width: 280px; }
  .about-photo-frame { padding: 20px 20px 0; }
  .about-badge { font-size: 12px; padding: 8px 14px; }

  /* Choose */
  .choose-grid { grid-template-columns: 1fr; gap: 20px; }
  .choose-card-top { padding: 36px 24px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .phone-row { flex-direction: column; }
  .phone-row .country-select { width: 100%; }
  .signup-card { padding: 28px 20px; }

  /* Quiz */
  .quiz-wrapper { padding: 24px 0; }
  .quiz-header  { padding: 24px 20px; }
  .quiz-header h1 { font-size: 20px; }
  .question-card  { padding: 24px 20px; }
  .option-label   { padding: 12px 14px; font-size: 14px; }

  /* Results */
  .result-header { padding: 36px 24px; }
  .result-body   { padding: 24px 20px; }
  .result-score-circle { width: 120px; height: 120px; }
  .result-score-pct { font-size: 32px; }
  .answers-table { font-size: 13px; display: block; overflow-x: auto; }

  /* Content cards */
  .content-card { padding: 24px 20px; }
  .content-card h2 { font-size: 20px; }

  /* Cert banner */
  .cert-banner { flex-direction: column; text-align: center; gap: 12px; }

  /* Lang */
  .lang-btn span { display: none; }

  /* Leaderboard */
  .leaderboard-row { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-links { gap: 12px; }

  /* Video grid */
  .video-grid { grid-template-columns: 1fr; }

  /* Progress */
  .progress-module-card { padding: 18px; }

  /* Hero eyebrow */
  .hero-eyebrow { font-size: 11px; padding: 5px 12px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — VERY SMALL (≤380px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero-title { font-size: 28px; }
  .steps-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 14px; }
  .brand-logo-img { height: 32px; width: 32px; }
  .result-score-circle { width: 100px; height: 100px; }
  .result-score-pct { font-size: 26px; }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR (top of page)
   ══════════════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--maroon));
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
  z-index: 9999;
  transition: width .1s linear;
}

/* ══════════════════════════════════════════════════════════════
   FLOATING ACTION BUTTON (scroll to top)
   ══════════════════════════════════════════════════════════════ */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--green), var(--maroon));
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(45,106,79,.4);
  opacity: 0;
  transform: translateY(20px) scale(.8);
  transition: opacity .3s, transform .3s var(--ease-bounce);
  z-index: 997;
}
#scroll-top.visible { opacity: 1; transform: translateY(0) scale(1); }
#scroll-top:hover   { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 28px rgba(45,106,79,.5); }

/* ══════════════════════════════════════════════════════════════
   STAT COUNTER ANIMATION
   ══════════════════════════════════════════════════════════════ */
.count-up { display: inline-block; }

/* ══════════════════════════════════════════════════════════════
   TOOLTIP
   ══════════════════════════════════════════════════════════════ */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(.8);
  background: #1a1a1a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 100;
}
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

/* ══════════════════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════════════════ */
@media print {
  .navbar, .footer, #scroll-top, #scroll-progress,
  .hero-actions, .lang-switcher { display: none !important; }
  .result-card { box-shadow: none; }
  body { background: #fff; }
}