/* =========================================================
   Train Blazer Force — Dark Design System
   ========================================================= */

:root {
  --bg-primary: #050816;
  --bg-secondary: #0B1220;
  --bg-card: #111827;
  --bg-elevated: #151e2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #FFFFFF;
  --text-secondary: #B6C2D9;
  --text-muted: #7B879E;
  --accent-blue: #00A1E0;
  --accent-purple: #7C3AED;
  --accent-green: #22C55E;
  --accent-orange: #F59E0B;
  --accent-red: #EF4444;
  --glow-blue: rgba(0, 161, 224, 0.35);
  --glow-purple: rgba(124, 58, 237, 0.3);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(0, 161, 224, 0.25), 0 12px 40px rgba(0, 161, 224, 0.2);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h: 72px;
  --bottom-nav-h: 68px;
  --container: 1200px;
  --section-pad: clamp(64px, 8vw, 112px);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font) !important;
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: currentColor;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  width: 100%;
}

/* Reset TemplateMo demo rule that clipped text on every <article> */
article {
  -webkit-text-fill-color: currentColor !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  color: #ffffff !important;
  animation: none !important;
}

article p,
article li,
article span:not([class*="badge"]),
article a,
article strong,
article small {
  -webkit-text-fill-color: currentColor !important;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.nav-open,
body.course-sheet-open {
  overflow: hidden;
}

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

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #33b4e8;
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.container-tbf {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0 0 2.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #5ec8f0 0%, #00A1E0 45%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn-tbf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-tbf:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary,
.btn-tbf.btn-primary,
.app-primary-btn,
.hero-primary,
.footer-btn,
.enroll-btn,
a.btn-primary,
a.btn-tbf.btn-primary {
  background: var(--accent-blue) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.3), 0 8px 28px rgba(0, 161, 224, 0.28);
}

.btn-primary:hover,
.btn-tbf.btn-primary:hover,
.app-primary-btn:hover,
.hero-primary:hover,
.footer-btn:hover,
.enroll-btn:hover,
a.btn-primary:hover,
a.btn-tbf.btn-primary:hover {
  background: #0090c8 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.45), 0 12px 36px rgba(0, 161, 224, 0.4);
}

.app-primary-btn:disabled,
.btn.app-primary-btn:disabled,
.app-secondary-btn:disabled,
.btn.app-secondary-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

.app-primary-btn:disabled,
.btn.app-primary-btn:disabled {
  background: rgba(0, 161, 224, 0.35) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.app-primary-btn.is-submitting,
.btn.app-primary-btn.is-submitting {
  opacity: 1 !important;
  background: var(--accent-blue) !important;
  color: #ffffff !important;
  cursor: wait !important;
  pointer-events: none;
}

.btn-ghost,
.btn-tbf.btn-ghost,
.hero-secondary,
.app-secondary-btn,
a.btn-ghost,
a.btn-tbf.btn-ghost {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid var(--border-strong) !important;
}

.btn-ghost:hover,
.btn-tbf.btn-ghost:hover,
.hero-secondary:hover,
.app-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

.btn-glow {
  animation: cta-glow 2.8s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.3), 0 8px 28px rgba(0, 161, 224, 0.25); }
  50% { box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.55), 0 12px 40px rgba(0, 161, 224, 0.45); }
}

/* ---------- Cards ---------- */
.glass-card {
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.course-card,
.why-card,
.trainer-card,
.testimonial-card,
.faq-item,
.offer-banner,
.stat-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  animation: none !important;
}

.why-card h4,
.trainer-card h4,
.feature-card h3,
.stat-card .stat-value,
.stat-card .stat-label,
.offer-banner h3,
.section-title,
.page-hero h1,
.page-hero p,
.testimonial-card strong,
.testimonial-card p,
.why-card p,
.feature-card p {
  color: inherit;
}

.why-card p,
.feature-card p,
.testimonial-card p,
.page-hero p,
.section-lead,
.stat-card .stat-label {
  color: #B6C2D9 !important;
}

.why-card h4,
.trainer-card h4,
.feature-card h3,
.offer-banner h3,
.section-title,
.page-hero h1,
.stat-card .stat-value,
.testimonial-card strong {
  color: #ffffff !important;
}

.feature-card:hover,
.course-card:hover,
.why-card:hover,
.trainer-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(0, 161, 224, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 161, 224, 0.08);
}

.badge-tbf {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #B6C2D9 !important;
}

.badge-green { color: #4ade80 !important; border-color: rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.08); }
.badge-purple { color: #c4b5fd !important; border-color: rgba(124, 58, 237, 0.35); background: rgba(124, 58, 237, 0.12); }
.badge-orange { color: #fbbf24 !important; border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.1); }
.badge-blue { color: #7dd3f0 !important; border-color: rgba(0, 161, 224, 0.35); background: rgba(0, 161, 224, 0.1); }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-blue);
  flex-shrink: 0;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.icon-box.green { color: var(--accent-green); background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.25); }
.icon-box.purple { color: #a78bfa; background: rgba(124, 58, 237, 0.12); border-color: rgba(124, 58, 237, 0.3); }
.icon-box.orange { color: var(--accent-orange); background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.25); }

/* ---------- Navbar ---------- */
.navbar-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.navbar-glass.is-scrolled {
  background: rgba(5, 8, 22, 0.78);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar-inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 992px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1045;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 360px);
  height: 100%;
  z-index: 1050;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}

.nav-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.nav-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.nav-drawer-links a {
  display: block;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
}

.nav-drawer-links a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav-drawer-social {
  display: flex;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.nav-drawer-social a {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}

.nav-drawer-social a:hover {
  color: #fff;
  border-color: var(--accent-blue);
}

.nav-drawer-social svg {
  width: 20px;
  height: 20px;
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  height: var(--bottom-nav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(11, 18, 32, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  min-height: 48px;
}

.bottom-nav a svg {
  width: 20px;
  height: 20px;
}

.bottom-nav a.is-active,
.bottom-nav a:hover {
  color: var(--accent-blue);
}

@media (min-width: 992px) {
  .bottom-nav {
    display: none;
  }
}

/* ---------- Mobile bottom-nav first-visit guide ---------- */
.nav-guide {
  display: none;
}

@media (max-width: 991.98px) {
  .nav-guide:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
  }

  .nav-guide-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 22, 0.72);
    pointer-events: auto;
    animation: navGuideFadeIn 0.28s ease;
  }

  .bottom-nav.nav-guide-active {
    z-index: 1201;
  }

  .bottom-nav a.nav-guide-target {
    position: relative;
    z-index: 2;
    color: var(--accent-blue) !important;
    -webkit-text-fill-color: var(--accent-blue) !important;
    border-radius: 12px;
    background: rgba(0, 161, 224, 0.12);
    box-shadow: 0 0 0 2px rgba(0, 161, 224, 0.55);
    animation: navGuidePulse 1.6s ease-in-out infinite;
  }

  .nav-guide-card {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 1rem);
    max-width: 22rem;
    margin: 0 auto;
    padding: 1.1rem 1.15rem 1rem;
    border-radius: 16px;
    background: var(--bg-elevated);
    border: 1px solid rgba(0, 161, 224, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    color: var(--text-primary);
    pointer-events: auto;
    animation: navGuideSlideUp 0.32s ease;
  }

  .nav-guide-card::after {
    content: "";
    position: absolute;
    left: var(--guide-arrow-x, 50%);
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: var(--bg-elevated);
    border-right: 1px solid rgba(0, 161, 224, 0.35);
    border-bottom: 1px solid rgba(0, 161, 224, 0.35);
    transform: translateX(-50%) rotate(45deg);
  }

  .nav-guide-progress {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-blue);
  }

  .nav-guide-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
  }

  .nav-guide-card p#navGuideDesc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-secondary);
  }

  .nav-guide-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .nav-guide-btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 40px;
  }

  .nav-guide-skip {
    background: transparent;
    color: var(--text-muted);
  }

  .nav-guide-next {
    background: var(--accent-blue);
    color: #fff;
  }

  .nav-guide-next:active {
    background: #0090c8;
  }

  body.nav-guide-open {
    overflow: hidden;
  }
}

