html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

/* Site header */
.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-header__logo-img,
.site-footer__logo-img {
  height: 2.75rem;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(29, 140, 248, 0.12);
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(239, 246, 255, 0.9) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-nav__link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #475569;
  border-radius: 9999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1d8cf8, #7b3ccb);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.site-nav__link:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(29, 140, 248, 0.1);
}

.site-nav__link:hover::after {
  width: 1.25rem;
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1d8cf8 0%, #7b3ccb 100%);
  box-shadow:
    0 4px 14px rgba(29, 140, 248, 0.35),
    0 2px 6px rgba(123, 60, 203, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.site-header__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 8px 22px rgba(29, 140, 248, 0.4),
    0 4px 10px rgba(123, 60, 203, 0.25);
}

.site-header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(29, 140, 248, 0.15);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1d8cf8, #7b3ccb);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.site-header__toggle.is-open .site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle.is-open .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header__toggle.is-open .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__mobile {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 1rem;
}

.site-header__mobile-link {
  padding: 0.65rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  border-radius: 0.625rem;
  border-left: 3px solid transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.site-header__mobile-link:hover {
  color: #1d8cf8;
  background: #f0f7ff;
  border-left-color: #1d8cf8;
}

.site-header__mobile-cta {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1d8cf8 0%, #7b3ccb 100%);
  box-shadow: 0 6px 18px rgba(29, 140, 248, 0.3);
}

@media (min-width: 768px) {
  .site-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.875rem 1.5rem;
  }

  .site-header__logo {
    justify-self: start;
  }

  .site-header__logo-img,
  .site-footer__logo-img {
    height: 3.25rem;
  }

  .site-nav {
    display: flex;
    justify-self: center;
  }

  .site-header__end {
    justify-self: end;
  }

  .site-header__cta {
    display: inline-flex;
  }

  .site-header__toggle {
    display: none;
  }

  .site-header__mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .site-header__bar {
    padding: 0.875rem 2rem;
  }

  .site-nav__link {
    padding: 0.5rem 1.15rem;
  }
}

html,
body {
  overflow-x: hidden;
}

/* Extra safety: apply offset to each anchor target */
#features,
#pricing,
#about,
#cta,
#contact {
  scroll-margin-top: 8px;
}

#features {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

/* Section headings — brand pill + gradient accent */
.section-heading {
  max-width: 42rem;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading--center .section-heading__line {
  margin-left: auto;
  margin-right: auto;
}

.section-heading__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1d8cf8;
  border-radius: 9999px;
  border: 1px solid rgba(29, 140, 248, 0.18);
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.98) 0%,
    rgba(239, 246, 255, 0.92) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(29, 140, 248, 0.08);
}

.section-heading__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.section-heading__accent {
  background: linear-gradient(135deg, #1d8cf8 0%, #7b3ccb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading__line {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1d8cf8 0%, #7b3ccb 100%);
  box-shadow: 0 2px 10px rgba(29, 140, 248, 0.35);
}

@media (min-width: 1024px) {
  .section-heading__title {
    font-size: 2.375rem;
  }

  .section-heading__eyebrow {
    font-size: 0.75rem;
  }
}

/* Features — capability cards */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }
}

@media (min-width: 1024px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.feat-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #fafbfc 50%,
    #f8fafc 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 12px -4px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.feat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(90deg, #1d8cf8 0%, #7b3ccb 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.feat-card::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -20%;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(29, 140, 248, 0.14) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.4;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(191, 219, 254, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 10px 28px -8px rgba(29, 140, 248, 0.15),
    0 4px 16px -6px rgba(15, 23, 42, 0.08);
}

.feat-card:hover::before {
  opacity: 1;
}

.feat-card:hover::after {
  opacity: 0.65;
  transform: scale(1.06);
}

.feat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  color: #1d4ed8;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 4px 14px -4px rgba(29, 140, 248, 0.45);
  transition: transform 0.28s ease;
}

