/* ========================
   RESET & BASE
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #09152a;
  --navy-mid: #0d1e3a;
  --navy-light: #112347;
  --blue: #1e3dbf;
  --blue-bright: #2563eb;
  --gold: #f5a623;
  --light-bg: #eef2ff;
  --light-bg2: #f4f7ff;
  --text: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 16px;
  font-weight: 400; /* Inter Regular as default */
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================
   NAVBAR
======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  background: transparent;
  border: none;
  transition:
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s ease;
}

.navbar.scrolled {
  padding: 12px 40px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: transparent;
  border: none;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled: floating pill-shaped container — all items (including Book Demo) stay inside */
.navbar.scrolled .nav-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 22px;
  gap: 8px;
  flex-wrap: nowrap;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 100px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 2px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Top state: center nav links horizontally; balanced layout */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.logo {
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: -0.3px;
  transition: color 0.35s ease;
}
.logo span {
  color: var(--gold);
  transition: color 0.35s ease;
}

/* Dark bg: light text */
.navbar.nav-theme-dark .logo {
  color: var(--white);
}
.navbar.nav-theme-dark .logo span {
  color: var(--gold);
}

/* Light bg: blue + yellow wordmark */
.navbar.nav-theme-light .logo {
  color: var(--blue-bright);
}
.navbar.nav-theme-light .logo span {
  color: var(--gold);
}

.nav-links > li {
  position: relative;
}

.nav-links a,
.nav-dropdown-trigger {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 14px;
  transition:
    color 0.35s ease,
    background 0.3s ease,
    border-radius 0.2s;
  text-decoration: none;
  display: inline-block;
}
/* Default before JS: dark theme (light text) */
.nav-links a,
.nav-dropdown-trigger {
  color: rgba(255, 255, 255, 0.78);
}
.nav-links a:hover,
.nav-links a.active,
.nav-dropdown-trigger:hover,
.nav-dropdown-wrap.active .nav-dropdown-trigger {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Dark bg: light text */
.navbar.nav-theme-dark .nav-links a,
.navbar.nav-theme-dark .nav-dropdown-trigger {
  color: rgba(255, 255, 255, 0.78);
}
.navbar.nav-theme-dark .nav-links a:hover,
.navbar.nav-theme-dark .nav-links a.active,
.navbar.nav-theme-dark .nav-dropdown-trigger:hover,
.navbar.nav-theme-dark .nav-dropdown-wrap.active .nav-dropdown-trigger {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Light bg: dark text */
.navbar.nav-theme-light .nav-links a,
.navbar.nav-theme-light .nav-dropdown-trigger {
  color: var(--text-mid);
  padding: 8px 12px;
}
.navbar.nav-theme-light .nav-links a:hover,
.navbar.nav-theme-light .nav-links a.active,
.navbar.nav-theme-light .nav-dropdown-trigger:hover,
.navbar.nav-theme-light .nav-dropdown-wrap.open .nav-dropdown-trigger,
.navbar.nav-theme-light .nav-dropdown-wrap.active .nav-dropdown-trigger {
  color: var(--navy);
  background: rgba(0, 57, 166, 0.06);
}

/* Solutions dropdown */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 200;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Mega Menu (two-section layout) --- */
.nav-dropdown-mega {
  min-width: 580px;
  max-width: 700px;
  padding: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}
.nav-dropdown-wrap:hover .nav-dropdown-mega,
.nav-dropdown-wrap.open .nav-dropdown-mega {
  transform: translateY(0);
}

.nav-dropdown-mega.nav-dropdown-right {
  left: auto;
  right: 0;
}

.mega-menu-inner {
  padding: 20px 24px 24px;
}

.mega-menu-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(0, 57, 166, 0.5);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-menu-body {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* Left: 2-column nav grid */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 20px;
  flex: 1;
  min-width: 0;
}

.nav-dropdown-mega .mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text) !important;
  background: transparent;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.nav-dropdown-mega .mega-menu-item:hover {
  background: rgba(0, 57, 166, 0.06) !important;
  color: var(--navy) !important;
}

.mega-menu-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 57, 166, 0.08);
  border-radius: 8px;
  color: var(--blue);
}
.mega-menu-item:hover .mega-menu-icon {
  background: rgba(0, 57, 166, 0.12);
}

.mega-menu-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mega-menu-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.mega-menu-item:hover .mega-menu-title {
  color: var(--blue-bright);
}

.mega-menu-desc {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

/* Right: Featured blog card */
.mega-menu-featured {
  flex-shrink: 0;
  width: 200px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  padding-left: 24px;
}

.mega-menu-card {
  background: linear-gradient(
    135deg,
    rgba(0, 57, 166, 0.04) 0%,
    rgba(0, 57, 166, 0.08) 100%
  );
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(0, 57, 166, 0.08);
}

.mega-menu-card-visual {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 57, 166, 0.1);
  border-radius: 10px;
  color: var(--blue);
}

.mega-menu-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.mega-menu-card-desc {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.nav-dropdown-mega .mega-menu-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  transition:
    color 0.18s ease,
    gap 0.18s ease;
}
.nav-dropdown-mega .mega-menu-card-cta:hover {
  color: var(--blue-bright);
  gap: 8px;
  background: transparent !important;
}
.mega-menu-card-cta svg {
  flex-shrink: 0;
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
}
.nav-dropdown a:hover {
  background: rgba(0, 57, 166, 0.08);
  color: var(--navy);
  border-radius: 12px;
}

.btn-demo {
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 16px;
  white-space: nowrap;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.15s,
    border-radius 0.2s;
  flex-shrink: 0;
}

/* Dark bg: white button */
.navbar.nav-theme-dark .btn-demo {
  background: var(--white);
  color: var(--navy);
}
.navbar.nav-theme-dark .btn-demo:hover {
  background: #f0f4ff;
  transform: translateY(-1px);
}

/* Light bg: blue button */
.navbar.nav-theme-light .btn-demo {
  background: var(--blue);
  color: var(--white);
  padding: 8px 16px;
  font-size: 13px;
}
.navbar.nav-theme-light .btn-demo:hover {
  background: var(--blue-bright);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: background 0.35s ease;
}
.navbar.nav-theme-dark .mobile-menu-btn span {
  background: var(--white);
}
.navbar.nav-theme-light .mobile-menu-btn span {
  background: var(--navy);
}
.mobile-menu {
  display: none;
}

/* Mobile accordion (Solutions) */
.mobile-accordion-item {
  width: 100%;
}
.mobile-accordion-trigger {
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 12px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    color 0.2s,
    background 0.2s;
}
.mobile-accordion-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.25s ease;
}
.mobile-accordion-trigger[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}
.mobile-accordion-trigger:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.mobile-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}
.mobile-accordion-panel[aria-hidden="false"] {
  grid-template-rows: 1fr;
}
.mobile-accordion-inner {
  min-height: 0;
}
.mobile-accordion-panel a {
  display: block;
  padding: 10px 12px 10px 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.mobile-accordion-panel a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 61, 191, 0.35);
}
.btn-primary.btn-sm {
  font-size: 14px;
  padding: 10px 22px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}
.btn-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  /* Layered dark-navy base + top-center blue radial — derived from #0039A6 */
  background:
    radial-gradient(
      ellipse 130% 55% at 50% -5%,
      rgba(0, 68, 200, 0.52) 0%,
      transparent 60%
    ),
    linear-gradient(175deg, #01050f 0%, #02091c 28%, #05112a 58%, #030c22 100%);
  padding-top: 88px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ==== HERO GLOW SYSTEM ==== */

/* Canvas: floating ambient particles */
.hero-particles,
.footer-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Primary light source — soft radial bloom from top-center */
.hero-glow-center {
  position: absolute;
  width: 900px;
  height: 750px;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle at 50% 42%,
    rgba(0, 110, 255, 0.46) 0%,
    rgba(0, 68, 180, 0.28) 28%,
    rgba(0, 30, 90, 0.1) 55%,
    transparent 72%
  );
  filter: blur(48px);
  animation: glowPulse 12s ease-in-out infinite;
  pointer-events: none;
}

