:root {
  --purple-dark: #200068;
  --purple-mid: #4c1d95;
  --coral: #FA6A57;
  --coral-hover: #e86a3d;
  --primary-color: #f7645a;
  --text-muted: #62748E;
}

body {
  color: #1f2937;
}

.text-coral {
  color: var(--coral) !important;
}

.btn-coral.cta-banner-btn {
  background-color: var(--coral);
  border: 1px solid var(--coral);
  color: #fff;
  font-weight: 600;
  border-radius: 2rem;
  padding: 0.75rem 2rem;
}

.btn-coral.cta-banner-btn:hover,
.btn-coral.cta-banner-btn:focus {
  background-color: transparent;
  color: var(--coral);
}

/* Hero */
.hero-section {
  background: linear-gradient(180deg, #F6F7FD 0%, #EEF0FB 100%);
  color: #020618;
  padding: 6rem 0;

  &.bg-100 {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
  }
}


@media (max-width: 991.98px) {
  .hero-section .row {
    --bs-gutter-y: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 4rem 0 3rem;
  }
}

.hero-badge {
  font-size: 14px;
}

.hero-section h1 {
  font-size: 34px;
  line-height: 1.3;
  color: #333333;
}

.hero-section .lead {
  font-size: 15px;
  font-weight: 400;
  color: #020618;
  max-width: 440px;
  line-height: 1.6;
}

.hero-img {
  border-radius: 1rem;
}

/* AllayPay CTA button (hero) */
.ap_text-xl {
  font-size: 18px;
}

.ap_btn-primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ap_btn-primary:hover,
.ap_btn-primary:focus {
  color: var(--primary-color);
  background-color: #fff;
  border-color: var(--primary-color);
}

.ap_allay-btn {
  padding: 3px 3px 3px 24px;
  min-height: 48px;
  min-width: 180px;
  width: fit-content;
}

.btn-icon {
  width: 42px;
  height: 42px;
}

.btn-icon img {
  width: 18px;
  margin: 0 auto;
}

.btn-icon-orange {
  background: #ff968e;
}

/* Sections */
.section-padding {
  padding: 6rem 0;
}

/* Logo Connection */
.logo-connection {
  --brand: #2F7EF5;
  --brand-light: color-mix(in srgb, var(--brand) 72%, white);
  --ray-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --hit-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --arm-ray-dur: 1.00s;
  --arm-ray-delay: 0.15s;
  --card-delay: 0.35s;
  --wire-dur: 0.25s;
  --wire-delay: 1.5s;
  --link-delay: 1.5s;
  --subtitle-delay: 2.0s;
  position: relative;
  background: linear-gradient(265deg, #FBFBFD 1.61%, #ECF3FE 99.85%);
  padding: 6.5rem 0;
  overflow: hidden;
}

.logo-connection::before,
.logo-connection::after {
  content: "";
  position: absolute;
  top: 0;
  height: 150px;
  background-repeat: no-repeat;
  pointer-events: none;
}

.logo-connection::before {
  left: 0;
  width: 230px;
  background-image: url("/wp-content/themes/allaypay/assets/images/integration/bg-left-top-vector.svg");
  background-position: left top;
}

.logo-connection::after {
  right: 0;
  width: 250px;
  background-image: url("/wp-content/themes/allaypay/assets/images/integration/bg-right-top-vector.svg");
  background-position: right top;
}

.logo-connection-banner {
  margin-bottom: 2.75rem;
}

.logo-connection-arm {
  --arm-h: 168px;
  --arm-svg-w: calc(155 * var(--arm-h) / 101);
  flex: 1 1 0;
  min-width: 0;
  height: var(--arm-h);
  align-self: center;
  background-repeat: no-repeat, no-repeat;
  position: relative;
  overflow: hidden;
  opacity: 0.25;
}

.logo-connection-arm--left {
  background-image: linear-gradient(to bottom,
      transparent 0 calc(0.765 * var(--arm-h) / 101),
      var(--brand) calc(0.765 * var(--arm-h) / 101) calc(1.856 * var(--arm-h) / 101),
      transparent calc(1.856 * var(--arm-h) / 101) calc(48.802 * var(--arm-h) / 101),
      var(--brand) calc(48.802 * var(--arm-h) / 101) calc(49.824 * var(--arm-h) / 101),
      transparent calc(49.824 * var(--arm-h) / 101) calc(98.692 * var(--arm-h) / 101),
      var(--brand) calc(98.692 * var(--arm-h) / 101) calc(99.783 * var(--arm-h) / 101),
      transparent calc(99.783 * var(--arm-h) / 101));
  background-repeat: no-repeat;
  background-position: left top;
  background-size: calc(100% - var(--arm-svg-w) + 1px) var(--arm-h);
}

.logo-connection-arm--left::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--arm-svg-w);
  height: 100%;
  background-color: var(--brand);
  pointer-events: none;
  -webkit-mask-image: url("/wp-content/themes/allaypay/assets/images/integration/left-vector.svg");
  mask-image: url("/wp-content/themes/allaypay/assets/images/integration/left-vector.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: right top;
  mask-position: right top;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mask-mode: alpha;
}

.logo-connection-arm--right {
  background-image: url("/wp-content/themes/allaypay/assets/images/integration/right-vector.svg"),
    linear-gradient(to bottom,
      transparent 0 calc(1.217 * var(--arm-h) / 101),
      #8B5CF6 calc(1.217 * var(--arm-h) / 101) calc(2.308 * var(--arm-h) / 101),
      transparent calc(2.308 * var(--arm-h) / 101) calc(51.176 * var(--arm-h) / 101),
      #8B5CF6 calc(51.176 * var(--arm-h) / 101) calc(52.198 * var(--arm-h) / 101),
      transparent calc(52.198 * var(--arm-h) / 101) calc(99.144 * var(--arm-h) / 101),
      #8B5CF6 calc(99.144 * var(--arm-h) / 101) calc(100.235 * var(--arm-h) / 101),
      transparent calc(100.235 * var(--arm-h) / 101));
  background-position: left top, right top;
  background-size: var(--arm-svg-w) var(--arm-h), calc(100% - var(--arm-svg-w) + 1px) var(--arm-h);
}

/* Shared ray orb — both arms animate `left` for consistent travel */
.logo-connection-ray {
  position: absolute;
  top: 50%;
  left: 0;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  margin-left: -28px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  will-change: left, opacity, transform;
}

.logo-connection-arm--left .logo-connection-ray {
  background: radial-gradient(circle, #ffffff 0%, var(--brand-light) 35%, color-mix(in srgb, var(--brand) 35%, transparent) 60%, transparent 72%);
  box-shadow: 0 0 18px 6px color-mix(in srgb, var(--brand) 75%, transparent), 0 0 40px 12px color-mix(in srgb, var(--brand) 35%, transparent);
}

.logo-connection-arm--right .logo-connection-ray {
  background: radial-gradient(circle, #ffffff 0%, #c4b5fd 35%, rgba(139, 92, 246, 0.35) 60%, transparent 72%);
  box-shadow: 0 0 18px 6px rgba(139, 92, 246, 0.75), 0 0 40px 12px rgba(139, 92, 246, 0.35);
}

.logo-connection-wrap {
  flex: 0 0 auto;
}

.logo-connection-card {
  flex: 0 0 auto;
  width: 440px;
  max-width: 440px;
  min-height: 168px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(2, 6, 24, 0.08);
  padding: 1.75rem 2.25rem;
  position: relative;
  z-index: 1;
}

.logo-connection-brand {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.logo-connection-brand-authorize {
  max-width: 300px;
}

.height-adjust {
  & .logo-connection-brand-authorize {
    max-height: 112px;
    object-fit: contain;
  }
}

.logo-connection-brand-allaypay {
  max-width: 275px;
}

/* Track stays full-width so rays aren't squashed by the wire's scaleX */
.logo-connection-wire {
  --wire-color: var(--brand);
  --wire-origin: left center;
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  overflow: visible;
  background: transparent;
  transform: none;
}

.logo-connection-wire::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--wire-color);
  transform: scaleX(0);
  transform-origin: var(--wire-origin);
}

.blue-wire {
  --wire-color: var(--brand);
  --wire-origin: left center;
}

.blue-wire::before {
  box-shadow: 0 0 8px color-mix(in srgb, var(--brand) 45%, transparent);
}

.purple-wire {
  --wire-color: #8B5CF6;
  --wire-origin: right center;
}

.purple-wire::before {
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.45);
}

.logo-connection-wire .logo-connection-ray {
  width: 28px;
  height: 28px;
  margin-top: -14px;
  margin-left: -14px;
  top: 50%;
  z-index: 1;
}

.blue-wire .logo-connection-ray {
  background: radial-gradient(circle, #fff 0%, var(--brand-light) 45%, transparent 70%);
  box-shadow: 0 0 14px 4px color-mix(in srgb, var(--brand) 80%, transparent);
}

.purple-wire .logo-connection-ray {
  background: radial-gradient(circle, #fff 0%, #c4b5fd 45%, transparent 70%);
  box-shadow: 0 0 14px 4px rgba(139, 92, 246, 0.8);
}

.logo-connection-link {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(2, 6, 24, 0.08);
  position: relative;
  z-index: 3;
}

.logo-connection-link-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.logo-connection-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #8B90A6;
  opacity: 0;
  transform: translateY(8px);
}

/* Page-load sequence — shared timing so Auth + AllayPay meet together */
.logo-connection.is-animated .logo-connection-arm--left,
.logo-connection.is-animated .logo-connection-arm--right {
  animation: arm-brighten 0.35s ease-out forwards;
}

.logo-connection.is-animated .logo-connection-arm--left .logo-connection-ray {
  animation: ray-to-card-left var(--arm-ray-dur) var(--ray-ease) var(--arm-ray-delay) both;
}

.logo-connection.is-animated .logo-connection-arm--right .logo-connection-ray {
  animation: ray-to-card-right var(--arm-ray-dur) var(--ray-ease) var(--arm-ray-delay) both;
}

.logo-connection.is-animated .logo-connection-wrap .logo-connection-card:first-child {
  animation: card-hit-blue 0.9s var(--hit-ease) var(--card-delay) both;
}

.logo-connection.is-animated .logo-connection-wrap .logo-connection-card:last-child {
  animation: card-hit-purple 0.9s var(--hit-ease) var(--card-delay) both;
}

.logo-connection.is-animated .logo-connection-wrap .logo-connection-card:first-child .logo-connection-brand {
  animation: brand-pop 0.9s var(--hit-ease) var(--card-delay) both;
}

.logo-connection.is-animated .logo-connection-wrap .logo-connection-card:last-child .logo-connection-brand {
  animation: brand-pop 0.9s var(--hit-ease) var(--card-delay) both;
}

.logo-connection.is-animated .blue-wire::before,
.logo-connection.is-animated .purple-wire::before {
  animation: wire-draw var(--wire-dur) var(--hit-ease) var(--wire-delay) forwards;
}

.logo-connection.is-animated .blue-wire .logo-connection-ray {
  animation: ray-to-card-left var(--wire-dur) var(--ray-ease) var(--wire-delay) both;
}

.logo-connection.is-animated .purple-wire .logo-connection-ray {
  animation: ray-to-card-right var(--wire-dur) var(--ray-ease) var(--wire-delay) both;
}

.logo-connection.is-animated .logo-connection-link {
  animation: link-activate 0.7s var(--hit-ease) var(--link-delay) forwards;
}

.logo-connection.is-animated .logo-connection-link-icon {
  animation: link-icon-invert 0.7s ease-out var(--link-delay) forwards;
}

.logo-connection.is-animated .logo-connection-subtitle {
  animation: subtitle-fade 0.5s ease-out var(--subtitle-delay) forwards;
}

@keyframes arm-brighten {
  to {
    opacity: 1;
  }
}

/* Identical travel math via `left` % of the arm width */
@keyframes ray-to-card-left {
  0% {
    left: 0%;
    opacity: 0;
    transform: scale(0.55);
  }

  10% {
    opacity: 1;
    transform: scale(1);
  }

  85% {
    left: 100%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    left: 100%;
    opacity: 0;
    transform: scale(0.7);
  }
}

@keyframes ray-to-card-right {
  0% {
    left: 100%;
    opacity: 0;
    transform: scale(0.55);
  }

  10% {
    opacity: 1;
    transform: scale(1);
  }

  85% {
    left: 0%;
    opacity: 1;
    transform: scale(1);
  }

  100% {
    left: 0%;
    opacity: 0;
    transform: scale(0.7);
  }
}

@keyframes card-hit-blue {
  0% {
    transform: scale(1);
    border-color: #e5e7eb;
    box-shadow: 0 2px 12px rgba(2, 6, 24, 0.08);
  }

  35% {
    transform: scale(1.06);
    border-color: var(--brand);
    box-shadow:
      0 0 0 6px color-mix(in srgb, var(--brand) 22%, transparent),
      0 0 36px color-mix(in srgb, var(--brand) 45%, transparent),
      0 18px 40px color-mix(in srgb, var(--brand) 28%, transparent);
  }

  100% {
    transform: scale(1);
    border-color: var(--brand-light);
    box-shadow:
      0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent),
      0 10px 28px color-mix(in srgb, var(--brand) 22%, transparent);
  }
}

@keyframes card-hit-purple {
  0% {
    transform: scale(1);
    border-color: #e5e7eb;
    box-shadow: 0 2px 12px rgba(2, 6, 24, 0.08);
  }

  35% {
    transform: scale(1.06);
    border-color: #8B5CF6;
    box-shadow:
      0 0 0 6px rgba(139, 92, 246, 0.22),
      0 0 36px rgba(139, 92, 246, 0.45),
      0 18px 40px rgba(139, 92, 246, 0.28);
  }

  100% {
    transform: scale(1);
    border-color: #a78bfa;
    box-shadow:
      0 0 0 3px rgba(139, 92, 246, 0.15),
      0 10px 28px rgba(139, 92, 246, 0.22);
  }
}

@keyframes brand-pop {

  0%,
  100% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.05);
  }
}