.feat-card:hover .feat-card__icon {
  transform: scale(1.05);
}

.feat-card__icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.feat-card__title {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.feat-card__text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

/* Hero — Smart Billing */
.feat-card--hero {
  grid-column: 1 / -1;
  padding: 1.5rem 1.5rem 1.6rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f8fafc 35%,
    rgba(239, 246, 255, 0.9) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 20px -6px rgba(29, 140, 248, 0.12),
    0 8px 24px -10px rgba(15, 23, 42, 0.07);
}

.feat-card--hero::before {
  opacity: 0.75;
}

.feat-card--hero .feat-card__icon {
  width: 3rem;
  height: 3rem;
}

.feat-card--hero .feat-card__icon-svg {
  width: 1.4rem;
  height: 1.4rem;
}

.feat-card--hero .feat-card__title {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.feat-card--hero .feat-card__text {
  font-size: 0.9375rem;
}

.feat-card__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feat-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #334155;
}

.feat-card__dot {
  flex-shrink: 0;
  margin-top: 0.45rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #1d8cf8;
}

/* About — Why Choose Us feature cards */
.why-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .why-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.why-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.4rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #f8fafc 55%,
    #f1f5f9 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 18px -6px rgba(15, 23, 42, 0.08),
    0 12px 28px -14px rgba(29, 140, 248, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.why-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 219, 254, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 24px -6px rgba(15, 23, 42, 0.1),
    0 20px 40px -12px rgba(29, 140, 248, 0.18);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover::after {
  opacity: 0.55;
  transform: scale(1.08);
}

.why-card--wide {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .why-card--wide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(
      135deg,
      #ffffff 0%,
      #f8fafc 40%,
      rgba(239, 246, 255, 0.95) 100%
    );
  }

  .why-card--wide .why-card__head {
    margin-bottom: 0.15rem;
  }
}

.why-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.why-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  transition: transform 0.25s ease;
}

.why-card:hover .why-card__icon {
  transform: scale(1.06);
}

