/* ==========================================================
 * ApexLearn — Online Learning Academy
 * Premium Red & White Theme • Modern Responsive Stylesheet
 * ========================================================== */

:root {
  /* Red & White Design System Tokens */
  --primary: #dc2626;          /* Vivid Crimson Red */
  --primary-hover: #b91c1c;    /* Deep Crimson */
  --primary-dark: #991b1b;     /* Wine Red */
  --primary-light: #fef2f2;    /* Soft Rose White */
  --primary-subtle: #fee2e2;   /* Light Red Accent */
  --primary-glow: rgba(220, 38, 38, 0.22);
  --primary-glow-strong: rgba(220, 38, 38, 0.4);

  /* Neutrals & Canvas */
  --bg-white: #ffffff;
  --bg-offwhite: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --text-dark: #0f172a;        /* Deep Slate Navy */
  --text-body: #334155;        /* Balanced Body Text */
  --text-muted: #64748b;       /* Muted Labels */
  --border-light: #e2e8f0;
  --border-red: rgba(220, 38, 38, 0.2);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(220, 38, 38, 0.12), 0 12px 16px -8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.06);

  /* Layout & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --container: 1240px;
  --header-height: 76px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* 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-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  font-family: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Red Text Utilities */
.text-red {
  color: var(--primary) !important;
}

.bg-red-light {
  background-color: var(--primary-light);
}

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border-red);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.08);
}

.badge-pill-white {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--primary-glow-strong);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px var(--primary-glow-strong);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border-color: var(--border-light);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.12);
}

.btn-outline-red {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-red:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px var(--primary-glow-strong);
}

.brand-logo span span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-item a:hover::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav-login {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.6rem 1rem;
}

.btn-nav-login:hover {
  color: var(--primary);
}

.btn-nav-enroll {
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5.5rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.blob-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 70%);
  filter: blur(60px);
}

.blob-2 {
  position: absolute;
  bottom: -50px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
  filter: blur(50px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.hero-title .highlight-red {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-red::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(220, 38, 38, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-action-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.35rem 0.4rem 0.35rem 1.25rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 480px;
  transition: border-color 0.25s;
}

.hero-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
}

.hero-search-input::placeholder {
  color: var(--text-muted);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stars-rating {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Hero Interactive Preview Card */
.hero-visual-wrap {
  position: relative;
}

.hero-card-main {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.hero-card-main:hover {
  transform: translateY(-4px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--border-red);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.featured-course-visual {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-course-visual::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.fc-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fca5a5;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fc-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.fc-progress-wrap {
  margin-top: 1rem;
}

.fc-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 78%;
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  box-shadow: 0 0 10px var(--primary);
}

.hero-floating-stat {
  position: absolute;
  bottom: -20px;
  left: -25px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.floating-stat-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}

.floating-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Stats Counter Ribbon */
.stats-ribbon {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  padding: 0 1rem;
}

.stat-box:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 600;
}

/* Companies Logos Bar */
.partners-section {
  padding: 3rem 0;
  background: var(--bg-offwhite);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.partners-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.partner-logo-item {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #94a3b8;
  transition: color 0.2s;
  letter-spacing: -0.02em;
}

.partner-logo-item:hover {
  color: var(--primary);
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
}

/* Courses Catalog Section */
.courses-section {
  padding: 6rem 0;
  background: #ffffff;
}

.course-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: var(--shadow-card);
}

.course-thumb-box {
  height: 200px;
  position: relative;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.thumb-ai { background: linear-gradient(135deg, #b91c1c, #450a0a); }
.thumb-web { background: linear-gradient(135deg, #0f172a, #1e293b); }
.thumb-cloud { background: linear-gradient(135deg, #7f1d1d, #1e1b4b); }
.thumb-design { background: linear-gradient(135deg, #dc2626, #f97316); }
.thumb-data { background: linear-gradient(135deg, #312e81, #991b1b); }
.thumb-sec { background: linear-gradient(135deg, #111827, #b91c1c); }

.course-badge-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-badge-tag.tag-hot {
  background: #ffffff;
  color: var(--primary);
  border: none;
}

.course-thumb-icon {
  font-size: 2.25rem;
  align-self: flex-end;
}

.course-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.course-rating {
  color: #f59e0b;
  font-weight: 700;
}

.course-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
  line-height: 1.35;
}

.course-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-instructor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.inst-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-red);
}

.inst-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.inst-title {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
}

.price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Features & Why Us Section */
.why-us-section {
  padding: 6rem 0;
  background: var(--bg-offwhite);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.feature-box:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  border: 1px solid var(--border-red);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.feature-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Learning Pathway / Curriculum Steps */
.pathway-section {
  padding: 6rem 0;
  background: #ffffff;
}

.pathway-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}

.pathway-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--primary-subtle);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--primary-glow-strong);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Testimonials / Success Stories */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-offwhite) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 4rem;
  font-family: serif;
  color: var(--primary-subtle);
  line-height: 1;
}

.test-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.test-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.test-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.test-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.test-role-company {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hired-badge {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* Membership & Pricing */
.pricing-section {
  padding: 6rem 0;
  background: #ffffff;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.save-pill-red {
  background: var(--primary);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-plan-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-plan-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 16px 40px var(--primary-glow);
  transform: scale(1.03);
}

.popular-ribbon-red {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--primary-glow-strong);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  min-height: 42px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

.plan-amount {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.plan-features-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05rem;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-offwhite);
  border-top: 1px solid var(--border-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-btn {
  width: 100%;
  padding: 1.35rem 1.75rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-cross {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  flex-shrink: 0;
}

.faq-card.active .faq-icon-cross {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-body-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-card.active .faq-body-collapse {
  max-height: 280px;
  padding-bottom: 1.5rem;
}

/* Call to Action Red Banner */
.cta-banner-section {
  padding: 6rem 0;
  background: #ffffff;
}

.cta-red-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px var(--primary-glow-strong);
}

.cta-red-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-red-box::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title-white {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.cta-subtitle-white {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.cta-button-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.cta-guarantee-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border-light);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-info p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 1rem 0 1.5rem;
  color: #94a3b8;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}

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

.footer-col-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Syllabus Preview Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 2.25rem;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Toast Message */
.toast-alert {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3000;
  pointer-events: none;
}

.toast-alert.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-action-group {
    justify-content: center;
  }
  .hero-search-box {
    margin: 0 auto;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .hero-visual-wrap {
    max-width: 550px;
    margin: 0 auto;
  }
  .pathway-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .pathway-timeline::before {
    display: none;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-cta-group {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box:nth-child(2) {
    border-right: none;
  }
  .stat-box:nth-child(1), .stat-box:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
  }
  .stat-box:nth-child(3), .stat-box:nth-child(4) {
    padding-top: 1.5rem;
  }
  .pricing-plan-card.highlighted {
    transform: none;
  }
  .pathway-timeline {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .hero-floating-stat {
    left: 10px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-box {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0 !important;
  }
  .stat-box:last-child {
    border-bottom: none;
  }
  .cta-red-box {
    padding: 3.5rem 1.5rem;
  }
  .btn {
    width: 100%;
  }
}
