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

:root {
  /* Core Colors - Vibrant & Professional */
  --primary: #4F46E5;
  /* Indigo */
  --primary-glow: rgba(79, 70, 229, 0.4);
  --secondary: #EC4899;
  /* Pink/Coral */
  --dark: #0F172A;
  /* Slate 900 */
  --light-bg: #F8FAFC;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --text-main: #1E293B;
  --text-muted: #64748B;
  --white: #ffffff;

  /* System Tokens */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --max-w: 1280px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  font-weight: 700;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

/* --- Layout Components --- */

/* Sticky Topbar */
#topbar {
  position: relative;
  z-index: 100;
}

.top-announcement {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
  padding: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   HERO SECTION — Immersive Redesign
═══════════════════════════════════════════ */
.hero-section {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Animated mesh background */
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(79,70,229,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(236,72,153,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(79,70,229,0.08) 0%, transparent 100%);
  animation: mesh-drift 18s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes mesh-drift {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.05) translate(-20px, 15px); }
  100% { transform: scale(1) translate(10px, -10px); }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: particle-float linear infinite;
}
.p1 { width: 6px; height: 6px; background: var(--primary); top: 15%; left: 10%;  animation-duration: 12s; animation-delay: 0s; }
.p2 { width: 10px;height: 10px;background: var(--secondary);top: 70%; left: 20%;  animation-duration: 16s; animation-delay: -4s; }
.p3 { width: 5px; height: 5px; background: white;           top: 40%; left: 80%;  animation-duration: 10s; animation-delay: -7s; }
.p4 { width: 8px; height: 8px; background: var(--primary); top: 80%; left: 70%;  animation-duration: 14s; animation-delay: -2s; }
.p5 { width: 6px; height: 6px; background: var(--secondary);top: 25%; left: 55%; animation-duration: 11s; animation-delay: -9s; }

@keyframes particle-float {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0.4; }
  50%  { opacity: 0.8; }
  100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}

/* ── Inner Grid ── */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

/* ── Left Column ── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Pill badge */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  backdrop-filter: blur(8px);
}

/* Heading */
.hero-heading {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: white;
}

.hero-gradient-text {
  background: linear-gradient(90deg, #818CF8, #EC4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Typewriter cursor */
.hero-gradient-text::after {
  content: '|';
  -webkit-text-fill-color: #EC4899;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-underline-text {
  color: white;
  position: relative;
}

.hero-underline-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: line-expand 1s ease forwards 1.2s;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes line-expand {
  to { transform: scaleX(1); }
}

.hero-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.8;
}

.hero-subtext strong {
  color: rgba(255,255,255,0.95);
}

/* CTA */
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-btn-glow {
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  box-shadow: 0 0 40px rgba(79,70,229,0.6);
  position: relative;
  overflow: hidden;
}

.hero-btn-glow::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 50%; height: 200%;
  background: rgba(255,255,255,0.25);
  transform: rotate(25deg);
  animation: shimmer-btn 3s ease infinite;
}

@keyframes shimmer-btn {
  0%   { left: -60%; }
  100% { left: 160%; }
}

.hero-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.hero-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.trust-item span:last-child {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* ── Right Column ── */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image frame */
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  animation: float 7s ease-in-out infinite;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.hero-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(15,23,42,0.8) 100%);
}

/* Floating badges */
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 10;
  backdrop-filter: blur(10px);
  min-width: 180px;
}

.hero-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.hero-badge small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-icon {
  font-size: 1.5rem;
}

.badge-top-left {
  top: -16px;
  left: -32px;
}

.badge-bottom-right {
  bottom: 40px;
  right: -32px;
}

/* Float animation for image and badges */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

.badge-float {
  animation: badge-bob 5s ease-in-out infinite;
}

.badge-float-delayed {
  animation-delay: -2.5s;
}

@keyframes badge-bob {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ── Lead Bar ── */
.hero-lead-bar {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 0 60px;
}

.lead-bar-inner {
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.lead-bar-label {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  white-space: nowrap;
}

.lead-bar-form {
  display: flex;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}

.lead-bar-form input,
.lead-bar-form select {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.lead-bar-form input::placeholder { color: rgba(255,255,255,0.4); }
.lead-bar-form select option { background: #1E293B; color: white; }

.lead-bar-form input:focus,
.lead-bar-form select:focus {
  border-color: var(--primary);
  background: rgba(79,70,229,0.12);
}

.success-msg {
  color: #4ADE80;
  font-weight: 600;
}

/* ── Entrance Animations ── */
.hero-pill-enter  { animation: enter-fade 0.7s ease both 0.1s; }
.hero-h1-enter    { animation: enter-up  0.9s ease both 0.3s; }
.hero-p-enter     { animation: enter-up  0.9s ease both 0.5s; }
.hero-cta-enter   { animation: enter-up  0.9s ease both 0.7s; }
.hero-trust-enter { animation: enter-up  0.9s ease both 0.9s; }

@keyframes enter-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes enter-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 15px -3px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255,255,255,0.1);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -150%; }
  100% { left: 150%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px var(--primary-glow);
}


.btn-secondary {
  background: white;
  color: var(--dark);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
}

/* Lead Form Card */
.lead-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: flex-end;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-group input,
.input-group select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  font-family: inherit;
  font-size: 1rem;
}

/* Course Cards */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  gap: 32px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.course-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.course-image {
  height: 200px;
  background: #E2E8F0;
  position: relative;
}

.course-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.course-content {
  padding: 24px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats Section */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px 0;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  color: white;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════
   WALL OF FAME — Light Theme Redesign
═══════════════════════════════════════════ */
.wof-section {
  padding: 120px 0;
  background: var(--light-bg);
  position: relative;
}

.wof-top-label {
  text-align: center;
  margin-bottom: 16px;
}

.wof-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(79,70,229,0.1), rgba(236,72,153,0.1));
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Header row */
.wof-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.wof-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 12px;
}

