/* ============================================
   COMPETITORS PAGE
   ============================================ */

/* ── Hero Section ──────────────────────────── */
.cp-hero {
  position: relative;
  background-image: url('/website-files/img/competitors/image 23819-1.webp');
  background-size: cover;
  background-position: center top;
  padding: 60px 0;
  overflow: hidden;
}
.cp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,26,111,0.90) 0%, rgba(10,26,111,0.75) 100%);
}
.cp-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Hero badge — solid yellow */
.cp-hero-badge {
  display: inline-block;
  background: #f5c518;
  color: #0f0f1a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.cp-hero__title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.31;
  margin-bottom: 18px;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}
.cp-hero__title .cp-yellow {
  color: #f5c518;
  display: block;
}
.cp-hero__subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.70);
  line-height: 1.625;
  max-width: 980px;
  margin: 0 auto 32px;
}
.cp-hero__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary CTA button — yellow */
.cp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5c518;
  color: #0f0f1a !important;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0px 1px 1.5px rgba(0,0,0,0.1), 0px 1px 1px rgba(0,0,0,0.1);
}
.cp-btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* Secondary button — ghost white */
.cp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 14px;
  border: 1.111px solid rgba(255, 255, 255, 0.2);
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s;
}
a.cp-btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  color: #ffffff !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  .cp-hero { padding: 50px 0; }
  .cp-hero__title { font-size: 28px; }
  .cp-hero__subtitle { font-size: 16px; }
}

/* ── Shared section helpers ─────────────────── */
.cp-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #0c1033;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.33;
}
/* Yellow variant for dark sections */
.cp-section-label--yellow {
  color: #facc15;
}
.cp-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #0a1a6f;
  line-height: 1.39;
  margin-bottom: 0;
}
/* White variant for dark sections */
.cp-section-title--white {
  color: #ffffff;
}
.cp-section-desc {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0;
}
.cp-section-desc--white {
  color: rgba(255,255,255,0.78);
}
.cp-yellow {
  color: #f5c518;
}

/* Feature Matrix badge pill */
.cp-badge-pill {
  display: inline-block;
  background: #f5c518;
  color: #0f0f1a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

/* ── Why Comparison Matters ─────────────────── */
.cp-why {
  background: #ffffff;
  padding: 60px 0;
}
.cp-why__intro {
  max-width: 1025px;
  margin: 0 auto 64px;
}
.cp-card {
  background: #ffffff;
  border: 2px solid #b9b9b9;
  border-radius: 12px;
  padding: 34px;
  height: 100%;
  box-shadow: 0px 9px 15px rgba(0,0,0,0.09);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cp-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}
.cp-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #0a1a6f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.cp-card__icon-wrap img {
  width: 22px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.cp-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #0c1033;
  margin-bottom: 0;
  margin-top: 12px;
  line-height: 1.4;
}
.cp-card__text {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
  margin-top: 12px;
}

/* ── Stats Banner ───────────────────────────── */
.cp-stats {
  position: relative;
  background: #0b1f5e;
  background-image: url('/website-files/img/competitors/stats-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 50px 32px;
  overflow: hidden;
  border-bottom: 1px solid #c6c5d2;
}
.cp-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,31,94,0.88);
}
.cp-stats__inner {
  position: relative;
  z-index: 1;
}
.cp-stat-item {
  text-align: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
}
.cp-stat-item__num {
  font-size: 56px;
  font-weight: 600;
  color: #ffffff;
  line-height: 56px;
  letter-spacing: -0.96px;
  font-family: sans-serif;
}
.cp-stat-item__label {
  font-size: 19px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0;
  font-family: sans-serif;
}

@media (max-width: 767px) {
  .cp-stat-item__num { font-size: 44px; line-height: 1; }
  .cp-stats { padding: 44px 20px; }
  .cp-stat-item__label { font-size: 15px; }
}

