/**
 * Payment Gateway page — overrides on web-design-page.css
 */

body.cu-site.cu-payment-gateway-page .cu-wd-lead--wide {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.cu-site.cu-payment-gateway-page .cu-wd-hero--payment {
  padding: 64px 0 88px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-hero--payment::before {
  background: linear-gradient(
    90deg,
    rgba(5, 11, 28, 0.94) 0%,
    rgba(5, 11, 28, 0.82) 50%,
    rgba(5, 11, 28, 0.72) 100%
  );
}

body.cu-site.cu-payment-gateway-page .cu-wd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-why-card {
  padding: 28px 22px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(155deg, #0f2238 0%, #0b192c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

body.cu-site.cu-payment-gateway-page .cu-wd-why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(112, 181, 43, 0.4);
}

body.cu-site.cu-payment-gateway-page .cu-wd-why-card i {
  font-size: 34px;
  color: var(--cu-green, #70b52b);
  margin-bottom: 14px;
  display: block;
}

body.cu-site.cu-payment-gateway-page .cu-wd-why-card h3 {
  color: #fff !important;
  font-size: 17px !important;
  margin-bottom: 10px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-why-card p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  margin: 0;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-card__logo {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 10px 16px;
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-card__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-card h3 {
  color: #0b192c !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 10px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-card p {
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  margin: 0;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-more {
  text-align: center;
  margin-top: 28px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-gateway-more .cu-wd-btn-outline {
  min-width: 220px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-solutions__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.cu-site.cu-payment-gateway-page .cu-wd-process__track--5 .cu-wd-process__step {
  max-width: 200px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-process__step h3 {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 8px;
}

body.cu-site.cu-payment-gateway-page .cu-wd-cta__pay {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(112, 181, 43, 0.12);
  border: 1px solid rgba(112, 181, 43, 0.35);
  flex-shrink: 0;
}

body.cu-site.cu-payment-gateway-page .cu-wd-cta__pay i {
  font-size: 32px;
  color: var(--cu-green, #70b52b);
}

body.cu-site.cu-payment-gateway-page .cu-wd-cta__inner h3 span {
  color: var(--cu-green, #70b52b);
}

body.cu-site.cu-payment-gateway-page .ko-faq-section {
  padding: 0;
}

body.cu-site.cu-payment-gateway-page .ko-faq-section .section-title {
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  body.cu-site.cu-payment-gateway-page .cu-wd-process__track--5 .cu-wd-process__connector {
    display: block;
    flex: 0 0 22px;
    height: 2px;
    margin-top: 44px;
    background: repeating-linear-gradient(
      90deg,
      rgba(112, 181, 43, 0.5) 0,
      rgba(112, 181, 43, 0.5) 6px,
      transparent 6px,
      transparent 12px
    );
  }
}

@media (max-width: 991px) {
  body.cu-site.cu-payment-gateway-page .cu-wd-why-grid,
  body.cu-site.cu-payment-gateway-page .cu-wd-gateway-grid {
    grid-template-columns: 1fr;
  }

  body.cu-site.cu-payment-gateway-page .cu-wd-solutions__grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  body.cu-site.cu-payment-gateway-page .cu-wd-solutions__grid--4 {
    grid-template-columns: 1fr;
  }
}