/* Drifting ambient gradient mesh blobs */
.hero-mesh {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Left ambient blob */
.hero-mesh-1 {
  width: 560px;
  height: 480px;
  top: 0%;
  left: -8%;
  background: radial-gradient(
    circle,
    rgba(0, 80, 220, 0.22) 0%,
    transparent 70%
  );
  filter: blur(90px);
  animation: meshDrift1 30s ease-in-out infinite;
}

/* Right ambient blob */
.hero-mesh-2 {
  width: 500px;
  height: 440px;
  top: -2%;
  right: -8%;
  background: radial-gradient(
    circle,
    rgba(0, 57, 166, 0.18) 0%,
    transparent 70%
  );
  filter: blur(100px);
  animation: meshDrift2 36s ease-in-out infinite;
}

/* Bottom-center ambient blob — adds depth under text */
.hero-mesh-3 {
  width: 380px;
  height: 360px;
  bottom: 8%;
  left: 38%;
  background: radial-gradient(
    circle,
    rgba(26, 86, 207, 0.14) 0%,
    transparent 70%
  );
  filter: blur(80px);
  animation: meshDrift3 24s ease-in-out infinite;
}

/* ==== GLOW KEYFRAMES ==== */

/* Subtle breathing pulse on the main light source */
@keyframes glowPulse {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.72;
    transform: translateX(-50%) scale(1.09);
  }
}

/* Left blob — slow organic drift */
@keyframes meshDrift1 {
  0%,
  100% {
    transform: translate(0px, 0px);
  }
  25% {
    transform: translate(55px, -45px);
  }
  50% {
    transform: translate(25px, 55px);
  }
  75% {
    transform: translate(-40px, 18px);
  }
}

/* Right blob — offset timing for variety */
@keyframes meshDrift2 {
  0%,
  100% {
    transform: translate(0px, 0px);
  }
  30% {
    transform: translate(-45px, 35px);
  }
  60% {
    transform: translate(28px, -50px);
  }
  80% {
    transform: translate(18px, 22px);
  }
}

/* Bottom blob — gentler motion */
@keyframes meshDrift3 {
  0%,
  100% {
    transform: translate(0px, 0px);
  }
  20% {
    transform: translate(38px, -28px);
  }
  50% {
    transform: translate(-28px, -48px);
  }
  80% {
    transform: translate(22px, 32px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  /* Glassy blue pill — harmonises with the new #0039A6 palette */
  background: rgba(0, 57, 166, 0.22);
  border: 1px solid rgba(0, 100, 230, 0.38);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 400; /* Inter Regular — light label */
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Two-line headline — Inter SemiBold, breathable tracking */
.hero-headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600; /* Inter SemiBold — modern, not heavy */
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.14; /* 114% — tight but breathable, premium SaaS */
  letter-spacing: -0.03em; /* slightly tighter than Manrope spec for Inter */
  margin-bottom: 40px;
}

/* "PropelPro" — gradient accent inside the headline */
.hero-hl {
  background: linear-gradient(100deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-num {
  font-family: "Inter", sans-serif;
  font-size: 30px;
  font-weight: 600; /* SemiBold — consistent with headline */
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300; /* Inter Light — retreats, supporting role */
  letter-spacing: 0.2px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Dashboard Mockup */
.hero-mockup-wrapper {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.dashboard-mockup {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

/* ========================
   PRODUCT PREVIEW (image-based)
======================== */

/* Preview body — sidebar + image area */
.preview-body {
  display: flex;
  height: 560px;
  overflow: hidden;
}

/* Clickable sidebar nav icons */
.preview-sidebar {
  width: 52px;
  background: #09152a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 6px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

/* "W" workspace badge at top of sidebar */
.preview-sidebar-badge {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #1e3dbf;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.5px;
}

.preview-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.38);
  transition:
    background 0.2s,
    color 0.2s;
}
.preview-nav-icon svg {
  fill: currentColor;
}
.preview-nav-icon:hover {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
}
.preview-nav-icon.active {
  background: var(--blue);
  color: #fff;
}

/* Image area */
.preview-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f8faff;
}

/* All screenshots stacked; active one fades in */
.preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  user-select: none;
  object-fit: cover;
  object-position: top left;
}
.preview-img.active {
  opacity: 1;
}

.dashboard-body {
  display: flex;
  height: 320px;
  overflow: hidden;
}

.dashboard-sidebar {
  width: 48px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 8px;
  flex-shrink: 0;
}
.sidebar-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-icon svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.4);
}
.sidebar-icon.active {
  background: var(--blue);
}
.sidebar-icon.active svg {
  fill: white;
}

.dashboard-main {
  flex: 1;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-greeting h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.dash-greeting p {
  font-size: 12px;
  color: var(--text-muted);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-stat-card {
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-stat-card strong {
  font-size: 20px;
  font-weight: 800;
}
.dash-stat-card span:last-child {
  font-size: 11px;
  color: var(--text-muted);
}
.dash-stat-icon {
  font-size: 16px;
}
.dash-stat-blue {
  background: #eff6ff;
}
.dash-stat-blue strong {
  color: var(--blue);
}
.dash-stat-red {
  background: #fff1f2;
}
.dash-stat-red strong {
  color: #e11d48;
}
.dash-stat-orange {
  background: #fff7ed;
}
.dash-stat-orange strong {
  color: #ea580c;
}
.dash-stat-green {
  background: #f0fdf4;
}
.dash-stat-green strong {
  color: #16a34a;
}

.dash-bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  flex: 1;
  overflow: hidden;
}

.dash-task-overview,
.dash-project-overview {
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  overflow: hidden;
}

.dash-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
}
.dash-period,
.dash-view-all {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 11px;
}
.dash-view-all {
  color: var(--blue-bright);
}
.dash-task-count {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.dash-progress-bars {
  margin-bottom: 10px;
}
.dash-task-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.dash-task-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-mid);
  justify-content: space-between;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot.blue {
  background: var(--blue);
}
.dot.cyan {
  background: #38bdf8;
}
.dot.orange {
  background: #f59e0b;
}
.dot.navy {
  background: var(--navy);
}

.dash-rfp-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.dash-rfp-item:last-child {
  border-bottom: none;
}
.dash-rfp-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.dash-rfp-meta {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: var(--text-muted);
}
.dash-tag {
  background: #eff6ff;
  color: var(--blue);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ========================
   CLIENT LOGOS — Infinite Marquee
======================== */
.logos-section {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Outer wrapper: clips overflow and fades the left/right edges */
.logos-marquee-outer {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* Scrolling track — contains two identical logo sets for a seamless loop */
.logos-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logoMarquee 38s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

/* Pause on hover so users can read a specific logo */
.logos-marquee-outer:hover .logos-marquee-track {
  animation-play-state: paused;
}

/* Continuous horizontal scroll — moves exactly one set's width */
@keyframes logoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Individual logo wrapper */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  flex-shrink: 0;
  height: 56px;
}

/* Logo image — greyscale by default, full colour on hover */
.logo-item img {
  height: 30px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

/* ========================
   SECTION COMMON
======================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.section-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 24px;
}
.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}
.section-header-center .section-sub {
  margin: 0 auto 24px;
}

/* ========================
   PAIN POINTS
======================== */
.pain-section {
  background: var(--light-bg);
  padding: 96px 0;
}
.pain-headline {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.pain-sub {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.pain-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #c7d2fe;
}
.pain-icon {
  width: 36px;
  height: 36px;
  background: #fff1f2;
  border: 2px solid #fca5a5;
  color: #ef4444;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pain-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.pain-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========================
   MODULES — Auto-Cycle Showcase
======================== */
.modules-section {
  padding: 96px 0 80px;
  background: var(--white);
}

/* ── Top row: two-column layout ── */
.mod-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
}

/* ── Left: Module label, heading, description ── */
.mod-info {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Right: Explore button + nav arrows (aligned with headline) ── */
.mod-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
  padding-top: 46px; /* align button with headline (eyebrow + margin) */
}

.mod-cta {
  display: inline-flex;
  white-space: nowrap;
}

.mod-nav {
  display: flex;
  gap: 8px;
}

.mod-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #d4dbe8;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.mod-nav-btn:hover {
  border-color: #0039a6;
  color: #0039a6;
  background: #eef4ff;
}

.mod-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: var(--light-bg);
  border: 1px solid #c7d2fe;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  animation: modIn 0.45s ease both;
}

.mod-headline {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
  animation: modIn 0.45s 0.07s ease both;
}

.mod-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 540px;
  animation: modIn 0.45s 0.14s ease both;
}

.mod-cta {
  animation: modIn 0.45s 0.21s ease both;
}

@keyframes modIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hold class: zeros + freezes animations so they can re-trigger on removal */
.mod-info.is-switching .mod-eyebrow,
.mod-info.is-switching .mod-headline,
.mod-info.is-switching .mod-desc,
.mod-info.is-switching ~ .mod-header-right .mod-cta {
  opacity: 0;
  transform: translateY(8px);
  animation: none;
}

/* ── Navigation indicators — absolutely overlaid on the image ── */
.mod-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.mod-ind {
  height: 3px;
  width: 52px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  background: var(--border);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s,
    width 0.35s;
}
.mod-ind.active {
  background: #cbd5e1;
  width: 72px;
}
.mod-ind.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--blue-bright);
  border-radius: 2px;
  animation: modFill var(--mod-dur, 3.5s) linear forwards;
}
@keyframes modFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* ── Bottom: Full-width image ── */
.mod-image-wrap {
  position: relative;
  width: 100%;
  height: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-bg2);
  box-shadow: 0 20px 72px rgba(9, 21, 42, 0.12);
  border: 1px solid var(--border);
}

.mod-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  will-change: opacity, transform;
}
.mod-img.active {
  opacity: 1;
  transform: translateX(0);
}
.mod-img.leaving {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* ========================
   FEATURES — Sticky Scroll
======================== */
.features-section {
  padding: 96px 0 120px;
  background: var(--light-bg2);
}

/* ── Two-column sticky layout ── */
.feat-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

/* ── Left sticky panel ── */
.feat-sticky {
  position: sticky;
  top: 100px;
  padding-top: 8px;
}
.feat-sticky .section-badge {
  margin-bottom: 20px;
}
.feat-headline {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}
.feat-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
}