/* ── Who Not For ────────────────────────────── */
.cp-notfor {
  background: #ffffff;
  padding: 60px 0;
}
.cp-notfor__intro {
  max-width: 100%;
  margin: 0 auto 29px;
}
.cp-notfor__subtitle {
  font-size: 16px;
  color: #404040;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}
/* Cards: white bg with blue/purple border */
.cp-notfor-card {
  background: #ffffff;
  border: 2px solid #98a9ff;
  border-radius: 12px;
  padding: 34px;
  height: 100%;
  box-shadow: 0px 9px 15px rgba(0,0,0,0.09);
  transition: box-shadow 0.2s, transform 0.2s;
}
.cp-notfor-card:hover {
  box-shadow: 0 12px 28px rgba(10,26,111,0.13);
  transform: translateY(-4px);
}
.cp-notfor-card__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.cp-notfor-card__icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}
.cp-notfor-card__head {
  font-size: 18px;
  font-weight: 700;
  color: #0a1a6f;
  line-height: 1.56;
  margin: 0;
}
.cp-notfor-card__text {
  font-size: 15px;
  color: #363636;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* ── Comparison Table ───────────────────────── */
.cp-table-section {
  background: #0a1a6f;
  padding: 60px 0;
}
.cp-table-section__intro {
  max-width: 971px;
  margin: 0 auto 19px;
}
.cp-table-section .cp-section-title {
  color: #ffffff;
  font-size: 36px;
}
.cp-table-section .cp-section-desc {
  color: rgba(255,255,255,0.6);
}
.cp-table-wrap {
  border-radius: 11px;
  overflow: hidden;
  border: none;
  box-shadow: 0px 9.417px 23.543px -4.709px rgba(0,0,0,0.1);
}
.cp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cp-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  font-family: 'Poppins', sans-serif;
}

/* Table header — dark navy */
.cp-table thead th {
  padding: 28px 15px;
  font-size: 13.2px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid #0c1549;
  background: #0c1549;
  white-space: nowrap;
  color: #ffffff;
  vertical-align: middle;
  line-height: 1.5;
}
.cp-table thead th.cp-th-feature {
  text-align: left;
  padding-left: 15px;
  color: #ffffff;
  font-size: 13.2px;
  background: #0c1549;
  min-width: 180px;
}
/* ElevatorPlus header — yellow */
.cp-table thead th.cp-th-ep {
  background: #facc15;
  color: #0c1549;
  font-weight: 700;
}

/* Table body */
.cp-table tbody td {
  padding: 18px 15px;
  font-size: 12.5px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #e0e0e0;
  color: #555;
  line-height: 1.45;
  background: #ffffff;
  white-space: normal;
}
.cp-table tbody td.cp-td-feature {
  text-align: left;
  padding-left: 15px;
  font-weight: 600;
  color: #1a237e;
  font-size: 13.2px;
  background: #f8f9fa;
  white-space: wrap;
}
/* ElevatorPlus data cells — light yellow tint */
.cp-table tbody td.cp-td-ep {
  background: #fff2cb;
  color: #0a1a6f;
  font-weight: 600;
}

.cp-table tbody td.cp-td-ep-green-text {
  background: #fff2cb;
  color: #16a34a;
  font-weight: 600;
}

.cp-table tbody td.cp-td-ep-black-text {
  background: #fff2cb;
  color: #0c1033;
}

.cp-table tbody td.cp-td-ep-black-text-bold {
  background: #fff2cb;
  color: #0c1033;
  font-weight: 900;
}

.cp-table tbody td.cp-td-ep-black-text-bold .cp-cell-ep-text {
    font-weight: 900;
    color: #0c1033;
}

.cp-table tbody td .cp-cell-ep-sub-text {
    font-size: 10px;
    font-weight: 300;
    color: gray;
}