.why-card__icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.why-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.why-card__text {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

@media (max-width: 639px) {
  .why-card__text {
    padding-left: 0;
  }
}

/* Card accent colors */
.why-card--blue::before {
  background: linear-gradient(90deg, #1d8cf8 0%, #60a5fa 100%);
}

.why-card--blue::after {
  background: radial-gradient(circle, rgba(29, 140, 248, 0.2) 0%, transparent 70%);
}

.why-card--blue .why-card__icon {
  color: #1d4ed8;
  background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
  box-shadow: 0 6px 16px -6px rgba(29, 140, 248, 0.5);
}

.why-card--amber::before {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.why-card--amber::after {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
}

.why-card--amber .why-card__icon {
  color: #b45309;
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
  box-shadow: 0 6px 16px -6px rgba(245, 158, 11, 0.45);
}

.why-card--green::before {
  background: linear-gradient(90deg, #059669 0%, #34d399 100%);
}

.why-card--green::after {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.18) 0%, transparent 70%);
}

.why-card--green .why-card__icon {
  color: #047857;
  background: linear-gradient(145deg, #d1fae5 0%, #a7f3d0 100%);
  box-shadow: 0 6px 16px -6px rgba(5, 150, 105, 0.4);
}

.why-card--purple::before {
  background: linear-gradient(90deg, #7b3ccb 0%, #a78bfa 100%);
}

.why-card--purple::after {
  background: radial-gradient(circle, rgba(123, 60, 203, 0.2) 0%, transparent 70%);
}

.why-card--purple .why-card__icon {
  color: #6d28d9;
  background: linear-gradient(145deg, #ede9fe 0%, #ddd6fe 100%);
  box-shadow: 0 6px 16px -6px rgba(123, 60, 203, 0.45);
}

.why-card--indigo::before {
  background: linear-gradient(90deg, #1d8cf8 0%, #7b3ccb 100%);
}

.why-card--indigo::after {
  background: radial-gradient(
    circle,
    rgba(123, 60, 203, 0.15) 0%,
    rgba(29, 140, 248, 0.12) 50%,
    transparent 70%
  );
}

.why-card--indigo .why-card__icon {
  color: #4338ca;
  background: linear-gradient(145deg, #e0e7ff 0%, #c7d2fe 100%);
  box-shadow: 0 6px 16px -6px rgba(67, 56, 202, 0.4);
}

.hero-blob-1 {
  border-radius: 63% 37% 48% 52% / 55% 42% 58% 45%;
}

.hero-blob-2 {
  border-radius: 42% 58% 55% 45% / 48% 52% 40% 60%;
}

/* Stats strip — compact unified panel */
.stats-section {
  position: relative;
  padding: 1rem 0 1.25rem;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f5f9ff 40%,
    #ffffff 100%
  );
}

.stats-section__glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(85%, 560px);
  height: 5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(29, 140, 248, 0.1) 0%,
    transparent 70%
  );
  filter: blur(20px);
}

.stats-panel {
  position: relative;
  border-radius: 1rem;
  padding: 1.5px;
  background: linear-gradient(
    120deg,
    #1d8cf8 0%,
    #7b3ccb 42%,
    #1d8cf8 100%
  );
  box-shadow:
    0 12px 28px -14px rgba(29, 140, 248, 0.28),
    0 6px 16px -6px rgba(15, 23, 42, 0.06);
}

.stats-panel__inner {
  overflow: hidden;
  border-radius: calc(1rem - 1.5px);
  background: linear-gradient(165deg, #ffffff 0%, #f8fbff 55%, #ffffff 100%);
  padding: 0.875rem 0.75rem;
}

.stats-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

.stat-item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.35rem 0.75rem;
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0;
  border-radius: 0.625rem;
}

.stat-icon__svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2;
}

.stat-item__text {
  min-width: 0;
}

.stat-item--blue .stat-icon {
  color: #1d4ed8;
  background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
  box-shadow: 0 6px 14px -6px rgba(29, 140, 248, 0.45);
}

.stat-item--green .stat-icon {
  color: #047857;
  background: linear-gradient(145deg, #d1fae5 0%, #a7f3d0 100%);
  box-shadow: 0 6px 14px -6px rgba(5, 150, 105, 0.4);
}

.stat-item--purple .stat-icon {
  color: #6d28d9;
  background: linear-gradient(145deg, #ede9fe 0%, #ddd6fe 100%);
  box-shadow: 0 6px 14px -6px rgba(123, 60, 203, 0.4);
}

.stat-item--teal .stat-icon {
  color: #0f766e;
  background: linear-gradient(145deg, #ccfbf1 0%, #99f6e4 100%);
  box-shadow: 0 6px 14px -6px rgba(15, 118, 110, 0.35);
}

.stat-value {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-item--blue .stat-value {
  background: linear-gradient(135deg, #0f172a 25%, #1d8cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item--green .stat-value {
  background: linear-gradient(135deg, #0f172a 25%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item--purple .stat-value {
  background: linear-gradient(135deg, #0f172a 25%, #7b3ccb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item--teal .stat-value {
  background: linear-gradient(135deg, #0f172a 25%, #0d9488 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: #64748b;
}

@media (min-width: 640px) {
  .stats-section {
    padding: 1.25rem 0 1.5rem;
  }

  .stats-panel__inner {
    padding: 1rem 0.875rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 0.5rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .stats-panel__inner {
    padding: 0.875rem 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat-item {
    justify-content: center;
    padding: 0.5rem 1rem;
  }

  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      #e2e8f0 50%,
      transparent 100%
    );
  }

  .stat-value {
    font-size: 1.625rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }
}

body.modal-open {
  overflow: hidden;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.demo-modal.hidden {
  display: none;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.demo-modal-panel {
  position: relative;
  width: min(100%, 520px);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(29, 140, 248, 0.16);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.24),
    0 8px 24px rgba(29, 140, 248, 0.15);
}

.demo-close-btn {
  position: absolute;
  top: 1.75rem;
  right: 1.6rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 8px;
  background: #6A31B4;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.demo-form-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

.demo-form-subtitle {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  color: #475569;
}

.demo-form {
  display: grid;
  gap: 0.9rem;
}

.demo-form-field {
  display: grid;
  gap: 0.4rem;
}

.demo-form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.demo-form-field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  color: #0f172a;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-form-field input::placeholder {
  color: #94a3b8;
}

.demo-form-field input:focus {
  border-color: #1d8cf8;
  box-shadow: 0 0 0 3px rgba(29, 140, 248, 0.15);
}

.demo-submit-btn {
  margin-top: 0.35rem;
  border: 0;
  border-radius: 10px;
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #1d8cf8 0%, #7b3ccb 100%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.demo-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(29, 140, 248, 0.28);
}

.demo-submit-btn:active {
  transform: translateY(0);
  opacity: 0.95;
}

.demo-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.demo-form-status {
  min-height: 1.1rem;
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
}

.demo-form-status.is-success {
  color: #15803d;
}

.demo-form-status.is-error {
  color: #b91c1c;
}

/* CTA banner — brand palette */
.cta-banner {
  --cta-blue-deep: #0b4a8f;
  --cta-blue: #1d8cf8;
  --cta-blue-light: #5eb3ff;
  --cta-purple: #7b3ccb;
  --cta-purple-deep: #5a3ec8;
  --cta-text: #ffffff;
  --cta-text-muted: #d6e8ff;
  --cta-btn-bg: #ffffff;
  --cta-btn-text: #5a3ec8;
  --cta-btn-hover: #4a2db0;

  background: #ffffff;
  padding: 2rem 0 3rem;
}

.cta-banner__wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.cta-banner__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  padding: 1.5rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    118deg,
    var(--cta-blue-deep) 0%,
    var(--cta-blue) 38%,
    var(--cta-purple-deep) 72%,
    var(--cta-purple) 100%
  );
  box-shadow:
    0 20px 44px -18px rgba(11, 74, 143, 0.55),
    0 10px 24px -10px rgba(123, 60, 203, 0.4);
}

.cta-banner__inner::before {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: -3.5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(214, 232, 255, 0.35) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.cta-banner__inner::after {
  content: "";
  position: absolute;
  left: -1.5rem;
  bottom: -2.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(94, 179, 255, 0.28) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner__title {
  margin: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--cta-text);
  text-shadow: 0 1px 2px rgba(11, 74, 143, 0.25);
}

.cta-banner__text {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--cta-text-muted);
}

.cta-banner__btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cta-btn-text);
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: var(--cta-btn-bg);
  box-shadow:
    0 6px 18px rgba(11, 74, 143, 0.22),
    0 2px 6px rgba(90, 62, 200, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.cta-banner__btn:hover {
  transform: translateY(-2px);
  color: var(--cta-btn-hover);
  background: #f8faff;
  box-shadow:
    0 10px 26px rgba(11, 74, 143, 0.28),
    0 4px 10px rgba(90, 62, 200, 0.18);
}

@media (min-width: 640px) {
  .cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.75rem;
  }

  .cta-banner__content {
    text-align: left;
  }

  .cta-banner__btn {
    align-self: center;
  }
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 2.5rem 0 3.5rem;
  }

  .cta-banner__wrap {
    padding: 0 2rem;
  }

  .cta-banner__inner {
    padding: 1.5rem 2.25rem;
  }

  .cta-banner__text {
    font-size: 0.9375rem;
  }
}

@media (min-width: 640px) {
  .demo-modal-panel {
    padding: 1.75rem;
  }
}