@keyframes navGuideFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes navGuidePulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0, 161, 224, 0.45); }
  50% { box-shadow: 0 0 0 4px rgba(0, 161, 224, 0.2); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-guide-backdrop,
  .nav-guide-card,
  .bottom-nav a.nav-guide-target {
    animation: none;
  }
}

main {
  padding-top: var(--nav-h);
  padding-bottom: calc(var(--bottom-nav-h) + 1rem);
}

@media (min-width: 992px) {
  main {
    padding-bottom: 0;
  }
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
  overflow: hidden;
  max-width: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 161, 224, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(124, 58, 237, 0.1), transparent 50%),
    var(--bg-primary);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 100%;
}

.hero-content {
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 34rem;
  margin: 0 0 1.25rem;
}

.hero-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--accent-blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 100%;
}

.hero-actions .btn-tbf,
.hero-actions .btn {
  min-width: 0 !important;
  max-width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.hero-orb {
  width: min(100%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(94, 200, 240, 0.35), transparent 45%),
    radial-gradient(circle at 65% 70%, rgba(124, 58, 237, 0.35), transparent 50%),
    linear-gradient(145deg, #10182a, #0a1020);
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(0, 161, 224, 0.15), inset 0 0 60px rgba(0, 161, 224, 0.08);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.hero-orb-core {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 28px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(0, 161, 224, 0.2);
}

.hero-orb-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.88);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  animation: float-y 4.5s ease-in-out infinite;
}

.float-chip svg {
  width: 16px;
  height: 16px;
}

.float-chip.admin { top: 8%; left: 4%; color: var(--accent-green); animation-delay: 0s; }
.float-chip.dev { top: 18%; right: 4%; color: #a78bfa; animation-delay: 0.6s; }
.float-chip.agent { bottom: 28%; left: 4%; color: var(--accent-blue); animation-delay: 1.1s; }
.float-chip.cloud { top: 48%; right: 4%; color: #7dd3f0; animation-delay: 1.6s; }
.float-chip.projects { bottom: 12%; right: 12%; color: var(--accent-orange); animation-delay: 0.3s; }
.float-chip.interview { bottom: 6%; left: 14%; color: #fbbf24; animation-delay: 2s; }

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
  }

  .hero-visual {
    min-height: 260px;
    margin-inline: auto;
  }

  .hero-orb {
    width: min(78vw, 280px);
  }

  .float-chip {
    font-size: 0.72rem;
    padding: 0.4rem 0.65rem;
    max-width: calc(50% - 0.5rem);
  }

  .float-chip.admin { top: 6%; left: 2%; }
  .float-chip.dev { top: 10%; right: 2%; }
  .float-chip.agent { bottom: 22%; left: 2%; }
  .float-chip.cloud { top: 42%; right: 2%; }
  .float-chip.projects { bottom: 8%; right: 8%; }
  .float-chip.interview { bottom: 4%; left: 10%; }

  .nav-drawer {
    visibility: hidden;
  }

  .nav-drawer.is-open {
    visibility: visible;
  }

  .compact-widget {
    max-width: calc(100vw - 1.5rem);
    right: 0.75rem !important;
    left: auto !important;
  }

  .container-tbf {
    width: 100%;
    padding-inline: 0.875rem;
  }

  .section,
  main,
  .footer-dark,
  #main {
    overflow-x: clip;
    max-width: 100%;
  }

  .why-grid,
  .stats-row,
  .courses-grid,
  .trainers-grid,
  .contact-grid,
  .hero-grid,
  .journey-timeline,
  .offer-banner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .why-card,
  .stat-card,
  .course-card,
  .feature-card,
  .offer-banner,
  .glass-card {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .why-card p,
  .stat-card .stat-label,
  .course-card p,
  .course-card li,
  .feature-card p {
    font-size: 0.8rem !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .wizard-progress {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .wizard-progress-item {
    width: 100%;
    max-width: 100%;
  }

  .program-list-card {
    max-width: 100%;
    min-width: 0;
  }

  .testimonials-track,
  .partners-track {
    animation: none;
  }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .stats-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.stat-card {
  padding: 1.25rem;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.stat-card .icon-box {
  margin: 0 auto 0.75rem;
}

/* ---------- Course cards ---------- */
.courses-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.course-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--bg-card) !important;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.course-card h3 {
  margin: 0;
  font-size: 1.25rem !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.course-card p {
  margin: 0;
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
  font-size: 0.95rem;
}

.course-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.course-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
  font-size: 0.9rem;
}

.course-card li svg {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--accent-blue) !important;
}

.course-card .badge-tbf {
  -webkit-text-fill-color: currentColor !important;
}

.course-card .badge-green { color: #4ade80 !important; -webkit-text-fill-color: #4ade80 !important; }
.course-card .badge-purple { color: #c4b5fd !important; -webkit-text-fill-color: #c4b5fd !important; }
.course-card .badge-orange { color: #fbbf24 !important; -webkit-text-fill-color: #fbbf24 !important; }

.course-card .btn-tbf,
.course-card .btn-primary,
.course-card a.btn-tbf,
.course-card .card-footer-link {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.course-card .card-footer-link {
  color: var(--accent-blue) !important;
  -webkit-text-fill-color: var(--accent-blue) !important;
}

.course-card.accent-green { box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.12); }
.course-card.accent-green:hover { border-color: rgba(34, 197, 94, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.12); }
.course-card.accent-purple { box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12); }
.course-card.accent-purple:hover { border-color: rgba(124, 58, 237, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(124, 58, 237, 0.15); }
.course-card.accent-orange { box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12); }
.course-card.accent-orange:hover { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 158, 11, 0.12); }

.course-card .card-footer-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Offer ---------- */
.offer-banner {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 161, 224, 0.12), rgba(124, 58, 237, 0.1)),
    rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(0, 161, 224, 0.25);
  box-shadow: var(--shadow-glow);
}

@media (min-width: 768px) {
  .offer-banner {
    grid-template-columns: 1fr auto;
  }
}

.offer-banner h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.offer-banner p {
  margin: 0;
  color: var(--text-secondary);
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
  margin-top: 1rem;
}

.offer-price strong {
  font-size: 1.15rem;
  color: var(--accent-blue);
  letter-spacing: -0.02em;
}

.offer-price span {
  color: #ffffff;
  text-decoration: none;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 419px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.why-card {
  padding: 1rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.why-card h4 {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.why-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---------- Timeline ---------- */
.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.journey-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.75rem;
}

.journey-step:last-child {
  padding-bottom: 0;
}

.journey-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 16px rgba(0, 161, 224, 0.35);
  position: relative;
  z-index: 1;
}

.journey-step::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 161, 224, 0.5), rgba(255, 255, 255, 0.06));
}

.journey-step:last-child::before {
  display: none;
}

.journey-copy h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.journey-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .journey-timeline {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .journey-step {
    grid-template-columns: 1fr;
    text-align: center;
    flex: 1;
    padding-bottom: 0;
    padding-top: 0;
  }

  .journey-dot {
    margin: 0 auto 1rem;
  }

  .journey-step::before {
    left: calc(50% + 18px);
    right: calc(-50% + 18px);
    top: 13px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(to right, rgba(0, 161, 224, 0.5), rgba(255, 255, 255, 0.08));
  }
}

/* ---------- Accordion ---------- */
.tbf-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tbf-acc-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tbf-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
}