@keyframes wire-draw {
  to {
    transform: scaleX(1);
  }
}

@keyframes link-activate {
  0% {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 6px 16px rgba(2, 6, 24, 0.08);
    transform: scale(1);
  }

  45% {
    transform: scale(1.14);
  }

  100% {
    background: linear-gradient(135deg, var(--brand) 0%, #8B5CF6 100%);
    border-color: transparent;
    box-shadow:
      0 0 0 8px color-mix(in srgb, var(--brand) 18%, transparent),
      0 12px 32px rgba(139, 92, 246, 0.4);
    transform: scale(1);
  }
}

@keyframes link-icon-invert {
  to {
    filter: brightness(0) invert(1);
  }
}

@keyframes subtitle-fade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .logo-connection-arm--left,
  .logo-connection-arm--right,
  .logo-connection-wire::before,
  .logo-connection-subtitle,
  .logo-connection-card,
  .logo-connection-brand {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .logo-connection-wire::before {
    transform: scaleX(1);
  }

  .logo-connection-ray {
    display: none;
  }

  .logo-connection .logo-connection-link {
    background: linear-gradient(135deg, var(--brand) 0%, #8B5CF6 100%);
    border-color: transparent;
  }

  .logo-connection .logo-connection-link-icon {
    filter: brightness(0) invert(1);
  }

  .logo-connection-wrap .logo-connection-card:first-child {
    border-color: var(--brand-light);
  }

  .logo-connection-wrap .logo-connection-card:last-child {
    border-color: #a78bfa;
  }
}

@media (max-width: 1199.98px) {
  .logo-connection-card {
    width: 300px;
    max-width: 300px;
  }
}

@media (max-width: 991.98px) {
  .logo-connection-card {
    width: 240px;
    max-width: 240px;
    min-height: 110px;
    border-radius: 18px;
    padding: 1.25rem 1.25rem;
  }

  .logo-connection-link {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 767.98px) {
  .logo-connection-banner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .logo-connection-arm {
    display: none;
  }

  .logo-connection::before,
  .logo-connection::after {
    height: 90px;
    background-size: contain;
  }

  .logo-connection-wrap {
    width: 100%;
    padding: 0 1rem;
  }

  .logo-connection-card {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }

  .logo-connection-wire {
    width: 20px;
  }
}

/* Accepted Payments */
.accepted-payments {
  background: #ffffff;
  padding: 4.5rem 0;
}

.accepted-payments-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.accepted-payments-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2;
  color: #141A3C;
}

.accepted-payments-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  color: #8B90A6;
}

.custom-size-logos {
  & .accepted-payments-logos {
    gap: 2.5rem 4.5rem;

    & > li:nth-child(1) img {
      height: 32px;
    }

    & > li:nth-child(2) img {
      height: 40px;
    }

    & > li:nth-child(3) img {
      height: 34px;
    }

    & > li:nth-child(4) img {
      height: 22px;
    }

    & > li:nth-child(5) img {
      height: 32px;
    }

    & > li:nth-child(6) img {
      height: 34px;
    }

    & > li:nth-child(7) img {
      height: 32px;
    }
  }
}


@media (max-width: 767.98px) {
  .accepted-payments {
    padding: 3rem 0;
  }

  .accepted-payments-header {
    margin-bottom: 2rem;
  }

  .accepted-payments-logos {
    gap: 1.75rem 2rem;

    & > li:nth-child(1) img {
      height: 26px;
    }

    & > li:nth-child(2) img {
      height: 32px;
    }

    & > li:nth-child(3) img {
      height: 28px;
    }

    & > li:nth-child(4) img {
      height: 18px;
    }

    & > li:nth-child(5) img {
      height: 28px;
    }

    & > li:nth-child(6) img {
      height: 28px;
    }

    & > li:nth-child(7) img {
      height: 26px;
    }
  }
}

@media (max-width: 1199.98px) {
  .logo-connection-card {
    width: 300px;
    max-width: 300px;
  }
}

@media (max-width: 991.98px) {
  .logo-connection-card {
    width: 240px;
    max-width: 240px;
    min-height: 110px;
    border-radius: 18px;
    padding: 1.25rem 1.25rem;
  }

  .logo-connection-link {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 767.98px) {
  .logo-connection-banner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .logo-connection-arm {
    display: none;
  }

  .logo-connection::before,
  .logo-connection::after {
    height: 90px;
    background-size: contain;
  }

  .logo-connection-wrap {
    width: 100%;
    padding: 0 1rem;
  }

  .logo-connection-card {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }

  .logo-connection-wire {
    width: 20px;
  }
}

/* Integration Hub */
.integrations-section {
  background: linear-gradient(180deg, #F6F7FD 0%, #EEF0FB 100%);
  padding: 5rem 0;
}

.integrations-title {
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2;
  color: #240E70;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hub-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #e2e8f0;
  padding-left: 10px;
  transition: background 0.3s ease;
}

.hub-card:hover {
  background: transparent;
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 0;
}

.hub-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-card-icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.hub-card-icon--accounting {
  background: #F3E8FF;
}

.hub-card-icon--crm {
  background: #E0F7FF;
}

.hub-card-icon--shopping {
  background: #FFE8E9;
}

.hub-card-icon--gateways {
  background: #FFE0FF;
}

.hub-card-icon--pos {
  background: #E8F5E4;
}

.hub-card-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #000000;
}

.hub-card-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
  border-radius: 10px 0;
  background: #F6F6F6;
}

.hub-card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 32px;
}

