/* ==========================================================================
   Public home page (anonymous landing) - responsive polish
   Loaded last from templates/home.html so it wins over the inline and
   legacy overrides. Everything is scoped to body.home-landing-page.
   Breakpoints: 375 (phone) · 640 (large phone) · 768 (tablet) · 1024 (laptop) · 1440 (desktop)
   ========================================================================== */

/* ---------- Base: no sideways scrolling, readable type ---------- */
body.home-landing-page {
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: break-word;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background: #fbfaff;
}
body.home-landing-page *,
body.home-landing-page *::before,
body.home-landing-page *::after {
  box-sizing: border-box;
}
body.home-landing-page img,
body.home-landing-page video,
body.home-landing-page iframe {
  max-width: 100%;
}
body.home-landing-page img:not(.site-logo) {
  height: auto;
}

/* Header brand: keep the logo at a fixed, small size (was overridden to natural size) */
body.home-landing-page .site-header .site-logo {
  height: 40px;
  width: auto;
  max-width: none;
}
body.home-landing-page .site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
body.home-landing-page .site-header .logo a {
  height: auto;
  min-height: 68px;
}
body.home-landing-page section,
body.home-landing-page .container {
  min-width: 0;
}

/* Shared content width + gutters for every landing section */
body.home-landing-page .landing-hero-grid,
body.home-landing-page .landing-features,
body.home-landing-page .landing-product-preview,
body.home-landing-page .landing-mobile,
body.home-landing-page .landing-demo,
body.home-landing-page .landing-trust,
body.home-landing-page .landing-partners,
body.home-landing-page .landing-final-cta,
body.home-landing-page .home-library-section > .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* Section rhythm */
body.home-landing-page .landing-features,
body.home-landing-page .landing-product-preview,
body.home-landing-page .landing-mobile,
body.home-landing-page .landing-demo,
body.home-landing-page .landing-trust,
body.home-landing-page .landing-partners {
  padding-top: clamp(44px, 7vw, 96px);
  padding-bottom: clamp(44px, 7vw, 96px);
}
body.home-landing-page .home-library-section {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

/* ---------- Hero ---------- */
body.home-landing-page .landing-hero {
  padding-top: clamp(32px, 6vw, 88px);
  padding-bottom: clamp(44px, 7vw, 96px);
}
body.home-landing-page .landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
body.home-landing-page .landing-hero-content,
body.home-landing-page .landing-dashboard-mock {
  min-width: 0;
}
body.home-landing-page .landing-badge {
  max-width: 100%;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.4;
}
body.home-landing-page .landing-hero-title {
  font-size: clamp(2rem, 6.4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}
body.home-landing-page .landing-hero-desc {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  max-width: 60ch;
}
body.home-landing-page .landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
body.home-landing-page .landing-hero-actions .cta,
body.home-landing-page .landing-final-cta .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  border-radius: 12px;
  max-width: 100%;
}
body.home-landing-page .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 20px);
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
body.home-landing-page .hero-stats li {
  min-width: 0;
  padding: 12px 10px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(49, 31, 104, 0.06);
  text-align: center;
}
body.home-landing-page .hero-stats strong {
  display: block;
  font-size: clamp(1.1rem, 3.6vw, 1.6rem);
  line-height: 1.2;
  color: #4c1d95;
}
body.home-landing-page .hero-stats small {
  display: block;
  font-size: clamp(11px, 2.4vw, 13px);
  line-height: 1.35;
  color: #64748b;
}
body.home-landing-page .dashboard-mock,
body.home-landing-page .dash-shell,
body.home-landing-page .device-frame {
  max-width: 100%;
}
body.home-landing-page .landing-dashboard-mock {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Section headers ---------- */
body.home-landing-page .landing-section-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(24px, 4vw, 48px);
  text-align: center;
}
body.home-landing-page .landing-section-header h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
body.home-landing-page .landing-section-header p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
}

/* ---------- Feature cards: 1 / 2 / 3 columns ---------- */
body.home-landing-page .features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
body.home-landing-page .feature-card {
  min-width: 0;
  padding: 22px 20px;
  border-radius: 18px;
}
body.home-landing-page .feature-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}
body.home-landing-page .feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}
body.home-landing-page .feature-card .jargon-tip {
  font-size: 0.85rem;
}

