/* ═══════════════════════════════════════════════════════════════
   BiomedCraftHub — home.css
   All colors use CSS variables → auto light/dark theme support
   ═══════════════════════════════════════════════════════════════ */

.page-wrap {
  margin: 0;
  padding: 0;
}
.page-wrap a { text-decoration: none; }

/* ════════════════════════════════════════════════════════════════
   SHARED SECTION UTILITIES
   ════════════════════════════════════════════════════════════════ */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0;
}
.section-heading em {
  font-style: italic;
  color: var(--accent);
}

/* ════════════════════════════════════════════════════════════════
   HERO — two-column grid
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  max-height: 99vh;
  display: flex;
  width: 100vw;
  align-items: stretch;
  overflow: hidden;
  margin-top: 0;
  /* background set via variable — switches with theme */
  background: var(--bg-primary);
}

/* ── Two-column grid ──────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: inherit;
}

/* ── LEFT COLUMN ─────────────────────────────────────────────── */
.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 85px 56px 80px max(2rem, calc((100vw - 99vw) / 2 + 2rem));
}

.hero-left::after {
  content: '';
  position: absolute;
  inset: 0;
  /* light: white fade    dark: dark fade */
  background: linear-gradient(
    108deg,
    var(--bg-primary)              0%,
    color-mix(in srgb, var(--bg-primary) 95%, transparent) 70%,
    color-mix(in srgb, var(--bg-primary) 50%, transparent) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* ── RIGHT COLUMN ────────────────────────────────────────────── */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mask-image: linear-gradient(to left, black 85%, transparent 100%);
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg-primary)                                          0%,
    color-mix(in srgb, var(--bg-primary) 45%, transparent)   20%,
    transparent                                                55%
  );
  z-index: 1;
  pointer-events: none;
}

/* Canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* Floating hex badges */
.hero-hex-badges {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hex-badge {
  position: absolute;
  width: 52px;
  height: 52px;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 20px var(--accent-glow);
  animation: hexFloat 6s ease-in-out infinite;
}
.hex-badge:nth-child(1) { top: 18%; left: 8%;  animation-delay: 0s; }
.hex-badge:nth-child(2) { top: 38%; left: 4%;  animation-delay: -2s; }
.hex-badge:nth-child(3) { top: 58%; left: 10%; animation-delay: -4s; }
.hex-badge:nth-child(4) { top: 74%; left: 5%;  animation-delay: -1.5s; }
@keyframes hexFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Watermark */
.hero-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-dim);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* Eyebrow badge */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 8px;
  border-radius: 99px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  width: fit-content;
  animation: badgeFloat 5s ease-in-out infinite;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes badgeFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes pulseDot   { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.75)} }

/* Headline */
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.line-solid  { display: block; color: var(--text-primary); }
.line-outline {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.line-accent {
  display: block;
  font-style: italic;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, var(--primary-light), var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 4px 6px rgba(0,0,0,0.2))
    drop-shadow(0 0 20px var(--accent-glow));
}

/* Lead */
.hero-lead {
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 0 36px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* CTA buttons */
.hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollBob 2.2s ease-in-out infinite;
}
.scroll-track {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}
@keyframes scrollBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ════════════════════════════════════════════════════════════════
   STATS STRIP
   ════════════════════════════════════════════════════════════════ */
.stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 6%;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, var(--accent-dim), transparent);
  pointer-events: none;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.stat-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 10px 24px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}
.stat-sup { font-size: 0.5em; vertical-align: super; }
.stat-lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px; height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   TRUST LOGOS
   ════════════════════════════════════════════════════════════════ */
.trust-section {
  padding: 52px 6%;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  max-width: 900px;
  margin: 0 auto;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  opacity: 0.38;
  transition: opacity 0.25s;
}
.trust-logo:hover { opacity: 0.7; }

/* ════════════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════════════ */
.features-section {
  padding: 110px 6%;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--accent-dim), transparent);
  pointer-events: none;
}
.features-section .section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.features-section .section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.38s var(--ease-out);
  cursor: default;
}
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.feat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 50% at 50% 0%, var(--accent-dim), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.feat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 36px var(--accent-dim);
  background: var(--bg-card-hover);
}
.feat-card:hover::before { opacity: 1; }
.feat-card:hover::after  { opacity: 1; }

