/* ===== Comparison Pages — Aligned with /clusters design ===== */
html, body { background: #0B1120 !important; margin: 0; overflow-x: hidden !important; max-width: 100vw !important; }

/* Container */
.cmp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== S1: Hero (cl-hero, same as /clusters) ===== */
.cl-hero {
  padding: 108px 0 40px;
  text-align: center;
  position: relative;
  background: linear-gradient(327deg,rgba(33,0,75,0.20) 3%,rgba(60,0,136,0) 40%),linear-gradient(246deg,rgba(236,90,34,0.08) 0%,rgba(209,25,80,0) 36%),linear-gradient(148deg,rgba(0,169,234,0.04) 0%,transparent 60%),#0B1120;
  display: block;
  width: 100%;
  overflow: hidden;
}
.cl-hero .cmp-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cl-hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -1.5px;
  position: relative;
}
.cmp-hero-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(226,232,240,0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* Hero badge pill */
.cmp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(236,90,34,0.3);
  font-size: 13px;
  color: rgba(226,232,240,0.6);
  margin-bottom: 32px;
  background: rgba(236,90,34,0.06);
  transition: all 0.3s;
  text-decoration: none;
}
.cmp-hero-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EC5A22;
  display: inline-block;
  animation: cmp-pulse 2s ease-in-out infinite;
}
@keyframes cmp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.cmp-hero-label-text {
  color: #EC5A22;
  font-weight: 600;
}

/* ===== Section labels & titles (light) ===== */
.cmp-section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #EC5A22;
  margin: 0 0 12px;
  text-align: center;
}
.cmp-section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #1E293B;
  line-height: 1.15;
  margin: 0 0 16px;
  text-align: center;
  letter-spacing: -1px;
}
.cmp-section-desc {
  font-size: 16px;
  color: #64748B;
  text-align: center;
  margin: 0 auto 48px;
  max-width: 600px;
  line-height: 1.7;
}

/* ===== S2: Platform Overview — bg #F8FAFC ===== */
.cmp-overview {
  background: #F8FAFC;
  padding: 80px 0;
}
.cmp-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cmp-overview-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cmp-overview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.cmp-overview-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.cmp-overview-card:hover::after { transform: scaleX(1); }
.cmp-overview-card:nth-child(1)::after { background: #EC5A22; }
.cmp-overview-card:nth-child(2)::after { background: #00A9EA; }
.cmp-overview-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.cmp-overview-card p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}
.cmp-overview-card:first-child {
  border-color: rgba(236,90,34,0.3);
}
.cmp-overview-card:first-child h3 {
  color: #EC5A22;
}

/* ===== S3: Feature Comparison — bg #FFFFFF ===== */
.cmp-features {
  background: #FFFFFF;
  padding: 80px 0;
}
.cmp-table {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}
.cmp-table-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}
.cmp-table-header .cmp-table-cell {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cmp-table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.2s;
}
.cmp-table-row:last-child {
  border-bottom: none;
}
.cmp-table-row:hover {
  background: #F8FAFC;
}
.cmp-table-cell {
  padding: 16px 20px;
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cmp-table-feature {
  font-weight: 600;
  color: #1E293B;
}
.cmp-check {
  color: #16A34A;
  font-weight: 700;
  font-size: 16px;
}
.cmp-cross {
  color: #EF4444;
  opacity: 0.6;
  font-weight: 700;
  font-size: 16px;
}
.cmp-partial {
  color: #F59E0B;
  font-weight: 600;
  font-size: 14px;
}

/* ===== S4: Key Advantages — bg #F8FAFC ===== */
.cmp-advantages {
  background: #F8FAFC;
  padding: 80px 0;
}
.cmp-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cmp-adv-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cmp-adv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.cmp-adv-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.cmp-adv-card:hover::after { transform: scaleX(1); }
.cmp-adv-card:nth-child(1)::after { background: #EC5A22; }
.cmp-adv-card:nth-child(2)::after { background: #00A9EA; }
.cmp-adv-card:nth-child(3)::after { background: #16A34A; }
.cmp-adv-card:nth-child(4)::after { background: #8B5CF6; }
.cmp-adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cmp-adv-card:nth-child(1) .cmp-adv-icon { background: rgba(236,90,34,0.08); }
.cmp-adv-card:nth-child(1) .cmp-adv-icon svg { stroke: #EC5A22; }
.cmp-adv-card:nth-child(2) .cmp-adv-icon { background: rgba(0,169,234,0.08); }
.cmp-adv-card:nth-child(2) .cmp-adv-icon svg { stroke: #00A9EA; }
.cmp-adv-card:nth-child(3) .cmp-adv-icon { background: rgba(22,163,74,0.08); }
.cmp-adv-card:nth-child(3) .cmp-adv-icon svg { stroke: #16A34A; }
.cmp-adv-card:nth-child(4) .cmp-adv-icon { background: rgba(139,92,246,0.08); }
.cmp-adv-card:nth-child(4) .cmp-adv-icon svg { stroke: #8B5CF6; }
.cmp-adv-icon svg {
  width: 24px;
  height: 24px;
  stroke: #EC5A22;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cmp-adv-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.cmp-adv-card p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* ===== S5: Pricing — bg #FFFFFF ===== */
.cmp-pricing {
  background: #FFFFFF;
  padding: 80px 0;
}
.cmp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.cmp-pricing-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 32px;
  transition: all 0.3s;
}
.cmp-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.cmp-pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 16px;
}
.cmp-pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: #1E293B;
  margin: 0 0 20px;
  line-height: 1;
}
.cmp-pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: #64748B;
}
.cmp-pricing-elestio {
  border-color: rgba(236,90,34,0.3);
  background: rgba(236,90,34,0.03);
}
.cmp-pricing-elestio .cmp-pricing-price {
  color: #EC5A22;
}
.cmp-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cmp-pricing-card li {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}
.cmp-pricing-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBD5E1;
}
.cmp-pricing-elestio li::before {
  background: #EC5A22;
}
.cmp-pricing-elestio li {
  color: #1E293B;
}

/* ===== S6: FAQ — bg #F8FAFC ===== */
.cmp-faq {
  padding: 80px 0;
  background: #F8FAFC;
}
.cmp-faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.cmp-faq-header h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #1E293B;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.cmp-faq-header p {
  font-size: 16px;
  color: #64748B;
  margin: 0;
}
.cmp-faq-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.cmp-faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #FFFFFF;
  transition: all 0.2s;
}
.cmp-faq-item:hover {
  border-color: rgba(236,90,34,0.3);
}
.cmp-faq-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.cmp-faq-title:hover {
  background: rgba(0,0,0,0.02);
}
.cmp-faq-title span {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
}
.cmp-faq-title .cmp-faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #EC5A22;
  transition: transform 0.3s;
}
.cmp-faq-item.active .cmp-faq-icon {
  transform: rotate(45deg);
}
.cmp-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.cmp-faq-body-inner {
  padding: 12px 24px 20px;
}
.cmp-faq-body p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
  margin: 0 0 12px;
}
.cmp-faq-body p:last-child {
  margin-bottom: 0;
}

/* ===== S7: CTA (dark) ===== */
.cmp-cta {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #0B1120;
}
.cmp-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(236,90,34,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cmp-cta h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -1px;
  position: relative;
}
.cmp-cta p {
  font-size: 18px;
  color: #64748B;
  margin: 0 0 32px;
  line-height: 1.7;
  position: relative;
}
.cmp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 12px;
  background: #EC5A22;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.cmp-cta-btn:hover {
  background: #D4501E;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(236,90,34,0.4);
}