.cp-table tbody tr:last-child td { border-bottom: none; }
.cp-table tbody tr:hover td { background: #f5f5f5; }
.cp-table tbody tr:hover td.cp-td-feature { background: #eef0f8; }
.cp-table tbody tr:hover td.cp-td-ep,
.cp-table tbody tr:hover td.cp-td-ep-green-text,
.cp-table tbody tr:hover td.cp-td-ep-black-text, tbody tr:hover td.cp-td-ep-black-text-bold { background: #fff5cc; }

.cp-check {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 1px;
}
.cp-check-text {
  font-size: 11.5px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
  color: #16a34a;
}
.cp-td-ep .cp-check-text {
  color: #0a1a6f;
}
.cp-cross-img {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 1px;
}
.cp-cross-text {
  font-size: 11px;
  font-weight: 700;
  display: block;
  margin-top: 2px;
  color: #dc2626;
}
.cp-orange-text {
  color: #f59e0b;
  font-size: 11.5px;
  font-weight: 700;
}
.cp-cell-text {
  font-size: 11.5px;
  color: #666;
  display: block;
}
.cp-cell-ep-text {
  font-size: 11.5px;
  color: #0a1a6f;
  font-weight: 600;
}
.cp-table-footnote {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 18px;
  text-align: center;
  font-style: italic;
  font-weight: 200;
}

/* ── ElevatorPlus Advantage ─────────────────── */
.cp-advantage {
  background: #ffffff;
  padding: 60px 0;
}
.cp-advantage__intro {
  max-width: 929px;
  margin: 0 auto 57px;
}
.cp-advantage .cp-section-title {
  color: #0c1033;
}
.cp-adv-card {
  border: 3px solid #ccd4ff;
  border-radius: 12px;
  padding: 35px;
  height: 100%;
  background: #ffffff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cp-adv-card:hover {
  box-shadow: 0 6px 24px rgba(10,26,111,0.09);
  transform: translateY(-4px);
}
.cp-adv-card:hover .cp-adv-card__num{
  color: #1a237e;
}
.cp-adv-card__num {
  font-size: 48px;
  font-weight: 700;
  color: #bed4ff;
  line-height: 1;
  margin-bottom: 0;
}
.cp-adv-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0c1033;
  margin-bottom: 0;
  margin-top: 4px;
  line-height: 1.56;
}
.cp-adv-card__text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  margin-top: 12px;
  font-weight: 500;
}

/* ── Who It's Built For — DARK SECTION ────────── */
.cp-builtfor {
  background: #0a1a6f;
  padding: 60px 0;
}
.cp-builtfor__intro {
  max-width: 100%;
  margin: 0 auto 40px;
}
/* Cards on dark bg */
.cp-builtfor-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 12px;
  padding: 20px 30px;
  height: 100%;
  transition: background 0.2s, border-color 0.2s;
}
.cp-builtfor-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.30);
}
/* Yellow icon */
.cp-builtfor-card__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
}
/* White title */
.cp-builtfor-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  margin-top: 4px;
  line-height: 1.4;
}
/* Muted text on dark bg */
.cp-builtfor-card__text {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
  margin-top: 12px;
}

/* ── CTA Section ────────────────────────────── */
.cp-cta {
  position: relative;
  background: #0a1a6f;
  background-image: url('/website-files/img/competitors/image 23850.png');
  background-size: cover;
  background-position: center;
  padding: 33px 0;
  overflow: hidden;
}
.cp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,26,111,0.88);
  mix-blend-mode: soft-light;
}
.cp-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}
/* CTA badge — solid yellow */
.cp-cta-badge {
  display: inline-block;
  background: #f5c518;
  color: #0f0f1a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}
/* CTA title: white first line, yellow second line */
.cp-cta__title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  max-width: 660px;
  margin: 24px auto 0;
  line-height: 1.11;
}
.cp-cta__title .cp-yellow {
  color: #f5c518;
  display: block;
}
.cp-cta__text {
  font-size: 18px;
  color: rgba(255,255,255,0.70);
  max-width: 672px;
  margin: 24px auto 0;
  line-height: 1.625;
}
.cp-cta__btn-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.cp-cta__small {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.40);
  margin-top: 24px;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 767px) {
  .cp-why,
  .cp-notfor,
  .cp-table-section,
  .cp-advantage,
  .cp-builtfor { padding: 48px 0; }
  .cp-cta { padding: 44px 0; }
  .cp-section-title,
  .cp-table-section .cp-section-title { font-size: 26px; }
  .cp-hero__title { font-size: 28px; }
  .cp-cta__title { font-size: 26px; }
  .cp-stat-item__num { font-size: 44px; }
  .cp-adv-card__num { font-size: 36px; }
  .cp-builtfor-card__title { font-size: 18px; }
}
