/*
Theme Name: LearnCert
Theme URI: https://learncert.com
Author: LearnCert Team
Author URI: https://learncert.com
Description: High-performance, conversion-optimized education platform for accredited online certificates. AdSense-ready, mobile-first, fully compliant.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: learncert
Tags: education, courses, certification, adsense, responsive
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:        #1a56db;
  --primary-dark:   #1341b0;
  --primary-light:  #3b82f6;
  --primary-xlight: #eff6ff;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;
  --accent-light:   #fef3c7;
  --success:        #10b981;
  --success-light:  #ecfdf5;
  --danger:         #ef4444;
  --purple:         #8b5cf6;
  --dark:           #0f172a;
  --dark-2:         #1e293b;
  --gray-800:       #1e293b;
  --gray-700:       #334155;
  --gray-600:       #475569;
  --gray-500:       #64748b;
  --gray-400:       #94a3b8;
  --gray-300:       #cbd5e1;
  --gray-200:       #e2e8f0;
  --gray-100:       #f1f5f9;
  --gray-50:        #f8fafc;
  --white:          #ffffff;

  --font-display:   'Plus Jakarta Sans', 'Nunito', sans-serif;
  --font-body:      'DM Sans', 'Inter', sans-serif;

  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-md:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-lg:  0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl:  0 25px 50px -12px rgba(0,0,0,.18);
  --shadow-blue: 0 8px 30px rgba(26,86,219,.25);

  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --transition:      200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; line-height: 1.75; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-sm { max-width: 820px; }
.container-lg { max-width: 1400px; }

.section-pad    { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }
.section-pad-lg { padding: 110px 0; }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.d-flex      { display: flex; }
.align-center { align-items: center; }
.gap-12 { gap: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(26,86,219,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,.4);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(245,158,11,.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,.4);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
  box-shadow: 0 4px 14px rgba(16,185,129,.3);
}
.btn-success:hover {
  background: #059669;
  border-color: #059669;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-300);
}
.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--dark);
}

.btn-sm  { padding: 8px 18px; font-size: .875rem; border-radius: var(--radius-sm); }
.btn-lg  { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-xl  { padding: 18px 44px; font-size: 1.1rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   BADGE / PILL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge-accredited {
  background: rgba(16,185,129,.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,.25);
}
.badge-free {
  background: rgba(245,158,11,.1);
  color: #d97706;
  border: 1px solid rgba(245,158,11,.25);
}
.badge-new {
  background: rgba(26,86,219,.1);
  color: var(--primary);
  border: 1px solid rgba(26,86,219,.25);
}
.badge-hot {
  background: rgba(239,68,68,.1);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,.25);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 52px; }

.section-header .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 5px 14px;
  background: var(--primary-xlight);
  border-radius: var(--radius-full);
  border: 1px solid rgba(26,86,219,.15);
}

.section-header h2 { margin-bottom: 14px; }

.section-header p {
  font-size: 1.08rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.75;
}

.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

#site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-logo span.accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-links a {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: rgba(26,86,219,.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-signin {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition);
}

.nav-signin:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26,86,219,.04);
}

/* Announcement bar */
.announce-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 9px 20px;
  font-size: .82rem;
  font-weight: 500;
  font-family: var(--font-display);
}

.announce-bar a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  background: linear-gradient(135deg, #07144a 0%, #1341b0 40%, #1a56db 70%, #2563eb 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(59,130,246,.18) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-label .label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.13;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-subhead {
  font-size: 1.12rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Trust pills row */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.trust-pill .tp-icon { font-size: .95rem; }

/* Social proof bar */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img,
.avatar-stack .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  margin-left: -8px;
  object-fit: cover;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: white;
}

.avatar-stack .av:first-child { margin-left: 0; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-main-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(7,20,74,.4), 0 0 0 1px rgba(255,255,255,.08);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.hero-main-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hero-card-body {
  padding: 18px 20px 20px;
}

.hc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.hc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  line-height: 1.3;
}

.hc-badge {
  font-size: .7rem;
  font-weight: 700;
  background: var(--success-light);
  color: var(--success);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.hc-meta {
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.hc-progress-bar {
  background: var(--gray-200);
  border-radius: var(--radius-full);
  height: 5px;
  margin-bottom: 6px;
  overflow: hidden;
}

.hc-progress-fill {
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
}

.hc-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--gray-500);
}

/* Floating badges */
.hero-float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  color: var(--dark);
  z-index: 2;
}

.hero-float-badge.badge-students { top: -24px; left: -40px; animation: floatBadge1 4s ease-in-out infinite; }
.hero-float-badge.badge-rated    { bottom: 20px; right: -36px; animation: floatBadge2 4.5s ease-in-out infinite; }
.hero-float-badge.badge-cert     { top: 50%; right: -46px; transform: translateY(-50%); animation: floatBadge1 5s ease-in-out infinite 1s; }

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