.tbf-acc-trigger span {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.tbf-acc-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--text-secondary);
}

.tbf-acc-item.is-open .tbf-acc-trigger svg {
  transform: rotate(180deg);
}

.tbf-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.tbf-acc-item.is-open .tbf-acc-panel {
  grid-template-rows: 1fr;
}

.tbf-acc-panel-inner {
  overflow: hidden;
}

.tbf-acc-panel-inner > div {
  padding: 0 1.35rem 1.35rem;
  color: var(--text-secondary);
}

.tbf-acc-panel-inner ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

/* ---------- Trainers ---------- */
.trainers-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trainers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trainer-card {
  padding: 1.5rem;
  text-align: center;
}

.trainer-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid rgba(0, 161, 224, 0.35);
  background: linear-gradient(145deg, #1a2740, #0d1524);
  display: grid;
  place-items: center;
  color: var(--accent-blue);
  font-size: 1.75rem;
  font-weight: 700;
}

.trainer-card h4 {
  margin: 0 0 0.25rem;
}

.trainer-card .role {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.trainer-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.trainer-social a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.trainer-social a:hover {
  color: var(--accent-blue);
  border-color: rgba(0, 161, 224, 0.4);
}

.trainer-social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Testimonials ---------- */
.testimonials-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 1.25rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(340px, 80vw);
  padding: 1.35rem;
  flex-shrink: 0;
  background: rgba(17, 24, 39, 0.9);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 161, 224, 0.15);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent-blue);
}

.testimonial-stars {
  color: var(--accent-orange);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Partners ---------- */
.partners-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  align-items: center;
}

.partner-logo {
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* ---------- FAQ ---------- */
.faq-search {
  margin-bottom: 1.5rem;
}

.faq-search input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
}

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

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.contact-info-card,
.contact-form-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: var(--text-secondary);
  min-width: 0;
  max-width: 100%;
}

.contact-list .icon-box {
  flex-shrink: 0;
}

