/* Homepage-only section polish. Loaded after dark.css.
   body-prefixed selectors intentionally outrank the captured page's inline
   theme styles without rewriting its markup. Original implementation. */

/* Gradient typography follows the site's warm-white + cyan palette. */
body main .text-transparent.bg-clip-text {
  background-image: linear-gradient(90deg, #EEE5D4 0%, #9BC7B2 62%, #EEE5D4 100%) !important;
}

/* Pricing tables: quiet glass headers instead of loud filled gradients. */
body #pricing thead, body #pricing-old thead {
  background: rgba(238,229,212,.045) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body #pricing thead tr, body #pricing-old thead tr {
  background: rgba(238,229,212,.045) !important;
  background-image: none !important;
}
body #pricing thead th, body #pricing-old thead th { color: #EEE5D4 !important; }
body #pricing tbody tr, body #pricing-old tbody tr { background: transparent; }
body #pricing span.bg-gradient-to-r, body #pricing-old span.bg-gradient-to-r {
  background-image: none !important;
  background-color: rgba(155,199,178,.12) !important;
  color: #9BC7B2 !important;
}

/* Category comparison: stat tiles get a soft top gleam on hover. */
body #why-category .rounded-2xl.bg-white,
body #why-category .rounded-xl.bg-slate-50\/60 {
  position: relative;
  overflow: hidden;
}
body #why-category .rounded-2xl.bg-white::before,
body #why-category .rounded-xl.bg-slate-50\/60::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(155,199,178,.5), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
body #why-category .rounded-2xl.bg-white:hover::before,
body #why-category .rounded-xl.bg-slate-50\/60:hover::before { opacity: 1; }

/* Onboarding steps: numbered markers match the active carousel accent. */
body main .from-blue-600.to-indigo-700 {
  background: linear-gradient(135deg, var(--forest-hover, #2A6347), var(--forest, #1D4A35)) !important;
  color: #EEE5D4 !important;
  box-shadow: 0 8px 24px -10px rgba(155,199,178,.35);
}

/* FAQ: glass accordion with clear open/hover/focus states. */
body #faq summary {
  border-radius: inherit;
  transition: background-color .25s ease;
}
body #faq summary:hover { background: rgba(238,229,212,.025); }
body #faq summary:focus-visible { outline: 2px solid #9BC7B2; outline-offset: -3px; }
body #faq .group[open] { border-color: rgba(155,199,178,.3) !important; }
body #faq .group[open] .group-open\:bg-blue-600 {
  background-color: #1D4A35 !important;
  color: #EEE5D4 !important;
}
body #faq .group[open] .group-open\:text-white { color: #EEE5D4 !important; }
body #faq .group[open] .group-open\:border-blue-600 { border-color: #EEE5D4 !important; }
body #faq .group[open] .group-open\:ring-blue-600 { --tw-ring-color: rgba(238,229,212,.2) !important; }

/* Final CTA border glow uses the same cyan/violet accents as the hero. */
body main > section:last-child .rounded-3xl.bg-gradient-to-br {
  background: linear-gradient(135deg, rgba(155,199,178,.45), rgba(29,74,53,.2)) !important;
  box-shadow: 0 24px 90px rgba(155,199,178,.08);
}
body main > section:last-child {
  border-top: 1px solid rgba(238,229,212,.08);
  border-bottom: 1px solid rgba(238,229,212,.08);
}
body main > section:last-child > .absolute.inset-0.bg-gradient-to-r {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(155,199,178,.13), transparent 58%),
    linear-gradient(135deg, #080b0e, #000101 72%) !important;
}
body main > section:last-child a.bg-white {
  --btn-core: #EEE5D4;
  background-color: #1D4A35 !important;
  color: #EEE5D4 !important;
}

/* Floating guide: crystal pill with a restrained cyan breathing glow. */
body .sample-cta {
  color: #EEE5D4 !important;
  background: linear-gradient(145deg, rgba(22,26,30,.94), rgba(5,6,8,.94)) !important;
  border: 1px solid rgba(155,199,178,.35) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  animation: home-guide-glow 3.2s ease-in-out infinite !important;
}
body .sample-cta:hover {
  color: #000101 !important;
  background: #EEE5D4 !important;
  border-color: #EEE5D4 !important;
}
body .sample-cta svg { color: inherit !important; }
@keyframes home-guide-glow {
  0%, 100% { box-shadow: 0 8px 28px rgba(0,0,0,.45), 0 0 0 0 rgba(155,199,178,.12); }
  50% { box-shadow: 0 12px 34px rgba(0,0,0,.5), 0 0 26px 2px rgba(155,199,178,.2); }
}

/* Trusted brands: clean logo rail, no boxes or glass tiles. Source images
   are background-cleaned assets; dark-source logos skip the invert filter. */
