/**
 * Landing page design system
 * Institutional, enterprise-grade, government-credible
 * No flashy animations or startup blobs.
 */

/* -------------------------------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  --color-primary: #003399;
  --color-primary-dark: #003366;
  --color-navy: #0f172a;
  --color-cta-bg: #003399;
  --color-bg-muted: #f8fafc;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-btn: 0 1px 2px rgba(0, 51, 153, 0.2);
  --radius-card: 12px;
  --radius-btn: 8px;
  --section-padding-y: 5rem;
  --container-padding-x: 1.5rem;
}

@media (min-width: 768px) {
  :root {
    --section-padding-y: 6rem;
  }
}

/* -------------------------------------------------------------------------
   BASE & BODY
   ------------------------------------------------------------------------- */
.landing {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

.landing main {
  padding-top: 76px; /* navbar height */
}

.landing .text-muted {
  color: var(--color-muted) !important;
}

/* -------------------------------------------------------------------------
   CONTAINER DISCIPLINE
   ------------------------------------------------------------------------- */
.landing .container-xl {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

/* -------------------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------------------- */
.landing-nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .1);
  transition: box-shadow 0.2s ease;
  min-height: 77px;
}

.landing-nav.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Logo lockup: same style as application topbar */
.landing-nav .navbar-brand.landing-nav__brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.landing-nav .navbar-brand.landing-nav__brand-logo:hover {
  opacity: 0.9;
}
.landing-nav .navbar-brand.landing-nav__brand-logo .landing-nav__logo {
  display: block;
  flex-shrink: 0;
}
.landing-nav .landing-nav__brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.landing-nav .landing-nav__brand-text {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  line-height: 1.2;
  white-space: nowrap;
}