.wof-accent {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.wof-view-all {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Stats row */
.wof-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.wof-stat {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wof-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.wof-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
}

.wof-stat-sep {
  width: 1px;
  height: 60px;
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* Main grid: hero card + right column */
.wof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Featured hero card */
.wof-hero-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.wof-hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px -12px rgba(0,0,0,0.15);
}

.wof-hero-img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.wof-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.wof-hero-card:hover .wof-hero-img {
  transform: scale(1.05);
}

.wof-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.7) 0%, transparent 60%);
}

.wof-hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(239,68,68,0.4);
}

.wof-trophy { font-size: 1rem; }

.wof-hero-info {
  padding: 28px;
}

.wof-exam-tag {
  display: inline-block;
  background: rgba(79,70,229,0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid rgba(79,70,229,0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wof-exam-tag--dark {
  background: rgba(15,23,42,0.06);
  color: var(--dark);
  border-color: rgba(0,0,0,0.1);
}

.wof-hero-name {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.wof-hero-rank {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
}

.wof-percentile-bar {
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}

.wof-percentile-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  animation: bar-grow 1.2s ease-out forwards;
  transform-origin: left;
}

@keyframes bar-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.wof-percentile-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.wof-percentile-row strong {
  color: var(--primary);
  font-weight: 700;
}

.wof-hero-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
  padding-left: 14px;
  line-height: 1.7;
}

/* Right column */
.wof-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wof-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wof-side-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.wof-side-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79,70,229,0.2);
}

.wof-side-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary);
  flex-shrink: 0;
}

.wof-side-info {
  flex: 1;
}

.wof-side-name {
  font-size: 1.1rem;
  color: var(--dark);
  margin: 4px 0 8px;
}

.wof-rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wof-rank-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--secondary);
}

.wof-percentile {
  font-size: 0.82rem;
  background: rgba(79,70,229,0.08);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* Achievement ribbon */
.wof-ribbon-card {
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: white;
  box-shadow: 0 12px 30px rgba(79,70,229,0.35);
}

.wof-ribbon-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.wof-ribbon-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wof-ribbon-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.wof-ribbon-text span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .wof-grid {
    grid-template-columns: 1fr;
  }

  .wof-stats {
    padding: 28px 20px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .wof-stat-sep { display: none; }

  .wof-stat { flex: 1 1 40%; }

  .wof-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .wof-view-all {
    align-self: flex-start;
  }
}

/* Course Image styling */

.course-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.course-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 80px;
  }

  .hero-left {
    align-items: center;
  }

  .hero-pill {
    margin: 0 auto;
  }

  .hero-heading {
    text-align: center;
  }

  .hero-subtext {
    text-align: center;
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-right {
    display: none;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block !important;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  
  .nav.mobile-active {
    display: flex;
  }
  
  .header-right {
    display: none;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    min-height: auto;
  }
  .lead-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .lead-bar-label {
    white-space: normal;
    text-align: center;
  }
}


/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.stagger-1 { animation: slideUp 0.8s forwards 0.1s; opacity: 0; transform: translateY(20px); }
.stagger-2 { animation: slideUp 0.8s forwards 0.3s; opacity: 0; transform: translateY(20px); }
.stagger-3 { animation: slideUp 0.8s forwards 0.5s; opacity: 0; transform: translateY(20px); }


/* Chatbot Interface */
.chatbot-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px var(--primary-glow);
  z-index: 1000;
  cursor: pointer;
  transition: var(--transition);
  color: white;
  font-size: 1.5rem;
}

.chatbot-trigger:hover {
  transform: scale(1.1);
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  border: 1px solid rgba(0,0,0,0.05);
}

.chatbot-window.active {
  display: flex;
  animation: slideChat 0.3s ease-out;
}

@keyframes slideChat {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  background: var(--dark);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  color: white;
  margin: 0;
  font-size: 1.1rem;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}

.message {
  padding: 10px 16px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 0.9rem;
}

.message.bot {
  background: white;
  color: var(--text-main);
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.message.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  outline: none;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chat-option {
  padding: 6px 12px;
  background: var(--light-bg);
  border: 1px solid var(--primary-glow);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
  font-weight: 500;
}

.chat-option:hover {
  background: var(--primary);
  color: white;
}