/* ---------- Product tour / mocks ---------- */
body.home-landing-page .product-showcase,
body.home-landing-page .mobile-grid,
body.home-landing-page .demo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  min-width: 0;
}
body.home-landing-page .product-showcase-item h3 {
  font-size: 1.05rem;
}
body.home-landing-page .product-showcase-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}
body.home-landing-page .product-stage,
body.home-landing-page .device-mock {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
body.home-landing-page .dashboard-kpis,
body.home-landing-page .device-mock-content {
  min-width: 0;
}
body.home-landing-page .stage-facts,
body.home-landing-page .tour-tags {
  flex-wrap: wrap;
}

/* ---------- Final CTA ---------- */
body.home-landing-page .landing-final-cta {
  margin-bottom: clamp(24px, 4vw, 48px);
  text-align: center;
}
body.home-landing-page .landing-final-cta .landing-hero-actions {
  justify-content: center;
}

/* ---------- Tablet: 768px and up ---------- */
@media (min-width: 640px) {
  body.home-landing-page .hero-stats li {
    padding: 14px 14px;
  }
  body.home-landing-page .landing-hero-actions .cta {
    width: auto;
  }
}

@media (min-width: 768px) {
  body.home-landing-page .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  body.home-landing-page .product-showcase,
  body.home-landing-page .mobile-grid,
  body.home-landing-page .demo-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.home-landing-page .product-stage,
  body.home-landing-page .device-mock {
    overflow-x: visible;
  }
}

/* ---------- Laptop: 1024px and up ---------- */
@media (min-width: 1024px) {
  body.home-landing-page .landing-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  body.home-landing-page .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  body.home-landing-page .landing-hero-actions .cta {
    width: auto;
  }
}

/* ---------- Large desktop: 1440px and up ---------- */
@media (min-width: 1440px) {
  body.home-landing-page .landing-hero-grid,
  body.home-landing-page .landing-features,
  body.home-landing-page .landing-product-preview,
  body.home-landing-page .landing-mobile,
  body.home-landing-page .landing-demo,
  body.home-landing-page .landing-trust,
  body.home-landing-page .landing-partners,
  body.home-landing-page .landing-final-cta {
    max-width: 1280px;
  }
  body.home-landing-page .landing-hero-title {
    font-size: 4rem;
  }
}

/* ---------- Phones: 375px and up to 639px ---------- */
@media (max-width: 639px) {
  body.home-landing-page .landing-hero {
    padding-top: 24px;
  }
  body.home-landing-page .landing-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  body.home-landing-page .landing-hero-actions .cta,
  body.home-landing-page .landing-final-cta .cta {
    width: 100%;
  }
  body.home-landing-page .hero-stats {
    gap: 8px;
  }
  body.home-landing-page .hero-stats li {
    padding: 10px 6px;
  }
  body.home-landing-page .feature-card {
    padding: 18px 16px;
  }
  body.home-landing-page .home-library-grid .home-library-card {
    min-width: 0;
  }
  body.home-landing-page .landing-final-cta .landing-hero-actions {
    width: 100%;
  }
}

/* ---------- Very small phones: 375px and below ---------- */
@media (max-width: 380px) {
  body.home-landing-page .landing-hero-title {
    font-size: 1.85rem;
  }
  body.home-landing-page .hero-stats strong {
    font-size: 1.05rem;
  }
  body.home-landing-page .hero-stats small {
    font-size: 10.5px;
  }
}

/* ---------- Feature cards: short preview, full text on hover / focus ---------- */
body.home-landing-page .feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
body.home-landing-page .feature-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: #64748b;
}
body.home-landing-page .feature-card:hover p,
body.home-landing-page .feature-card:focus-within p {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
body.home-landing-page .feature-card .jargon-tip {
  display: inline;
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
body.home-landing-page .feature-card:hover,
body.home-landing-page .feature-card:focus-within {
  box-shadow: 0 16px 36px rgba(76, 29, 149, 0.12);
}

/* ==========================================================================
   Visual refresh (2026): modern gradients, glass surfaces, depth, motion.
   Layout, copy and links are unchanged; only the look and feel is updated.
   ========================================================================== */

/* Hero: soft mesh gradient instead of a flat wash */
body.home-landing-page .landing-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 8% 10%, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(800px 460px at 92% 20%, rgba(219, 39, 119, 0.12), transparent 60%),
    radial-gradient(700px 420px at 50% 100%, rgba(59, 130, 246, 0.10), transparent 60%),
    linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%);
}
body.home-landing-page .landing-hero-title {
  font-size: clamp(2.2rem, 6.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}
body.home-landing-page .landing-hero-title em {
  background: linear-gradient(100deg, #6d28d9 0%, #c026d3 45%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
body.home-landing-page .landing-badge {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(124, 58, 237, 0.18);
  box-shadow: 0 6px 20px rgba(76, 29, 149, 0.08);
}

/* Primary call to action: gradient, lift on hover, animated arrow */
body.home-landing-page .landing-hero-actions .cta,
body.home-landing-page .landing-final-cta .cta {
  background: linear-gradient(100deg, #6d28d9, #9333ea 55%, #c026d3);
  color: #fff;
  box-shadow: 0 14px 30px rgba(109, 40, 217, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
body.home-landing-page .landing-hero-actions .cta:hover,
body.home-landing-page .landing-final-cta .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(109, 40, 217, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: saturate(1.08);
}
body.home-landing-page .landing-hero-actions .cta:focus-visible,
body.home-landing-page .landing-final-cta .cta:focus-visible {
  outline: 3px solid #a78bfa;
  outline-offset: 3px;
}

/* Stats: frosted glass cards */
body.home-landing-page .hero-stats li {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(76, 29, 149, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.home-landing-page .hero-stats li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(76, 29, 149, 0.14);
}

/* Product mock: gentle 3D tilt that straightens on hover */
@media (min-width: 1024px) {
  body.home-landing-page .landing-dashboard-mock {
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 40px 80px rgba(49, 31, 104, 0.22);
    border-radius: 20px;
  }
  body.home-landing-page .landing-dashboard-mock:hover {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
  }
}

/* Feature cards: gradient edge, deeper hover */
body.home-landing-page .feature-card {
  position: relative;
  border: 1px solid rgba(124, 58, 237, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #fdfcff 100%);
  box-shadow: 0 10px 30px rgba(49, 31, 104, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
body.home-landing-page .feature-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  opacity: 0.8;
}
body.home-landing-page .feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 22px 44px rgba(76, 29, 149, 0.14);
}
body.home-landing-page .feature-card .feature-icon {
  transition: transform 0.3s ease;
}
body.home-landing-page .feature-card:hover .feature-icon {
  transform: scale(1.06) rotate(-4deg);
}

/* Section kicker pills and headings */
body.home-landing-page .landing-section-header h2 {
  background: linear-gradient(100deg, #1e1b4b 0%, #4c1d95 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scroll reveal: fade and rise as sections enter the screen (browsers without
   scroll-driven animations simply show content at once). */
@supports (animation-timeline: view()) {
  @keyframes home-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
  }
  body.home-landing-page .feature-card,
  body.home-landing-page .landing-section-header,
  body.home-landing-page .hero-stats li {
    animation: home-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

/* ---------- "Any device" section: three aligned cards, one per screen size ---------- */
body.home-landing-page .mobile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto 8px;
}
body.home-landing-page .device-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 22px 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 16px 40px rgba(49, 31, 104, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.home-landing-page .device-mock:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(76, 29, 149, 0.14);
}
body.home-landing-page .device-frame {
  margin: 0;
  width: 100%;
  max-width: 260px;
}
body.home-landing-page .device-desktop,
body.home-landing-page .device-tablet,
body.home-landing-page .device-mobile {
  width: 100%;
}
body.home-landing-page .device-mobile {
  max-width: 150px;
}
body.home-landing-page .device-tablet {
  max-width: 210px;
}
body.home-landing-page .device-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(100deg, #f5f3ff, #fdf2f8);
  color: #5b21b6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  body.home-landing-page .mobile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }
}

/* ---------- "Any device": one dashboard that morphs laptop -> tablet -> phone ----------
   Pure CSS. One 9-second loop: laptop (0-22%), morph, tablet (33-55%), morph,
   phone (66-88%), morph back. Labels light up in step with the screen. */
body.home-landing-page .dv-stage {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
}
body.home-landing-page .dv-screen {
  width: min(92vw, 640px);
  height: 360px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(160deg, #2b2160, #171338);
  box-shadow: 0 30px 70px rgba(23, 15, 60, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  animation: dv-morph 9s ease-in-out infinite;
}
@keyframes dv-morph {
  0%, 22%   { width: min(92vw, 640px); height: 360px; border-radius: 18px; }
  33%, 55%  { width: min(78vw, 280px); height: 400px; border-radius: 26px; }
  66%, 88%  { width: min(60vw, 170px); height: 330px; border-radius: 28px; }
  100%      { width: min(92vw, 640px); height: 360px; border-radius: 18px; }
}
body.home-landing-page .dv-bar {
  display: flex;
  gap: 6px;
  padding: 2px 4px 8px;
}
body.home-landing-page .dv-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f472b6;
}
body.home-landing-page .dv-bar span:nth-child(2) { background: #fbbf24; }
body.home-landing-page .dv-bar span:nth-child(3) { background: #34d399; }
body.home-landing-page .dv-body {
  display: flex;
  gap: 8px;
  height: calc(100% - 22px);
  border-radius: 12px;
  background: #faf8ff;
  overflow: hidden;
}
body.home-landing-page .dv-side {
  width: 24%;
  min-width: 34px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(180deg, #1e1b4b, #2e2a6b);
}
body.home-landing-page .dv-side i {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
}
body.home-landing-page .dv-side i:first-child { background: #a78bfa; }
body.home-landing-page .dv-main {
  flex: 1;
  min-width: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.home-landing-page .dv-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
body.home-landing-page .dv-kpis b {
  display: block;
  padding: 8px 6px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(76, 29, 149, 0.08);
  color: #3b0764;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.home-landing-page .dv-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}
body.home-landing-page .dv-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #a855f7, #6d28d9);
  animation: dv-bar 2.4s ease-in-out infinite;
  transform-origin: bottom;
}
body.home-landing-page .dv-chart i:nth-child(2) { height: 60%; animation-delay: 0.2s; }
body.home-landing-page .dv-chart i:nth-child(3) { height: 40%; animation-delay: 0.4s; }
body.home-landing-page .dv-chart i:nth-child(4) { height: 80%; animation-delay: 0.6s; }
body.home-landing-page .dv-chart i:nth-child(5) { height: 55%; animation-delay: 0.8s; }
body.home-landing-page .dv-chart i:nth-child(6) { height: 70%; animation-delay: 1s; }
body.home-landing-page .dv-chart i:nth-child(7) { height: 45%; animation-delay: 1.2s; }
body.home-landing-page .dv-chart i:nth-child(1) { height: 90%; animation-delay: 0s; }
@keyframes dv-bar {
  0%, 100% { transform: scaleY(0.7); }
  50%      { transform: scaleY(1); }
}
body.home-landing-page .dv-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.home-landing-page .dv-rows i {
  height: 10px;
  border-radius: 5px;
  background: #e9e5fb;
}
body.home-landing-page .dv-rows i:nth-child(1) { width: 85%; }
body.home-landing-page .dv-rows i:nth-child(2) { width: 65%; }
body.home-landing-page .dv-rows i:nth-child(3) { width: 75%; }

/* Labels under the screen, lit in sync with the morph */
body.home-landing-page .dv-labels {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
body.home-landing-page .dv-label {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  background: #fff;
  color: #5b21b6;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  animation: dv-lit 9s linear infinite;
}
body.home-landing-page .dv-label-2 { animation-delay: 3s; }
body.home-landing-page .dv-label-3 { animation-delay: 6s; }
@keyframes dv-lit {
  0%, 26%   { background: linear-gradient(100deg, #6d28d9, #c026d3); color: #fff; border-color: transparent; }
  33%, 100% { background: #fff; color: #5b21b6; border-color: #ddd6fe; }
}
body.home-landing-page .dv-note {
  margin: 14px 0 0;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  body.home-landing-page .dv-screen,
  body.home-landing-page .dv-chart i,
  body.home-landing-page .dv-label {
    animation: none !important;
  }
}

/* ---------- Parent feedback spotlight ---------- */
body.home-landing-page .landing-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-top: clamp(44px, 7vw, 96px);
  padding-bottom: clamp(44px, 7vw, 96px);
}
body.home-landing-page .landing-feedback h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1e1b4b;
  margin: 14px 0 12px;
}
body.home-landing-page .landing-feedback .fb-copy > p {
  color: #4b5563;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.65;
  margin: 0 0 16px;
}
body.home-landing-page .fb-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}
body.home-landing-page .fb-points li {
  position: relative;
  padding-left: 28px;
  color: #374151;
  font-size: 15px;
  line-height: 1.5;
}
body.home-landing-page .fb-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
body.home-landing-page .fb-card {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: 0 30px 70px rgba(76, 29, 149, 0.16);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}
body.home-landing-page .fb-card:hover {
  transform: rotate(0deg) translateY(-4px);
}
body.home-landing-page .fb-q {
  margin: 14px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #312e81;
}
body.home-landing-page .fb-q:first-child { margin-top: 0; }
body.home-landing-page .fb-faces,
body.home-landing-page .fb-stars,
body.home-landing-page .fb-yn {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.home-landing-page .fb-faces span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f5f3ff;
  font-size: 24px;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.home-landing-page .fb-faces span.on {
  opacity: 1;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
  transform: scale(1.08);
}
body.home-landing-page .fb-stars span {
  font-size: 26px;
  color: #d1d5db;
}
body.home-landing-page .fb-stars span.on { color: #f59e0b; }
body.home-landing-page .fb-yn span {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  color: #5b21b6;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
}
body.home-landing-page .fb-yn span.on {
  background: linear-gradient(100deg, #6d28d9, #c026d3);
  border-color: transparent;
  color: #fff;
}
@media (min-width: 900px) {
  body.home-landing-page .landing-feedback {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ---------- Multi-screen showcase: laptop, tablet and phone with live charts ---------- */
@property --pct {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 20%;
}
body.home-landing-page .sc-stage {
  position: relative;
  height: 420px;
  max-width: 980px;
  margin: 0 auto;
}
body.home-landing-page .sc-screen {
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(160deg, #2b2160, #171338);
  padding: 10px;
  box-shadow: 0 30px 70px rgba(23, 15, 60, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: sc-float 6s ease-in-out infinite;
}
body.home-landing-page .sc-bar {
  display: flex;
  gap: 5px;
  padding: 2px 4px 8px;
}
body.home-landing-page .sc-bar span { width: 7px; height: 7px; border-radius: 50%; background: #f472b6; }
body.home-landing-page .sc-bar span:nth-child(2) { background: #fbbf24; }
body.home-landing-page .sc-bar span:nth-child(3) { background: #34d399; }

/* Laptop: the hero screen, centred */
body.home-landing-page .sc-laptop {
  left: 50%;
  top: 0;
  width: min(560px, 92%);
  height: 330px;
  transform: translateX(-50%);
  z-index: 2;
}
body.home-landing-page .sc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto 1fr 1fr;
  gap: 8px;
  height: calc(100% - 22px);
}
body.home-landing-page .sc-card {
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(76, 29, 149, 0.08);
}
body.home-landing-page .sc-kpi small { display: block; color: #6b7280; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
body.home-landing-page .sc-kpi b { display: block; color: #3b0764; font-size: 15px; margin-top: 2px; }
body.home-landing-page .sc-chart { grid-column: span 2; display: flex; align-items: flex-end; }
body.home-landing-page .sc-bars {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
body.home-landing-page .sc-bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #c084fc, #6d28d9);
  transform-origin: bottom;
  animation: sc-grow 2.8s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
body.home-landing-page .sc-bars i:nth-child(1) { --h: 45%; --d: 0s; }
body.home-landing-page .sc-bars i:nth-child(2) { --h: 70%; --d: 0.2s; }
body.home-landing-page .sc-bars i:nth-child(3) { --h: 55%; --d: 0.4s; }
body.home-landing-page .sc-bars i:nth-child(4) { --h: 88%; --d: 0.6s; }
body.home-landing-page .sc-bars i:nth-child(5) { --h: 62%; --d: 0.8s; }
body.home-landing-page .sc-bars i:nth-child(6) { --h: 78%; --d: 1s; }
body.home-landing-page .sc-bars i:nth-child(7) { --h: 52%; --d: 1.2s; }
body.home-landing-page .sc-bars i:nth-child(8) { --h: 95%; --d: 1.4s; }
@keyframes sc-grow {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}
body.home-landing-page .sc-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
body.home-landing-page .sc-ring::before {
  content: "";
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: conic-gradient(#7c3aed 0 var(--pct, 78%), #ede9fe var(--pct, 78%) 100%);
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%);
          mask: radial-gradient(circle, transparent 55%, #000 56%);
  animation: sc-fill 3.2s ease-out infinite alternate;
}
body.home-landing-page .sc-ring-val {
  font-size: 13px;
  font-weight: 800;
  color: #3b0764;
}
body.home-landing-page .sc-ring small { color: #6b7280; font-size: 10px; font-weight: 700; }
@keyframes sc-fill {
  from { --pct: 20%; }
  to   { --pct: 78%; }
}
body.home-landing-page .sc-line svg { width: 100%; height: 100%; }
body.home-landing-page .sc-path {
  fill: none;
  stroke: #7c3aed;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: sc-draw 3.6s ease-in-out infinite alternate;
}
@keyframes sc-draw {
  from { stroke-dashoffset: 260; }
  to   { stroke-dashoffset: 0; }
}

/* Tablet: left, lower */
body.home-landing-page .sc-tablet {
  left: 4%;
  bottom: 0;
  width: min(230px, 40%);
  height: 280px;
  z-index: 3;
  animation-delay: -2s;
}
body.home-landing-page .sc-mini-bars {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}
body.home-landing-page .sc-mini-bars i {
  flex: 1;
  height: 60%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #f9a8d4, #db2777);
  transform-origin: bottom;
  animation: sc-grow 2.2s ease-in-out infinite alternate;
}
body.home-landing-page .sc-mini-bars i:nth-child(2) { height: 85%; animation-delay: 0.3s; }
body.home-landing-page .sc-mini-bars i:nth-child(3) { height: 45%; animation-delay: 0.6s; }
body.home-landing-page .sc-mini-bars i:nth-child(4) { height: 70%; animation-delay: 0.9s; }
body.home-landing-page .sc-mini-bars i:nth-child(5) { height: 95%; animation-delay: 1.2s; }
body.home-landing-page .sc-mini-row { display: flex; gap: 8px; margin-top: 10px; }
body.home-landing-page .sc-mini-row b {
  flex: 1;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(100deg, #ede9fe, #fce7f3);
}

/* Phone: right, lower */
body.home-landing-page .sc-phone {
  right: 4%;
  bottom: 0;
  width: min(130px, 26%);
  height: 260px;
  border-radius: 26px;
  z-index: 3;
  animation-delay: -4s;
}
body.home-landing-page .sc-phone-ring {
  height: 96px;
  display: grid;
  place-items: center;
  margin-top: 14px;
  border-radius: 12px;
  background: #fff;
}
body.home-landing-page .sc-phone-ring span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(#10b981 0 var(--pct, 78%), #d1fae5 var(--pct, 78%) 100%);
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%);
          mask: radial-gradient(circle, transparent 55%, #000 56%);
  animation: sc-fill 3.2s ease-out infinite alternate;
}
body.home-landing-page .sc-phone-list { display: grid; gap: 8px; margin-top: 12px; }
body.home-landing-page .sc-phone-list i {
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
  animation: sc-pulse 2.6s ease-in-out infinite;
}
body.home-landing-page .sc-phone-list i:nth-child(2) { animation-delay: 0.4s; }
body.home-landing-page .sc-phone-list i:nth-child(3) { animation-delay: 0.8s; }
@keyframes sc-pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}
@keyframes sc-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

/* Narrow screens: keep all three visible, smaller */
@media (max-width: 640px) {
  body.home-landing-page .sc-stage { height: 380px; }
  body.home-landing-page .sc-laptop { width: 96%; height: 230px; }
  body.home-landing-page .sc-grid { gap: 5px; }
  body.home-landing-page .sc-kpi b { font-size: 12px; }
  body.home-landing-page .sc-tablet { width: 42%; height: 200px; left: 2%; }
  body.home-landing-page .sc-phone { width: 30%; height: 190px; right: 2%; }
  body.home-landing-page .sc-mini-bars { height: 100px; }
}

/* Consistent section rhythm on the lower page */
body.home-landing-page .landing-product-preview,
body.home-landing-page .landing-trust,
body.home-landing-page .landing-partners,
body.home-landing-page .landing-mobile {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
body.home-landing-page .landing-mobile + section,
body.home-landing-page .landing-trust + section {
  margin-top: 0;
}
body.home-landing-page .landing-final-cta {
  margin-top: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(48px, 7vw, 96px);
}

@media (prefers-reduced-motion: reduce) {
  body.home-landing-page .sc-screen,
  body.home-landing-page .sc-bars i,
  body.home-landing-page .sc-mini-bars i,
  body.home-landing-page .sc-ring::before,
  body.home-landing-page .sc-phone-ring span,
  body.home-landing-page .sc-path,
  body.home-landing-page .sc-phone-list i {
    animation: none !important;
  }
  body.home-landing-page .sc-path { stroke-dashoffset: 0; }
}

/* ---------- Feature cards: progressive disclosure ----------
   The title and icon are always visible. The description opens on hover, on
   keyboard focus, or on tap (touch screens). Dashed tooltip underlines are hidden. */
body.home-landing-page .feature-card {
  min-height: 170px;
  padding-bottom: 42px;
  cursor: pointer;
  outline: none;
}
body.home-landing-page .feature-card:focus-visible {
  box-shadow: 0 0 0 3px #a78bfa, 0 22px 44px rgba(76, 29, 149, 0.14);
}
body.home-landing-page .feature-card p {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
}
body.home-landing-page .feature-card:hover p,
body.home-landing-page .feature-card:focus-within p,
body.home-landing-page .feature-card.is-open p {
  max-height: 260px;
  opacity: 1;
  margin-top: 12px;
}
body.home-landing-page .feature-card .hover-tip {
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
body.home-landing-page .feature-card .tip {
  display: none;
}
body.home-landing-page .feature-card::after {
  content: "Hover to read more";
  position: absolute;
  left: 22px;
  bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #7c3aed;
  transition: opacity 0.25s ease;
}
@media (hover: none) {
  body.home-landing-page .feature-card::after { content: "Tap to read more"; }
}
body.home-landing-page .feature-card:hover::after,
body.home-landing-page .feature-card:focus-within::after,
body.home-landing-page .feature-card.is-open::after {
  opacity: 0;
}

/* ---------- Platform steps (01-05): same progressive disclosure as feature cards ---------- */
body.home-landing-page .tour-body {
  position: relative;
  outline: none;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  padding-bottom: 38px;
}
body.home-landing-page .tour-body p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
}
body.home-landing-page .tour-body:hover p,
body.home-landing-page .tour-body:focus-within p {
  max-height: 320px;
  opacity: 1;
  margin-top: 10px;
}
body.home-landing-page .tour-body:focus-visible {
  box-shadow: 0 0 0 3px #a78bfa, 0 18px 40px rgba(76, 29, 149, 0.12);
}
body.home-landing-page .tour-body:hover,
body.home-landing-page .tour-body:focus-within {
  box-shadow: 0 18px 40px rgba(76, 29, 149, 0.12);
  border-color: rgba(124, 58, 237, 0.28);
}
body.home-landing-page .tour-body .hover-tip {
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
body.home-landing-page .tour-body .tip {
  display: none;
}
body.home-landing-page .tour-body::after {
  content: "Hover to read more";
  position: absolute;
  left: 22px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #7c3aed;
  transition: opacity 0.25s ease;
}
@media (hover: none) {
  body.home-landing-page .tour-body::after { content: "Tap to read more"; }
}
body.home-landing-page .tour-body:hover::after,
body.home-landing-page .tour-body:focus-within::after {
  opacity: 0;
}

/* ---------- In motion: analytics dashboard and guided admission form ---------- */
body.home-landing-page .landing-motion {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
body.home-landing-page .motion-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}
body.home-landing-page .motion-head h2 {
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1e1b4b;
  margin: 14px 0 10px;
}
body.home-landing-page .motion-head p { color: #4b5563; font-size: clamp(0.98rem, 2vw, 1.1rem); margin: 0; }
body.home-landing-page .motion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 900px) {
  body.home-landing-page .motion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.home-landing-page .mo-card {
  margin: 0;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff, #f8f6ff);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 24px 50px rgba(49, 31, 104, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.home-landing-page .mo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(76, 29, 149, 0.18);
}
body.home-landing-page .mo-card figcaption {
  margin-top: 12px;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
}
body.home-landing-page .mo-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1eefb;
  margin-bottom: 14px;
}
body.home-landing-page .mo-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; }
body.home-landing-page .mo-chrome span:nth-child(1) { background: #f472b6; }
body.home-landing-page .mo-chrome span:nth-child(2) { background: #fbbf24; }
body.home-landing-page .mo-chrome span:nth-child(3) { background: #34d399; }
body.home-landing-page .mo-chrome b { margin-left: 8px; font-size: 13px; color: #312e81; }

/* Analytics */
body.home-landing-page .mo-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.home-landing-page .mo-kpis > div {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(76, 29, 149, 0.07);
  animation: mo-rise 0.9s ease both;
}
body.home-landing-page .mo-kpis > div:nth-child(2) { animation-delay: 0.15s; }
body.home-landing-page .mo-kpis > div:nth-child(3) { animation-delay: 0.3s; }
body.home-landing-page .mo-kpis small { display: block; font-size: 11px; color: #6b7280; font-weight: 700; }
body.home-landing-page .mo-kpis strong { display: block; font-size: clamp(16px, 2.6vw, 22px); color: #3b0764; margin-top: 4px; }
@keyframes mo-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
body.home-landing-page .mo-charts {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  align-items: end;
}
body.home-landing-page .mo-bars {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(76, 29, 149, 0.07);
}
body.home-landing-page .mo-bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #c084fc, #6d28d9);
  transform-origin: bottom;
  animation: sc-grow 2.4s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
body.home-landing-page .mo-bars i:nth-child(1) { --h: 45%; --d: 0s; }
body.home-landing-page .mo-bars i:nth-child(2) { --h: 72%; --d: 0.2s; }
body.home-landing-page .mo-bars i:nth-child(3) { --h: 58%; --d: 0.4s; }
body.home-landing-page .mo-bars i:nth-child(4) { --h: 90%; --d: 0.6s; }
body.home-landing-page .mo-bars i:nth-child(5) { --h: 66%; --d: 0.8s; }
body.home-landing-page .mo-bars i:nth-child(6) { --h: 80%; --d: 1s; }
body.home-landing-page .mo-bars i:nth-child(7) { --h: 55%; --d: 1.2s; }
body.home-landing-page .mo-donut {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
}
body.home-landing-page .mo-donut::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#7c3aed 0 var(--pct, 78%), #ede9fe var(--pct, 78%) 100%);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
          mask: radial-gradient(circle, transparent 58%, #000 59%);
  animation: sc-fill 3.6s ease-out infinite alternate;
}
body.home-landing-page .mo-donut span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #3b0764;
}

/* Admission: steps and class cards cycle, like a guided form */
body.home-landing-page .mo-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
body.home-landing-page .mo-steps li {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  animation: mo-step 10s linear infinite;
}
body.home-landing-page .mo-steps li:nth-child(1) { animation-delay: 0s; }
body.home-landing-page .mo-steps li:nth-child(2) { animation-delay: 2s; }
body.home-landing-page .mo-steps li:nth-child(3) { animation-delay: 4s; }
body.home-landing-page .mo-steps li:nth-child(4) { animation-delay: 6s; }
body.home-landing-page .mo-steps li:nth-child(5) { animation-delay: 8s; }
@keyframes mo-step {
  0%, 19%   { background: linear-gradient(100deg, #6d28d9, #c026d3); color: #fff; }
  20%, 100% { background: #f5f3ff; color: #6b7280; }
}
body.home-landing-page .mo-classes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
body.home-landing-page .mo-classes span {
  padding: 12px 6px;
  border-radius: 12px;
  border: 2px solid #ede9fe;
  background: #fff;
  color: #3b0764;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  animation: mo-pick 8s linear infinite;
}
body.home-landing-page .mo-classes .mo-c-1 { animation-delay: 0s; }
body.home-landing-page .mo-classes .mo-c-2 { animation-delay: 2s; }
body.home-landing-page .mo-classes .mo-c-3 { animation-delay: 4s; }
body.home-landing-page .mo-classes .mo-c-4 { animation-delay: 6s; }
@keyframes mo-pick {
  0%, 22%   { border-color: #7c3aed; background: #f5f3ff; box-shadow: 0 8px 18px rgba(124, 58, 237, 0.2); }
  25%, 100% { border-color: #ede9fe; background: #fff; box-shadow: none; }
}
body.home-landing-page .mo-form {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
body.home-landing-page .mo-form i {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1eefb 25%, #e4dcfb 50%, #f1eefb 75%);
  background-size: 200% 100%;
  animation: mo-shimmer 2.2s linear infinite;
}
body.home-landing-page .mo-form i:nth-child(2) { width: 80%; }
body.home-landing-page .mo-form i:nth-child(3) { width: 60%; }
@keyframes mo-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-landing-page .mo-kpis > div,
  body.home-landing-page .mo-bars i,
  body.home-landing-page .mo-donut,
  body.home-landing-page .mo-steps li,
  body.home-landing-page .mo-classes span,
  body.home-landing-page .mo-form i {
    animation: none !important;
  }
}

/* Respect reduced motion for the hover lifts added by legacy rules */
@media (prefers-reduced-motion: reduce) {
  body.home-landing-page .feature-card,
  body.home-landing-page .feature-card:hover {
    transition: none;
    transform: none !important;
  }
  body.home-landing-page .feature-card,
  body.home-landing-page .landing-section-header,
  body.home-landing-page .hero-stats li,
  body.home-landing-page .landing-dashboard-mock,
  body.home-landing-page .landing-hero-actions .cta,
  body.home-landing-page .landing-final-cta .cta {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