.contact-list-copy {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-list strong {
  display: block;
  color: #fff;
  margin-bottom: 0.15rem;
}

.contact-list a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form-card label {
  display: block;
  margin-bottom: 1rem;
  min-width: 0;
}

.contact-form-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-card .btn-tbf,
.contact-form-card button[type="submit"] {
  width: 100%;
  max-width: 100%;
}

.map-embed-wrap {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.map-embed {
  display: block;
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  max-width: 100%;
  height: 220px;
  filter: grayscale(0.3) contrast(1.05);
  border: 1px solid var(--border);
}

.contact-alt-link {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-alt-link a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767px) {
  .contact-page,
  .contact-page main,
  .contact-page .section,
  .contact-page .page-hero,
  .contact-page .footer-dark,
  .contact-page .container-tbf {
    max-width: 100%;
    overflow-x: clip;
  }

  .contact-page .page-hero {
    padding: 2.25rem 0 1rem;
  }

  .contact-page .page-hero h1 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .contact-page .section.contact-section {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .contact-grid {
    gap: 1rem;
  }

  .map-embed {
    height: 200px;
  }

  .contact-page .footer-dark {
    padding: 2.5rem 0 calc(var(--bottom-nav-h) + 1.5rem);
  }

  .contact-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-page .footer-links a,
  .contact-page .footer-bottom {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* ---------- Footer ---------- */
.footer-dark {
  background: #04070f;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-dark h6 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.footer-dark p,
.footer-copy {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}

.footer-social a:hover {
  color: var(--accent-blue);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 160px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: #fff;
  padding: 0.65rem 0.9rem;
  font-family: inherit;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* ---------- Compact tracker widget ---------- */
.compact-widget {
  position: fixed !important;
  right: 1rem;
  bottom: calc(var(--bottom-nav-h) + 1rem);
  z-index: 1020;
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: rgba(17, 24, 39, 0.92) !important;
  border: 1px solid var(--border) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

@media (min-width: 992px) {
  .compact-widget {
    bottom: 1.5rem;
  }
}

.compact-widget .tracker-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 161, 224, 0.12);
  color: var(--accent-blue);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.compact-widget .tracker-icon svg {
  width: 18px;
  height: 18px;
}

.compact-widget .widget-count {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.compact-widget .widget-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.compact-widget .widget-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.compact-widget .widget-action-btn {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 0;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ---------- Registration wizard dark restyle ---------- */
.registration-wizard-section {
  background: var(--bg-secondary) !important;
  padding: var(--section-pad) 0 !important;
}

.mobile-app-shell {
  max-width: 920px;
  margin: 0 auto;
}

.wizard-intro .hero-badge,
.hero-badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 161, 224, 0.1);
  border: 1px solid rgba(0, 161, 224, 0.3);
  color: var(--accent-blue);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.wizard-intro h2 {
  color: #fff !important;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.wizard-progress-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border) !important;
  background: #111827 !important;
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
  text-align: left;
  min-height: 48px;
}

.wizard-progress-item strong {
  display: block;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 0.85rem;
}

.wizard-progress-item small {
  color: #7B879E !important;
  -webkit-text-fill-color: #7B879E !important;
  font-size: 0.72rem;
}

.wizard-progress-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 161, 224, 0.15) !important;
  color: #7dd3f0 !important;
  -webkit-text-fill-color: #7dd3f0 !important;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wizard-progress-item.is-active {
  border-color: rgba(0, 161, 224, 0.55) !important;
  background: rgba(0, 161, 224, 0.12) !important;
  box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.2), 0 8px 24px rgba(0, 161, 224, 0.12);
}

.wizard-progress-item.is-active strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.wizard-progress-item.is-active small {
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
}

.wizard-progress-item.is-active .wizard-progress-number,
.wizard-progress-item.is-complete .wizard-progress-number {
  background: #00A1E0 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.wizard-progress-item.is-complete {
  border-color: rgba(34, 197, 94, 0.35) !important;
  background: rgba(34, 197, 94, 0.08) !important;
}

.wizard-progress-item.is-locked {
  opacity: 0.55;
  background: #0B1220 !important;
}

.wizard-panel {
  background: transparent;
}

.wizard-panel-header h3 {
  color: #fff !important;
}

.wizard-panel-header p {
  color: var(--text-secondary) !important;
}

.message-banner {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: none;
}

.message-banner.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.message-banner.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.program-catalog-hero h3 {
  color: #fff !important;
}

.program-catalog-hero p,
.program-eyebrow {
  color: var(--text-secondary) !important;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.program-list-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: #fff;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 72px;
}

.program-list-card:hover {
  border-color: rgba(0, 161, 224, 0.35);
  transform: translateY(-1px);
}

.program-list-card.is-selected {
  /* Keep dark surface — light selected bg made titles invisible under white-text overrides */
  background: rgba(0, 161, 224, 0.12) !important;
  border-color: rgba(0, 161, 224, 0.65) !important;
  box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.25), 0 12px 30px rgba(0, 161, 224, 0.14);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.program-list-card.is-selected .program-list-copy strong,
.program-list-card.is-selected strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.program-list-card.is-selected .program-meta,
.program-list-card.is-selected .program-price {
  color: #a8b3c7 !important;
  -webkit-text-fill-color: #a8b3c7 !important;
}

.program-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 161, 224, 0.12);
  color: var(--accent-blue);
  flex-shrink: 0;
}

.program-icon-career {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
}

.program-icon-interview {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-orange);
}

.program-list-copy {
  flex: 1;
  min-width: 0;
}

.program-list-copy strong {
  display: block;
  margin-bottom: 0.2rem;
}

.program-meta {
  display: flex;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.program-selected-mark {
  opacity: 0;
  color: var(--accent-green);
}

.program-list-card.is-selected .program-selected-mark {
  opacity: 1;
}

.program-chevron {
  color: var(--text-muted);
}

.wizard-hint {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.app-form-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 1.35rem !important;
  box-shadow: none !important;
}

.app-form-card-title {
  color: #fff !important;
}

.app-form-card-subtitle,
.app-form-section-title,
.app-field-label {
  color: var(--text-secondary) !important;
}

.app-form-section-title {
  font-size: 0.95rem !important;
  margin-bottom: 0.85rem !important;
}

.app-form-grid {
  display: grid !important;
  gap: 0.85rem !important;
}

@media (min-width: 700px) {
  .app-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-field-full {
    grid-column: 1 / -1;
  }
}

.app-field input:not(.time-slot-pill-input),
.app-field textarea,
.app-field select,
.app-select select {
  width: 100%;
  min-height: 48px;
  border-radius: 12px !important;
  border: 1px solid var(--border) !important;
  background: var(--bg-secondary) !important;
  color: #fff !important;
  padding: 0.7rem 0.9rem !important;
  font-family: inherit !important;
}

.app-field textarea {
  min-height: 110px;
}

.app-field input::placeholder,
.app-field textarea::placeholder {
  color: var(--text-muted);
}

.status-pill {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #86efac !important;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.mobile-sticky-actions,
.wizard-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.mobile-sticky-actions .btn {
  flex: 1;
  min-width: 0;
}

.wizard-actions .btn {
  flex: 1;
  min-width: 0;
}

.wizard-submit-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 161, 224, 0.35);
  background: rgba(0, 161, 224, 0.12);
  color: #e8f7fc !important;
  -webkit-text-fill-color: #e8f7fc !important;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.wizard-submit-status[hidden] {
  display: none !important;
}

.guidelines-container,
.custom-block,
.custom-block-overlay {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--text-secondary) !important;
  padding: 1.25rem !important;
}

.guidelines-container h5 {
  color: #fff !important;
}

.guidelines-list {
  padding-left: 1.1rem;
}

.guidelines-list li {
  margin-bottom: 0.55rem;
}

.important-note {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fcd34d;
}

.guidelines-accept-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.guidelines-accept-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-secondary);
  cursor: pointer;
}

.guidelines-accept-label input {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-blue);
}

/* Course sheet */
.course-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1060;
}

.course-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1070;
  max-height: 88vh;
  overflow: auto;
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
  border-bottom: 0 !important;
  border-radius: 24px 24px 0 0 !important;
  transform: translateY(110%);
  transition: transform 0.28s ease;
  color: #fff;
}

.course-sheet.is-open {
  transform: translateY(0);
}

.course-sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0.75rem auto 0;
}