body #trusted-by .flex.items-center.justify-center.mb-8 { margin-bottom: 20px; }
body #trusted-by p {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #B9B09B !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .18em !important;
}
body #trusted-by p > span:first-child { display: none; }
body #trusted-by .bg-gradient-to-r {
  background: linear-gradient(90deg, transparent, rgba(238,229,212,.18)) !important;
}
body #trusted-by .bg-gradient-to-l {
  background: linear-gradient(270deg, transparent, rgba(238,229,212,.18)) !important;
}
body #trusted-by .relative > .absolute { display: none; }
body #trusted-by .logo-scroller {
  padding: 12px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
body #trusted-by .logo-scroller__inner { animation-duration: 42s; }
body #trusted-by .brand-logo {
  height: 58px !important;
  min-width: 150px !important;
  margin-right: 34px !important;
  padding: 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1;
  transition: opacity .3s ease, transform .3s ease;
}
body #trusted-by .brand-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: none !important;
}
body #trusted-by .brand-logo img {
  width: auto !important;
  height: 42px !important;
  max-width: 135px !important;
  max-height: 42px !important;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(1) invert(1) brightness(1.5) !important;
  transition: filter .3s ease;
}
body #trusted-by .brand-logo img[src*="li-13.png"],
body #trusted-by .brand-logo img[src*="li-22.png"] {
  filter: grayscale(1) brightness(1.55) !important;
}
body #trusted-by .brand-logo:hover img { filter: grayscale(1) invert(1) brightness(1.5) !important; }
body #trusted-by .brand-logo:hover img[src*="li-13.png"],
body #trusted-by .brand-logo:hover img[src*="li-22.png"] {
  filter: grayscale(1) brightness(1.55) !important;
}
@media (max-width: 767px) {
  body #flowbg { opacity: .16; }
  body #trusted-by .logo-scroller__inner { animation-duration: 30s; }
  body #trusted-by .brand-logo {
    height: 48px !important;
    min-width: 118px !important;
    margin-right: 20px !important;
    padding: 0 6px !important;
  }
  body #trusted-by .brand-logo img {
    height: 32px !important;
    max-width: 106px !important;
    max-height: 32px !important;
  }
}

/* ==================== 21-feature carousel ==================== */
body #features .cf::before {
  background: radial-gradient(closest-side, rgba(155,199,178,.12), rgba(29,74,53,.05) 60%, transparent) !important;
}
body #features .feat {
  background: linear-gradient(145deg, rgba(20,22,25,.97), rgba(5,6,8,.97)) !important;
  border-color: #24272c !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 26px 70px -24px rgba(0,0,0,.9), inset 0 1px 0 rgba(238,229,212,.04) !important;
}
body #features .feat::after { background: #000101 !important; }
body #features .feat.is-active {
  background: linear-gradient(145deg,#15191d,#07080a) padding-box,
              linear-gradient(135deg,#9BC7B2,#EEE5D4) border-box !important;
  box-shadow: 0 34px 80px -24px rgba(155,199,178,.25), 0 0 0 6px rgba(155,199,178,.045) !important;
}
body #features .fh {
  background: #0b0d10 !important;
  border-bottom-color: #101215 !important;
}
body #features .fh span {
  background: #EEE5D4 !important;
  color: #000101 !important;
}
body #features .fh h3 { color: #D9CFBB !important; }
body #features .feat.is-active .fh { background: rgba(155,199,178,.065) !important; }
body #features .feat.is-active .fh span {
  background: linear-gradient(135deg,#9BC7B2,#EEE5D4) !important;
  color: #000101 !important;
  box-shadow: 0 4px 14px -3px rgba(155,199,178,.35) !important;
}
body #features .feat.is-active .fh h3 { color: #9BC7B2 !important; }
body #features .fg {
  background: #07080a !important;
  border-bottom-color: #101215 !important;
}
body #features .feat > p {
  background: #0b0d10 !important;
  color: #C2B7A0 !important;
}
body #features .feat.is-active > p { color: #EEE5D4 !important; }

/* Carousel arrows use the same travelling border light as other CTAs. */
body #features .cf-arrow {
  isolation: isolate;
  overflow: hidden;
  color: #EEE5D4 !important;
  background: rgba(7,8,10,.86) !important;
  border-color: #303238 !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0,0,0,.45) !important;
}
body #features .cf-arrow::before {
  content: "";
  position: absolute;
  inset: -75%;
  z-index: -2;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 285deg, rgba(238,229,212,.12) 312deg, #fff 334deg, rgba(238,229,212,.18) 350deg, transparent 360deg);
  animation: btn-orbit 3.2s linear infinite;
}
body #features .cf-arrow::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: #07080a;
  pointer-events: none;
}
body #features .cf-arrow:hover {
  color: #000101 !important;
  background: #EEE5D4 !important;
  border-color: #EEE5D4 !important;
  transform: translateY(-50%) scale(1.08);
}
body #features .cf-arrow:hover::after { background: #EEE5D4; }
body #features .cf-dot {
  background: #303238 !important;
  transition: width .3s ease, background .3s ease, box-shadow .3s ease !important;
}
body #features .cf-dot:hover { background: #9BC7B2 !important; }
body #features .cf-dot.on {
  background: #EEE5D4 !important;
  box-shadow: 0 0 12px rgba(155,199,178,.35);
}