.feat-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 22px;
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
  position: relative; z-index: 1;
  transition: box-shadow 0.35s;
}
.feat-card:hover .feat-icon { box-shadow: 0 0 18px var(--accent-glow); }

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
.feat-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.72;
  font-weight: 400;
  position: relative; z-index: 1;
}
.feat-tag {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-hover);
  position: relative; z-index: 1;
}

/* ════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════════ */
.how-section {
  padding: 110px 6%;
  background: var(--bg-primary);
  position: relative;
}
.how-section .section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}
.how-section .section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
}
.steps-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}
.step-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-dim);
}
.step-card:hover::before { opacity: 1; }

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 52px;
  width: 56px;
  flex-shrink: 0;
}
.connector-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--border-hover), var(--accent), var(--border-hover));
}
.connector-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: -4px;
  box-shadow: 0 0 10px var(--accent);
}

.step-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 900;
  font-style: italic;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.35s;
}
.step-card:hover .step-num { color: var(--accent-mid); }

.step-icon-wrap {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
  display: grid; place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.25s, color 0.25s;
}
.step-link:hover { gap: 11px; color: var(--primary-light); }

/* ════════════════════════════════════════════════════════════════
   COURSES
   ════════════════════════════════════════════════════════════════ */
.courses-section {
  padding: 110px 6%;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.courses-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-dim), transparent);
  pointer-events: none;
}
.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1140px;
  margin-inline: auto;
  margin-bottom: 0;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-hover);
  transition: gap 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
  margin-bottom: 6px;
}
.view-all-link:hover { gap: 13px; color: var(--primary-light); border-bottom-color: var(--primary-light); }