.fb-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.fb-icon.green  { background: rgba(16,185,129,.12); }
.fb-icon.amber  { background: rgba(245,158,11,.12); }
.fb-icon.blue   { background: rgba(26,86,219,.12); }

.fb-sub {
  font-size: .68rem;
  font-weight: 500;
  color: var(--gray-500);
  line-height: 1;
  margin-bottom: 2px;
}

/* ============================================================
   STATS / TRUST BAR  (below hero)
   ============================================================ */
#trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 36px;
  position: relative;
}

.trust-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px;
  background: var(--gray-300);
}

.trust-stat .ts-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.trust-stat .ts-label {
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: 3px;
}

/* ============================================================
   SEARCH & FILTER
   ============================================================ */
#search-filter {
  background: var(--white);
  padding: 0;
  position: relative;
}

.search-bar-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 28px 32px;
  margin-top: -46px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--gray-200);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  padding: 13px 16px 13px 46px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--dark);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
}

.search-input-wrap input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.search-input-wrap input::placeholder { color: var(--gray-400); }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.category-filters .filter-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-right: 4px;
}

.cat-pill {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-300);
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cat-pill:hover, .cat-pill.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-xlight);
}

/* ============================================================
   COURSE GRID
   ============================================================ */
#courses-main, #courses-more {
  background: var(--gray-50);
  padding: 80px 0;
}

#courses-more { background: var(--white); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
}

/* Course Card */
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.course-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card-image {
  position: relative;
  height: 186px;
  overflow: hidden;
  background: var(--gray-200);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.course-card:hover .card-image img { transform: scale(1.07); }

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.card-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  opacity: 0;
  transition: opacity var(--transition);
  cursor: pointer;
}

.course-card:hover .card-wishlist { opacity: 1; }

.card-overlay-btn {
  position: absolute;
  inset: 0;
  background: rgba(15,31,92,0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
}

.course-card:hover .card-overlay-btn {
  background: rgba(15,31,92,.42);
  opacity: 1;
}

.card-overlay-btn span {
  background: var(--white);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .875rem;
  font-family: var(--font-display);
  transform: translateY(10px);
  transition: transform var(--transition);
}

.course-card:hover .card-overlay-btn span { transform: translateY(0); }

.card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-provider {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.card-provider-dot {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--primary-xlight);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  color: var(--primary);
}

.card-category {
  font-size: .73rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .975rem;
  color: var(--dark);
  margin-bottom: 7px;
  line-height: 1.4;
}

.card-desc {
  font-size: .855rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Outcome tags */
.card-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.outcome-tag {
  font-size: .72rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: var(--radius-xs);
  padding: 3px 8px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  color: var(--gray-500);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-left: auto;
}

.stars { color: var(--accent); font-size: .73rem; letter-spacing: -.05em; }

.card-footer {
  padding: 13px 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-level {
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  color: var(--gray-600);
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
#how-it-works {
  background: var(--white);
  padding: 88px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  opacity: .2;
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-blue);
}

.step-item h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-item p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   AD SLOT
   ============================================================ */
.ad-slot {
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  min-height: 100px;
  padding: 24px;
  margin: 40px 0;
  position: relative;
}

.ad-slot::before {
  content: 'Advertisement';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray-100);
  padding: 2px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ad-slot-inner { width: 100%; text-align: center; }

.adsense-leaderboard { min-height: 90px; }
.adsense-rectangle   { min-height: 250px; }
.adsense-banner      { min-height: 60px; }

/* ============================================================
   STATS BANNER (blue)
   ============================================================ */
#stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

#stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='8'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%;
  height: 60%; width: 1px;
  background: rgba(255,255,255,.2);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* ============================================================
   WHY CERTIFICATES MATTER
   ============================================================ */
#why-certs {
  background: var(--gray-50);
  padding: 88px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-100);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.benefit-icon.blue   { background: rgba(26,86,219,.1); }
.benefit-icon.green  { background: rgba(16,185,129,.1); }
.benefit-icon.amber  { background: rgba(245,158,11,.1); }
.benefit-icon.purple { background: rgba(139,92,246,.1); }

.benefit-content h4 { font-size: 1rem; margin-bottom: 8px; }
.benefit-content p  { font-size: .875rem; color: var(--gray-500); line-height: 1.65; }

/* ============================================================
   CAREER OUTCOMES SECTION
   ============================================================ */
#career-outcomes {
  background: var(--white);
  padding: 88px 0;
}

.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.outcomes-visual {
  position: relative;
}

.salary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.salary-card h3 {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 8px;
}

.salary-card .salary-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}