.landing-nav .landing-nav__org {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.landing-nav .nav-link {
  color: var(--color-muted);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.landing-nav .nav-link:hover {
  color: var(--color-primary);
}

/* Center the nav menu between brand and buttons (desktop) */
@media (min-width: 992px) {
  .landing-nav .landing-nav__collapse {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .landing-nav .landing-nav__center {
    flex: 1;
    justify-content: center;
  }
}

.landing-nav__logo {
  height: 44px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

/* -------------------------------------------------------------------------
   SECTION BACKGROUND RHYTHM
   ------------------------------------------------------------------------- */
/* Hero – light neutral gradient (very subtle) */
.hero {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Section – white (default) */
.section {
  background: #ffffff;
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* Section – light grey */
.section--muted {
  background: var(--color-bg-muted);
}

/* Section – deep navy (reporting block) */
.section--dark {
  background: var(--color-navy);
  color: #e2e8f0;
}

.section--dark .section-title {
  color: #ffffff;
}

.section--dark .section-subtitle {
  color: #94a3b8;
}

/* CTA – deep blue (no gap before footer) */
.section-cta {
  background: var(--color-cta-bg);
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .section-cta {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* -------------------------------------------------------------------------
   FOOTER – Redesigned
   ------------------------------------------------------------------------- */
.site-footer {
  color: #94a3b8;
}

.site-footer__main {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.site-footer__brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.site-footer__brand:hover {
  opacity: 0.9;
}

.site-footer__logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.site-footer__brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.site-footer__brand-text {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f1f5f9;
  line-height: 1.2;
  white-space: nowrap;
}

.site-footer__brand .site-footer__org {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.site-footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 280px;
  margin: 0;
}

.site-footer__heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer__links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 400;
}

@media (max-width: 991px) {
  .site-footer__tagline {
    max-width: none;
  }
}

/* -------------------------------------------------------------------------
   TYPOGRAPHY HIERARCHY
   ------------------------------------------------------------------------- */
.hero__title {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  max-width: 600px;
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.section .text-center .section-title {
  margin-bottom: 0.75rem;
}

.section .text-center .section-subtitle {
  margin-bottom: 2.5rem;
}

.cta__title {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta__lead {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------
   HERO CONTENT & BADGES
   ------------------------------------------------------------------------- */
.hero__content {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .hero__content {
    margin-bottom: 0;
  }
}

.hero__cta {
  margin-top: 0.5rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 51, 153, 0.08);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.badge-pill .badge-value {
  font-weight: 700;
  color: var(--color-primary);
}

.hero__visual .mock-placeholder {
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.hero__visual .hero__dashboard-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: block;
}

/* -------------------------------------------------------------------------
   CARD SYSTEM
   ------------------------------------------------------------------------- */
.feature-card,
.trust-card__body,
.flow-card,
.use-case-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .feature-card,
  .use-case-card {
    padding: 2rem;
  }
}

.feature-card:hover,
.flow-card:hover,
.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border);
}

.feature-card .icon-wrap,
.use-case-card .icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 51, 153, 0.08);
  color: var(--color-primary);
  border-radius: 10px;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.feature-card h3,
.use-case-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.feature-card p,
.use-case-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* Trust card */
.trust-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: #ffffff;
}

.trust-card__body {
  padding: 2rem;
  border: none;
  box-shadow: none;
  transition: none;
}

.trust-card__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.trust-list .bi-check-circle-fill {
  color: var(--color-primary);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-badge__label {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 51, 153, 0.08);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------------
   TRUST SECTION – Powering public health outreach (redesigned)
   ------------------------------------------------------------------------- */
.section--trust {
  background: linear-gradient(180deg, #f0f5fc 0%, #ffffff 35%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.section--trust .container-xl {
  position: relative;
}

.trust-section__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 120px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(0, 51, 153, 0.3) 100%);
  border-radius: 0 4px 4px 0;
}

@media (min-width: 992px) {
  .trust-section__accent {
    height: 180px;
  }
}

.trust-header {
  margin-bottom: 1.5rem;
}

.section--trust .trust-section__title {
  font-size: clamp(1.875rem, 2.5vw + 0.75rem, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.trust-section__org {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.trust-section__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: 0;
}

.trust-section__body {
  margin-bottom: 1.75rem;
}

.trust-section__body p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.trust-section__cta {
  box-shadow: var(--shadow-btn);
}

/* Trust card – elevated variant */
.trust-card--elevated {
  border: 1px solid rgba(0, 51, 153, 0.12);
  box-shadow: 0 4px 24px rgba(0, 51, 153, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
}

.trust-card__strip {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.trust-card--elevated .trust-card__body {
  padding: 2rem 2rem 1.75rem;
}

.trust-card__icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.12) 0%, rgba(0, 51, 153, 0.06) 100%);
  color: var(--color-primary);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.trust-card__heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.trust-card__org {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.section--trust .trust-list li {
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.section--trust .trust-list .bi-check-circle-fill {
  color: var(--color-primary);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.trust-card__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.trust-card__helpline {
  color: var(--color-text);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   CORE CAPABILITIES – Redesigned with colors & animations
   ------------------------------------------------------------------------- */
.section--capabilities {
  background: linear-gradient(165deg, #f0f7ff 0%, var(--color-bg-muted) 45%, #fafbff 100%);
  position: relative;
}

.section--capabilities .container-xl {
  position: relative;
}

.capabilities-header {
  margin-bottom: 2.5rem;
}

.capabilities-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.12) 0%, rgba(0, 51, 153, 0.06) 100%);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.capabilities-title {
  font-size: clamp(1.875rem, 2.5vw + 0.75rem, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.capabilities-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Capability card accent colors (rotating palette) */
.section--capabilities {
  --cap-1: #003399;
  --cap-1-bg: rgba(0, 51, 153, 0.1);
  --cap-2: #0d9488;
  --cap-2-bg: rgba(13, 148, 136, 0.1);
  --cap-3: #4f46e5;
  --cap-3-bg: rgba(79, 70, 229, 0.1);
  --cap-4: #0369a1;
  --cap-4-bg: rgba(3, 105, 161, 0.1);
}

@keyframes capabilityFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.capabilities-grid.row {
  align-items: stretch;
}

.capabilities-grid .col-md-6 {
  display: flex;
}

.capability-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.75rem;
  background: #ffffff;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.25s ease;
  animation: capabilityFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .capability-card {
    padding: 2rem;
  }
}

.capabilities-grid .col-md-6:nth-child(1) .capability-card { animation-delay: 0.05s; }
.capabilities-grid .col-md-6:nth-child(2) .capability-card { animation-delay: 0.1s; }
.capabilities-grid .col-md-6:nth-child(3) .capability-card { animation-delay: 0.15s; }
.capabilities-grid .col-md-6:nth-child(4) .capability-card { animation-delay: 0.2s; }
.capabilities-grid .col-md-6:nth-child(5) .capability-card { animation-delay: 0.25s; }
.capabilities-grid .col-md-6:nth-child(6) .capability-card { animation-delay: 0.3s; }
.capabilities-grid .col-md-6:nth-child(7) .capability-card { animation-delay: 0.35s; }
.capabilities-grid .col-md-6:nth-child(8) .capability-card { animation-delay: 0.4s; }

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.capability-card--1::before { background: linear-gradient(90deg, var(--cap-1), #0044aa); }
.capability-card--2::before { background: linear-gradient(90deg, var(--cap-2), #0f766e); }
.capability-card--3::before { background: linear-gradient(90deg, var(--cap-3), #4338ca); }
.capability-card--4::before { background: linear-gradient(90deg, var(--cap-4), #0284c7); }

.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 51, 153, 0.06);
  border-color: rgba(0, 51, 153, 0.15);
}

.capability-card:hover::before {
  height: 4px;
}

.capability-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.capability-card--1 .capability-card__icon {
  background: var(--cap-1-bg);
  color: var(--cap-1);
}
.capability-card--2 .capability-card__icon {
  background: var(--cap-2-bg);
  color: var(--cap-2);
}
.capability-card--3 .capability-card__icon {
  background: var(--cap-3-bg);
  color: var(--cap-3);
}
.capability-card--4 .capability-card__icon {
  background: var(--cap-4-bg);
  color: var(--cap-4);
}

.capability-card:hover .capability-card__icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 51, 153, 0.15);
}

.capability-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.capability-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* Respect reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .capability-card {
    animation: none;
  }
  .capability-card:hover .capability-card__icon {
    transform: none;
  }
}

/* Flow cards (Automation) */
.flow-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
}

.flow-card .flow-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 51, 153, 0.08);
  color: var(--color-primary);
  border-radius: 10px;
  font-size: 1.25rem;
}

.flow-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.flow-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.flow__arrow {
  color: var(--color-muted);
  font-size: 1.25rem;
}

@media (max-width: 767px) {
  .flow__arrow {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   AUTOMATION & ESCALATION – Pipeline redesign
   ------------------------------------------------------------------------- */
.section--automation {
  background: linear-gradient(175deg, #f8fafc 0%, #eef4fb 50%, #f5f8fc 100%);
  position: relative;
}

.automation-header {
  margin-bottom: 2.5rem;
}

.automation-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.12) 0%, rgba(0, 51, 153, 0.06) 100%);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.automation-title {
  font-size: clamp(1.875rem, 2.5vw + 0.75rem, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.automation-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.automation-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  position: relative;
}

@keyframes automationStepIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.automation-step {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 200px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 51, 153, 0.12);
  box-shadow: 0 2px 12px rgba(0, 51, 153, 0.06);
  padding: 1.5rem 1.25rem;
  background: #ffffff;
  text-align: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, border-color 0.25s ease;
  animation: automationStepIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.automation-step:nth-child(1) { animation-delay: 0.05s; }
.automation-step:nth-child(3) { animation-delay: 0.12s; }
.automation-step:nth-child(5) { animation-delay: 0.19s; }
.automation-step:nth-child(7) { animation-delay: 0.26s; }
.automation-step:nth-child(9) { animation-delay: 0.33s; }

.automation-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 51, 153, 0.1);
  border-color: rgba(0, 51, 153, 0.2);
}

.automation-step__num {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
}

.automation-step__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(0, 51, 153, 0.1) 0%, rgba(0, 51, 153, 0.05) 100%);
  color: var(--color-primary);
  border-radius: 14px;
  font-size: 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.automation-step:hover .automation-step__icon {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 51, 153, 0.15);
}

.automation-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.automation-step__desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

.automation-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: rgba(0, 51, 153, 0.4);
  font-size: 1.25rem;
  flex-shrink: 0;
  animation: automationStepIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.automation-connector:nth-of-type(2) { animation-delay: 0.08s; }
.automation-connector:nth-of-type(4) { animation-delay: 0.15s; }
.automation-connector:nth-of-type(6) { animation-delay: 0.22s; }
.automation-connector:nth-of-type(8) { animation-delay: 0.29s; }

@media (max-width: 991px) {
  .automation-pipeline {
    gap: 0.75rem;
  }
  .automation-step {
    max-width: none;
    flex: 1 1 calc(50% - 0.5rem);
  }
  .automation-connector {
    display: none;
  }
}

@media (max-width: 575px) {
  .automation-step {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .automation-step,
  .automation-connector {
    animation: none;
  }
  .automation-step:hover .automation-step__icon {
    transform: none;
  }
}

/* -------------------------------------------------------------------------
   MULTI-CHANNEL COMMUNICATION – Background image + overlay
   ------------------------------------------------------------------------- */
.section--channels {
  position: relative;
  background-image: var(--channels-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.channels-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.88) 45%, rgba(0, 51, 153, 0.82) 100%);
  pointer-events: none;
}

.channels-inner {
  position: relative;
  z-index: 1;
}

.channels-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.channels-visual__glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 500;
}

.channels-visual__glass .bi {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.channels-content {
  color: #ffffff;
}

.channels-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.channels-title {
  font-size: clamp(1.875rem, 2.5vw + 0.75rem, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.channels-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.channel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.channel-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--color-text);
}

.channel-list li .bi {
  color: var(--color-primary);
  font-size: 1.125rem;
  width: 1.5rem;
}

.channel-list--cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.channel-list--cards li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.channel-list--cards li:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.channel-list--cards li .bi {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Fallback when background image is missing */
.section--channels:not([style*="--channels-bg"]) {
  background: linear-gradient(105deg, var(--color-navy) 0%, var(--color-primary-dark) 100%);
}

/* -------------------------------------------------------------------------
   REPORTING & INSIGHTS – Redesigned with colors & animations
   ------------------------------------------------------------------------- */
.section--reporting {
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
  color: #e2e8f0;
  position: relative;
}

.section--reporting .container-xl {
  position: relative;
}

.reporting-header {
  margin-bottom: 2.5rem;
}

.reporting-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.reporting-title {
  font-size: clamp(1.875rem, 2.5vw + 0.75rem, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.reporting-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Reporting stat card accent colors */
.section--reporting {
  --report-1: #3b82f6;
  --report-2: #14b8a6;
  --report-3: #8b5cf6;
  --report-4: #0ea5e9;
}

@keyframes reportingStatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reporting-stats .col-md-6:nth-child(1) .reporting-stat { animation-delay: 0.06s; }
.reporting-stats .col-md-6:nth-child(2) .reporting-stat { animation-delay: 0.12s; }
.reporting-stats .col-md-6:nth-child(3) .reporting-stat { animation-delay: 0.18s; }
.reporting-stats .col-md-6:nth-child(4) .reporting-stat { animation-delay: 0.24s; }

.reporting-stat {
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.25s ease;
  animation: reportingStatIn 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  background: rgba(255, 255, 255, 0.04);
}

.reporting-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: height 0.3s ease;
}

.reporting-stat--1::before { background: linear-gradient(90deg, var(--report-1), #60a5fa); }
.reporting-stat--2::before { background: linear-gradient(90deg, var(--report-2), #2dd4bf); }
.reporting-stat--3::before { background: linear-gradient(90deg, var(--report-3), #a78bfa); }
.reporting-stat--4::before { background: linear-gradient(90deg, var(--report-4), #38bdf8); }

.reporting-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.12);
}

.reporting-stat:hover::before {
  height: 4px;
}

.reporting-stat__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.35rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reporting-stat--1 .reporting-stat__icon { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.reporting-stat--2 .reporting-stat__icon { background: rgba(20, 184, 166, 0.2); color: #5eead4; }
.reporting-stat--3 .reporting-stat__icon { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.reporting-stat--4 .reporting-stat__icon { background: rgba(14, 165, 233, 0.2); color: #7dd3fc; }

.reporting-stat:hover .reporting-stat__icon {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.reporting-stat__value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.reporting-stat__label {
  font-size: 0.8125rem;
  color: #94a3b8;
}

@keyframes reportingFeatureIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reporting-features .col-md-6:nth-child(1) .reporting-feature { animation-delay: 0.2s; }
.reporting-features .col-md-6:nth-child(2) .reporting-feature { animation-delay: 0.3s; }
.reporting-features .col-md-6:nth-child(3) .reporting-feature { animation-delay: 0.4s; }

.reporting-feature {
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  animation: reportingFeatureIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.reporting-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.report-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9375rem;
}

.report-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.report-list .bi-check2,
.report-list .bi-check2-circle-fill {
  color: #94a3b8;
  flex-shrink: 0;
}

.report-list--styled li {
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0;
}

.report-list--styled .bi-check2-circle-fill {
  color: #38bdf8;
  font-size: 1.125rem;
}

.report-list--styled li:last-child {
  margin-bottom: 0;
}

/* Legacy stat-block (e.g. other pages) */
.stat-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.stat-block:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.stat-block .stat-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.stat-block .stat-label {
  font-size: 0.8125rem;
  color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
  .reporting-stat,
  .reporting-feature {
    animation: none;
  }
  .reporting-stat:hover .reporting-stat__icon {
    transform: none;
  }
}

/* -------------------------------------------------------------------------
   BUILT FOR YOUR INDUSTRY – Redesigned
   ------------------------------------------------------------------------- */
.section--industry {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  position: relative;
  --ind-1: #dc2626;
  --ind-2: #0369a1;
  --ind-3: #0d9488;
  --ind-4: #b45309;
  --ind-5: #475569;
}

.industry-header {
  margin-bottom: 2.5rem;
}

.industry-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.12) 0%, rgba(0, 51, 153, 0.06) 100%);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.industry-title {
  font-size: clamp(1.875rem, 2.5vw + 0.75rem, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.industry-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

@keyframes industryCardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.industry-grid .col:nth-child(1) .industry-card { animation-delay: 0.05s; }
.industry-grid .col:nth-child(2) .industry-card { animation-delay: 0.1s; }
.industry-grid .col:nth-child(3) .industry-card { animation-delay: 0.15s; }
.industry-grid .col:nth-child(4) .industry-card { animation-delay: 0.2s; }
.industry-grid .col:nth-child(5) .industry-card { animation-delay: 0.25s; }

.industry-grid .col {
  display: flex;
}

.industry-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 1.75rem 1.5rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.25s ease;
  animation: industryCardIn 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transition: height 0.3s ease;
}

.industry-card--1::before { background: linear-gradient(90deg, var(--ind-1), #ef4444); }
.industry-card--2::before { background: linear-gradient(90deg, var(--ind-2), #0284c7); }
.industry-card--3::before { background: linear-gradient(90deg, var(--ind-3), #14b8a6); }
.industry-card--4::before { background: linear-gradient(90deg, var(--ind-4), #d97706); }
.industry-card--5::before { background: linear-gradient(90deg, var(--ind-5), #64748b); }

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 51, 153, 0.12);
}

.industry-card:hover::before {
  height: 4px;
}

.industry-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card--1 .industry-card__icon { background: rgba(220, 38, 38, 0.12); color: var(--ind-1); }
.industry-card--2 .industry-card__icon { background: rgba(3, 105, 161, 0.12); color: var(--ind-2); }
.industry-card--3 .industry-card__icon { background: rgba(13, 148, 136, 0.12); color: var(--ind-3); }
.industry-card--4 .industry-card__icon { background: rgba(180, 83, 9, 0.12); color: var(--ind-4); }
.industry-card--5 .industry-card__icon { background: rgba(71, 85, 105, 0.12); color: var(--ind-5); }

.industry-card:hover .industry-card__icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.industry-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.industry-card__desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 0;
  flex: 1;
}

@media (prefers-reduced-motion: reduce) {
  .industry-card {
    animation: none;
  }
  .industry-card:hover .industry-card__icon {
    transform: none;
  }
}

/* -------------------------------------------------------------------------
   BUTTON SYSTEM (enterprise, not default Bootstrap)
   ------------------------------------------------------------------------- */
.landing .btn {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-btn);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.landing .btn--primary {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.landing .btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 51, 153, 0.25);
}

.landing .btn--outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.landing .btn--outline:hover {
  background: rgba(0, 51, 153, 0.06);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* CTA section: light buttons on dark blue */
.landing .btn--light {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--color-primary);
}

.landing .btn--light:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  color: var(--color-primary);
}

.landing .btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.landing .btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* -------------------------------------------------------------------------
   VERTICAL RHYTHM & SPACING
   ------------------------------------------------------------------------- */
.section .row.g-4 {
  --bs-gutter-y: 1.5rem;
}

.section .row.g-5 {
  --bs-gutter-y: 2rem;
}

.section .text-center.mb-5 {
  margin-bottom: 2.5rem !important;
}

.section--dark .mb-5 {
  margin-bottom: 2.5rem !important;
}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero .row {
    text-align: center;
  }

  .hero__title,
  .hero__lead {
    max-width: 100%;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__badges {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  :root {
    --section-padding-y: 3.5rem;
  }

  .section-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

}
