:root {
  --bg-1: #0a0a2f;
  --bg-2: #0f1a50;
  --text: #fff;
  --muted: #cfcfcf;
  --accent: #7aa2ff;
}

html body {
  background: radial-gradient(
      1200px 700px at 50% 10%,
      #0f1a50 0%,
      #0b103a 40%,
      #080a29 100%
    ),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  color: var(--text);
  font-family: system-ui, -apple-system, "Inter", Segoe UI, Roboto, Helvetica,
    Arial;
}

/* Navbar */
.navbar {
  backdrop-filter: blur(2px);
}

.navbar-brand span {
  color: #00e0ff;
  font-weight: 600;
}

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 120px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(2rem, 3.6vw + 1rem, 3.8rem);
}

.hero p.lead {
  color: var(--muted);
  max-width: 820px;
  margin-inline: auto;
}

/* Buttons */
.btn-pill {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-animate {
  animation: glow 1s infinite alternate;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

@keyframes glow {
  from {
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.35),
      0 0 12px rgba(122, 162, 255, 0.25);
  }

  to {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.55),
      0 0 22px rgba(122, 162, 255, 0.45);
  }
}

.btn-pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-25deg);
  z-index: 1;
  pointer-events: none;
}

.btn-pill:hover::after {
  animation: shine 0.8s forwards;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.btn-pill:hover {
  transform: scale(1.05);
}

/* ===== Sparkles ===== */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  --size: 14px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
  opacity: 0;
  animation: fadeInOut var(--fade, 6s) ease-in-out infinite,
    twinkle var(--twinkle, 3s) ease-in-out infinite,
    drift var(--drift, 5s) ease-in-out infinite,
    pulse var(--pulse, 7s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff, #dff3ff);
  transform: rotate(45deg);
  border-radius: 2px;
}

.sparkle::after {
  inset: 22%;
  background: linear-gradient(180deg, #eaf6ff, #ffffff);
  filter: blur(0.3px);
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
  }

  10%,
  90% {
    opacity: 0.9;
  }

  50% {
    opacity: 1;
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(0.85);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(25deg);
  }
}

/* ===== NEW: “Welcome / Automated Assessments” Section ===== */
.section-intro {
  padding: 80px 0;
  text-align: center;
}

.section-intro h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.6rem);
  margin-bottom: 14px;
}

.section-intro p {
  color: #cfd3e2;
  max-width: 1000px;
  margin: 0 auto;
}