.courses-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(234px, 1fr));
  gap: 18px;
  max-width: 1140px;
  margin: 8px auto 0;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 28px var(--accent-dim);
}
.course-thumb {
  height: 128px;
  display: grid;
  place-items: center;
  font-size: 40px;
  position: relative;
}
.course-thumb::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
}
.course-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.course-yr-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  width: fit-content;
}
.tag-y1 { background: var(--accent-dim);            color: var(--accent);      border: 1px solid var(--border-hover); }
.tag-y2 { background: rgba(96,165,250,0.1);         color: #60a5fa;            border: 1px solid rgba(96,165,250,0.2); }
.tag-y3 { background: rgba(167,139,250,0.1);        color: #a78bfa;            border: 1px solid rgba(167,139,250,0.2); }
.tag-y4 { background: rgba(251,191,36,0.1);         color: #fbbf24;            border: 1px solid rgba(251,191,36,0.2); }

.course-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.course-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-meta i { color: var(--accent); font-size: 10px; }

/* ════════════════════════════════════════════════════════════════
   SHOWCASE / DASHBOARD MOCKUP
   ════════════════════════════════════════════════════════════════ */
.showcase-section {
  padding: 110px 6%;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.showcase-section::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}
.showcase-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.showcase-text .section-eyebrow { margin-bottom: 14px; }
.showcase-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.showcase-text h2 em {
  font-style: italic;
  color: var(--accent);
}
.showcase-text p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 32px;
}
.showcase-bullets { display: flex; flex-direction: column; gap: 13px; }
.sb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.sb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Dashboard mockup widget */
.dash-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px var(--accent-dim);
  position: relative;
}
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot:nth-child(1) { background: #ff5f57; }
.dash-dot:nth-child(2) { background: #ffbd2e; }
.dash-dot:nth-child(3) { background: #28ca41; }
.dash-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.dash-body { display: flex; height: 320px; }
.dash-sidebar {
  width: 56px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
}
.dash-sb-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--glass);
  display: grid; place-items: center;
  font-size: 14px;
  cursor: default;
  transition: var(--transition);
}
.dash-sb-icon.active {
  background: var(--accent-dim);
  border: 1px solid var(--border-hover);
}
.dash-main { flex: 1; padding: 16px; overflow: hidden; background: var(--bg-primary); }
.dash-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.dash-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.dash-card-lbl {
  font-size: 8.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 600;
}
.dash-card-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}
.dash-card-sub { font-size: 8px; color: var(--success); margin-top: 2px; }
.dash-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
  margin-top: 7px;
}
.dash-bar {
  width: 7px;
  border-radius: 2px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
}
.dash-bar.lit {
  background: linear-gradient(to top, var(--accent), var(--primary-light));
  border-color: var(--accent);
}
.dash-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.dash-row {
  display: grid;
  grid-template-columns: 1fr 56px 62px;
  padding: 8px 12px;
  font-size: 9.5px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.dash-row:last-child { border-bottom: none; }
.dash-row.hd { color: var(--text-muted); font-weight: 700; letter-spacing: 0.08em; }
.dash-row.dt { color: var(--text-secondary); }
.dash-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 8.5px;
  font-weight: 700;
}
.db-ok  { background: rgba(74,222,128,0.12); color: var(--success); }
.db-run { background: var(--accent-dim);     color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════════ */
.testimonials-section {
  padding: 110px 6%;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-section .section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}
.testimonials-section .section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.testi-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.testi-card:hover::after { opacity: 1; }
.testi-card--feat {
  border-color: var(--border-hover);
  box-shadow: 0 0 40px var(--accent-dim);
}
.testi-stars { display: flex; gap: 3px; }
.star { color: var(--accent); font-size: 12px; }
.testi-quote {
  position: absolute; top: 14px; right: 20px;
  font-size: 60px; line-height: 1;
  color: var(--accent-dim);
  font-family: serif; font-weight: 900;
  pointer-events: none;
}
.testi-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.74;
  flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.av-c1 { background: var(--accent-dim);          border: 1px solid var(--border-hover);           color: var(--accent); }
.av-c2 { background: rgba(96,165,250,0.1);        border: 1px solid rgba(96,165,250,0.3);          color: #60a5fa; }
.av-c3 { background: rgba(167,139,250,0.1);       border: 1px solid rgba(167,139,250,0.3);         color: #a78bfa; }
.testi-name {
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
}
.testi-role { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

/* ════════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 120px 6%;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-glow-orb {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 72px 60px 64px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-inner::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-mid), transparent 50%, var(--accent-dim));
  z-index: -1;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-primary);
  margin: 14px 0 18px;
}
.cta-inner h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-inner p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-note { margin-top: 18px; font-size: 12px; color: var(--text-muted); }
.cta-note strong { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   BUTTONS  (shared across pages)
   ════════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 12px; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid         { grid-template-columns: 1.1fr 0.9fr; }
  .hero-left         { padding: 85px 40px 80px 2rem; }
  .showcase-inner    { grid-template-columns: 1fr; gap: 48px; }
  .steps-row         { flex-direction: column; max-width: 560px; }
  .step-connector    { display: none; }
}

@media (max-width: 768px) {
  .hero              { min-height: auto; max-height: none; width: 100vw; }
  .hero-grid         { grid-template-columns: 1fr; grid-template-rows: auto 280px; }
  .hero-left         { padding: 85px 1.5rem 40px; }
  .hero-right        { height: 280px; }
  .hero-right::before {
    background: linear-gradient(180deg, var(--bg-primary) 0%, color-mix(in srgb, var(--bg-primary) 30%, transparent) 40%, transparent 100%);
  }
  .hex-badge         { display: none; }
  .hero-scroll       { left: 50%; transform: translateX(-50%); }
  .hero h1           { font-size: clamp(2.2rem, 10vw, 3rem); }
  .stats-inner       { gap: 0; }
  .stat-divider      { display: none; }
  .stat-item         { min-width: 130px; }
  .cta-inner         { padding: 48px 28px; }
  .trust-logos       { gap: 22px; }
  .section-row       { flex-direction: column; align-items: flex-start; }
  .hero-btns         { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { justify-content: center; }
}

@media (max-width: 520px) {
  .courses-row   { grid-template-columns: 1fr 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .hero-left     { padding: 96px 1.25rem 36px; }
  .courses-row   { grid-template-columns: 1fr; }
}