.hub-partner-logo {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.hub-partner--full-logo .hub-partner-logo--authorize {
  width: 100%;
  max-width: 140px;
  height: 28px;
}

.hub-card-list span {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: #000000;
}

@media (max-width: 1199.98px) {
  .hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .integrations-title {
    margin-bottom: 2rem;
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 575.98px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Payment Features */
.payment-types-section {
  padding: 5rem 0;
}

.payment-types-header {
  max-width: 640px;
  margin: 0 auto 3rem;
}

.payment-types-title {
  color: #141A3C;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.payment-types-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  color: #8B90A6;
}

.payment-types-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.payment-feature-card {
  background: #fff;
  border: 1px solid #EEF0F6;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  text-align: center;
  box-shadow: inset 6px 6px 14px rgba(2, 6, 24, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.payment-feature-card:hover {
  transform: translateY(-6px);
  border-color: #c4b5fd;
  box-shadow: 0 12px 28px rgba(46, 23, 129, 0.12);
}

.payment-feature-card:hover .payment-feature-icon {
  background: #2E1781;
}

.payment-feature-card:hover .payment-feature-icon img {
  filter: brightness(0) invert(1);
}

.payment-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F4F3FF;
  margin: 0 auto 1.25rem;
  transition: background 0.25s ease;
}

.payment-feature-icon img {
  width: 24px;
  height: 24px;
  display: block;
  transition: filter 0.25s ease;
}

.payment-feature-card h5 {
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.3;
  color: #141A3C;
  margin-bottom: 0.75rem;
}

.payment-feature-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #8B90A6;
  margin: 0 auto;
  max-width: 280px;
}

/* Easy Integration */
.easy-integration {
  /* background: linear-gradient(86deg, rgba(237, 232, 239, 0.20) 3.23%, rgba(102, 102, 102, 0.10) 100%); */
  padding: 5rem 0;
}

.easy-integration-header {
  margin: 0 auto 3rem;
  text-align: center;
}

.easy-integration-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2;
  color: #141A3C;
}

.easy-integration-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  color: #8B90A6;
}

.easy-integration-logos {
  width: 100%;
  margin: 0 auto 2.5rem;
  padding: 0;
  overflow: hidden;
}

.easy-integration-logos--static {
  overflow: visible;
}

.easy-integration-logos--static .easy-integration-logos-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
}

