/* ========================================================================
   LEARNDRIVE BUSINESS — design tokens
   ======================================================================== */
:root {
  /* Brand */
  --purple: #5B2EE5;
  --purple-700: #4A20C9;
  --purple-300: #8B6BF0;
  --coral: #FF6B47;
  --coral-700: #E5512F;
  --pink: #EC4899;
  --lavender: #F3F0FF;
  --lavender-200: #E8E0FF;

  /* Surface */
  --ink: #0F0B1E;
  --ink-2: #2A2440;
  --muted: #6B6884;
  --line: #E8E5F0;
  --bg: #FFFFFF;
  --bg-soft: #FAF8FF;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #5B2EE5 0%, #7C3AED 35%, #EC4899 100%);
  --grad-hero-mesh:
    radial-gradient(at 12% 18%, rgba(236, 72, 153, 0.55) 0%, transparent 45%),
    radial-gradient(at 88% 22%, rgba(255, 107, 71, 0.45) 0%, transparent 42%),
    radial-gradient(at 62% 88%, rgba(124, 58, 237, 0.65) 0%, transparent 50%),
    linear-gradient(135deg, #5B2EE5 0%, #4A20C9 100%);
  --grad-coral: linear-gradient(135deg, #FF6B47 0%, #EC4899 100%);
  --grad-soft: linear-gradient(135deg, #F3F0FF 0%, #FFE8E0 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(91, 46, 229, 0.06);
  --sh-md: 0 8px 24px rgba(91, 46, 229, 0.08);
  --sh-lg: 0 24px 60px rgba(91, 46, 229, 0.14);
  --sh-coral: 0 14px 30px rgba(255, 107, 71, 0.35);
  --sh-purple: 0 14px 30px rgba(91, 46, 229, 0.35);

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(64px, 9vw, 120px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ========================================================================
   Layout primitives
   ======================================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: var(--section-y) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--lavender { background: var(--lavender); }
.section--ink { background: var(--ink); color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 6px 14px;
  background: var(--lavender);
  border-radius: var(--r-pill);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; }
h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; }
h3 { font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
h4 { font-weight: 600; font-size: 18px; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.6; }

/* ========================================================================
   Buttons
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--coral { background: var(--coral); color: #fff; box-shadow: var(--sh-coral); }
.btn--coral:hover { background: var(--coral-700); }
.btn--purple { background: var(--purple); color: #fff; box-shadow: var(--sh-purple); }
.btn--purple:hover { background: var(--purple-700); }
.btn--ghost { background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.22); }
.btn--ghost:hover { background: rgba(255,255,255,0.18); }
.btn--outline { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn--outline:hover { background: var(--lavender); }
.btn--link { background: transparent; color: var(--purple); padding: 0; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ========================================================================
   NAV
   ======================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px;
  color: var(--ink);
}
.nav__brand-mark {
  width: 36px; height: 36px;
  background: var(--grad-hero);
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: var(--sh-purple);
}
.nav__brand-mark span { transform: skew(-8deg); }
.nav__brand-tag {
  font-size: 11px; font-weight: 600;
  background: var(--lavender);
  color: var(--purple);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.nav__links {
  display: flex; gap: 32px; align-items: center;
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-2);
}
.nav__link { display: inline-flex; align-items: center; gap: 4px; transition: color .15s ease; }
.nav__link:hover { color: var(--purple); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__signin { font-weight: 500; color: var(--ink-2); }
.nav__signin:hover { color: var(--purple); }

@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative;
  background: var(--grad-hero-mesh);
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0 clamp(80px, 12vw, 160px);
}
.hero__bg-shapes {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.hero__blob--1 { width: 360px; height: 360px; background: var(--coral); top: -80px; right: -60px; }
.hero__blob--2 { width: 280px; height: 280px; background: var(--pink); bottom: -60px; left: 8%; }
.hero__blob--3 { width: 220px; height: 220px; background: #fff; opacity: 0.18; top: 40%; left: 50%; }

.hero__dots {
  position: absolute;
  width: 180px; height: 180px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.35) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.5;
}
.hero__dots--tl { top: 60px; left: 4%; }
.hero__dots--br { bottom: 60px; right: 4%; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.hero__eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero h1 {
  color: #fff;
  margin-bottom: 22px;
}
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(180deg, transparent 60%, rgba(255,107,71,0.55) 60%);
  padding: 0 4px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #FF6B47 0%, #FFD8A8 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__meta {
  display: flex; gap: 26px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta-item .tick {
  width: 18px; height: 18px;
  background: #4ade80;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink); font-size: 11px; font-weight: 700;
}

/* Hero product card */
.hero__product {
  position: relative;
}
.dashboard {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: 0 40px 80px rgba(15, 11, 30, 0.4);
  overflow: hidden;
  color: var(--ink);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.dashboard__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: #F6F4FB;
  border-bottom: 1px solid var(--line);
}
.dashboard__bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dashboard__bar .dot:nth-child(1) { background: #FF5F57; }
.dashboard__bar .dot:nth-child(2) { background: #FEBC2E; }
.dashboard__bar .dot:nth-child(3) { background: #28C840; }
.dashboard__bar .url {
  margin-left: 14px;
  font-size: 11px; color: var(--muted);
  background: #fff;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.dashboard__body { padding: 20px; }
.dashboard__greeting {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.dashboard__greeting h4 { font-size: 17px; }
.dashboard__greeting span { font-size: 12px; color: var(--muted); }
.dashboard__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-coral);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.dashboard__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 16px;
}
.dashboard__stat {
  background: var(--lavender);
  border-radius: var(--r-md);
  padding: 12px;
}
.dashboard__stat .v { font-size: 18px; font-weight: 700; color: var(--purple); }
.dashboard__stat .l { font-size: 10px; color: var(--muted); font-weight: 500; }
.dashboard__course {
  background: linear-gradient(135deg, #5B2EE5 0%, #7C3AED 100%);
  border-radius: var(--r-md);
  padding: 16px;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.dashboard__course::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(236, 72, 153, 0.4), transparent 50%);
}
.dashboard__course .title { font-weight: 600; font-size: 14px; margin-bottom: 8px; position: relative; }
.dashboard__course .progress { height: 5px; background: rgba(255,255,255,0.2); border-radius: var(--r-pill); position: relative; overflow: hidden; }
.dashboard__course .progress::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 68%; background: linear-gradient(90deg, #FF6B47, #FFD8A8);
  border-radius: var(--r-pill);
}
.dashboard__course .meta { font-size: 11px; color: rgba(255,255,255,0.8); margin-top: 6px; position: relative; }
.dashboard__row {
  display: flex; gap: 8px; align-items: center;
  background: #F8F7FC; padding: 10px 12px; border-radius: var(--r-md);
  font-size: 12px; margin-bottom: 8px;
}
.dashboard__row .ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px; color: #fff;
}
.dashboard__row .ico--coral { background: var(--coral); }
.dashboard__row .ico--pink { background: var(--pink); }
.dashboard__row .ico--purple { background: var(--purple); }
.dashboard__row .label { flex: 1; font-weight: 500; color: var(--ink-2); }
.dashboard__row .tag {
  font-size: 10px; padding: 3px 8px; border-radius: var(--r-pill);
  background: #E0F7E9; color: #1F8A5B; font-weight: 600;
}
.dashboard__row .tag--pend { background: #FFF4E0; color: #B8770B; }

/* Floating cards next to dashboard */
.hero__float {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--sh-lg);
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.hero__float--cert {
  bottom: -20px; left: -30px;
  animation: float1 6s ease-in-out infinite;
}
.hero__float--rating {
  top: 30%; right: -28px;
  animation: float2 7s ease-in-out infinite;
}
@keyframes float1 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.hero__float .badge {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.hero__float .badge--gold { background: linear-gradient(135deg, #FFD700, #FF9500); }
.hero__float .badge--purple { background: var(--purple); }
.hero__float small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__product { max-width: 480px; margin: 0 auto; }
  .dashboard { transform: none; }
}

/* ========================================================================
   TRUST STRIP
   ======================================================================== */
.trust {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust__inner {
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap; justify-content: space-between;
}
.trust__label {
  font-size: 13px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.trust__logos {
  display: flex; align-items: center; gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
  flex: 1; justify-content: center;
}
.trust__logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity .2s ease;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.01em;
}
.trust__logo:hover { opacity: 1; }
.trust__logo .lg-mark {
  width: 22px; height: 22px;
  display: inline-block;
}

/* ========================================================================
   STATS BAR
   ======================================================================== */
.stats-bar {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
  border-radius: var(--r-xl);
  margin: 0 var(--gutter);
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}
.stats-bar__wrap {
  max-width: calc(var(--max-w) - 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stats-bar::before {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(91,46,229,0.5), transparent 70%);
  border-radius: 50%;
  top: -100px; left: -50px;
}
.stats-bar::after {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,71,0.35), transparent 70%);
  border-radius: 50%;
  bottom: -120px; right: -60px;
}
.stat {
  display: flex; flex-direction: column; gap: 4px;
}
.stat__v {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #C4B5FD 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat__v sup { font-size: 0.55em; vertical-align: super; font-weight: 600; color: var(--coral); -webkit-text-fill-color: var(--coral); }
.stat__l {
  font-size: 14px; color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.stat__d {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--coral);
  font-weight: 600;
  margin-top: 4px;
}
@media (max-width: 780px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ========================================================================
   SHOWCASE (Effortless Training Delivery)
   ======================================================================== */
.showcase__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.showcase__visual {
  position: relative;
}
.showcase__visual-wrap {
  position: relative;
  background: var(--grad-soft);
  border-radius: var(--r-xl);
  padding: 40px;
  aspect-ratio: 4/3.4;
  overflow: hidden;
}
.showcase__visual-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 80%, rgba(91,46,229,0.1), transparent 60%);
}
.laptop {
  position: relative;
  background: var(--ink);
  border-radius: 12px 12px 4px 4px;
  padding: 8px 8px 0;
  box-shadow: 0 30px 60px rgba(15,11,30,0.25);
  z-index: 1;
}
.laptop__screen {
  background: #fff;
  border-radius: 6px;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.laptop__nav {
  background: var(--purple);
  color: #fff;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600;
}
.laptop__content {
  flex: 1;
  background: linear-gradient(180deg, #FFF 0%, #FAF8FF 100%);
  padding: 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.laptop__video {
  background: linear-gradient(135deg, #5B2EE5, #EC4899);
  border-radius: 8px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.laptop__video::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,107,71,0.5), transparent 50%);
}
.laptop__play {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.95); display: grid; place-items: center;
  position: relative;
  font-size: 16px; color: var(--purple);
}
.laptop__sidebar { display: flex; flex-direction: column; gap: 8px; }
.laptop__bar {
  background: #F3F0FF;
  border-radius: 4px;
  height: 14px;
  position: relative;
}
.laptop__bar.fill { background: linear-gradient(90deg, var(--purple), var(--pink)); width: 60%; }
.laptop__bar.short { width: 70%; }
.laptop__bar.shorter { width: 40%; }
.laptop__kbd {
  height: 8px;
  background: linear-gradient(180deg, #2A2440, #1A1530);
  border-radius: 0 0 6px 6px;
  margin-top: 4px;
}

.phone {
  position: absolute;
  width: 130px;
  bottom: -10px; right: -10px;
  background: var(--ink);
  border-radius: 22px;
  padding: 6px;
  box-shadow: 0 20px 40px rgba(15,11,30,0.3);
  z-index: 2;
}
.phone__screen {
  background: #fff;
  border-radius: 16px;
  aspect-ratio: 9/16;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.phone__notch {
  width: 50px; height: 5px; background: var(--ink);
  border-radius: 3px; margin: 0 auto 6px;
}
.phone__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-hero);
  margin: 0 auto 4px;
  display: grid; place-items: center;
  color: #fff; font-weight: 700;
}
.phone__name {
  font-size: 10px; font-weight: 600; text-align: center;
  color: var(--ink);
}
.phone__role { font-size: 8px; color: var(--muted); text-align: center; }
.phone__chip {
  background: var(--lavender);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 500;
  color: var(--ink-2);
}
.phone__chip .d { width: 16px; height: 16px; border-radius: 4px; background: var(--purple); }
.phone__chip .d.c2 { background: var(--coral); }
.phone__chip .d.c3 { background: var(--pink); }

.showcase__visual-shape {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 20px;
  background: var(--coral);
  top: 20px; right: 30px;
  transform: rotate(15deg);
  box-shadow: var(--sh-coral);
  z-index: 0;
}
.showcase__visual-circle {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--pink);
  bottom: 60px; left: 20px;
  z-index: 0;
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.3);
}

.showcase__features {
  display: grid; gap: 20px;
  margin-top: 32px;
}
.feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px;
  border-radius: var(--r-md);
  transition: background .15s ease;
}
.feat:hover { background: var(--bg-soft); }
.feat__ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
}
.feat__ico--purple { background: var(--purple); }
.feat__ico--coral { background: var(--coral); }
.feat__ico--pink { background: var(--pink); }
.feat__ico--ink { background: var(--ink); }
.feat h4 { margin-bottom: 4px; }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.55; }

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

/* ========================================================================
   CASE STUDY
   ======================================================================== */
.case {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.case::before {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,46,229,0.4), transparent 60%);
  border-radius: 50%;
  top: -200px; right: -200px;
}
.case::after {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.3), transparent 60%);
  border-radius: 50%;
  bottom: -150px; left: -150px;
}
.case__grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative; z-index: 1;
}
.case__copy h2 { color: #fff; margin-bottom: 18px; }
.case__copy h2 em { color: var(--coral); font-style: normal; }
.case__copy p { color: rgba(255,255,255,0.78); margin-bottom: 18px; font-size: 16px; }
.case__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 32px;
}
.case__metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 18px;
}
.case__metric .v {
  font-size: 28px; font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
}
.case__metric .l {
  font-size: 12px; color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.case__visual {
  background: linear-gradient(135deg, #4A20C9, #EC4899);
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.case__quote {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.case__quote::before {
  content: '"';
  display: block;
  font-size: 80px;
  line-height: 0.5;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.case__author { display: flex; align-items: center; gap: 12px; }
.case__author-pic {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #FFD8A8, #FF6B47);
  display: grid; place-items: center;
  color: #fff; font-weight: 700;
  border: 2px solid rgba(255,255,255,0.3);
}
.case__author-name { font-weight: 600; }
.case__author-role { font-size: 12px; color: rgba(255,255,255,0.7); }
.case__chip {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .case__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   COURSES CATALOG
   ======================================================================== */
.section__header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section__header .meta { max-width: 580px; }
.section__header .eyebrow { margin-bottom: 16px; }
.section__header h2 em { font-style: normal; color: var(--purple); }

.tabs {
  display: flex; gap: 6px;
  margin-bottom: 36px;
  background: var(--lavender);
  padding: 6px;
  border-radius: var(--r-pill);
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .2s ease;
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--purple); }
.tab--active { background: #fff; color: var(--purple); box-shadow: var(--sh-sm); }
.tab .count {
  font-size: 11px; padding: 1px 8px;
  background: var(--lavender-200); color: var(--purple);
  border-radius: var(--r-pill);
  font-weight: 600;
}
.tab--active .count { background: var(--lavender); }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
/* Respect the [hidden] attribute set by the tab script.
   Without this, display:grid above overrides the browser default
   [hidden]{display:none}, so every panel stays visible. */
.course-grid[hidden],
.course-panel[hidden] {
  display: none;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--lavender-200);
}
.course-card__cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  color: #fff;
}
.course-card__cover svg {
  position: relative;
  width: 70px; height: 70px;
  opacity: 0.92;
}
.course-card__cover::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2), transparent 50%);
}
.course-card__chip {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  z-index: 1;
}
.course-card__time {
  position: absolute;
  bottom: 12px; right: 12px;
  font-size: 11px; font-weight: 600;
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 4px;
  z-index: 1;
}
.course-card__body {
  padding: 20px;
  display: flex; flex-direction: column; flex: 1;
}
.course-card__title {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--ink);
}
.course-card__author {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.course-card__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--muted);
  margin-bottom: 16px;
}
.course-card__meta .star { color: #FFA500; }
.course-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.course-card__price {
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}
.course-card__price small { font-size: 11px; color: var(--muted); font-weight: 500; }
.course-card__cta {
  font-size: 13px; font-weight: 600;
  color: var(--purple);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .15s ease;
}
.course-card:hover .course-card__cta { gap: 10px; }

/* category background gradients */
.gradient--compliance { background: linear-gradient(135deg, #5B2EE5 0%, #7C3AED 100%); }
.gradient--office { background: linear-gradient(135deg, #FF6B47 0%, #EC4899 100%); }
.gradient--soft { background: linear-gradient(135deg, #EC4899 0%, #5B2EE5 100%); }
.gradient--business { background: linear-gradient(135deg, #0F172A 0%, #5B2EE5 100%); }
.gradient--safety { background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%); }
.gradient--it { background: linear-gradient(135deg, #06B6D4 0%, #5B2EE5 100%); }

.course-view-all {
  display: flex; justify-content: center; margin-top: 40px;
}

/* ========================================================================
   PRICING
   ======================================================================== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
}
.plan--featured::before {
  content: ''; position: absolute;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(236,72,153,0.5), transparent 60%);
  border-radius: 50%;
  top: -100px; right: -100px;
}
.plan--featured::after {
  content: ''; position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(91,46,229,0.55), transparent 60%);
  border-radius: 50%;
  bottom: -80px; left: -80px;
}
.plan__badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}
.plan__name {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
  position: relative;
}
.plan--featured .plan__name { color: var(--coral); }
.plan__tagline {
  font-size: 14px; color: var(--muted);
  margin-bottom: 24px;
  position: relative;
}
.plan--featured .plan__tagline { color: rgba(255,255,255,0.7); }
.plan__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
  position: relative;
}
.plan__price .v {
  font-size: 44px; font-weight: 700; line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.plan--featured .plan__price .v { color: #fff; }
.plan__price .u { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan--featured .plan__price .u { color: rgba(255,255,255,0.7); }
.plan__per { font-size: 13px; color: var(--muted); margin-bottom: 24px; position: relative; }
.plan--featured .plan__per { color: rgba(255,255,255,0.7); }
.plan__cta { margin-bottom: 24px; position: relative; }
.plan__features {
  display: grid; gap: 12px;
  position: relative;
  font-size: 14px;
}
.plan__feature {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink-2);
}
.plan--featured .plan__feature { color: rgba(255,255,255,0.88); }
.plan__feature .tick {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  margin-top: 1px;
}
.plan--featured .plan__feature .tick { background: rgba(236, 72, 153, 0.25); color: #fff; }
.plan__divider {
  border-top: 1px dashed var(--line);
  margin: 16px 0;
  position: relative;
}
.plan--featured .plan__divider { border-color: rgba(255,255,255,0.15); }

@media (max-width: 960px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Quote callout */
.quote-cta {
  margin-top: 56px;
  background: var(--lavender);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.quote-cta h3 { color: var(--ink); margin-bottom: 8px; }
.quote-cta p { color: var(--ink-2); font-size: 15px; max-width: 540px; }
@media (max-width: 720px) {
  .quote-cta { grid-template-columns: 1fr; }
}

/* ========================================================================
   REVIEWS
   ======================================================================== */
.reviews__head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: end;
}
.reviews__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 24px;
}
.reviews__stat {
  background: #fff;
  border-radius: var(--r-md);
  padding: 18px;
  border: 1px solid var(--line);
}
.reviews__stat .v {
  font-size: 28px; font-weight: 700; color: var(--purple);
  line-height: 1; margin-bottom: 4px;
}
.reviews__stat .l { font-size: 13px; color: var(--muted); font-weight: 500; }

.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.review--featured {
  background: var(--grad-hero);
  color: #fff;
  border-color: transparent;
}
.review__stars {
  color: #FFB800;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review--featured .review__stars { color: #FFD8A8; }
.review__text {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 24px;
  font-weight: 500;
}
.review--featured .review__text { color: rgba(255,255,255,0.95); }
.review__author {
  display: flex; align-items: center; gap: 12px;
}
.review__pic {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.review__name { font-weight: 600; font-size: 14px; }
.review__role { font-size: 12px; color: var(--muted); }
.review--featured .review__role { color: rgba(255,255,255,0.75); }
@media (max-width: 900px) {
  .reviews__head, .reviews__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   FAQ
   ======================================================================== */
.faq__grid {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 80px);
}
.faq__intro { position: sticky; top: 110px; align-self: start; }
.faq__intro h2 { margin-bottom: 14px; }
.faq__intro p { color: var(--muted); margin-bottom: 20px; }
.faq__contact {
  background: var(--lavender);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-top: 24px;
}
.faq__contact h4 { margin-bottom: 6px; color: var(--purple); }
.faq__contact p { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }

.faq__list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  padding: 22px 4px;
  font-size: 16px; font-weight: 600;
  color: var(--ink);
  transition: color .15s ease;
}
.faq__q:hover { color: var(--purple); }
.faq__plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 700;
  transition: transform .25s ease, background .15s ease, color .15s ease;
}
.faq__item--open .faq__plus {
  transform: rotate(45deg);
  background: var(--purple);
  color: #fff;
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq__item--open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p {
  padding: 0 4px 24px 4px;
  font-size: 15px; color: var(--ink-2); line-height: 1.65;
  max-width: 720px;
}
@media (max-width: 880px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* ========================================================================
   FINAL CTA
   ======================================================================== */
.final-cta {
  position: relative;
  border-radius: var(--r-xl);
  margin: 0 var(--gutter) calc(var(--section-y) * 0.6);
  padding: clamp(56px, 8vw, 96px);
  background: var(--grad-hero-mesh);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  background: var(--coral); border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
  top: -100px; left: -50px;
}
.final-cta::after {
  content: ''; position: absolute;
  width: 280px; height: 280px;
  background: var(--pink); border-radius: 50%;
  filter: blur(80px); opacity: 0.45;
  bottom: -100px; right: -50px;
}
.final-cta__inner { position: relative; max-width: 740px; margin: 0 auto; }
.final-cta h2 { color: #fff; margin-bottom: 18px; }
.final-cta p { color: rgba(255,255,255,0.88); font-size: 17px; margin-bottom: 32px; }
.final-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta__note { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,0.7); }

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer { background: var(--ink); color: #fff; padding: 80px 0 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand-mark {
  width: 44px; height: 44px;
  background: var(--grad-hero);
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 20px;
  margin-bottom: 16px;
}
.footer__brand-mark span { transform: skew(-8deg); }
.footer__about {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6;
  margin-bottom: 24px; max-width: 280px;
}
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 14px;
  transition: background .15s ease;
}
.footer__social:hover { background: var(--purple); }
.footer__col h5 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 18px; color: rgba(255,255,255,0.8);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .15s ease;
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================================================
   Sticky bottom CTA bar
   ======================================================================== */
.sticky-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 40;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 22px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: 0 20px 50px rgba(15,11,30,0.35);
  transition: transform .35s ease;
  max-width: calc(100% - 32px);
}
.sticky-bar--visible { transform: translateX(-50%) translateY(0); }
.sticky-bar__text { font-size: 14px; font-weight: 500; }
.sticky-bar__text strong { font-weight: 700; color: var(--coral); }
@media (max-width: 600px) {
  .sticky-bar { font-size: 12px; padding: 6px 6px 6px 16px; gap: 10px; }
  .sticky-bar .btn { padding: 10px 18px; font-size: 13px; }
}

/* ========================================================================
   ============================================================
   MOBILE RESPONSIVE — Hamburger + comprehensive breakpoints
   ============================================================
   Breakpoints used:
     ≤ 1024px  large tablet
     ≤  880px  hamburger appears, nav collapses
     ≤  768px  tablet → mobile
     ≤  600px  phone
     ≤  420px  small phone
   ======================================================================== */

/* ---------- Hamburger button (hidden on desktop) ---------- */
.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lavender);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: background .2s ease;
}
.nav__toggle:hover { background: var(--lavender-200); }
.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.nav__toggle--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile drawer ---------- */
.nav__drawer {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(15, 11, 30, 0.08);
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  z-index: 49;
  visibility: hidden;
}
.nav__drawer--open {
  transform: translateY(0);
  visibility: visible;
}
.nav__drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 28px;
  gap: 4px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav__drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
}
.nav__drawer-link::after {
  content: '›';
  font-size: 22px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1;
}
.nav__drawer-link:hover,
.nav__drawer-link:focus {
  background: var(--lavender);
  color: var(--purple);
}
.nav__drawer-link--muted {
  color: var(--ink-2);
  font-weight: 500;
}
.nav__drawer-divider {
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}
.nav__drawer-cta {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 22px;
}
.nav__drawer-cta::after { content: none; }

/* ---------- Backdrop ---------- */
.nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 30, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 48;
}
.nav__backdrop--visible {
  opacity: 1;
  visibility: visible;
}

/* Prevent background scroll when drawer is open */
body.nav-open { overflow: hidden; }

/* ====================================================================
   ≤ 1024px — large tablets
   ==================================================================== */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
  }
}

/* ====================================================================
   ≤ 880px — show hamburger, hide inline nav
   ==================================================================== */
@media (max-width: 880px) {
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { height: 68px; }
  .nav__drawer { top: 68px; max-height: calc(100vh - 68px); }
  .nav__brand img { max-height: 36px; width: auto; }
}

/* ====================================================================
   ≤ 768px — tablet → phone
   ==================================================================== */
@media (max-width: 768px) {
  /* Headings: tighter scale */
  h1 { font-size: clamp(32px, 8.5vw, 44px); }
  h2 { font-size: clamp(26px, 6.5vw, 36px); }

  /* HERO — pull padding & spacing in */
  .hero { padding: 56px 0 80px; }
  .hero__copy { max-width: 100%; }
  .hero__eyebrow { font-size: 12px; padding: 7px 14px; margin-bottom: 20px; }
  .hero__sub { font-size: 15.5px; margin-bottom: 26px; }
  .hero__actions { gap: 10px; margin-bottom: 28px; }
  .hero__actions .btn { flex: 1 1 auto; min-width: 0; }
  .hero__meta { gap: 14px 20px; font-size: 12.5px; }

  /* Pull the floating cards in so they don't overlap viewport edges */
  .hero__float--cert { left: 8px; bottom: -14px; padding: 10px 14px; font-size: 12px; }
  .hero__float--rating { right: 8px; top: 18%; padding: 10px 14px; font-size: 12px; }
  .hero__float .badge { width: 30px; height: 30px; }
  .hero__float small { font-size: 10px; }

  /* Hero product card */
  .hero__product { max-width: 100%; padding: 0 8px; }

  /* TRUST */
  .trust__inner { gap: 24px; }
  .trust__logos { gap: 24px 32px; }
  .trust__logo { font-size: 15px; }

  /* STATS BAR — ease the inner padding & corner radius on phones */
  .stats-bar { margin: 0 16px; padding: 40px 0; border-radius: var(--r-lg); }
  .stats-bar__grid { gap: 24px; }
  .stat__l { font-size: 13px; }
  .stat__d { font-size: 11px; }

  /* SHOWCASE — single column on tablet already handled at 980 */
  .showcase__visual-wrap { padding: 28px; aspect-ratio: 4/3.2; }
  .phone { width: 110px; bottom: -6px; right: -4px; }
  .showcase__features { gap: 14px; margin-top: 24px; }
  .feat { padding: 12px; gap: 12px; }
  .feat__ico { width: 38px; height: 38px; }
  .feat h4 { font-size: 16px; }
  .feat p { font-size: 13.5px; }

  /* CASE STUDY */
  .case { padding: 36px 24px; }
  .case__metrics { grid-template-columns: 1fr; gap: 10px; margin: 22px 0 26px; }
  .case__metric { padding: 14px 16px; display: flex; align-items: baseline; gap: 14px; }
  .case__metric .v { font-size: 24px; margin-bottom: 0; }
  .case__metric .l { font-size: 13px; }
  .case__visual { padding: 26px; }
  .case__chip {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
  }
  .case__quote { font-size: 16.5px; }
  .case__quote::before { font-size: 64px; }

  /* COURSES */
  .section__header { margin-bottom: 28px; }
  .section__header > .btn { width: 100%; justify-content: center; }
  .tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: var(--r-pill);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 9px 16px; font-size: 13.5px; flex-shrink: 0; }
  .course-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
  .course-card__body { padding: 16px; }
  .course-card__title { font-size: 16px; }

  /* PRICING quote-cta */
  .quote-cta { padding: 24px; }
  .quote-cta form { min-width: 0 !important; width: 100%; }
  .quote-cta form > div { grid-template-columns: 1fr !important; }
  .quote-cta input, .quote-cta select, .quote-cta button { width: 100%; }

  /* REVIEWS */
  .reviews__head { gap: 28px; margin-bottom: 32px; }
  .reviews__stats { gap: 12px; }
  .reviews__stat { padding: 14px; }
  .reviews__stat .v { font-size: 22px; }
  .reviews__stat .l { font-size: 12px; }
  .review { padding: 22px; }

  /* FAQ */
  .faq__q { font-size: 15px; padding: 18px 4px; gap: 12px; }
  .faq__a p { font-size: 14px; padding-bottom: 20px; }

  /* FINAL CTA */
  .final-cta {
    margin: 0 16px calc(var(--section-y) * 0.5);
    padding: 48px 24px;
    border-radius: var(--r-lg);
  }
  .final-cta h2 { font-size: clamp(24px, 6vw, 32px); }
  .final-cta p { font-size: 15.5px; margin-bottom: 26px; }
  .final-cta__actions .btn { flex: 1 1 auto; }

  /* FOOTER */
  .footer { padding: 56px 0 28px; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-bottom: 40px;
  }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__about { max-width: 100%; }
  #Cs-Icon-Social { justify-content: flex-start !important; margin: 16px 0 0 !important; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ====================================================================
   ≤ 600px — phone
   ==================================================================== */
@media (max-width: 600px) {
  :root { --gutter: 18px; }

  /* NAV */
  .nav__brand img { max-height: 32px; }

  /* HERO */
  .hero { padding: 40px 0 64px; }
  .hero__eyebrow {
    font-size: 11.5px;
    padding: 6px 12px;
    /* allow wrapping */
    white-space: normal;
    line-height: 1.4;
  }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  /* Hero dashboard card — scale down + remove float positions
     so floating cards don't push content off-screen */
  .dashboard__body { padding: 16px; }
  .dashboard__greeting h4 { font-size: 15px; }
  .dashboard__stats { gap: 6px; }
  .dashboard__stat { padding: 10px; }
  .dashboard__stat .v { font-size: 16px; }
  .dashboard__row { padding: 8px 10px; font-size: 11.5px; }
  .dashboard__row .ico { width: 26px; height: 26px; }
  .dashboard__row .tag { font-size: 9.5px; }

  .hero__float { font-size: 11.5px; padding: 8px 12px; }
  .hero__float--cert { left: 4px; bottom: -10px; }
  .hero__float--rating { right: 4px; top: 14%; }

  /* TRUST */
  .trust { padding: 28px 0; }
  .trust__inner { flex-direction: column; gap: 16px; }
  .trust__logos { gap: 18px 24px; justify-content: center; }

  /* STATS BAR — go to single column for clear readability */
  .stats-bar { margin: 0 14px; padding: 32px 4px; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .stat__v { font-size: 30px; }
  .stat__l { font-size: 12.5px; line-height: 1.4; }
  .stat__d { font-size: 11px; }

  /* SHOWCASE */
  .showcase__visual-wrap { padding: 20px; aspect-ratio: auto; }
  .showcase__visual-shape { width: 56px; height: 56px; top: 12px; right: 16px; }
  .showcase__visual-circle { width: 44px; height: 44px; bottom: 30px; left: 12px; }
  .phone { width: 92px; padding: 5px; border-radius: 18px; }
  .phone__screen { padding: 10px 8px; }
  .phone__avatar { width: 44px; height: 44px; }

  /* CASE STUDY */
  .case { padding: 28px 20px; border-radius: var(--r-lg); }
  .case__copy h2 { font-size: clamp(22px, 6vw, 28px); }
  .case__copy p { font-size: 14.5px; }
  .case__visual { padding: 22px; border-radius: var(--r-lg); }
  .case__quote { font-size: 15px; margin-bottom: 18px; }
  .case__author-pic { width: 40px; height: 40px; }

  /* COURSES */
  .tabs { padding: 5px; gap: 4px; }
  .tab { padding: 8px 14px; font-size: 13px; gap: 6px; }
  .tab .count { font-size: 10px; padding: 1px 6px; }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .course-card__cover { aspect-ratio: 16/9; }
  .course-card__cover svg { width: 56px; height: 56px; }

  /* PRICING */
  .pricing__grid { gap: 16px; }
  .plan { padding: 26px 22px; }
  .quote-cta { margin-top: 36px; padding: 22px 18px; border-radius: var(--r-lg); }
  .quote-cta h3 { font-size: 20px; }
  .quote-cta p { font-size: 14px; }

  /* REVIEWS */
  .reviews__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reviews__stat { padding: 12px 14px; }
  .reviews__stat .v { font-size: 20px; }
  .reviews__stat .l { font-size: 11.5px; }
  .reviews__grid { gap: 14px; }
  .review { padding: 20px; border-radius: var(--r-md); }
  .review__text { font-size: 14.5px; margin-bottom: 18px; }

  /* FAQ */
  .faq__intro h2 { font-size: clamp(22px, 6vw, 28px); }
  .faq__intro p { font-size: 14px; }
  .faq__contact { padding: 18px; border-radius: var(--r-md); }
  .faq__q { font-size: 14.5px; padding: 16px 2px; }
  .faq__plus { width: 24px; height: 24px; font-size: 14px; }
  .faq__a p { font-size: 13.5px; padding: 0 2px 18px; }

  /* FINAL CTA */
  .final-cta { margin: 0 14px calc(var(--section-y) * 0.4); padding: 40px 20px; }
  .final-cta__actions { flex-direction: column; gap: 10px; width: 100%; }
  .final-cta__actions .btn { width: 100%; }
  .final-cta__note { font-size: 12px; }

  /* FOOTER */
  .footer { padding: 44px 0 22px; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
    margin-bottom: 28px;
  }
  .footer__col h5 { font-size: 12px; margin-bottom: 14px; }
  .footer__col a { font-size: 13px; }
  .footer__col ul { gap: 8px; }
  .footer__about { font-size: 13.5px; }
  #Cs-Icon-Social { gap: 8px !important; flex-wrap: wrap; }
  #Cs-Icon-Social a img { width: 22px !important; height: 22px !important; }
  .footer__bottom { font-size: 12px; }

  /* BUTTONS — slightly smaller on phones */
  .btn { padding: 12px 22px; font-size: 14.5px; }
  .btn--lg { padding: 14px 26px; font-size: 15px; }
}

/* ====================================================================
   ≤ 480px — small phones
   ==================================================================== */
@media (max-width: 480px) {
  :root { --gutter: 16px; }

  h1 { font-size: clamp(28px, 9vw, 36px); line-height: 1.1; }
  h2 { font-size: clamp(22px, 7vw, 30px); line-height: 1.15; }

  .nav__inner { height: 60px; }
  .nav__drawer { top: 60px; max-height: calc(100vh - 60px); }

  /* HERO — keep the dashboard preview from feeling cramped */
  .hero__product { padding: 0; }
  .hero__float--cert,
  .hero__float--rating {
    /* On very narrow screens, hide one of them to prevent overlap */
    font-size: 11px;
  }

  /* Container-style sections: pull margins tighter */
  .stats-bar { margin: 0 10px; }
  .final-cta { margin-left: 10px; margin-right: 10px; }

  /* COURSES tab counts */
  .tab .count { display: none; }

  /* Section spacing */
  .section { padding: 56px 0; }
}

/* ====================================================================
   ≤ 380px — very small phones
   ==================================================================== */
@media (max-width: 380px) {
  /* Hide the rating floater entirely on ultra-narrow phones */
  .hero__float--rating { display: none; }

  /* Two-column footer becomes one column */
  .footer__grid { grid-template-columns: 1fr; }

  /* Stats bar single column */
  .stats-bar__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ====================================================================
   Touch-target hygiene: ensure tappable items meet 44px minimum
   on touch devices, regardless of width.
   ==================================================================== */
@media (hover: none) and (pointer: coarse) {
  .nav__drawer-link { min-height: 44px; }
  .faq__q { min-height: 56px; }
  .tab { min-height: 40px; }
  .course-card__cta { padding: 6px 0; }
}

/* ========================================================================
   ============================================================
   USER FEEDBACK FIXES
     - Visible "Sign in" pill button on mobile (next to hamburger)
     - Sticky bottom CTA: nowrap text, hide sub-text on phones
   ============================================================
   ======================================================================== */

/* ---------- Mobile Sign-in pill (hidden on desktop) ---------- */
.nav__signin-mobile {
  display: none;                /* hidden by default; shown ≤880px */
  margin-left: auto;            /* push self + hamburger to right */
  margin-right: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--lavender);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
  flex-shrink: 0;
}
.nav__signin-mobile:hover,
.nav__signin-mobile:focus {
  background: var(--lavender-200);
  color: var(--purple-700);
}

/* Show from the same breakpoint where the hamburger appears */
@media (max-width: 880px) {
  .nav__signin-mobile { display: inline-flex; }
}

/* ≤ 480px: slightly tighter so it pairs neatly with the hamburger */
@media (max-width: 480px) {
  .nav__signin-mobile {
    font-size: 13px;
    padding: 8px 14px;
    margin-right: 8px;
  }
}

/* ≤ 380px: ultra-narrow — keep it readable but compact */
@media (max-width: 380px) {
  .nav__signin-mobile {
    font-size: 12.5px;
    padding: 7px 12px;
    margin-right: 6px;
  }
}

/* ---------- Sticky bottom CTA — proper mobile layout ---------- */
.sticky-bar__text {
  white-space: nowrap;          /* never wrap to multiple lines */
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;                 /* allow flex shrink instead of wrap */
}

@media (max-width: 600px) {
  /* Hide the secondary text on phones; the headline + button is plenty */
  .sticky-bar__sub { display: none; }

  .sticky-bar {
    padding: 6px 6px 6px 18px;
    gap: 10px;
    font-size: 13px;
  }
  .sticky-bar__text { font-size: 13px; }
  .sticky-bar .btn {
    padding: 9px 16px;
    font-size: 12.5px;
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  .sticky-bar { padding: 5px 5px 5px 14px; gap: 8px; }
  .sticky-bar__text { font-size: 12.5px; }
  .sticky-bar .btn { padding: 8px 14px; font-size: 12px; }
}