/* ===== 3-column grid variant (for feature grids) ===== */
.cmp-adv-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cmp-adv-grid-3 .cmp-adv-card:nth-child(5)::after { background: #F59E0B; }
.cmp-adv-grid-3 .cmp-adv-card:nth-child(5) .cmp-adv-icon { background: rgba(245,158,11,0.08); }
.cmp-adv-grid-3 .cmp-adv-card:nth-child(5) .cmp-adv-icon svg { stroke: #F59E0B; }
.cmp-adv-grid-3 .cmp-adv-card:nth-child(6)::after { background: #06B6D4; }
.cmp-adv-grid-3 .cmp-adv-card:nth-child(6) .cmp-adv-icon { background: rgba(6,182,212,0.08); }
.cmp-adv-grid-3 .cmp-adv-card:nth-child(6) .cmp-adv-icon svg { stroke: #06B6D4; }

/* Narrow content wrapper */
.cmp-content-narrow {
  max-width: 800px;
  margin: 0 auto;
}
.cmp-content-narrow p {
  font-size: 16px;
  line-height: 1.7;
  color: #64748B;
  margin: 0 0 16px;
}
.cmp-content-narrow h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #1E293B;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -1px;
}

/* Use-case section alternating (reuses overview/features/advantages backgrounds) */
.cmp-usecase-benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cmp-usecase-benefits li {
  font-size: 14px;
  line-height: 1.6;
  color: #64748B;
  padding: 16px 20px 16px 40px;
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  transition: all 0.3s;
}
.cmp-usecase-benefits li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.cmp-usecase-benefits li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EC5A22;
}
.cmp-usecase-benefits li strong {
  color: #1E293B;
}
/* On #FFFFFF bg sections, benefits cards use #F8FAFC bg */
.cmp-features .cmp-usecase-benefits li,
.cmp-pricing .cmp-usecase-benefits li {
  background: #F8FAFC;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cmp-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cmp-adv-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cl-hero { padding: 88px 0 40px; }
  .cmp-overview,
  .cmp-features,
  .cmp-advantages,
  .cmp-pricing,
  .cmp-faq,
  .cmp-cta {
    padding: 60px 0;
  }
  .cmp-overview-grid,
  .cmp-pricing-grid,
  .cmp-adv-grid,
  .cmp-adv-grid-3,
  .cmp-usecase-benefits {
    grid-template-columns: 1fr;
  }
  .cmp-table-header {
    display: none;
  }
  .cmp-table-row {
    grid-template-columns: 1fr;
    padding: 16px 0;
    gap: 4px;
  }
  .cmp-table-cell {
    padding: 4px 20px;
  }
  .cmp-table-feature {
    font-size: 15px;
    padding-bottom: 8px;
  }
  .cmp-table-cell:not(.cmp-table-feature)::before {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94A3B8;
    font-weight: 600;
  }
  .cmp-table-row .cmp-table-cell:nth-child(2)::before {
    content: 'Elestio: ';
  }
  .cmp-table-row .cmp-table-cell:nth-child(3)::before {
    content: attr(data-label) ': ';
  }
  .cmp-faq-title {
    padding: 14px 18px;
  }
  .cmp-faq-body-inner {
    padding: 8px 18px 16px;
  }
}
@media (max-width: 480px) {
  .cmp-container {
    padding: 0 16px;
  }
  .cmp-overview-card,
  .cmp-pricing-card {
    padding: 24px;
  }
  .cmp-pricing-price {
    font-size: 28px;
  }
}