.salary-card .salary-sub {
  font-size: .82rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 24px;
}

.salary-bars { display: flex; flex-direction: column; gap: 12px; }

.salary-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
}

.salary-bar-label { width: 120px; color: var(--gray-600); flex-shrink: 0; }

.salary-bar-track {
  flex: 1;
  height: 7px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.salary-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.salary-bar-val { width: 44px; text-align: right; color: var(--dark); font-weight: 700; }

.outcomes-float {
  position: absolute;
  right: -28px;
  bottom: -20px;
  background: var(--success);
  color: white;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  font-weight: 700;
}

.outcomes-float .of-num { font-size: 1.8rem; line-height: 1; }
.outcomes-float .of-sub { font-size: .72rem; opacity: .85; margin-top: 2px; }

.outcomes-content h2 { margin-bottom: 16px; }
.outcomes-content > p { margin-bottom: 28px; color: var(--gray-600); }

.outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.outcome-item:hover {
  background: var(--primary-xlight);
  border-color: rgba(26,86,219,.2);
}

.outcome-check {
  width: 24px; height: 24px;
  background: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.outcome-item h5 { font-size: .9rem; margin-bottom: 3px; }
.outcome-item p  { font-size: .82rem; color: var(--gray-500); line-height: 1.5; margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  background: var(--gray-50);
  padding: 88px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.t-quote {
  font-size: 2rem;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
  opacity: .4;
}

.testimonial-stars {
  font-size: .88rem;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: -.05em;
}

.testimonial-text {
  font-size: .895rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: .88rem;
  flex-shrink: 0;
}

.author-name  { font-weight: 700; font-size: .88rem; color: var(--dark); }
.author-role  { font-size: .75rem; color: var(--gray-500); }
.author-cert  {
  margin-left: auto;
  font-size: .7rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-xlight);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ============================================================
   CATEGORY EXPLORER
   ============================================================ */
#categories-section {
  background: var(--white);
  padding: 88px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--transition-slow);
  cursor: pointer;
  text-decoration: none;
}

.category-card:hover {
  background: var(--primary-xlight);
  border-color: rgba(26,86,219,.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cat-icon.business   { background: rgba(245,158,11,.1); }
.cat-icon.it         { background: rgba(26,86,219,.1); }
.cat-icon.health     { background: rgba(16,185,129,.1); }
.cat-icon.marketing  { background: rgba(239,68,68,.1); }
.cat-icon.finance    { background: rgba(139,92,246,.1); }
.cat-icon.leadership { background: rgba(20,184,166,.1); }

.cat-content h4  { font-size: .95rem; margin-bottom: 4px; color: var(--dark); }
.cat-content p   { font-size: .78rem; color: var(--gray-500); margin: 0; }
.cat-arrow       { margin-left: auto; color: var(--gray-400); font-size: 1rem; transition: transform var(--transition); flex-shrink: 0; }
.category-card:hover .cat-arrow { transform: translateX(4px); color: var(--primary); }

/* ============================================================
   FEATURED EMPLOYERS / TRUST LOGOS
   ============================================================ */
#trust-logos {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 40px 0;
}

.trust-logos-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-logos-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
}

.trust-logo-item {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gray-400);
  letter-spacing: -.02em;
  transition: color var(--transition);
}

.trust-logo-item:hover { color: var(--gray-600); }

/* ============================================================
   FINAL CTA
   ============================================================ */
#cta-section {
  background: linear-gradient(135deg, #07144a 0%, #1341b0 50%, #2563eb 100%);
  padding: 108px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(245,158,11,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 20%, rgba(255,255,255,.04) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner .eyebrow {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
  display: inline-block;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-inner > p {
  font-size: 1.08rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-micro {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   SINGLE COURSE PAGE
   ============================================================ */
.course-hero {
  background: linear-gradient(135deg, #07144a 0%, #1a56db 100%);
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
}

.course-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.course-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.course-hero-content .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb span.sep { color: rgba(255,255,255,.35); }

.course-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.course-hero-content h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.course-hero-content .course-excerpt {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 24px;
  line-height: 1.75;
  max-width: 580px;
}

.course-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .855rem;
  color: rgba(255,255,255,.75);
}

.course-hero-meta span { display: flex; align-items: center; gap: 5px; }

/* Course sidebar card */
.course-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(7,20,74,.3);
  position: sticky;
  top: 84px;
  margin-top: 20px;
}

.csc-image {
  height: 180px;
  overflow: hidden;
}
.csc-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.csc-body { padding: 24px; }

.csc-free {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.csc-sub { font-size: .82rem; color: var(--gray-500); margin-bottom: 20px; }

.csc-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.csc-details {
  border-top: 1px solid var(--gray-100);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.csd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .855rem;
  color: var(--gray-600);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}

.csd-row:last-child { border-bottom: none; padding-bottom: 0; }
.csd-row strong { color: var(--dark); font-weight: 600; }

/* Course main content area */
.course-content-wrap {
  padding: 64px 0 80px;
}

.course-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: start;
}

/* Outcome pills on course page */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.skill-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}

.skill-pill:hover {
  background: var(--primary-xlight);
  border-color: rgba(26,86,219,.2);
  color: var(--primary);
}

.skill-pill::before { content: '✓'; color: var(--success); font-weight: 700; }

/* Course content sections */
.course-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-100);
}

.course-section:last-child { border-bottom: none; }

.course-section h3 {
  margin-bottom: 18px;
  color: var(--dark);
}

/* Curriculum accordion */
.curriculum-list { display: flex; flex-direction: column; gap: 6px; }

.curriculum-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .875rem;
  cursor: pointer;
  transition: all var(--transition);
}