.easy-integration-logos--static .easy-integration-item {
  width: min(260px, 100%);
  flex: 0 1 auto;
}

.easy-integration-logos .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: flex-end;
}

.easy-integration-logos.swiper:not(.swiper-initialized) .swiper-wrapper {
  gap: 14px;
}

.easy-integration-logos.swiper:not(.swiper-initialized) .swiper-slide {
  width: 12%;
}

.easy-integration-logos .swiper-slide a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.easy-integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;

  & .easy-integration-link {
    background: #f8f8fb;
    padding: 20px;
    min-width: 100%;
    border: 1px solid #ebebf7;
    border-radius: 16px;
    gap: 10px !important;
  }
}

.easy-integration-logo {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
}

.easy-integration-logo--php {
  height: 40px;
}

.easy-integration-logo--net {
  height: 44px;
}

.easy-integration-name {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  line-height: 1.2;
}

.easy-integration-cta {
  text-align: center;
}

.easy-integration-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: #3F27D8;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.easy-integration-link:hover {
  opacity: 0.8;
  color: #3F27D8;
}

.easy-integration-arrow {
  width: 14px;
  height: 100%;
  display: block;
}

@media (max-width: 767.98px) {
  .easy-integration {
    padding: 3.5rem 0;
  }

  .easy-integration-header {
    margin-bottom: 2rem;
  }

  .easy-integration-logos {
    margin-bottom: 2rem;
  }

  .easy-integration-logo {
    height: 40px;
  }

  .easy-integration-logo--php {
    height: 32px;
  }
}

/* How It Works */
.how-it-works-title {
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #141A3C;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2;
  max-width: none;
}

.how-it-works-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
}

.step-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: #F0EDF5;
  border: none;
  border-radius: 18px;
  padding: 1.875rem;
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.step-card-number {
  display: block;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: #2E1781;
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color 0.25s ease;
}

.step-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.step-card h5 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #020618;
  margin: 0;
  transition: color 0.25s ease;
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 0;
  transition: color 0.25s ease;
}

.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-arrow img {
  position: relative;
  left: 10px;
  display: block;
  width: 8px;
  height: 14px;
  transition: filter 0.25s ease, opacity 0.25s ease;
  opacity: 0.45;
}

.step-card:hover {
  background: linear-gradient(151deg, #7E26C9 17.87%, #C918DF 97%);
}

.step-card:hover .step-card-number,
.step-card:hover h5,
.step-card:hover p {
  color: #ffffff;
}

.step-card:hover .step-arrow img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

@media (max-width: 991.98px) {
  .how-it-works-steps {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .step-card {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

@media (max-width: 575.98px) {
  .how-it-works-title {
    margin-bottom: 2rem;
  }

  .how-it-works-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .step-card {
    flex: 1 1 100%;
  }
}

/* Business Types */
.business-types {
  background: #ffffff;
  padding: 5rem 0;
}

.business-types-header {
  margin: 0 auto 4rem;
  text-align: center;
}

.business-types-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2rem);
  line-height: 1.2;
  color: #141A3C;
}

.business-types-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  color: #8B90A6;
}

.business-types-grid {
  max-width: 1100px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1.5rem;
}

.business-type-item {
  flex: 1 1 200px;
  max-width: 260px;
  text-align: center;
}

.business-type-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.business-type-name {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.3;
  color: #141A3C;
}

.business-type-desc {
  margin: 0 auto;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: #8B90A6;
}

.business-type-link {
  display: block;
  height: 100%;
  padding: 1.5rem 1.25rem;
  border: 1px solid #EEF0F6;
  border-radius: 16px;
  color: inherit;
  background: #fff;
  box-shadow: inset 6px 6px 14px rgba(2, 6, 24, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.business-type-link:hover {
  transform: translateY(-6px);
  border-color: #c4b5fd;
  box-shadow: 0 12px 28px rgba(46, 23, 129, 0.12);
}

.business-type-link:hover .business-type-icon {
  transform: scale(1.08);
}

.business-type-link:hover .business-type-name {
  color: #2E1781;
}

@media (max-width: 767.98px) {
  .business-types {
    padding: 3.5rem 0;
  }

  .business-types-header {
    margin-bottom: 2rem;
  }

  .business-type-item {
    flex: 1 1 calc(50% - 0.75rem);
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .business-types-grid {
    gap: 2rem;
  }

  .business-type-item {
    flex: 1 1 100%;
  }
}

.cta-banner {
  background: var(--purple-dark);
  color: #fff;
  padding: 4rem 0;
}

.cta-banner-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  line-height: 1.25;
  color: #FCFCFC;
  margin-bottom: 0.5rem;
}

.cta-banner-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(252, 252, 252, 0.80);
  margin-bottom: 0;
  max-width: 520px;
}

.cta-banner-btn {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 2.25rem;
  white-space: nowrap;
}

/* Get Started / Contact */
.contact-section {
  position: relative;
  overflow: hidden;
  background: #F4F3FF;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.contact-bg-circle {
  position: absolute;
  top: 40px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(32, 0, 104, 0.05);
  filter: blur(32px);
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.contact-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: #141A3C;
  max-width: 580px;
  margin-bottom: 1rem;
}

.contact-text {
  font-size: 1rem;
  line-height: 1.65;
  color: #6B7280;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.contact-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #141A3C;
  line-height: 1.4;
}

.contact-features li:last-child {
  margin-bottom: 0;
}

.contact-features img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: block;
}

.lead-form-card {
  width: 100%;
  max-width: 480px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .contact-text {
    max-width: none;
  }

  .contact-section .lead-form-card {
    max-width: none;
  }
}

.lead-form-title {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -1.2px;
  color: #000000;
  margin-bottom: 1.5rem;
}

.lead-form-input {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #020618;
}

.lead-form-input::placeholder {
  color: #94a3b8;
}

.lead-form-input:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 0.2rem rgba(76, 29, 149, 0.1);
}

.lead-form-submit {
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1rem;
}

.lead-form-privacy {
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  color: #373737;
  margin: 1.25rem 0 0;
}

.lead-form-privacy a {
  color: var(--coral);
  text-decoration: none;
}

.lead-form-privacy a:hover {
  text-decoration: underline;
}