.course-sheet-nav {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.course-sheet-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.course-sheet-body {
  padding: 0 1.35rem 1.35rem;
}

.course-sheet-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(0, 161, 224, 0.12);
  color: var(--accent-blue);
  margin-bottom: 0.85rem;
}

.course-sheet-icon.tone-career {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
}

.course-sheet-icon.tone-interview {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-orange);
}

.course-sheet h3 {
  color: #fff !important;
}

.course-sheet-desc,
.course-sheet-features {
  color: var(--text-secondary) !important;
}

.course-sheet-features {
  padding-left: 1.1rem;
}

.course-sheet-pricing {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.course-sheet-pricing small {
  display: block;
  color: var(--text-muted);
}

.course-sheet-pricing strong {
  color: var(--accent-blue);
  font-size: 1.35rem;
}

.course-sheet-footer {
  padding: 1rem 1.35rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--bg-secondary);
}

/* Modal dark */
.modal-content {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: #fff !important;
}

.modal-header,
.modal-footer {
  border-color: var(--border) !important;
}

.modal-title {
  color: #fff !important;
}

.btn-close {
  filter: invert(1);
}

.modal .form-control {
  background: var(--bg-secondary) !important;
  border-color: var(--border) !important;
  color: #fff !important;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.72);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

.loader-overlay[hidden] {
  display: none !important;
}

.loader-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  max-width: 280px;
}

.loader {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-blue);
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0, 161, 224, 0.12), transparent 60%),
    var(--bg-primary);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0;
}