/* Carousel text and data visualisation surfaces. */
body #features .v,
body #features .vh,
body #features .kv,
body #features .big,
body #features .tr b,
body #features .rk > b,
body #features .qb b,
body #features .rn,
body #features .fi b,
body #features .rec b,
body #features .toc > div,
body #features .bf .L,
body #features .bf .R { color: #EEE5D4 !important; }
body #features .kl, body #features .ks,
body #features .mlab span, body #features .qb small,
body #features .rn small, body #features .lg span,
body #features .fi small, body #features .rec span,
body #features .ft, body #features .pt s,
body #features .tr.th, body #features .xr.xc > span,
body #features .xr > span:first-child,
body #features .donut small, body #features .st span { color: #B9B09B !important; }

body #features .k, body #features .tb, body #features .vs,
body #features .st, body #features .pdf, body #features .xl,
body #features .fi {
  background: #0b0d10 !important;
  border-color: #1b1e22 !important;
}
body #features .tr, body #features .xr { border-top-color: #101215 !important; }
body #features .tr.th, body #features .xr.xc,
body #features .xr > span:first-child { background: rgba(238,229,212,.03) !important; }
body #features .xr > span { border-left-color: #101215 !important; }
body #features .pill, body #features .ps,
body #features .rk em, body #features .bf > span {
  background: rgba(238,229,212,.065) !important;
  color: #C2B7A0 !important;
}
body #features .pb { background: rgba(155,199,178,.1) !important; color: #9BC7B2 !important; }
body #features .pg { background: rgba(29,74,53,.1) !important; color: #9BC7B2 !important; }
body #features .pr { background: rgba(242,70,46,.1) !important; color: #F2462E !important; }
body #features .pa { background: rgba(238,229,212,.1) !important; color: #EEE5D4 !important; }
body #features .pv { background: rgba(29,74,53,.12) !important; color: #c4b4ff !important; }
body #features .up { color: #9BC7B2 !important; }
body #features .dn { color: #F2462E !important; }
body #features .bl, body #features .donut b,
body #features .qb .pk b, body #features .qb .pk small { color: #9BC7B2 !important; }
body #features .ins {
  background: rgba(155,199,178,.065) !important;
  border-left-color: #9BC7B2 !important;
  color: #b5e6f0 !important;
}
body #features .ins.a {
  background: rgba(238,229,212,.065) !important;
  border-left-color: #EEE5D4 !important;
  color: #ffe2a0 !important;
}
body #features .donut > div { background: #0b0d10 !important; }
body #features .rk em.g1 { background: rgba(238,229,212,.12) !important; color: #EEE5D4 !important; }
body #features .rk em.g2 { background: rgba(238,229,212,.1) !important; color: #D9CFBB !important; }
body #features .rk em.g3 { background: rgba(242,70,46,.12) !important; color: #ffb96d !important; }
body #features .trk, body #features .bt, body #features .ln { background: rgba(238,229,212,.075) !important; }
body #features .rec { background: #101215 !important; border-color: #101215 !important; }
body #features .rec > div, body #features .ft { background: #0b0d10 !important; }
body #features .ft { border-color: #303238 !important; }
body #features .fi.new {
  background: rgba(29,74,53,.07) !important;
  border-color: rgba(155,199,178,.35) !important;
}
body #features [style*="background:#f0fdf4"] { background: rgba(29,74,53,.07) !important; }
body #features [style*="background:#eff6ff"] { background: rgba(155,199,178,.07) !important; }
body #features [style*="background:#fffbeb"] { background: rgba(238,229,212,.07) !important; }
body #features [style*="color:#64748b"],
body #features [style*="color:#475569"],
body #features [style*="color:#94a3b8"] { color: #85858e !important; }
body #features [style*="color:#15803d"] { color: #9BC7B2 !important; }
body #features [style*="color:#1d4ed8"] { color: #9BC7B2 !important; }
body #features [style*="color:#b45309"] { color: #EEE5D4 !important; }

@media (prefers-reduced-motion: reduce) {
  body .sample-cta { animation: none !important; }
  body #features .cf-arrow::before { display: none; }
  body #why-category .rounded-2xl.bg-white::before,
  body #why-category .rounded-xl.bg-slate-50\/60::before { display: none; }
}