/* ── Right scrolling cards ── */
.feat-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 40px;
}

/* ── Individual feature card ── */
.feat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
  will-change: opacity, transform;
}
.feat-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.feat-card.in-view:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Card text body */
.feat-card-body {
  padding: 32px 32px 24px;
}
.feat-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--blue-bright);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.feat-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.feat-card-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Card image preview — shown first, above text */
.feat-card-media {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-height: 280px;
}
.feat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.4s ease;
}
.feat-card.in-view:hover .feat-card-media img {
  transform: scale(1.02);
}

/* ========================
   SECURITY
======================== */
.security-section {
  padding: 100px 0;
  background: var(--white);
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

/* ── Left panel ── */
.security-left {
  position: sticky;
  top: 100px;
}
.security-left .section-badge {
  margin-bottom: 20px;
}

.security-headline {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.security-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 32px;
}

/* ── ISO Certification Badges ── */
.iso-badges {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  align-items: center;
}
.iso-badge {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.iso-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
}
.iso-badge:hover {
  transform: translateY(-3px);
}
.iso-badge:hover img {
  filter: grayscale(0%);
}

/* ── CTA button ── */
.btn-security {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #0039a6, #2f6bff);
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-security:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 57, 166, 0.35);
  background: linear-gradient(90deg, #002e8c, #2060ef);
  color: #ffffff;
}
.btn-security:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 57, 166, 0.25);
}

/* ── Security cards grid ── */
.security-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.security-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.security-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background: #fafbff;
}

/* Card icon containers */
.sec-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s ease;
}
.sec-icon--blue {
  background: #eff6ff;
  color: #2563eb;
}
.sec-icon--indigo {
  background: #eef2ff;
  color: #4f46e5;
}
.sec-icon--violet {
  background: #f5f3ff;
  color: #7c3aed;
}
.sec-icon--slate {
  background: #f1f5f9;
  color: #0039a6;
}

.security-card:hover .sec-icon--blue {
  background: #dbeafe;
}
.security-card:hover .sec-icon--indigo {
  background: #e0e7ff;
}
.security-card:hover .sec-icon--violet {
  background: #ede9fe;
}
.security-card:hover .sec-icon--slate {
  background: #e2e8f0;
}

.sec-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.1px;
}
.sec-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================
   INTEGRATIONS
======================== */
.integrations-section {
  padding: 96px 0 100px;
  background: #f8fafc;
}

.integrations-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-bright);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  transition:
    color 0.2s,
    gap 0.2s;
}
.integrations-link:hover {
  text-decoration: underline;
  color: var(--blue);
  gap: 7px;
}

/* ── Zig-zag network container ── */
.int-network {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 5 / 2;
  margin: 64px auto 0;
  padding: 24px 0;
}

.int-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.int-node {
  position: absolute;
  transform: translate(-50%, -50%);
}

.int-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ── Floating animation: subtle drift, each icon has different delay for organic feel ── */
@keyframes intFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(2px, -4px);
  }
  66% {
    transform: translate(-2px, 3px);
  }
}
.int-float {
  animation: intFloat 6s ease-in-out infinite;
}

/* ── Hub badge (legacy; not used after PP removal) ── */
.int-hub-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 5px rgba(30, 61, 191, 0.1),
    0 8px 28px rgba(9, 21, 42, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}
.int-hub-badge:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 0 8px rgba(30, 61, 191, 0.12),
    0 12px 36px rgba(9, 21, 42, 0.3);
}
.int-hub-text {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.int-label--hub {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

/* ── Integration badges ── */
.int-badge {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e8ecf2;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}
.int-badge:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.int-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  text-align: center;
}

/* ── Mobile fallback grid ── */
.int-grid-mobile {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 20px;
  margin-top: 40px;
}
.int-mobile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ========================
   STATS
======================== */
.stats-section {
  padding: 100px 0 110px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Blocky SVG quote icon */
.stats-quote-svg {
  width: 72px;
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.stats-headline {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  color: #0a0f1e;
  margin-bottom: 64px;
  letter-spacing: -1px;
  line-height: 1.15;
}

/* Brand colours scoped to stats headline */
.stats-headline .propel-blue {
  color: #0039a6;
}
.stats-headline .propel-gold {
  color: #f2b01b;
}

/* Global brand helpers (used elsewhere) */
.propel-blue {
  color: var(--blue);
}
.propel-gold {
  color: var(--gold);
}
.propel-white {
  color: var(--white);
}

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

.stats-card {
  position: relative;
  padding-left: 22px;
}

/* Short, chunky left divider — aligns with stat number height */
.stats-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 62px;
  background: #0039a6;
  border-radius: 2px;
}

.stats-num {
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 900;
  color: #0a0f1e;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1.5px;
}

.stats-card p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 200px;
}

/* ========================
   TESTIMONIALS
======================== */
.testimonials-section {
  padding: 100px 0;
  background: #eef2f9;
  overflow: hidden;
}

/* ── Two-column layout: fixed left, fluid right ── */
.testi-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0 80px;
  align-items: start;
}

/* ── LEFT column ── */
.testi-left {
  display: flex;
  flex-direction: column;
  min-height: 500px;
}
.testimonials-section .section-badge {
  display: inline-flex;
  margin-bottom: 20px;
}
.testi-heading {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  color: #0a0f1e;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 0 !important;
}
.testi-city-wrap {
  margin-top: auto;
  margin-left: -10px;
}
.testi-city {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  opacity: 0.6;
}

/* ── RIGHT column ── */
.testi-right {
  min-width: 0;
}

/* Arrow buttons above carousel */
.testi-nav-top {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.testi-prev,
.testi-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d4dbe8;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}
.testi-prev:hover,
.testi-next:hover {
  border-color: #0039a6;
  color: #0039a6;
  background: #eef4ff;
}

/* Carousel */
.testimonials-wrapper {
  overflow: hidden;
  position: relative;
}
/* No fade overlay — all cards at full opacity */
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Portrait-style card — narrower & taller */
.testimonial-card {
  flex: 0 0 310px;
  width: 310px;
  min-height: 400px;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  border: 1px solid #e4eaf3;
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.05),
    0 1px 4px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.testimonial-quote {
  font-size: 14.5px;
  color: #374151;
  line-height: 1.78;
  font-style: italic;
  flex: 1;
  margin: 0 0 28px;
}
.testimonial-author {
  display: flex;
  align-items: flex-start;
  margin-top: auto;
}
.author-info strong {
  font-size: 14px;
  font-weight: 700;
  color: #0a0f1e;
  display: block;
  margin-bottom: 3px;
}
.author-info span {
  font-size: 13px;
  color: #6b7280;
}

/* Dot indicators — hollow circles, solid when active */
.testi-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #bfcad8;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.testi-dot.active {
  background: #0039a6;
  border-color: #0039a6;
}

/* ========================
   FAQ
======================== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}
.faq-section .container {
  max-width: 1400px;
}

.faq-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.faq-header-left .section-headline {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.faq-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.faq-prev,
.faq-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d4dbe8;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.faq-prev:hover:not(:disabled),
.faq-next:hover:not(:disabled) {
  border-color: #0039a6;
  color: #0039a6;
  background: #eef4ff;
}

.faq-prev:disabled,
.faq-next:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

/* Enabled arrows read as “active” (primary) */
.faq-prev:not(:disabled),
.faq-next:not(:disabled) {
  border-color: #0039a6;
  color: #0039a6;
  background: #eef4ff;
}

.faq-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.faq-grid.faq-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.faq-grid.faq-track .faq-item {
  flex: 0 0 auto;
  box-sizing: border-box;
}

.faq-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.faq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #bfcad8;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.faq-dot.active {
  background: #0039a6;
  border-color: #0039a6;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e4eaf3;
  border-radius: 20px;
  padding: 32px 28px;
  cursor: pointer;
  transition:
    background 0.4s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 320px; /* fixed — wider cards reduce wrap, allow shorter height */
  overflow: hidden; /* answer expands inside, card stays still */
}

/* Height-calibration pass: JS adds this class, measures, then removes it */
.faq-grid.measuring .faq-item {
  height: auto !important;
  overflow: visible !important;
  transition: none !important;
}
.faq-grid.measuring .faq-answer {
  max-height: 2000px !important;
  opacity: 1 !important;
  margin-top: 20px !important;
  transition: none !important;
}

.faq-item:hover:not(.active) {
  border-color: #c7d2fe;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-item.active {
  background: linear-gradient(135deg, #09152a 0%, #2f6bff 100%);
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(9, 21, 42, 0.25);
}

.faq-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.faq-item.active .faq-num {
  color: rgba(255, 255, 255, 0.4);
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #0a0f1e;
  line-height: 1.45;
  margin: 0;
  transition: color 0.3s;
}

.faq-item.active .faq-question {
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    margin-top 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 420px;
  opacity: 1;
  margin-top: 20px;
}

.faq-answer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.78;
  margin: 0;
}

/* ========================
   CONTACT PAGE
======================== */
.contact-section {
  padding: 120px 0 96px;
  background: var(--light-bg);
  min-height: 60vh;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.contact-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-icon {
  flex-shrink: 0;
  color: var(--blue);
}
.contact-detail-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}
.contact-right {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.contact-field .required {
  color: #ef4444;
}
.contact-field input,
.contact-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 61, 191, 0.15);
}
.contact-field textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form-actions {
  margin-top: 8px;
}
.btn-contact-submit {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-contact-submit:hover {
  background: var(--blue-bright);
}
.btn-contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn-contact-submit:hover:disabled {
  background: var(--blue);
}
.contact-form-message {
  font-size: 14px;
  margin-top: 12px;
}
.contact-form-message.error {
  color: #ef4444;
}
.contact-form-message.success {
  color: #22c55e;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 80px 0 64px;
  }
}

/* ========================
   BLOG PAGE
======================== */
.blog-hero {
  padding: 140px 0 40px;
}
.blog-section {
  padding: 48px 0 96px;
  background: var(--white);
}
.blog-hero .container,
.blog-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-hero-badge svg {
  flex-shrink: 0;
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  align-items: start;
}
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-sidebar-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.blog-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.blog-input-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}
.blog-input {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px 10px 36px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
}
.blog-input:focus {
  outline: none;
  border-color: var(--blue);
}
.blog-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.blog-select-wrap .blog-input-icon {
  left: 12px;
  z-index: 1;
}
.blog-select {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 36px 10px 36px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--text-mid);
  appearance: none;
  cursor: pointer;
}
.blog-select:focus {
  outline: none;
  border-color: var(--blue);
}
.blog-categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-cat-link {
  font-size: 14px;
  color: var(--text-mid);
  padding: 10px 12px 10px 16px;
  border-radius: 0;
  transition: color 0.2s;
  border-left: 3px solid transparent;
  display: block;
}
.blog-cat-link:hover {
  color: var(--blue);
}
.blog-cat-link.active {
  color: var(--blue);
  font-weight: 600;
  border-left-color: var(--blue);
  background: transparent;
}
.blog-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-featured {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.blog-featured-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 0;
  transition: opacity 0.2s;
}
.blog-featured-link:hover {
  opacity: 0.9;
}
.blog-featured-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
}
.blog-img-placeholder,
.blog-featured-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--light-bg) 0%,
    var(--light-bg2) 100%
  );
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 600;
}
.blog-featured-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(30, 61, 191, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
}
.blog-tag-resource {
  background: rgba(30, 61, 191, 0.08);
}
.blog-featured-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.blog-featured-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.blog-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.blog-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.blog-author-role {
  font-size: 12px;
  color: var(--text-muted);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.blog-card-link {
  display: block;
}
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.blog-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
  .blog-featured-link {
    grid-template-columns: 1fr;
  }
  .blog-featured-img {
    border-radius: 12px 12px 0 0 !important;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================
   BLOG DETAIL PAGE
======================== */
.blog-detail-hero .container,
.blog-detail-content .container,
.blog-related-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.blog-detail-hero {
  padding: 140px 0 48px;
}
.blog-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.blog-back-nav:hover {
  color: var(--blue);
}
.blog-detail-header {
  margin-bottom: 24px;
}
.blog-detail-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.blog-detail-date {
  font-size: 14px;
  color: var(--text-muted);
}
.blog-detail-tags {
  display: flex;
  gap: 8px;
}
.blog-detail-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(30, 61, 191, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.blog-detail-featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
}
.blog-detail-img-placeholder {
  aspect-ratio: 21/9;
  min-height: 200px;
}
.blog-detail-content {
  padding: 48px 0 64px;
  background: var(--white);
}
.blog-detail-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.blog-detail-prose p {
  margin-bottom: 20px;
}
.blog-detail-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  line-height: 1.35;
}
.blog-detail-h2:first-child {
  margin-top: 0;
}

/* More Related Blogs */
.blog-related-section {
  padding: 48px 0 96px;
  background: var(--light-bg);
}
.blog-related-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.blog-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-related-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.blog-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.blog-related-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 10px;
}
.blog-related-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-related-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.blog-related-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.blog-related-card .blog-author {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .blog-related-card {
    grid-template-columns: 1fr;
  }
}

/* ========================
   FOOTER (includes CTA zone)
======================== */
.footer {
  background: #060f26;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.65);
}
.footer .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- CTA Zone --- */
.footer-cta-zone {
  position: relative;
  z-index: 1;
  padding: 96px 0 88px;
  text-align: center;
}
.footer-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 120% at 50% 25%,
    rgba(37, 99, 235, 0.38) 0%,
    rgba(30, 61, 191, 0.18) 40%,
    transparent 65%
  );
  pointer-events: none;
}
.footer-cta-container {
  position: relative;
  z-index: 1;
}
.footer-cta-heading {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.footer-cta-heading .propel-white {
  color: #ffffff;
}
.footer-cta-heading .propel-gold {
  color: #f5a623;
}
.footer-cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 38px;
  letter-spacing: -0.1px;
}
.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  color: #0039a6;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 100px;
  letter-spacing: -0.1px;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-footer-cta:hover {
  background: #eef4ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
}

/* --- Main footer body --- */
.footer-main {
  position: relative;
  z-index: 1;
  padding: 48px 0 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  margin-bottom: 48px;
  align-items: start;
}

/* Left brand column */
.footer-wordmark {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1;
}
.fw-white {
  color: #ffffff;
}
.fw-gold {
  color: #f5a623;
}
.footer-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 290px;
}
.footer-ai-label {
  font-size: 12px;
  color: rgba(127, 180, 190, 0.95);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.footer-ai-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ai-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.18s,
    opacity 0.18s;
  box-sizing: border-box;
}
.ai-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
/* Colored brand tiles: ChatGPT black, Claude terracotta */
.ai-openai {
  background: #000000;
  color: #ffffff;
}
.ai-anthropic {
  background: #d4765c;
  color: #ffffff;
}
.ai-anthropic svg {
  display: block;
}
/* Gemini + Mistral: no tile, icon only (matches reference) */
.ai-badge.ai-badge-plain {
  width: auto;
  height: auto;
  min-width: 34px;
  min-height: 34px;
  padding: 4px;
  background: transparent;
  border: none;
  border-radius: 0;
}
.ai-gemini.ai-badge-plain svg {
  display: block;
}
.ai-mistral.ai-badge-plain svg {
  display: block;
}
.ai-mistral.ai-badge-plain {
  color: rgba(255, 255, 255, 0.92);
}

/* Footer: light-mode style tiles (light surface + brand marks) on dark footer */
.footer-ai-badges .ai-openai {
  background: #ffffff;
  color: #000000;
}
.footer-ai-badges .ai-anthropic {
  background: #ffffff;
  color: #c96551;
}
.footer-ai-badges .ai-badge.ai-badge-plain {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}
.footer-ai-badges .ai-mistral.ai-badge-plain {
  color: #1a1a1a;
}

/* Nav columns */
.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 6px;
  width: auto;
}
.footer-col h4 {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 22px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s;
  line-height: 1;
}
.footer-col a:hover {
  color: #ffffff;
}

/* Divider — hidden per design */
.footer-divider {
  display: none;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: left;
  align-items: center;
  padding-bottom: 4px;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 50px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Cityscape illustration — anchored directly under footer content with minimal gap */
.footer-skyline {
  width: 100%;
  line-height: 0;
  display: block;
  margin-top: -172px;
  position: relative;
  z-index: 0;
}
.footer-skyline svg,
.footer-skyline img {
  width: 100%;
  height: auto;
  display: block;
}
.footer-skyline img {
  /* SVG is white line-art; no invert — ensure crisp white on dark blue */
  filter: none;
  opacity: 1;
}

/* ========================
   ANIMATIONS
======================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .mod-image-wrap {
    height: 520px;
  }
  .mod-headline {
    font-size: 36px;
  }
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .security-left {
    position: static;
  }
  .security-sub {
    max-width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 40px;
  }
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-bottom {
    grid-template-columns: 1fr;
  }
  .testi-layout {
    grid-template-columns: 1fr;
    gap: 48px 0;
  }
  .testi-left {
    min-height: unset;
  }
  .testi-city-wrap {
    display: none;
  }
  .testi-heading {
    margin-bottom: 0;
  }
  .testimonial-card {
    flex: 0 0 290px;
    width: 290px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .btn-demo {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .navbar.scrolled .nav-inner {
    max-width: 100%;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 21, 42, 0.95);
  }
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
  }
  .mobile-menu > a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
  }
  .mobile-menu > a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }
  .btn-demo-mobile {
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 40px;
  }
  .hero-headline {
    font-size: 26px;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 28px;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-stat-divider {
    display: none;
  }

  /* Product preview responsive */
  .preview-body {
    height: 300px;
  }
  .preview-sidebar {
    width: 44px;
  }
  .preview-nav-icon {
    width: 30px;
    height: 30px;
  }

  .mod-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .mod-desc {
    margin-bottom: 20px;
  }
  .mod-header-right {
    padding-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .mod-headline {
    font-size: 28px;
  }
  .mod-image-wrap {
    height: 380px;
  }
  .feat-headline {
    font-size: 28px;
  }
  .feat-card-body {
    padding: 24px 24px 16px;
  }
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feat-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feat-sticky {
    position: static;
  }
  .feat-sub {
    max-width: 100%;
  }
  .security-cards {
    grid-template-columns: 1fr;
  }
  .security-headline {
    font-size: 26px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
  .faq-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .faq-grid:not(.faq-track) {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-item {
    height: 320px;
  }
  .testimonial-card {
    flex: 0 0 85%;
    width: 85%;
    min-height: 320px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-nav-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-cta-zone {
    padding: 72px 0 64px;
  }
  .int-network {
    display: none;
  }
  .int-grid-mobile {
    display: flex;
  }
}

@media (max-width: 480px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .mod-top-row {
    gap: 20px;
  }
  .mod-header-right {
    flex-wrap: wrap;
  }
  .mod-headline {
    font-size: 24px;
  }
  .mod-image-wrap {
    height: 260px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .footer-nav-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-cta-heading {
    font-size: clamp(28px, 7vw, 40px);
  }
  .faq-grid:not(.faq-track) {
    grid-template-columns: 1fr;
  }
  .faq-item {
    height: auto;
    min-height: 300px;
  }
}

/* ========================
   FLOW PAGE (PropelFlow)
======================== */
.flow-hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 80px;
  background: linear-gradient(0deg, #fff5de 0%, #e8f0ff 51%);
  overflow: hidden;
}
.flow-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.flow-hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.flow-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.flow-hero-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.flow-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Floating cards around main dashboard */
.flow-dashboard-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto 48px;
  min-height: 420px;
}
@keyframes flowFloatTL {
  0%,
  100% {
    transform: translateY(0) rotate(-16deg);
  }
  50% {
    transform: translateY(-8px) rotate(-17deg);
  }
}
@keyframes flowFloatBL {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-8px) rotate(-11deg);
  }
}
@keyframes flowFloatC {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 6px));
  }
}
@keyframes flowFloatTR {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}
@keyframes flowFloatBR {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}
.flow-float-card {
  position: absolute;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  object-fit: contain;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.flow-float-card-tl,
.flow-float-card-bl,
.flow-float-card-tr,
.flow-float-card-br {
  z-index: 1;
}
.flow-float-card-tl {
  top: 0;
  left: 0;
  width: 140px;
  animation-name: flowFloatTL;
  animation-delay: 0s;
}
.flow-float-card-bl {
  bottom: 20px;
  left: -10px;
  width: 210px;
  animation-name: flowFloatBL;
  animation-delay: 0.4s;
}
.flow-float-card-center {
  top: 50%;
  left: 50%;
  width: 560px;
  max-width: 100%;
  z-index: 0;
  animation-name: flowFloatC;
  animation-delay: 0.2s;
}
.flow-float-card-tr {
  top: 10px;
  right: -20px;
  width: 160px;
  animation-name: flowFloatTR;
  animation-delay: 0.6s;
}
.flow-float-card-br {
  bottom: 30px;
  right: 0;
  width: 190px;
  animation-name: flowFloatBR;
  animation-delay: 0.8s;
}

.flow-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.flow-hero-ctas .btn-ghost {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}
.flow-hero-ctas .btn-ghost:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

/* Challenges section */
.flow-challenges-section {
  padding: 96px 0;
  background: var(--white);
}
.flow-challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flow-challenge-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.flow-challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.flow-challenge-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fca5a5;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.flow-challenge-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.flow-challenge-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Workflow Features section */
.flow-features-section {
  padding: 96px 0;
  background: var(--light-bg);
}
.flow-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.flow-feature-row:last-child {
  margin-bottom: 0;
}
.flow-feature-row--reverse .flow-feature-media {
  order: 2;
}
.flow-feature-row--reverse .flow-feature-text {
  order: 1;
}
.flow-feature-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.flow-feature-text p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}
.flow-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.flow-mockup-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  object-fit: contain;
}
.flow-mockup-task {
  max-width: 480px;
}
.flow-mockup-analytics {
  max-width: 420px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.flow-mockup-permissions {
  max-width: 400px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}
.flow-mockup-table,
.flow-perms-table {
  width: 100%;
}
.flow-mockup-row,
.flow-perms-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.flow-mockup-row:last-child,
.flow-perms-row:last-child {
  border-bottom: none;
}
.flow-mockup-header,
.flow-perms-header {
  font-weight: 700;
  color: var(--text-mid);
}
.flow-perms-table .flow-perms-row {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
.flow-analytics-chart {
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(99, 102, 241, 0.2) 0%,
    transparent 100%
  );
  border-radius: 8px;
}
.flow-analytics-pie {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0% 65%, #c7d2fe 65% 100%);
}
.flow-analytics-stats {
  grid-column: span 2;
  text-align: center;
}
.flow-analytics-stats span:first-child {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  display: block;
}
.flow-analytics-stats span:last-child {
  font-size: 12px;
  color: var(--text-muted);
}

/* Benefits section */
.flow-benefits-section {
  padding: 96px 0;
  background: var(--white);
}
.flow-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.flow-benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.flow-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.flow-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.flow-benefit-icon--purple {
  background: #ede9fe;
  color: #7c3aed;
}
.flow-benefit-icon--red {
  background: #fee2e2;
  color: #dc2626;
}
.flow-benefit-icon--green {
  background: #d1fae5;
  color: #059669;
}
.flow-benefit-icon--gray {
  background: #f1f5f9;
  color: #64748b;
}
.flow-benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.flow-benefit-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .flow-challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .flow-feature-row--reverse .flow-feature-media,
  .flow-feature-row--reverse .flow-feature-text {
    order: unset;
  }
  .flow-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .flow-float-card-tl,
  .flow-float-card-bl,
  .flow-float-card-tr,
  .flow-float-card-br {
    display: none;
  }
  .flow-float-card-center {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .flow-challenge-grid {
    grid-template-columns: 1fr;
  }
  .flow-hero-ctas {
    flex-direction: column;
  }
  .flow-dashboard-wrap {
    min-height: 320px;
  }
  .flow-float-card-center {
    width: 280px;
  }
}

/* ========================
   INDUSTRY PAGE (Infrastructure etc.)
======================== */
.industry-hero {
  padding: 80px 0 100px;
  background: var(--white);
}
.industry-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.industry-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 100px;
  background: #fef9c3;
  color: #b45309;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.industry-hero-headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.industry-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.industry-hero-text .btn-primary {
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 14px;
}
.industry-hero-visual {
  position: relative;
}
.industry-hero-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  object-fit: cover;
}
.industry-hero-placeholder {
  display: none;
  min-height: 360px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}
.industry-hero-placeholder.show {
  display: flex;
}
.industry-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 18px;
}
.industry-placeholder-badge {
  font-size: 14px;
  padding: 6px 14px;
  background: rgba(0, 57, 166, 0.08);
  color: var(--blue);
  border-radius: 100px;
  font-weight: 600;
}
.industry-problem-section {
  padding: 86px 0;
  background: var(--light-bg);
}
.industry-problem-section .section-header-center {
  margin-bottom: 0;
}
.industry-problem-section .section-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.industry-feature-visual {
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.industry-feature-visual--lavender {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}
.industry-feature-visual--gray {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.industry-feature-visual .flow-mockup-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
}
.industry-result-line {
  font-size: 16px;
  color: var(--text-mid);
  font-weight: 500;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.industry-result-line strong {
  color: var(--text);
}
.industry-benefits-section {
  padding: 96px 0;
  background: var(--white);
}
.industry-benefits-section .section-badge {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-mid);
}
.industry-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry-benefits-grid .flow-benefit-card {
  margin: 0;
}

@media (max-width: 1024px) {
  .industry-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .industry-hero-text {
    order: 1;
  }
  .industry-hero-visual {
    order: 0;
  }
  .industry-hero-img {
    max-width: 100%;
  }
  .industry-benefits-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .industry-hero {
    padding: 60px 0 72px;
  }
  .industry-hero-sub {
    max-width: 100%;
  }
}

/* ========================
   WRITE PAGE (PropelWrite)
======================== */

/* Write Page hero floating cards — isolated from Flow page */
.write-hero-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto 48px;
  min-height: 420px;
}

@keyframes writeFloatTL {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-8px) rotate(-6deg);
  }
}
@keyframes writeFloatBL {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-8px) rotate(-5deg);
  }
}
@keyframes writeFloatC {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 6px));
  }
}
@keyframes writeFloatTR {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}
@keyframes writeFloatBR {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }
  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

.write-float-card {
  position: absolute;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  object-fit: contain;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.write-float-card-tl,
.write-float-card-bl,
.write-float-card-tr,
.write-float-card-br {
  z-index: 1;
}

.write-float-card-tl {
  top: 0;
  left: 0;
  width: 90px;
  animation-name: writeFloatTL;
  animation-delay: 0s;
}

.write-float-card-bl {
  bottom: 20px;
  left: -10px;
  width: 230px;
  animation-name: writeFloatBL;
  animation-delay: 0.4s;
}

.write-float-card-center {
  top: 50%;
  left: 50%;
  width: 660px;
  max-width: 100%;
  z-index: 0;
  animation-name: writeFloatC;
  animation-delay: 0.2s;
}

.write-float-card-tr {
  top: 10px;
  right: -20px;
  width: 150px;
  animation-name: writeFloatTR;
  animation-delay: 0.6s;
}

.write-float-card-br {
  bottom: 30px;
  right: 0;
  width: 210px;
  animation-name: writeFloatBR;
  animation-delay: 0.8s;
}

@media (max-width: 900px) {
  .write-float-card-tl,
  .write-float-card-bl,
  .write-float-card-tr,
  .write-float-card-br {
    display: none;
  }
  .write-float-card-center {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .write-hero-wrap {
    min-height: 320px;
  }
  .write-float-card-center {
    width: 280px;
  }
}

/* Write feature images – responsive, consistent, soft shadows */
.write-feature-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  object-fit: contain;
  display: block;
}
.flow-feature-media .write-feature-img {
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .write-feature-img {
    max-width: 100%;
  }
}

/* ========================
   READ PAGE (PropelRead)
======================== */

/* Hero floating cards */
.read-hero-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto 48px;
  min-height: 420px;
}

@keyframes readFloatTL {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-10px) rotate(-9deg);
  }
}
@keyframes readFloatBL {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-10px) rotate(-7deg);
  }
}
@keyframes readFloatC {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 8px));
  }
}
@keyframes readFloatTR {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
  }
}
@keyframes readFloatBR {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.read-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.read-float-card-tl {
  top: 0;
  left: 0;
  width: 130px;
  animation-name: readFloatTL;
  animation-delay: 0s;
  z-index: 2;
}
.read-float-card-bl {
  bottom: 24px;
  left: -16px;
  width: 120px;
  animation-name: readFloatBL;
  animation-delay: 0.4s;
  z-index: 2;
}
.read-float-card-tr {
  top: 12px;
  right: -24px;
  width: 100px;
  animation-name: readFloatTR;
  animation-delay: 0.6s;
  z-index: 2;
}
.read-float-card-br {
  bottom: 28px;
  right: 8px;
  width: 140px;
  animation-name: readFloatBR;
  animation-delay: 0.8s;
  z-index: 2;
}
.read-float-card-center {
  top: 50%;
  left: 50%;
  width: 540px;
  max-width: 95%;
  min-height: 300px;
  z-index: 1;
  animation-name: readFloatC;
  animation-delay: 0.2s;
  overflow: hidden;
}

.read-float-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.read-float-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
}
.read-float-sublabel {
  font-size: 11px;
  color: var(--text-muted);
}
.read-float-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.read-float-chart {
  flex-direction: row;
  gap: 6px;
  padding: 12px 16px;
  align-items: flex-end;
  height: 70px;
}
.read-chart-bar {
  width: 12px;
  min-height: 8px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-bright) 100%);
  border-radius: 4px 4px 0 0;
  animation: readFloatTR 6s ease-in-out infinite;
}

.read-hero-center-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.read-hero-placeholder {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  border-radius: 16px;
  padding: 20px;
}
.read-hero-placeholder.show {
  display: flex;
}
.read-placeholder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.read-placeholder-badge {
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 6px;
}
.read-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}
.read-placeholder-cell {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.read-placeholder-chart {
  grid-column: span 3;
  background: linear-gradient(
    180deg,
    rgba(30, 61, 191, 0.1) 0%,
    transparent 100%
  );
  min-height: 80px;
}

/* ========================
   SCOUT PAGE (PropelScout) – Hero floating cards (same structure as write page)
======================== */
.scout-hero-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto 48px;
  min-height: 420px;
}

@keyframes scoutFloatTL {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-8px) rotate(-6deg);
  }
}
@keyframes scoutFloatBL {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-8px) rotate(-5deg);
  }
}
@keyframes scoutFloatC {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 6px));
  }
}
@keyframes scoutFloatTR {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}
@keyframes scoutFloatBR {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }
  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

.scout-float-card {
  position: absolute;
  border-radius: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  object-fit: contain;
  animation-duration: 6s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.scout-float-card-tl,
.scout-float-card-bl,
.scout-float-card-tr,
.scout-float-card-br {
  z-index: 1;
}

.scout-float-card-tl {
  top: 0;
  left: 0;
  width: 90px;
  animation-name: scoutFloatTL;
  animation-delay: 0s;
}

.scout-float-card-bl {
  bottom: 20px;
  left: -10px;
  width: 230px;
  animation-name: scoutFloatBL;
  animation-delay: 0.4s;
}

.scout-float-card-center {
  top: 50%;
  left: 50%;
  width: 660px;
  max-width: 100%;
  z-index: 0;
  animation-name: scoutFloatC;
  animation-delay: 0.2s;
}

.scout-float-card-tr {
  top: 10px;
  right: -20px;
  width: 150px;
  animation-name: scoutFloatTR;
  animation-delay: 0.6s;
}

.scout-float-card-br {
  bottom: 30px;
  right: 0;
  width: 210px;
  animation-name: scoutFloatBR;
  animation-delay: 0.8s;
}

@media (max-width: 900px) {
  .scout-float-card-tl,
  .scout-float-card-bl,
  .scout-float-card-tr,
  .scout-float-card-br {
    display: none;
  }
  .scout-float-card-center {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .scout-hero-wrap {
    min-height: 320px;
  }
  .scout-float-card-center {
    width: 280px;
  }
}

/* Scout page – Hero, Challenges, Feature, Benefits (same properties as flow/read) */
.scout-hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 80px;
  background: linear-gradient(0deg, #fff5de 0%, #e8f0ff 51%);
  overflow: hidden;
}
.scout-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.scout-hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.scout-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.scout-hero-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.scout-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 48px;
}
.scout-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.scout-hero-ctas .btn-ghost {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}
.scout-hero-ctas .btn-ghost:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.scout-challenges-section {
  padding: 96px 0;
  background: var(--white);
}
.scout-challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.scout-challenge-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.scout-challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.scout-challenge-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fca5a5;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.scout-challenge-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.scout-challenge-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.scout-feature-section {
  background: var(--light-bg);
  padding: 96px 0 120px;
  overflow: hidden;
}
.scout-feature-pin-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.scout-feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.scout-feature-header-left {
  flex: 1;
  min-width: 0;
}
.scout-feature-header-left .section-badge {
  margin-bottom: 16px;
}
.scout-feature-header-left .section-headline {
  margin-bottom: 12px;
}
.scout-feature-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
}
.scout-feature-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
}
.scout-feature-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.scout-feature-tab {
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.scout-feature-tab:hover {
  border-color: #c7d2fe;
  color: var(--text);
  background: #f8faff;
}
.scout-feature-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.scout-feature-nav {
  display: flex;
  gap: 10px;
}
.scout-feature-prev,
.scout-feature-next {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #d4dbe8;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.scout-feature-prev:hover,
.scout-feature-next:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.scout-feature-progress {
  display: flex;
  gap: 8px;
}
.scout-progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.scout-progress-dot:hover {
  border-color: var(--blue);
  background: #c7d2fe;
}
.scout-progress-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  width: 24px;
}

.scout-feature-carousel-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.scout-feature-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 0;
  /* Match header left alignment: max-width 1280px centered + 24px padding */
  padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px));
  height: max-content;
}
.scout-feature-card {
  flex: 0 0 50vw;
  display: flex;
  padding: 0 12px;
  box-sizing: border-box;
  transform-origin: center center;
}
.scout-feature-card .scout-feature-card-inner {
  opacity: 0.97;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.scout-feature-card.in-view {
  flex: 0 0 50vw;
}
.scout-feature-card.in-view .scout-feature-card-inner {
  opacity: 1;
  transform: translateY(0);
}
.scout-feature-card-inner {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  min-height: 420px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.scout-feature-card-inner:hover {
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.06);
}
.scout-feature-content {
  min-width: 0;
}
.scout-feature-card-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.scout-feature-card-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}
.scout-feature-visual {
  min-width: 0;
}
.scout-visual-placeholder {
  position: relative;
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  padding: 24px;
  border: 1px solid var(--border);
}
.scout-feature-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  display: block;
  transition: transform 0.4s ease;
}
.scout-visual-placeholder:hover .scout-feature-img {
  transform: scale(1.02);
}
.scout-placeholder-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  color: var(--text-muted);
  font-size: 14px;
}
.scout-placeholder-fallback.show {
  display: flex;
}
.scout-placeholder-score {
  font-size: 56px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.scout-summary-placeholder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.scout-summary-placeholder .scout-summary-line {
  height: 12px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  width: 100%;
}
.scout-summary-placeholder .scout-summary-line.short {
  width: 70%;
}
.scout-amendment-placeholder {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.scout-amendment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
}
.scout-amendment-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.scout-benefits-section {
  padding: 96px 0;
  background: var(--white);
}
.scout-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.scout-benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.scout-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.scout-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.scout-benefit-icon--purple {
  background: #ede9fe;
  color: #7c3aed;
}
.scout-benefit-icon--red {
  background: #fee2e2;
  color: #dc2626;
}
.scout-benefit-icon--green {
  background: #d1fae5;
  color: #059669;
}
.scout-benefit-icon--gray {
  background: #f1f5f9;
  color: #64748b;
}
.scout-benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}
.scout-benefit-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .scout-challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .scout-benefits-grid {
    grid-template-columns: 1fr;
  }
  .scout-feature-header {
    flex-direction: column;
    align-items: stretch;
  }
  .scout-feature-header-right {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .scout-feature-tabs-wrap {
    justify-content: flex-start;
  }
  .scout-feature-card-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 24px;
  }
  .scout-feature-content {
    order: 1;
  }
  .scout-feature-visual {
    order: 0;
  }
  .scout-feature-track {
    padding: 0 10vw;
  }
  .scout-feature-card {
    flex: 0 0 80vw;
    min-width: 80vw;
  }
  .scout-feature-card.in-view {
    flex: 0 0 80vw;
    min-width: 80vw;
  }
  .scout-feature-img {
    max-height: 280px;
  }
}
@media (max-width: 768px) {
  .scout-challenge-grid {
    grid-template-columns: 1fr;
  }
  .scout-hero-ctas {
    flex-direction: column;
  }
  .scout-feature-section {
    padding: 64px 0 80px;
  }
  .scout-visual-placeholder {
    min-height: 180px;
  }
  .scout-feature-img {
    max-height: 240px;
  }
  .scout-feature-tabs-wrap {
    gap: 8px;
  }
  .scout-feature-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .scout-feature-card-title {
    font-size: 22px;
  }
  .scout-feature-card-desc {
    font-size: 16px;
  }
  .scout-feature-card-inner {
    min-height: auto;
  }
}

/* Flow hero CTA overrides for read (btn-ghost same as write) */
.flow-hero-ctas .btn-ghost {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}
.flow-hero-ctas .btn-ghost:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

/* Discover section – GSAP ScrollTrigger horizontal scroll */
.read-feature-section {
  background: var(--light-bg);
  padding: 96px 0 120px;
  overflow: hidden;
}

.read-feature-pin-wrapper {
  /* Pinned container when section reaches top – GSAP handles pinning */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.read-feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.read-feature-header-left {
  flex: 1;
  min-width: 0;
}

.read-feature-header-left .section-badge {
  margin-bottom: 16px;
}

.read-feature-header-left .section-headline {
  margin-bottom: 12px;
}

.read-feature-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 540px;
}

.read-feature-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
}

.read-feature-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.read-feature-tab {
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.read-feature-tab:hover {
  border-color: #c7d2fe;
  color: var(--text);
  background: #f8faff;
}
.read-feature-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.read-feature-nav {
  display: flex;
  gap: 10px;
}

.read-feature-prev,
.read-feature-next {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #d4dbe8;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.read-feature-prev:hover,
.read-feature-next:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #eef4ff;
}

.read-feature-progress {
  display: flex;
  gap: 8px;
}

.read-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #bfcad8;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.read-progress-dot:hover {
  border-color: var(--blue);
  background: #c7d2fe;
}
.read-progress-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  width: 24px;
}

/* Carousel container – overflow hidden, GSAP animates horizontal movement (Altura-style) */
.read-feature-carousel-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.read-feature-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 0;
  padding: 0 17.5vw;
  height: max-content;
}

.read-feature-card {
  flex: 0 0 50vw;
  display: flex;
  padding: 0 12px;
  box-sizing: border-box;
  transform-origin: center center;
}
.read-feature-card .read-feature-card-inner {
  opacity: 0.97;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.read-feature-card.in-view {
  flex: 0 0 50vw;
}
.read-feature-card.in-view .read-feature-card-inner {
  opacity: 1;
  transform: translateY(0);
}

.read-feature-card-inner {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  min-height: 420px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.read-feature-card-inner:hover {
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.06);
}

.read-feature-content {
  min-width: 0;
}

.read-feature-card-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.read-feature-card-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Visual container – image placeholder + callouts */
.read-feature-visual {
  min-width: 0;
}

.read-visual-container {
  position: relative;
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.read-visual-placeholder {
  position: relative;
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

.read-feature-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  display: block;
  transition: transform 0.4s ease;
}
.read-visual-container:hover .read-feature-img {
  transform: scale(1.02);
}

.read-placeholder-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  color: var(--text-muted);
  font-size: 14px;
}
.read-placeholder-fallback.show {
  display: flex;
}

/* Risk Matrix placeholder blocks & lines */
.read-placeholder-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.read-placeholder-block {
  height: 100px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.read-visual-container:hover .read-placeholder-block {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.read-placeholder-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.read-placeholder-lines span {
  display: block;
  height: 10px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  width: 100%;
}
.read-placeholder-lines span:nth-child(1) {
  width: 100%;
}
.read-placeholder-lines span:nth-child(2) {
  width: 85%;
}
.read-placeholder-lines span:nth-child(3) {
  width: 95%;
}
.read-placeholder-lines span:nth-child(4) {
  width: 70%;
}
.read-placeholder-lines span:nth-child(5) {
  width: 90%;
}

/* UI Callouts – floating badges */
.read-visual-callouts {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.read-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.read-callout--yellow {
  background: var(--white);
  border: 2px solid #f5a623;
}
.read-callout--yellow .read-callout-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #f5a623;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #f5a623;
  flex-shrink: 0;
}

.read-callout--orange {
  background: var(--white);
  border: 2px solid #ea580c;
}
.read-callout--orange .read-callout-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ea580c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #ea580c;
  flex-shrink: 0;
}

.read-callout--blue {
  background: var(--white);
  border: 2px solid var(--blue);
}
.read-callout--blue .read-callout-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
}

.read-callout-num {
  flex-shrink: 0;
}

.read-callout-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* Footer panel – Conflicts or Discrepancies */
.read-visual-footer {
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 12px;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

.read-visual-footer strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}

.read-visual-footer p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Placeholder variants */
.read-placeholder-score {
  font-size: 56px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.read-summary-placeholder {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.read-summary-placeholder .read-summary-line {
  height: 12px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  width: 100%;
}
.read-summary-placeholder .read-summary-line.short {
  width: 70%;
}

.read-sources-placeholder {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.read-source-item {
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.read-amendment-placeholder {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.read-amendment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
}
.read-amendment-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Read feature section responsive */
@media (max-width: 1024px) {
  .read-feature-header {
    flex-direction: column;
    align-items: stretch;
  }
  .read-feature-header-right {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .read-feature-tabs-wrap {
    justify-content: flex-start;
  }
  .read-feature-card-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 24px;
  }
  .read-feature-content {
    order: 1;
  }
  .read-feature-visual {
    order: 0;
  }
  .read-feature-track {
    padding: 0 10vw; /* center 80vw cards */
  }
  .read-feature-card {
    flex: 0 0 80vw;
    min-width: 80vw;
  }
  .read-feature-card.in-view {
    flex: 0 0 80vw;
    min-width: 80vw;
  }
  .read-feature-img {
    max-height: 280px;
  }
}

@media (max-width: 768px) {
  .read-feature-section {
    padding: 64px 0 80px;
  }
  .read-visual-placeholder {
    min-height: 180px;
  }
  .read-feature-img {
    max-height: 240px;
  }
  .read-feature-tabs-wrap {
    gap: 8px;
  }
  .read-feature-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  .read-feature-card-title {
    font-size: 22px;
  }
  .read-feature-card-desc {
    font-size: 16px;
  }
  .read-feature-card-inner {
    min-height: auto;
  }
  .read-visual-callouts {
    top: 8px;
    right: 8px;
  }
  .read-callout {
    padding: 8px 12px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .read-float-card-tl,
  .read-float-card-bl,
  .read-float-card-tr,
  .read-float-card-br {
    display: none;
  }
  .read-float-card-center {
    width: 320px;
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .read-hero-wrap {
    min-height: 320px;
  }
  .read-float-card-center {
    width: 280px;
    min-height: 220px;
  }
}

/* ========================
   COMPARISON PAGE (PropelPro vs Loopio)
======================== */
.compare-hero {
  padding: 80px 0 100px;
  background: var(--white);
}
.compare-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.compare-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 100px;
  background: #dbeafe;
  color: #1e3dbf;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.compare-hero-headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.compare-hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 520px;
}
.compare-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin: 32px 0;
}
.compare-features-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.compare-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.compare-check svg {
  flex-shrink: 0;
}
.compare-cta {
  display: inline-block;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}
.compare-cta:hover {
  background: var(--navy-light);
}
.compare-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.compare-vs-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, #0d1e3a 0%, #09152a 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  position: relative;
}
.compare-vs-pill {
  background: var(--white);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 100px;
  min-width: 140px;
  text-align: center;
}
.compare-vs-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}
.compare-table-section {
  padding: 96px 0;
  background: var(--light-bg);
}
.compare-table-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.compare-table-headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.compare-table-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--white);
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.compare-table th {
  padding: 18px 24px;
  text-align: left;
  font-weight: 600;
}
.compare-table th:first-child {
  border-radius: 12px 0 0 0;
}
.compare-table th:last-child {
  border-radius: 0 12px 0 0;
}
.compare-table th:nth-child(2),
.compare-table th:nth-child(3) {
  text-align: center;
}
.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
}
.compare-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.compare-table tbody tr:last-child {
  border-bottom: none;
}
.compare-table td {
  padding: 18px 24px;
  color: var(--text-mid);
}
.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  text-align: center;
  vertical-align: middle;
}
.compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.compare-icon-check {
  background: #22c55e;
  color: var(--white);
}
.compare-icon-cross {
  background: #ef4444;
  color: var(--white);
}
.compare-icon-limited {
  background: #f59e0b;
  color: var(--white);
}
.compare-limited-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
}

@media (max-width: 1024px) {
  .compare-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .compare-hero-text {
    order: 1;
  }
  .compare-hero-right {
    order: 0;
  }
  .compare-vs-card {
    max-width: 360px;
    margin: 0 auto;
  }
  .compare-features {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .compare-hero {
    padding: 60px 0 72px;
  }
  .compare-hero-sub {
    max-width: 100%;
  }
  .compare-table-section {
    padding: 64px 0;
  }
  .compare-table-header {
    margin-bottom: 32px;
  }
  .compare-table-wrap {
    margin: 0 -24px;
    border-radius: 0;
  }
}