/* Compare table */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.compare-table th {
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-check {
  color: var(--accent-green);
  font-weight: 700;
}

.compare-dash {
  color: var(--text-muted);
}

/* Reveal animation helpers */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Bootstrap overrides that leak light theme */
.navbar,
.site-footer,
.section-bg,
.faq-section,
.contact-section {
  background: transparent !important;
}

body.topics-listing-page,
body.contact-page {
  background: var(--bg-primary);
}

/* Neutralize TemplateMo light leftovers */
.hero-section,
.hero-section .container,
.section-padding {
  color: inherit;
}

.site-footer,
.navbar,
.navbar-brand,
.nav-link {
  color: inherit !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

p {
  color: var(--text-secondary) !important;
}

.mobile-sticky-actions {
  position: sticky;
  bottom: calc(var(--bottom-nav-h) + 0.5rem);
  z-index: 20;
  padding: 0.75rem 0;
  background: linear-gradient(to top, var(--bg-secondary), rgba(11, 18, 32, 0.92));
}

/* Sticky Back / Continue bar — keep dark so labels stay readable */
.wizard-actions.step2-actions,
.wizard-actions.step3-actions,
.step2-actions,
.step3-actions {
  background: rgba(17, 24, 39, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.step2-actions .app-secondary-btn,
.step3-actions .app-secondary-btn,
.step2-actions .btn.app-secondary-btn,
.step3-actions .btn.app-secondary-btn,
#backToStep1,
#backToStep2 {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.step2-actions .app-primary-btn,
.step3-actions .app-primary-btn,
.step2-actions .btn.app-primary-btn,
.step3-actions .btn.app-primary-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Tracker labels must stay visible on the dark pill */
.compact-widget .widget-count {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.compact-widget .widget-label {
  color: #a8b3c7 !important;
  -webkit-text-fill-color: #a8b3c7 !important;
}

@media (min-width: 992px) {
  .mobile-sticky-actions {
    position: static;
    background: transparent;
    padding: 0;
  }
}

.tbf-acc-trigger {
  flex-wrap: wrap;
}

.tbf-acc-trigger > span:first-child {
  flex: 1;
  min-width: 12rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .testimonials-track,
  .partners-track,
  .float-chip,
  .btn-glow {
    animation: none !important;
  }
}

/* Hide old template leftovers if any remain */
.dark-pill {
  display: none !important;
}

/* =========================================================
   GLOBAL CONTRAST FIX — dark theme text visibility
   Prevents TemplateMo light-theme colors / transparent fills
   from making copy invisible on navy backgrounds.
   ========================================================= */
html,
body {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  background-color: #050816 !important;
}

/* Restore fill so color: works normally (except gradient text) */
body *:not(.text-gradient) {
  -webkit-text-fill-color: currentColor;
}

.text-gradient,
.text-gradient * {
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.page-hero h1,
.brand,
.brand span,
.navbar-brand,
.navbar-brand span,
.wizard-intro h2,
.wizard-panel-header h3,
.program-catalog-hero h3,
.app-form-card-title,
.footer-card-title,
.offer-banner h3,
.stat-card .stat-value,
.trainer-card h4,
.why-card h4,
.feature-card h3,
.course-card h3,
.journey-copy h4,
.tbf-acc-trigger,
.contact-form-card h2,
.contact-info-card h2,
.modal-title,
.course-sheet h3,
.program-list-copy strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

p,
li,
.section-lead,
.hero-copy,
.page-hero p,
.footer-copy,
.stat-card .stat-label,
.why-card p,
.feature-card p,
.course-card p,
.course-card li,
.journey-copy p,
.trainer-card .role,
.testimonial-card p,
.testimonial-card .company,
.program-meta,
.program-catalog-hero p,
.wizard-panel-header p,
.wizard-hint,
.app-form-card-subtitle,
.app-field-label,
.app-form-section-title,
.guidelines-container,
.guidelines-list li,
.guidelines-accept-label,
.course-sheet-desc,
.course-sheet-features,
.contact-list li,
.footer-links a,
.footer-bottom,
.partner-logo,
.float-chip,
.hero-meta,
.nav-links a,
.nav-drawer-links a,
.bottom-nav a,
.badge-tbf,
.tbf-acc-panel-inner,
.tbf-acc-panel-inner p,
.tbf-acc-panel-inner li,
.offer-banner p {
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
}

.section-eyebrow,
.hero-badge,
.program-eyebrow {
  color: #7dd3f0 !important;
  -webkit-text-fill-color: #7dd3f0 !important;
}

.badge-green,
.course-card .badge-green { color: #4ade80 !important; -webkit-text-fill-color: #4ade80 !important; }
.badge-purple,
.course-card .badge-purple { color: #c4b5fd !important; -webkit-text-fill-color: #c4b5fd !important; }
.badge-orange,
.course-card .badge-orange { color: #fbbf24 !important; -webkit-text-fill-color: #fbbf24 !important; }
.badge-blue { color: #7dd3f0 !important; -webkit-text-fill-color: #7dd3f0 !important; }

.nav-links a:hover,
.nav-links a.is-active,
.nav-drawer-links a:hover,
.brand:hover,
.footer-links a:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.bottom-nav a.is-active,
.bottom-nav a:hover,
.card-footer-link,
.course-card .card-footer-link {
  color: #00A1E0 !important;
  -webkit-text-fill-color: #00A1E0 !important;
}

.btn-primary,
.btn-tbf.btn-primary,
.app-primary-btn,
.hero-primary,
.footer-btn,
.enroll-btn,
.widget-action-btn,
.nav-cta,
a.btn-primary,
a.btn-tbf.btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.btn-ghost,
.btn-tbf.btn-ghost,
.hero-secondary,
.app-secondary-btn,
a.btn-ghost,
a.btn-tbf.btn-ghost {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

input:not(.time-slot-pill-input),
select,
textarea,
.app-field input:not(.time-slot-pill-input),
.app-field textarea,
.app-field select,
.app-select select,
.faq-search input,
.contact-form-card input,
.contact-form-card textarea,
.newsletter-form input,
.modal .form-control {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #0B1220 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  caret-color: #ffffff;
}

input::placeholder,
textarea::placeholder {
  color: #7B879E !important;
  -webkit-text-fill-color: #7B879E !important;
  opacity: 1;
}

/* Browser autofill (Chrome/Safari/Edge) — keep dark field + white text */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active,
.app-field input:-webkit-autofill,
.app-field textarea:-webkit-autofill,
.app-field select:-webkit-autofill,
.contact-form-card input:-webkit-autofill,
.contact-form-card textarea:-webkit-autofill,
.newsletter-form input:-webkit-autofill,
.modal .form-control:-webkit-autofill,
.faq-search input:-webkit-autofill {
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  caret-color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 0 0 1000px #0B1220 inset !important;
  -webkit-box-shadow: 0 0 0 1000px #0B1220 inset !important;
  background-color: #0B1220 !important;
  background-image: none !important;
  transition: background-color 99999s ease-out 0s, color 99999s ease-out 0s;
}

input:autofill,
textarea:autofill,
select:autofill {
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1000px #0B1220 inset !important;
  background-color: #0B1220 !important;
}

.course-card,
.why-card,
.feature-card,
.trainer-card,
.testimonial-card,
.stat-card,
.offer-banner,
.glass-card,
.app-form-card,
.program-list-card,
.wizard-progress-item,
.tbf-acc-item,
.contact-info-card,
.contact-form-card,
.guidelines-container,
.custom-block,
.custom-block-overlay,
.course-sheet,
.modal-content,
.compact-widget,
.partner-logo,
.float-chip,
.footer-card {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

/* Wizard steppers: keep dark surfaces so white labels stay readable */
.wizard-progress-item {
  background: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.wizard-progress-item.is-active {
  background: rgba(0, 161, 224, 0.14) !important;
  border-color: rgba(0, 161, 224, 0.55) !important;
}

.wizard-progress-item.is-complete {
  background: rgba(34, 197, 94, 0.1) !important;
}

.wizard-progress-item.is-locked {
  background: #0B1220 !important;
}

.wizard-progress-item strong,
.program-list-card strong,
.testimonial-card strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.wizard-progress-item small {
  color: #7B879E !important;
  -webkit-text-fill-color: #7B879E !important;
}

.wizard-progress-item.is-active small {
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
}

.offer-price strong {
  color: #00A1E0 !important;
  -webkit-text-fill-color: #00A1E0 !important;
}

.offer-price span,
.text-muted,
small {
  color: #7B879E !important;
  -webkit-text-fill-color: #7B879E !important;
}

.offer-price span {
  text-decoration: none;
}

.offer-banner .offer-price span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

.important-note {
  color: #fcd34d !important;
  -webkit-text-fill-color: #fcd34d !important;
}

.message-banner.success {
  color: #86efac !important;
  -webkit-text-fill-color: #86efac !important;
}

.message-banner.error {
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
}

.compare-table th {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.compare-table td {
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
}

.compare-check {
  color: #22C55E !important;
  -webkit-text-fill-color: #22C55E !important;
}

.tbf-acc-trigger span {
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
}

.tbf-acc-trigger > span:first-child {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.course-card li svg,
.feature-card li svg {
  color: #00A1E0 !important;
  -webkit-text-fill-color: #00A1E0 !important;
}

.icon-box { color: #00A1E0 !important; }
.icon-box.green { color: #22C55E !important; }
.icon-box.purple { color: #a78bfa !important; }
.icon-box.orange { color: #F59E0B !important; }

.footer-social a,
.nav-drawer-social a,
.trainer-social a {
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
}

.loader-box,
.loader-box p {
  color: #B6C2D9 !important;
  -webkit-text-fill-color: #B6C2D9 !important;
  background: #111827 !important;
}

/* =========================================================
   Courses page — 3 Pathways redesign
   ========================================================= */

.courses-page {
  --pathway-green: #22c55e;
  --pathway-green-soft: rgba(34, 197, 94, 0.14);
  --pathway-purple: #a78bfa;
  --pathway-purple-deep: #7c3aed;
  --pathway-purple-soft: rgba(124, 58, 237, 0.16);
  --pathway-orange: #f59e0b;
  --pathway-orange-soft: rgba(245, 158, 11, 0.14);
  --pathway-blue: #7dd3fc;
}

.pathways-container {
  max-width: 1320px;
}

.pathways-hero {
  padding: 3rem 0 1.25rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 161, 224, 0.14), transparent 65%),
    var(--bg-primary);
}

.pathways-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.pathways-title-line {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.pathways-title-accent {
  color: var(--pathway-blue) !important;
  -webkit-text-fill-color: var(--pathway-blue) !important;
  background: linear-gradient(90deg, #7dd3fc, #00a1e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
}

.pathways-section {
  padding: 0.5rem 0 2.5rem;
}

.pathways-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1100px) {
  .pathways-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
  }
}

.pathway-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  height: 100%;
  padding: 1.25rem 1.15rem 1.2rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(8, 12, 24, 0.98));
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.pathway-green {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(34, 197, 94, 0.12), 0 0 40px rgba(34, 197, 94, 0.08);
}

.pathway-green:hover {
  border-color: rgba(34, 197, 94, 0.7);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4), 0 0 36px rgba(34, 197, 94, 0.18);
}

.pathway-purple {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(124, 58, 237, 0.14), 0 0 40px rgba(124, 58, 237, 0.1);
}

.pathway-purple:hover {
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4), 0 0 36px rgba(124, 58, 237, 0.22);
}

.pathway-orange {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 158, 11, 0.12), 0 0 40px rgba(245, 158, 11, 0.08);
}

.pathway-orange:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4), 0 0 36px rgba(245, 158, 11, 0.18);
}

.pathway-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.pathway-hex {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: rgba(255, 255, 255, 0.04);
}

.pathway-hex svg {
  width: 22px;
  height: 22px;
}

.pathway-green .pathway-hex {
  background: var(--pathway-green-soft);
  color: var(--pathway-green) !important;
}

.pathway-purple .pathway-hex {
  background: var(--pathway-purple-soft);
  color: var(--pathway-purple) !important;
}

.pathway-orange .pathway-hex {
  background: var(--pathway-orange-soft);
  color: var(--pathway-orange) !important;
}

.pathway-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 0.55rem;
  max-width: calc(100% - 56px);
}

.pathway-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e5e7eb !important;
  -webkit-text-fill-color: #e5e7eb !important;
}

.pathway-duration svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.pathway-offer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #04120a !important;
  -webkit-text-fill-color: #04120a !important;
  background: #86efac;
}

.pathway-purple .pathway-offer-badge {
  background: #c4b5fd;
  color: #1e1038 !important;
  -webkit-text-fill-color: #1e1038 !important;
}

.pathway-orange .pathway-offer-badge {
  background: #fbbf24;
  color: #2a1600 !important;
  -webkit-text-fill-color: #2a1600 !important;
}

.pathway-price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  line-height: 1;
}

.pathway-price-old {
  font-size: 0.82rem;
  font-weight: 500;
  color: #7b879e !important;
  -webkit-text-fill-color: #7b879e !important;
  text-decoration: line-through;
}

.pathway-name {
  margin: 0;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.pathway-divider-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.pathway-divider-label::before,
.pathway-divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.pathway-divider-label span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.pathway-green .pathway-divider-label,
.pathway-green .pathway-goal strong,
.pathway-green .pathway-body h3 {
  color: var(--pathway-green) !important;
  -webkit-text-fill-color: var(--pathway-green) !important;
}

.pathway-purple .pathway-divider-label,
.pathway-purple .pathway-goal strong,
.pathway-purple .pathway-body h3 {
  color: var(--pathway-purple) !important;
  -webkit-text-fill-color: var(--pathway-purple) !important;
}

.pathway-orange .pathway-divider-label,
.pathway-orange .pathway-goal strong,
.pathway-orange .pathway-body h3 {
  color: var(--pathway-orange) !important;
  -webkit-text-fill-color: var(--pathway-orange) !important;
}

.pathway-audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem 0.4rem;
}

.pathway-purple .pathway-audience {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pathway-orange .pathway-audience {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathway-audience li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  color: #dbe4f3 !important;
  -webkit-text-fill-color: #dbe4f3 !important;
}

.pathway-audience svg {
  width: 18px;
  height: 18px;
}

.pathway-green .pathway-audience svg { color: var(--pathway-green) !important; }
.pathway-purple .pathway-audience svg { color: var(--pathway-purple) !important; }
.pathway-orange .pathway-audience svg { color: var(--pathway-orange) !important; }

.pathway-goal {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pathway-goal > svg {
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.pathway-green .pathway-goal > svg { color: var(--pathway-green) !important; }
.pathway-purple .pathway-goal > svg { color: var(--pathway-purple) !important; }
.pathway-orange .pathway-goal > svg { color: var(--pathway-orange) !important; }

.pathway-goal strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.pathway-goal p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #e8eef8 !important;
  -webkit-text-fill-color: #e8eef8 !important;
}

.pathway-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 18, 0.55);
  flex: 1;
}

.pathway-green .pathway-body { border-color: rgba(34, 197, 94, 0.28); }
.pathway-purple .pathway-body { border-color: rgba(167, 139, 250, 0.28); }
.pathway-orange .pathway-body { border-color: rgba(245, 158, 11, 0.28); }

.pathway-body h3 {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pathway-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.pathway-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #d5deee !important;
  -webkit-text-fill-color: #d5deee !important;
}

.pathway-body li svg {
  width: 14px;
  height: 14px;
  margin-top: 0.12rem;
  flex-shrink: 0;
}

.pathway-green .pathway-body li svg { color: var(--pathway-green) !important; }
.pathway-purple .pathway-body li svg { color: var(--pathway-purple) !important; }
.pathway-orange .pathway-body li svg { color: var(--pathway-orange) !important; }

.pathway-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.pathway-cta svg {
  width: 18px;
  height: 18px;
}

.pathway-cta:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.pathway-green .pathway-cta {
  background: linear-gradient(135deg, #16a34a, #22c55e 55%, #4ade80);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
}

.pathway-green .pathway-cta:hover {
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.45);
  filter: brightness(1.05);
}

.pathway-purple .pathway-cta {
  background: linear-gradient(135deg, #6d28d9, #7c3aed 50%, #a78bfa);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.38);
}

.pathway-purple .pathway-cta:hover {
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.5);
  filter: brightness(1.05);
}

.pathway-orange .pathway-cta {
  background: linear-gradient(135deg, #d97706, #f59e0b 55%, #fbbf24);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}

.pathway-orange .pathway-cta:hover {
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.45);
  filter: brightness(1.05);
}

.pathways-compare-section {
  padding: 1rem 0 4rem;
}

.pathways-compare-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1100px) {
  .pathways-compare-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
    align-items: start;
    gap: 1.4rem;
  }
}

.pathways-compare-title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.pathways-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(0, 161, 224, 0.28);
  background: rgba(11, 18, 32, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.08), 0 18px 50px rgba(0, 0, 0, 0.3);
  -webkit-overflow-scrolling: touch;
}

.pathways-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.pathways-table th,
.pathways-table td {
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: top;
  font-size: 0.82rem;
  line-height: 1.4;
}

.pathways-table thead th {
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pathways-table thead th:first-child {
  color: var(--pathway-blue) !important;
  -webkit-text-fill-color: var(--pathway-blue) !important;
}

.pathways-table thead th span {
  display: block;
  margin-top: 0.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.pathways-table .col-green {
  color: var(--pathway-green) !important;
  -webkit-text-fill-color: var(--pathway-green) !important;
}

.pathways-table .col-purple {
  color: var(--pathway-purple) !important;
  -webkit-text-fill-color: var(--pathway-purple) !important;
}

.pathways-table .col-orange {
  color: var(--pathway-orange) !important;
  -webkit-text-fill-color: var(--pathway-orange) !important;
}

.pathways-table tbody th {
  width: 18%;
  font-weight: 600;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  white-space: nowrap;
}

.pathways-table tbody th svg {
  width: 14px;
  height: 14px;
  margin-right: 0.35rem;
  vertical-align: -2px;
  color: var(--pathway-blue) !important;
}

.pathways-table tbody td {
  color: #c9d4e8 !important;
  -webkit-text-fill-color: #c9d4e8 !important;
}

.pathways-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.pathways-table tbody tr:hover {
  background: rgba(0, 161, 224, 0.05);
}

.pathways-table tbody tr:last-child th,
.pathways-table tbody tr:last-child td {
  border-bottom: 0;
}

.pathways-table .row-accent td,
.pathways-table .val-green {
  color: var(--pathway-green) !important;
  -webkit-text-fill-color: var(--pathway-green) !important;
  font-weight: 700;
}

.pathways-table .val-purple {
  color: var(--pathway-purple) !important;
  -webkit-text-fill-color: var(--pathway-purple) !important;
  font-weight: 700;
}

.pathways-table .val-orange {
  color: var(--pathway-orange) !important;
  -webkit-text-fill-color: var(--pathway-orange) !important;
  font-weight: 700;
}

.why-choose-panel {
  border-radius: 20px;
  padding: 1.35rem 1.2rem 1.2rem;
  border: 1px solid rgba(0, 161, 224, 0.35);
  background:
    linear-gradient(180deg, rgba(13, 22, 40, 0.98), rgba(7, 12, 24, 0.98));
  box-shadow: 0 0 0 1px rgba(0, 161, 224, 0.08), 0 18px 45px rgba(0, 0, 0, 0.3);
}

.why-choose-title {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.why-choose-title span {
  color: var(--pathway-blue) !important;
  -webkit-text-fill-color: var(--pathway-blue) !important;
}

.why-choose-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.why-choose-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #eef3fb !important;
  -webkit-text-fill-color: #eef3fb !important;
}

.why-choose-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--pathway-blue) !important;
}

.why-choose-footer {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.why-choose-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.why-choose-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
  color: #fbbf24 !important;
  stroke: #fbbf24;
}

.why-choose-slogan {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--pathway-blue) !important;
  -webkit-text-fill-color: var(--pathway-blue) !important;
}

.why-laurel {
  font-size: 1.4rem;
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
  line-height: 1;
}

@media (max-width: 1099px) {
  .pathway-body {
    grid-template-columns: 1fr;
  }

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

  .pathway-purple .pathway-audience,
  .pathway-orange .pathway-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pathways-hero {
    padding: 2.5rem 0 1rem;
  }

  .pathway-card {
    padding: 1.1rem 1rem 1.05rem;
  }

  .pathway-meta {
    max-width: 100%;
    justify-content: flex-start;
  }

  .pathway-card-top {
    flex-direction: column;
  }

  .pathway-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway-price {
    font-size: 1.2rem;
  }

  .why-choose-panel {
    padding: 1.2rem 1rem;
  }
}

/* =========================================================
   Preferred time slot pills (registration form)
   ========================================================= */

#preferredTimeSlotField.app-field {
  gap: 12px;
}

#preferredTimeSlotField .app-field-hint {
  color: var(--text-muted) !important;
  -webkit-text-fill-color: var(--text-muted) !important;
  margin: 0;
}

.time-slot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.time-slot-pill {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  flex: 1 1 calc(50% - 10px);
  min-width: 0;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
}

.time-slot-pill-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  caret-color: transparent !important;
  pointer-events: none;
}

.time-slot-pill-face {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--bg-secondary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--text-secondary) !important;
  -webkit-text-fill-color: var(--text-secondary) !important;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.time-slot-pill-check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.time-slot-pill-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #041018;
  border-width: 0 2px 2px 0;
  transform: scale(0) rotate(45deg);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.time-slot-pill-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.time-slot-pill-start,
.time-slot-pill-end,
.time-slot-pill-sep {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

.time-slot-pill-sep {
  opacity: 0.55;
  font-weight: 500;
}

.time-slot-pill:hover .time-slot-pill-face {
  border-color: rgba(0, 161, 224, 0.45);
  background:
    linear-gradient(180deg, rgba(0, 161, 224, 0.12), rgba(0, 161, 224, 0.04)),
    var(--bg-elevated);
  transform: translateY(-1px);
}

.time-slot-pill:active .time-slot-pill-face {
  transform: translateY(0) scale(0.985);
}

.time-slot-pill.is-selected .time-slot-pill-face,
.time-slot-pill-input:checked + .time-slot-pill-face {
  border-color: rgba(0, 161, 224, 0.85);
  background:
    linear-gradient(135deg, rgba(0, 161, 224, 0.28), rgba(124, 58, 237, 0.16)),
    #0d1a2d;
  box-shadow:
    0 0 0 1px rgba(0, 161, 224, 0.25),
    0 10px 28px rgba(0, 161, 224, 0.18);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.time-slot-pill.is-selected .time-slot-pill-check,
.time-slot-pill-input:checked + .time-slot-pill-face .time-slot-pill-check {
  border-color: transparent;
  background: linear-gradient(135deg, #00A1E0, #38bdf8);
  box-shadow: 0 0 12px rgba(0, 161, 224, 0.55);
}

.time-slot-pill.is-selected .time-slot-pill-check::after,
.time-slot-pill-input:checked + .time-slot-pill-face .time-slot-pill-check::after {
  opacity: 1;
  transform: scale(1) rotate(45deg);
}

.time-slot-pill-input:focus-visible + .time-slot-pill-face {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

@media (max-width: 419px) {
  .time-slot-pill {
    flex: 1 1 100%;
  }

  .time-slot-pill-face {
    border-radius: 16px;
    min-height: 46px;
    padding: 11px 14px;
  }

  .time-slot-pill-text {
    font-size: 0.9rem;
  }
}

@media (min-width: 720px) {
  .time-slot-pills {
    gap: 12px;
  }

  .time-slot-pill {
    flex: 0 1 calc(33.333% - 12px);
  }

  .time-slot-pill-face {
    min-height: 50px;
    padding: 11px 16px;
  }

  .time-slot-pill-text {
    font-size: 0.9rem;
  }
}

@media (min-width: 992px) {
  .time-slot-pill {
    flex: 0 1 calc(25% - 12px);
  }
}