/* Feature Card */
.feature-automated {
  padding: 0px !important;
}
.feature-automated-left {
  padding-left: 48px !important;
}
.feature-card {
  position: relative;
  background: linear-gradient(135deg, #141a3c, #0f1f42);
  border-radius: 16px;
  padding: 48px;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.4s ease;
}
.feature-card img {
  max-width: 100%;
}

/* Glow border effect */
.feature-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #5c7cff, #00e0ff, #7f5cff, #00ffa2);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

/* Hover state */
.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.feature-card:hover::before {
  opacity: 1;
}

/* Gradient animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Content */
.feature-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.feature-text {
  color: #d1d6e6;
  font-size: 1rem;
}

/* Illustration animation */
.illus img {
  width: 100%;
  max-width: 100%;
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .sparkle,
  .btn-animate,
  .btn-pill::after,
  .illus {
    animation: none !important;
  }
}

/* Spacing after hero */
.after-hero {
  background: #000000;
  margin-top: -12px;
  padding-bottom: 84px;
}

/* Animated highlight inside the card on hover */
.hover-bg {
  --glow: radial-gradient(
    600px 300px at var(--mx, 70%) var(--my, 20%),
    rgba(124, 165, 255, 0.18),
    rgba(0, 0, 0, 0) 60%
  );
  background-image: var(--glow),
    radial-gradient(1200px 700px at 100% 0%, #0f2b57 0%, transparent 55%),
    radial-gradient(800px 600px at 0% 100%, #2a1e5a 0%, transparent 55%),
    linear-gradient(135deg, #151a3a, #0f1f42 60%, #0a223c 100%);
  transition: transform 0.4s ease, background-position 0.3s ease;
}

.hover-bg:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Move the glow with the cursor */
.hover-bg {
  background-blend-mode: screen, normal, normal, normal;
}

.hover-bg[data-animate="true"] {
  /* marker to attach JS once */
}

/* Floating illustration reused */
.illus {
  animation: floaty 6s ease-in-out infinite;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hover-bg,
  .illus {
    animation: none !important;
  }
}

/* Capability stack — exact look from your design */
.capabilities.v2 {
  position: relative;
  /* space for the three steps + rails */
  padding-left: 0;
  isolation: isolate;
  /* keep shadows contained */
}

.cap-rails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.35));
}

.cap-item {
  position: relative;
  width: calc(100% - var(--offset));
  margin-left: var(--offset);
  margin-bottom: 56px;
}

/* subtle outer frame/glow behind each card */
.cap-item::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(
    600px 300px at 30% 0%,
    rgba(124, 165, 255, 0.16),
    transparent 60%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.cap-inner {
  position: relative;
  z-index: 1;
  padding: 22px 28px;
  border-radius: 16px;
  background: #0b112b;
  /* deep navy */
  color: #e9edff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  line-height: 1.55;
  font-size: 1.05rem;
}

/* hover polish (optional but subtle) */
.cap-item:hover::before {
  border-color: rgba(122, 162, 255, 0.28);
  background: radial-gradient(
    700px 320px at 35% 5%,
    rgba(124, 165, 255, 0.22),
    transparent 60%
  );
}

/* Responsive: stack vertically on small screens (no offsets) */
@media (max-width: 991.98px) {
  .capabilities.v2 {
    min-height: unset;
  }

  .cap-rails {
    display: none;
  }

  .cap-item {
    width: 100%;
    margin-left: 0;
    margin-bottom: 22px;
  }

  .cap-item::before {
    inset: -10px;
  }

  .cap-inner {
    font-size: 1rem;
  }
}

/* ==== KPI Band (matches your screenshot) ==== */
.kpi-band {
  background: radial-gradient(900px 400px at 0% 0%, #162859 0%, transparent 55%),
    linear-gradient(90deg, #0f1b3b 0%, #0d162f 60%, #0c142a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 50px 0;
  /* thin band like the design */
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  text-align: center;
}

.kpi {
  position: relative;
  padding: 6px 22px;
}

/* vertical separators (md+) */
@media (min-width: 768px) {
  .kpi:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.05)
    );
  }
}

/* big, bold numbers */
.kpi-value {
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: clamp(2rem, 1.2rem + 2.2vw, 2.75rem);
  /* visibly larger */
  line-height: 1.05;
  color: #fff;
  margin-bottom: 6px;
}

/* compact label under each value */
.kpi-label {
  color: #cfd3e2;
  font-size: 0.98rem;
  line-height: 1.35;
  max-width: 280px;
  margin: 0 auto;
}

/* mobile: two per row, no separators */
@media (max-width: 767.98px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
}

/* ===== Services intro band ===== */
.services-intro {
  position: relative;
  padding: 76px 0 58px;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chip {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.chip-purple {
  background: var(--purple);
  color: #eef;
  box-shadow: 0 8px 22px rgba(55, 48, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.services-title {
  margin: 14px auto 0;
  max-width: 1100px;
  line-height: 1.15;
  letter-spacing: 0.2px;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.9rem);
}

.services-text {
  padding-bottom: 50px;
  text-align: center;
}

/* === EXACT background for the Services section === */
.services-one {
  position: relative;
  padding: 14px 0 40px;
  background:
        /* strong blue glow on the right (behind the benefit pills) */ radial-gradient(
      920px 620px at 88% 36%,
      rgba(58, 105, 207, 0.28) 0%,
      rgba(58, 105, 207, 0.22) 22%,
      rgba(58, 105, 207, 0.12) 45%,
      rgba(0, 0, 0, 0) 60%
    ),
    /* very soft purple/navy lift from lower-left */
      radial-gradient(
        980px 640px at 6% 92%,
        rgba(116, 76, 255, 0.14) 0%,
        rgba(116, 76, 255, 0.08) 35%,
        transparent 60%
      ),
    /* subtle top vignette to deepen the header edge */
      radial-gradient(
        1200px 700px at 50% -120px,
        rgba(0, 0, 0, 0.35),
        transparent 60%
      );
}

.service-index {
  position: absolute;
  left: 30px;
  top: 16px;
  font-weight: 800;
  font-size: clamp(3.8rem, 2.2rem + 5vw, 6.3rem);
  line-height: 1;
  color: #4251a4;
  opacity: 0.33;
  user-select: none;
  pointer-events: none;
}

.service-title {
  color: #fff;
  letter-spacing: 0.15px;
}

.service-text {
  color: var(--muted);
}

/* benefits */
.service-benefits .benefit {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 56px;
  background: #0c122b;
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  color: #e9edff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: background 0.25s ease, transform 0.25s ease,
    border-color 0.25s ease;
}

.service-benefits .benefit:hover {
  background: #0d1533;
  transform: translateX(4px);
  border-color: rgba(124, 165, 255, 0.28);
}

.icon-wrap {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #2b2f6a, #1b2252);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* CTA button */
.btn-pill {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn-outline-light {
  border-width: 2px;
}

.btn-pill:hover {
  transform: translateY(-1px);
}

.btn-pill {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* responsive */
@media (max-width: 991.98px) {
  .service-index {
    left: 22px;
    top: 10px;
  }

  .service-text {
    margin-bottom: 1rem;
  }
}

.service-padding-top {
  padding-top: 5rem;
}

.service-index-right {
  right: 30px;
  left: auto;
}

/* ===== Section background (subtle vignette like the comp) ===== */
.services-timeline {
  padding: 14px 0 40px;
}

/* ===== Card: deep navy + purple top-right glow, rounded ===== */
.timeline-card {
  background: radial-gradient(
      1200px 700px at 100% 0%,
      rgba(130, 76, 255, 0.22) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #111838, #0e1737);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
}

/* grid paddings to create space around the rail */
.tl-grid > .col-lg-5 {
  padding-right: 48px !important;
}

.tl-grid > .col-lg-6 {
  padding-left: 48px !important;
}

/* ===== Center rail (pixel-accurate) ===== */
.tl-rail {
  position: absolute;
  left: 50%;
  top: 32px;
  bottom: 32px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.08)
  );
  z-index: 2;
}

.tl-node {
  --size: 30px;
  position: absolute;
  left: 50%;
  top: var(--pos);
  width: var(--size);
  height: var(--size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #0e1737;
  border: 2px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tl-node::before,
.tl-node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #e7eeff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.tl-node::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* ===== Blob: crisp, glossy, subtle float (not blurry) ===== */
.blob {
  max-width: 460px;
  display: block;
  margin: auto;
  filter: drop-shadow(0 22px 40px rgba(52, 20, 150, 0.45));
  animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ===== Typography & copy rhythm ===== */
.tl-title {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.05rem);
  /* matches visual scale */
  margin-bottom: 0.35rem;
}

.tl-copy {
  color: #cfd3e2;
  line-height: 1.6;
  font-size: 1.02rem;
}

/* Responsive: stack, hide rail on small screens */
@media (max-width: 991.98px) {
  .tl-rail {
    display: none;
  }

  .timeline-card {
    padding: 2rem !important;
  }

  .blob {
    max-width: 360px;
  }
}

/* ===== Outcomes / Metrics look ===== */
.impact-card {
  background: radial-gradient(900px 540px at 0% 0%, #142753 0%, transparent 55%),
    linear-gradient(135deg, #111838, #0e1737);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.impact-card img {
  max-width: 100%;
}

.impact-copy {
  color: #cfd3e2;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 46rem;
}

/* Metric cards (right column) */
.metric-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  /* left number block + body */
  align-items: stretch;
  background: radial-gradient(
      1000px 620px at 100% 0%,
      rgba(124, 76, 255, 0.18) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #111838, #0e1737);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  min-height: 140px;
}

/* left blue badge with curved join */
.metric-badge {
  position: relative;
  background: linear-gradient(180deg, #2a3a8b, #22306f);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  padding: 16px 10px;
}

.metric-card.rounded-4 .metric-badge {
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

/* create a soft “notch” on the right edge so it blends into the card */
.metric-badge::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -26px;
  width: 44px;
  height: calc(100% + 52px);
  background: radial-gradient(
        28px 28px at left top,
        rgba(0, 0, 0, 0) 98%,
        rgba(255, 255, 255, 0.08) 99%
      )
      top left / 100% 50% no-repeat,
    radial-gradient(
        28px 28px at left bottom,
        rgba(0, 0, 0, 0) 98%,
        rgba(255, 255, 255, 0.08) 99%
      )
      bottom left / 100% 50% no-repeat;
  pointer-events: none;
  opacity: 0.35;
}

.metric-value {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.4rem);
}

.metric-body {
  color: #dde3f2;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Hover micro-interaction (subtle lift + inner glow) */
.metric-card:hover {
  transform: translateY(-3px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .metric-card {
    grid-template-columns: 150px 1fr;
  }
}

@media (max-width: 575.98px) {
  .metric-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .metric-badge {
    border-radius: 1rem 1rem 0 0 !important;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
  }

  .metric-body {
    padding: 16px 16px 18px;
  }
}

.section-slab {
  padding-bottom: 28px;
}

.about-panel {
  background: radial-gradient(
      900px 500px at 100% 0%,
      rgba(61, 115, 255, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      700px 500px at 0% 100%,
      rgba(124, 60, 255, 0.18) 0%,
      transparent 55%
    ),
    linear-gradient(135deg, #141a3c, #0f1f42 60%, #0a223c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(124, 165, 255, 0.12);
  color: #a9b8ff;
  font-weight: 600;
  font-size: 0.87rem;
}

.text-muted-200 {
  color: #cfd3e2;
}

/* capability stack */
.stack {
  position: relative;
  padding: 4px 4px 4px 0;
}

.stack-card {
  position: relative;
  margin: 18px 0 18px 60px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #0f1633;
  color: #e9edff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.5s ease forwards;
  animation-delay: var(--delay, 0s);
}

.stack-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.stack-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* lower cards already use .feature-card & .hover-bg from earlier sections */

.lead-sm {
  font-size: 1.05rem;
  color: #d2d6e6;
}

/* Mini chart draw effect */
.mini-chart .chart-line {
  filter: drop-shadow(0 0 6px rgba(124, 165, 255, 0.35));
}

.mini-chart.in .chart-line {
  animation: dash 2.1s ease forwards;
}

.spark-chart .spark {
  stroke-linecap: round;
}

.spark-chart.in .spark:nth-of-type(1) {
  animation: dash 1.8s ease forwards;
}

.spark-chart.in .spark:nth-of-type(2) {
  animation: dash 1.8s ease 0.2s forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ui-mock .ui-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.ui-pill {
  width: 62px;
  height: 18px;
  border-radius: 999px;
  background: #5c7cff;
  opacity: 0.9;
}

.ui-bar {
  display: inline-block;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.ui-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #a08bff;
  margin-left: auto;
}

.ui-card {
  height: 72px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.6rem;
}

.ui-card.dim {
  opacity: 0.6;
}

/* mini dashboard */
.mini-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 16px;
  min-width: 260px;
}

.mini-panel-header {
  color: #cfd3e2;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

/* pointer-reactive glow (hooked up via JS below) */
.hover-bg {
  --mx: 70%;
  --my: 20%;
  --glow: radial-gradient(
    600px 300px at var(--mx) var(--my),
    rgba(124, 165, 255, 0.18),
    rgba(0, 0, 0, 0) 60%
  );
  background-image: var(--glow),
    radial-gradient(
      900px 500px at 100% 0%,
      rgba(61, 115, 255, 0.18),
      transparent 55%
    ),
    radial-gradient(
      700px 500px at 0% 100%,
      rgba(124, 60, 255, 0.18),
      transparent 55%
    ),
    linear-gradient(135deg, #151a3a, #0f1f42 60%, #0a223c);
  background-blend-mode: screen, normal, normal, normal;
  transition: transform 0.35s ease, background-position 0.2s ease;
}

.hover-bg:hover {
  transform: translateY(-6px) scale(1.02);
}

/* reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .mini-chart .chart-line,
  .spark-chart .spark {
    animation: none !important;
  }

  .hover-bg,
  .stack-card {
    transition: none !important;
  }
}

/* ====== Testimonials look ====== */
.testimonials-section {
  position: relative;
  background: radial-gradient(
      900px 600px at 10% 10%,
      rgba(124, 76, 255, 0.25) 0%,
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 90% 95%,
      rgba(88, 28, 135, 0.18) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #0b1126, #0b132b);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 5rem 0;
}
.t-chip {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #2a21ce;
  color: #eef;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(55, 48, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.t-title {
  color: #fff;
  letter-spacing: 0.2px;
  line-height: 1.2;
  font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.4rem);
}

/* Slider */
.t-slider {
  position: relative;
  margin-top: 22px;
}
.t-track {
  display: grid;
  grid-auto-flow: column;
  gap: 24px;
  grid-auto-columns: min(100%, 560px); /* 1 per view (mobile) */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 8px;
  scrollbar-width: none;
}
.t-track::-webkit-scrollbar {
  display: none;
}
@media (min-width: 992px) {
  .t-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  } /* 2 per view */
}

/* Card */
.t-card {
  position: relative;
  text-align: left;
  scroll-snap-align: start;
  background: #0d121f;
  background: radial-gradient(
      900px 600px at 100% 100%,
      rgba(22, 42, 95, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, #0d111d, #0b101a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 26px 22px;
  color: #cfd3e2;
  min-height: 220px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.t-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
}
.t-name {
  color: #fff;
  font-weight: 700;
}
.t-role {
  color: #a9b0c7;
  font-size: 0.95rem;
}

/* decorative quotes */
.t-mark {
  position: absolute;
  right: 18px;
  bottom: 10px;
  font-size: 64px;
  line-height: 1;
  color: #ffffff10;
  font-weight: 900;
  pointer-events: none;
}

/* Nav buttons */
.t-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.t-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.t-btn--ghost {
  background: #2a2f3a;
  color: #eaeffb;
}
.t-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}
.t-btn--primary {
  background: #6c5cff;
  color: #fff;
}
.t-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(108, 92, 255, 0.45);
}

/* ===== Resources styles (pixel match) ===== */
.resources-section {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0;
}

.r-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #2a21ce;
  color: #eef;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(55, 48, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.r-title {
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.2px;
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.6rem);
  max-width: 980px;
  margin-inline: auto;
}

.r-sub {
  color: #cfd3e2;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 820px;
}

/* Cards */
.r-card {
  color: #e9edff;
  text-decoration: none;
  background: radial-gradient(
      900px 620px at 100% 0%,
      rgba(124, 76, 255, 0.18) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #0e1325, #0b111f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  min-height: 360px; /* keeps the body text placement like the mock */
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.r-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 165, 255, 0.28);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.r-num {
  font-weight: 800;
  color: #dfe4ff;
  opacity: 0.9;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.6rem);
  letter-spacing: 0.02em;
}

.r-go {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #1d2550;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, background 0.25s ease;
}
.r-card:hover .r-go {
  transform: translateY(-2px) rotate(12deg);
  background: #2b3480;
}

.r-card-text {
  color: #cfd3e2;
}

/* Small screens */
@media (max-width: 575.98px) {
  .r-card {
    min-height: 0;
  }
}

/* ===== FAQ styles ===== */
.faq-section {
  background: radial-gradient(
      900px 620px at 12% 8%,
      rgba(124, 76, 255, 0.2) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #0a0b10, #0a0b12 60%, #0a0b10);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0;
}

.faq-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #2a21ce;
  color: #eef;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 22px rgba(55, 48, 255, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.faq-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.2px;
  font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.4rem);
}

/* Card */
.faq-card {
  background: radial-gradient(
      900px 620px at 100% 0%,
      rgba(124, 76, 255, 0.16) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #0e1325, #0b111f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.faq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 165, 255, 0.28);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.faq-q {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.faq-a {
  color: #cfd3e2;
  line-height: 1.65;
  font-size: 1.02rem;
}

/* Make cards equal height */
.faq-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ============== CTA styles ============== */

.cta-section {
  background: radial-gradient(
      1000px 700px at 50% -400px,
      rgba(0, 0, 0, 0.45),
      transparent 60%
    ),
    #05070d;
  padding: 5rem 0;
}

.cta-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  background: url(images/bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 5rem 3rem;
}

/* Headline + sub */
.cta-title {
  color: #fff;
  letter-spacing: 0.2px;
  line-height: 1.15;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.3rem);
}
.cta-sub {
  color: #cfd3e2;
  max-width: 750px;
  line-height: 1.65;
}

/* Button */
.btn-pill {
  border-radius: 999px;
}

/* Decorative */
.cta-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  width: 100%;
  height: 180px;
  opacity: 0.95;
  filter: drop-shadow(0 -4px 18px rgba(0, 0, 0, 0.35));
}
.cloud {
  position: absolute;
  width: 120px;
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite;
}
.c1 {
  left: 14%;
  top: 70px;
  animation-duration: 16s;
}
.c2 {
  right: 12%;
  top: 110px;
  animation-duration: 18s;
  animation-delay: -4s;
  transform: scale(1.1);
}
.c3 {
  left: 6%;
  bottom: 110px;
  animation-duration: 20s;
  animation-delay: -8s;
  transform: scale(0.9);
}

@keyframes drift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(16px);
  }
}

/* Sparkles */
.cta-sparkles {
  position: absolute;
  inset: 0;
}
.cta-spark {
  --size: 12px;
  --x: 50%;
  --y: 50%;
  --d: 6s;
  --delay: 0s;
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  width: var(--size);
  height: var(--size);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
  animation: twinkle var(--d) ease-in-out infinite var(--delay),
    bob 8s ease-in-out infinite var(--delay);
}
.cta-spark::before,
.cta-spark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #c2ffd8, #b9fffb);
  transform: rotate(45deg);
}
.cta-spark::after {
  inset: 24%;
  filter: blur(0.2px);
  background: #fff;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}
@keyframes bob {
  0%,
  100% {
    translate: -50% -50%;
  }
  50% {
    translate: -50% calc(-50% - 8px);
  }
}

/* Rounded edges like screenshot */
.cta-card {
  border-radius: 18px;
}

/* ===== Contact look ===== */
.contact-section {
  background: radial-gradient(
      1200px 800px at 50% -500px,
      rgba(0, 0, 0, 0.55),
      transparent 60%
    ),
    #060813;
  padding: 5rem 0;
}
.contact-card {
  background: radial-gradient(
      1000px 700px at 6% 0%,
      #162a59 0%,
      transparent 55%
    ),
    radial-gradient(
      1000px 700px at 92% 8%,
      rgba(112, 66, 255, 0.28) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, #111838, #0e1737);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  border-radius: 22px;
}
.contact-title {
  color: #fff;
  letter-spacing: 0.2px;
  line-height: 1.15;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.2rem);
}
.contact-sub {
  color: #cfd3e2;
  line-height: 1.65;
  max-width: 46rem;
}
.contact-form label {
  color: #ffffff !important;
}

/* pill helper (if not already defined) */
.btn-pill {
  border-radius: 50px !important;
}

/* Submit button (purple pill) */
.btn-cta {
  background: linear-gradient(90deg, #6f3bff, #7f3bff 60%, #7b47ff);
  color: #fff !important;
  border: 0;
  box-shadow: 0 10px 28px rgba(111, 59, 255, 0.45);
}
.btn-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn-cta {
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Dark form fields */
.form-control-dark {
  background: #0b1023;
  color: #e9edff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.form-control-dark:focus {
  background: #0b1026;
  color: #fff;
  border-color: #7ca5ff;
  box-shadow: 0 0 0 0.25rem rgba(124, 165, 255, 0.18);
}

/* Counter in textarea corner */
.char-counter {
  position: absolute;
  right: 0.5rem;
  bottom: 0.35rem;
  color: #8f97b3;
  font-size: 0.85rem;
}

/* Responsive padding */
@media (max-width: 991.98px) {
  .contact-card {
    padding: 2rem !important;
  }
}

/* ===== Footer look ===== */
.ws-footer {
  background: linear-gradient(180deg, #0a0b0e, #090a0d);
  color: #e9edf8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ws-footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand */
.ws-logo {
  font-size: 1.9rem;
  letter-spacing: 0.2px;
  color: #a7d4df;
}
.ws-logo span {
  color: #79c2cf;
  margin-left: 0.15rem;
}
.ws-tagline {
  color: #9aa2b5;
  margin-left: 0.2rem;
}

/* Contact */
.ws-contact-intro {
  color: #e9edf8;
  opacity: 0.85;
}
.ws-contact {
  color: #cdd3e4;
}
.ws-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #111827;
  color: #a7b3d6;
  flex: 0 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ws-link {
  color: #e9edf8;
  text-decoration: none;
}
.ws-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Nav */
.ws-footer-nav .ws-navlink {
  color: #e9edf8;
  opacity: 0.9;
  padding: 0.25rem 0;
  position: relative;
}
.ws-footer-nav .ws-navlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7ca5ff, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.ws-footer-nav .ws-navlink:hover::after {
  transform: scaleX(1);
}

/* Divider + copy */
.ws-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 0.25rem;
}
.ws-mission {
  color: #b8bfd4;
  max-width: 980px;
  margin-inline: auto;
  line-height: 1.6;
}
.ws-copy {
  color: #9aa2b5;
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .ws-footer-top {
    padding-bottom: 0.75rem;
  }
}