.curriculum-item:hover {
  background: var(--primary-xlight);
  border-color: rgba(26,86,219,.2);
}

.ci-num {
  width: 28px; height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ci-title { flex: 1; color: var(--dark); font-weight: 500; }
.ci-meta  { font-size: .75rem; color: var(--gray-500); }

/* Related courses strip */
.related-courses-strip {
  background: var(--gray-50);
  padding: 64px 0;
  border-top: 1px solid var(--gray-200);
}

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.archive-hero {
  background: linear-gradient(135deg, #07144a 0%, #1a56db 100%);
  padding: 64px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.archive-hero-inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   BREADCRUMB GLOBAL
   ============================================================ */
.page-breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}

.page-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.page-breadcrumb a { color: var(--primary); }
.page-breadcrumb a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

.footer-brand .nav-logo  { color: var(--white); margin-bottom: 16px; }
.footer-brand p {
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 8px; }

.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  transition: all var(--transition);
}

.footer-social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-col ul li { margin-bottom: 9px; }

.footer-col ul li a {
  font-size: .855rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,.65); }

/* ============================================================
   AB TEST VARIANTS
   ============================================================ */
/* Hero CTA A/B classes — toggled by JS */
.ab-variant-b .hero-cta .btn-accent { background: var(--success); border-color: var(--success); }
.ab-variant-b .hero-cta .btn-accent:hover { background: #059669; border-color: #059669; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid           { grid-template-columns: 1fr 1fr; }
  .stats-grid            { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after      { display: none; }
  .categories-grid       { grid-template-columns: repeat(2, 1fr); }
  .outcomes-inner        { grid-template-columns: 1fr; }
  .outcomes-visual       { max-width: 440px; }
  .steps-grid            { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .steps-grid::before    { display: none; }
  .course-hero-inner     { grid-template-columns: 1fr; }
  .course-sidebar-card   { position: static; margin-top: 0; }
  .course-layout         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle               { display: flex; margin-left: auto; }

  .hero-inner               { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual              { display: none; }
  .hero-trust-row           { gap: 7px; }

  .search-bar-wrapper       { margin-top: -28px; padding: 20px; }

  .courses-grid             { grid-template-columns: 1fr; }
  .benefits-grid            { grid-template-columns: 1fr; }
  .testimonials-grid        { grid-template-columns: 1fr; }
  .categories-grid          { grid-template-columns: 1fr; }
  .trust-stat               { padding: 8px 24px; }
  .trust-stat::after        { display: none; }
  .trust-bar-inner          { gap: 0; }

  .footer-grid              { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom            { flex-direction: column; text-align: center; }

  .section-pad              { padding: 64px 0; }
  .section-pad-lg           { padding: 80px 0; }
}

@media (max-width: 480px) {
  .hero-cta                 { flex-direction: column; align-items: stretch; }
  .hero-cta .btn            { justify-content: center; }
  .cta-buttons              { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn         { justify-content: center; }
  .trust-bar-inner          { justify-content: flex-start; padding: 0 10px; }
}

/* Mobile nav open */
body.nav-open .nav-links,
body.nav-open .nav-actions {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--white);
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  align-items: stretch;
}

body.nav-open .nav-links a { padding: 12px 16px; }
body.nav-open .nav-actions { top: auto; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-content h1  { animation: fadeInUp .65s ease both; }
.hero-content p   { animation: fadeInUp .65s ease .1s both; }
.hero-cta         { animation: fadeInUp .65s ease .2s both; }
.hero-trust-row   { animation: fadeInUp .65s ease .3s both; }
.hero-social-proof{ animation: fadeInUp .65s ease .4s both; }
.hero-visual      { animation: fadeInRight .65s ease .2s both; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: .08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: .16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: .24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: .32s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: .40s; }

/* ============================================================
   UTILITY HELPERS
   ============================================================ */
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }