/* Shared page components - use same classes across Home, Respond, Engage, Tribbyltics, Core, Customer Success */

/* ========== NAV DROPDOWN ========== */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-dropdown-trigger:hover { color: #fff; }
.nav-dropdown-trigger.active { color: #60a5fa; font-weight: 600; }
.nav-dropdown-trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  min-width: 160px;
  padding: 0.5rem 0;
  background: #0c1220;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-dropdown-menu a.active { color: #60a5fa; font-weight: 600; }

/* ========== CONSISTENT PAGE SPACING ========== */
.page-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .page-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.page-section-inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}
.page-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .page-heading { margin-bottom: 3rem; }
}
.home-page .page-heading:not(.text-center) { text-align: left; }
.page-subheading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
.page-subheading:first-child { margin-top: 0; }
.content-list {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}
.content-list:last-child { margin-bottom: 0; }
.content-list li { margin-bottom: 0.5rem; }
.content-list li:last-child { margin-bottom: 0; }
.content-intro {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.content-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.page-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .page-grid { gap: 2rem; }
}
.page-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .page-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.page-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .page-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
/* Uniform problem cards: same height and width (e.g. Respond Problems We Solve, 3 in a row) */
.problem-cards-uniform .page-grid {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
  gap: 2.25rem;
}
.problem-cards-uniform .problem-card {
  min-height: 14rem;
  padding: 1.75rem 2rem;
}
.page-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .page-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
/* Spacing between consecutive blocks (e.g. placeholders, cards) */
.page-block-spacing { margin-top: 2rem; }
.page-block-spacing + .page-block-spacing { margin-top: 2rem; }
.splash-placeholder + .splash-placeholder { margin-top: 2rem; }

/* ========== PRODUCT FEATURES Z-PATTERN ========== */
.feature-z-section { }
.feature-z-section .page-heading { margin-bottom: 2rem; }
.feature-z-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feature-z-row:first-child { padding-top: 0; }
.feature-z-row:last-child { border-bottom: none; padding-bottom: 0; }
@media (min-width: 768px) {
  .feature-z-row {
    grid-template-columns: 35% 65%;
    gap: 3rem;
    align-items: start;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }
  /* Reversed: text right (35%), image left (65%) — flip column widths so order swap keeps text at 35% */
  .feature-z-row--reverse {
    grid-template-columns: 65% 35%;
  }
  /* One-off 50:50 split (e.g. Respond Four RFx Workflows row) */
  .feature-z-row--50-50 {
    grid-template-columns: 1fr 1fr;
  }
  .feature-z-row--50-50.feature-z-row--reverse {
    grid-template-columns: 1fr 1fr;
  }
  .feature-z-row:first-child { padding-top: 0; }
  .feature-z-row--reverse .feature-z-content { order: 2; }
  .feature-z-row--reverse .feature-z-visual { order: 1; }
}
.feature-z-content { min-width: 0; }
.feature-z-content .feature-z-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 1.25rem;
  margin-top: 0;
  line-height: 1.3;
}
.feature-z-content .feature-z-body {
  margin-top: 0;
  margin-bottom: 0;
}
.feature-z-content .feature-z-list {
  font-family: 'Inter', sans-serif;
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  padding-left: 1.25rem;
}
.feature-z-content .feature-z-list li { margin-bottom: 0.5rem; }
.feature-z-content .feature-z-list li:last-child { margin-bottom: 0; }
.feature-z-content .feature-z-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .feature-z-content .feature-z-cards { grid-template-columns: repeat(2, 1fr); }
}
.feature-z-content .feature-z-cards .problem-card { margin: 0; }
.feature-z-content .feature-z-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 2;
  margin: 0;
}
.feature-z-visual { min-width: 0; }
.feature-z-visual .splash-placeholder { margin-top: 0; }

/* ========== KEY METRICS ========== */
.key-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 768px) {
  .key-metrics-row { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.key-metrics-row.key-metrics-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 768px) {
  .key-metrics-row.key-metrics-3 { gap: 2rem; }
}
.key-metrics-row.key-metrics-5 {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
@media (min-width: 1024px) {
  .key-metrics-row.key-metrics-5 { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
}
.key-metric-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.09) 0%, rgba(20, 28, 46, 0.55) 45%, rgba(20, 28, 46, 0.6) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.4s ease;
}
.key-metric-box:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.08),
    0 2px 8px  -2px rgba(59, 130, 246, 0.35),
    0 8px 20px -4px rgba(99, 102, 241, 0.25),
    0 16px 40px -8px rgba(59, 130, 246, 0.15),
    -4px 12px 28px -6px rgba(59, 130, 246, 0.2),
    6px 6px 24px -4px rgba(99, 102, 241, 0.18);
}
.key-metric-box .metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.875rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.key-metric-box .metric-label {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 0.75rem;
  line-height: 1.3;
}
.key-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.key-metric-item .key-metric-box {
  width: 100%;
  box-sizing: border-box;
}
.key-metric-box .metric-label {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.key-metric-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #94a3b8;
  margin: 0.75rem 0 0 0;
  line-height: 1.4;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  padding: 0 1.5rem;
}

/* ========== PROBLEM CARDS ========== */
.problem-card {
  background: rgba(20, 28, 46, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.75rem 1.75rem;
  transition: border-color 0.25s ease, box-shadow 0.4s ease;
  text-align: center;
}
.problem-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.06),
    0 2px 10px -2px rgba(59, 130, 246, 0.4),
    0 10px 24px -4px rgba(99, 102, 241, 0.28),
    0 20px 44px -10px rgba(59, 130, 246, 0.18),
    4px 14px 32px -6px rgba(59, 130, 246, 0.22),
    -6px 8px 28px -4px rgba(99, 102, 241, 0.16);
}
.problem-card .problem-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.problem-card .problem-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Integrations: 25% cards stack (left) | 75% screenshot (right) */
.integrations-section-inner {
  max-width: 72rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.integrations-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .integrations-split {
    grid-template-columns: 25% 75%;
    gap: 2rem;
  }
}
.integrations-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.integrations-cards-stack .problem-card {
  padding: 1rem 1.25rem;
  min-height: 0;
}
.integrations-cards-stack .problem-card .problem-title {
  font-size: 0.875rem;
  line-height: 1.3;
  margin-bottom: 0.375rem;
}
.integrations-cards-stack .problem-card .problem-body {
  font-size: 0.8125rem;
  line-height: 1.4;
}
.integrations-splash-wrap {
  min-width: 0;
}
.integrations-splash-wrap .splash-placeholder {
  width: 100%;
}
.integration-capabilities-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
  text-align: right;
  margin: 0;
}

/* ========== FLOATING GRAPHIC EFFECT (screenshots, placeholders, hero visual) ========== */
@keyframes float-graphic {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floating-graphic,
.splash-placeholder,
.page-hero-visual,
.trust-screenshot {
  animation: float-graphic 4s ease-in-out infinite;
  box-shadow:
    0 0 20px 2px rgba(59, 130, 246, 0.18),
    0 0 45px 8px rgba(99, 102, 241, 0.12),
    0 8px 32px -4px rgba(59, 130, 246, 0.2),
    -6px 4px 28px -2px rgba(99, 102, 241, 0.14),
    4px 12px 36px -6px rgba(59, 130, 246, 0.1);
}
.floating-graphic { border-radius: 1rem; overflow: hidden; display: block; line-height: 0; }
.floating-graphic img { display: block; width: 100%; height: auto; vertical-align: top; }

/* ========== SPLASH PLACEHOLDER (same style as hero image placeholder) ========== */
.splash-placeholder {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  border: none;
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  color: #1e40af;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Screenshot-like size: 16:10 aspect ratio, min height for typical screenshot proportion */
  aspect-ratio: 16 / 10;
  min-height: 320px;
}
@media (min-width: 768px) {
  .splash-placeholder { padding: 4rem 2.5rem; min-height: 400px; }
}
.splash-placeholder strong { color: #1e40af; font-weight: 600; }

/* Security badges: full-width splash with 10 icon slots in one row */
.splash-placeholder.security-badges-splash {
  width: 100%;
  aspect-ratio: auto;
  min-height: 0;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  border: none;
  color: #1e40af;
}
@media (min-width: 768px) {
  .splash-placeholder.security-badges-splash { padding: 2.5rem 3rem; }
}
.security-badges-splash .security-badges-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}
.security-badge-placeholder {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.8);
}
@media (max-width: 767px) {
  .security-badges-splash .security-badges-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Stagger float animation for feature placeholders (rows are nth-child 2+ after heading) */
.feature-z-row:nth-child(2) .splash-placeholder { animation-delay: 0s; }
.feature-z-row:nth-child(3) .splash-placeholder { animation-delay: 0.4s; }
.feature-z-row:nth-child(4) .splash-placeholder { animation-delay: 0.8s; }
.feature-z-row:nth-child(5) .splash-placeholder { animation-delay: 0.2s; }
.feature-z-row:nth-child(6) .splash-placeholder { animation-delay: 0.6s; }
.feature-z-row:nth-child(7) .splash-placeholder { animation-delay: 0.3s; }
.feature-z-row:nth-child(8) .splash-placeholder { animation-delay: 0.7s; }
.feature-z-row:nth-child(9) .splash-placeholder { animation-delay: 0.1s; }
.feature-z-row:nth-child(10) .splash-placeholder { animation-delay: 0.5s; }
.splash-dashboard-wrap {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  border: none;
}
/* When a screenshot image is inside, box shrinks to fit the image edge-to-edge */
.splash-dashboard-wrap:has(img) {
  display: block;
  overflow: hidden;
  padding: 0;
  min-height: 0;
}
.splash-dashboard-img,
.splash-dashboard-wrap img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* ========== CUSTOMER EXAMPLE CARD ========== */
.customer-example-card {
  position: relative;
  background: rgba(20, 28, 46, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.75rem 1.75rem;
  padding-right: 6rem;
  transition: border-color 0.25s ease, box-shadow 0.4s ease;
}
.customer-example-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.06),
    0 2px 10px -2px rgba(59, 130, 246, 0.38),
    0 10px 24px -4px rgba(99, 102, 241, 0.26),
    0 20px 44px -10px rgba(59, 130, 246, 0.16),
    -4px 12px 28px -6px rgba(59, 130, 246, 0.2),
    6px 8px 26px -4px rgba(99, 102, 241, 0.15);
}
.customer-example-card::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 4rem;
  height: 3rem;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 0.5rem;
}
.customer-example-card:has(.customer-example-card-logo)::before { display: none; }
.customer-example-card-logo {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 4rem;
  height: 2.5rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.customer-example-card-logo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.customer-example-card .company-name { font-family: 'Poppins', sans-serif; font-weight: 700; color: #60a5fa; font-size: 0.9375rem; margin-bottom: 0.5rem; }
.customer-example-card .stat-line { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700; color: white; margin-bottom: 0.75rem; line-height: 1.3; }
.customer-example-card .stat-line strong { font-weight: 800; }
.customer-example-card .description { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #94a3b8; line-height: 1.55; }
.customer-example-card .description .description-line { display: block; margin-bottom: 0.5rem; }
.customer-example-card .description .description-line:last-child { margin-bottom: 0; }
.customer-example-card .description strong { font-weight: 600; color: #e2e8f0; }

/* ========== CUSTOMER QUOTE BLOCK ========== */
.customer-quote-block {
  background: linear-gradient(135deg, rgba(241,245,249,0.12) 0%, rgba(226,232,250,0.15) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid #3b82f6;
  border-radius: 1rem;
  padding: 1.75rem 2rem;
}
.customer-quote-block .quote-text { font-family: 'Inter', sans-serif; font-size: 1rem; color: #e2e8f0; line-height: 1.65; margin-bottom: 1rem; }
.customer-quote-block .quote-attribution { font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 500; color: #94a3b8; }

/* ========== LOGO STRIP ========== */
.logo-strip-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.logo-strip-label { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #94a3b8; text-align: center; margin-bottom: 1.25rem; }
.logo-strip-logos { font-family: 'Inter', sans-serif; font-size: 0.9375rem; color: #64748b; text-align: center; line-height: 1.5; }
.logo-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
  margin: 1rem auto 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* All logos same size for consistent strip; height locks row alignment */
.logo-strip-row img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.logo-strip-row img[data-color="true"] {
  filter: none;
  opacity: 0.9;
}

/* ========== DIFFERENT ITEM (Why different) ========== */
.different-item {
  background: rgba(20, 28, 46, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.25s ease, box-shadow 0.4s ease;
}
.different-item:last-child { margin-bottom: 0; }
.different-item:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.06),
    0 2px 10px -2px rgba(59, 130, 246, 0.4),
    0 10px 24px -4px rgba(99, 102, 241, 0.28),
    0 20px 44px -10px rgba(59, 130, 246, 0.18),
    4px 14px 32px -6px rgba(59, 130, 246, 0.22),
    -6px 8px 28px -4px rgba(99, 102, 241, 0.16);
}
.different-item .different-title { font-family: 'Poppins', sans-serif; font-size: 1.125rem; font-weight: 700; color: white; margin-bottom: 0.75rem; line-height: 1.35; }
.different-item .different-body { font-family: 'Inter', sans-serif; font-size: 0.9375rem; color: #cbd5e1; line-height: 1.6; }

/* ========== FEATURE LIST ========== */
.feature-list-section .feature-title { font-family: 'Poppins', sans-serif; font-size: 1.125rem; font-weight: 700; color: white; margin-bottom: 1rem; }
.feature-list-section ul { margin: 0 0 1.5rem 0; padding-left: 1.25rem; color: #cbd5e1; font-family: 'Inter', sans-serif; font-size: 0.9375rem; line-height: 1.65; }
.feature-list-section li { margin-bottom: 0.5rem; }

/* ========== CTA DEMO SECTION ========== */
.cta-demo-section {
  background: rgba(20, 28, 46, 0.5);
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-demo-section { padding-top: 6rem; padding-bottom: 6rem; }
}
.cta-demo-section .cta-heading { font-family: 'Poppins', sans-serif; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; color: white; margin-bottom: 0.75rem; line-height: 1.25; }
.cta-demo-section .cta-sub { font-family: 'Inter', sans-serif; font-size: 1.125rem; color: #94a3b8; margin-bottom: 2rem; line-height: 1.5; }

/* ========== BOOK A DEMO BUTTON (visible on dark backgrounds, all pages) ========== */
.js-book-demo {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ========== HERO (consistent with sections) ========== */
/* Hero background and glow (shared; was duplicated inline on every page) */
.hero-bg { background: #0c1220; position: relative; }
.hero-bg::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 50%;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hover-scale-105 { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.hover-scale-105:hover { transform: scale(1.03); box-shadow: 0 20px 40px rgba(59, 130, 246, 0.18); }

.page-hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .page-hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.page-hero-inner {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .page-hero-inner {
    grid-template-columns: 60% 40%;
    gap: 2.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { margin-bottom: 1rem; }
.page-hero p:last-of-type { margin-bottom: 2rem; }
.page-hero .page-hero-cta { margin-top: 0.5rem; }
.page-hero-visual {
  min-height: 320px;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  border: none;
  /* Light gradient matching Book a Demo (135deg, blue family) */
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .page-hero-visual { min-height: 400px; }
}

/* When a screenshot image is inside hero visual, box shrinks to fit the image edge-to-edge */
.page-hero-visual:has(img),
.page-hero-visual.page-hero-visual--with-img {
  min-height: 0 !important;
  aspect-ratio: auto !important;
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  align-self: start; /* prevent grid from stretching this item */
  width: 100%;
  background: none !important; /* no blue fill; image fills the box */
}
@media (min-width: 768px) {
  .page-hero-visual:has(img),
  .page-hero-visual.page-hero-visual--with-img { min-height: 0 !important; }
}
.page-hero-visual:has(img) img,
.page-hero-visual.page-hero-visual--with-img img {
  display: block !important;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* ========== FAQ ACCORDION (bottom of page) ========== */
.faq-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .faq-section { padding-top: 4rem; padding-bottom: 4rem; padding-left: 2rem; padding-right: 2rem; }
}
.faq-section .faq-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
.faq-accordion { max-width: 48rem; margin: 0 auto; }
.faq-accordion .faq-item {
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  background: rgba(20, 28, 46, 0.6);
}
.faq-accordion .faq-item summary {
  font-family: 'Poppins', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: white;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-accordion .faq-item summary::-webkit-details-marker { display: none; }
.faq-accordion .faq-item summary:hover { background: rgba(255,255,255,0.03); }
.faq-accordion .faq-item .faq-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
  transition: transform 0.2s;
}
.faq-accordion .faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-accordion .faq-item .faq-answer {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.faq-accordion .faq-item .faq-answer-inner { padding-top: 0.75rem; }

/* Product Features: shared screenshot size (between Respond’s too-small and Engage’s too-big) */
.page-respond .feature-z-section .feature-z-visual .splash-placeholder,
.page-engage .feature-z-section .feature-z-visual .splash-placeholder {
  max-width: 58%;
  min-height: 200px;
}
