/* Acepay Thanh toán Payment Link (mpos) page.
   Ports the original intro-mpos styles: click-banner-mpos hero, box-title,
   Porto featured-box style-3 flat primary, mpos feature/download blocks. */

/* Hero banner (original: .click-banner-mpos, background banner-mpos.jpg) */
.mpos-hero {
  background: #328ebd url(../../images/landing/banner-mpos.jpg) no-repeat center;
  background-size: cover;
  padding-top: 570px;
}

/* Generic section block */
.box-all {
  padding: 60px 0 60px;
}

.box-all .box-img img {
  width: 100%;
}

/* Section title */
.box-title {
  text-align: center;
  margin-bottom: 30px;
}

.box-title h2 {
  font-size: 36px;
  color: #333;
  font-weight: lighter;
  margin: 0;
}

/* Featured boxes (original Porto featured-box style-3 flat primary) */
.featured-box {
  background: linear-gradient(to bottom, #fff 1%, #fcfcfc 98%) repeat scroll 0 0 transparent;
  box-sizing: border-box;
  border-bottom: 1px solid #dfdfdf;
  border-left: 1px solid #ececec;
  border-radius: 8px;
  border-right: 1px solid #ececec;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04);
  margin: 20px auto;
  min-height: 100px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.featured-box .box-content {
  border-radius: 8px;
  border-top: 4px solid #0088cc;
  padding: 30px 30px 10px 30px;
  position: relative;
  top: -1px;
}

.featured-boxes-flat .featured-box {
  box-shadow: none;
  margin: 10px 0;
}

.featured-boxes-flat .featured-box .box-content {
  background: #fff;
  margin-top: 65px;
}

.featured-boxes-style-3 .featured-box {
  margin: 10px 0;
}

.featured-boxes-style-3 .featured-box .icon-featured {
  display: inline-block;
  font-size: 30px;
  height: 75px;
  line-height: 68px;
  padding: 0;
  width: 75px;
  margin-top: -35px;
  background: #fff;
  border: 3px solid #0088cc;
  color: #0088cc;
}

.featured-boxes-style-3 .featured-box .box-content p {
  color: #333;
}

.icon-featured {
  display: inline-block;
  font-size: 0px;
  margin: 15px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #fff;
  line-height: 110px;
}

.icon-featured:after {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: '';
  box-sizing: content-box;
}

/* Effect 3 (ring reveal on hover) */
.featured-box-effect-3 .icon-featured:after {
  top: 0;
  left: 0;
  box-shadow: 0 0 0 10px #fff;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  opacity: 0;
}

.featured-box-effect-3:hover .icon-featured {
  color: #fff !important;
}

.featured-box-effect-3:hover .icon-featured:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 0.8;
}

.featured-box-effect-3.featured-box-primary .icon-featured:after {
  box-shadow: 0 0 0 10px #0088cc;
}

.featured-box-effect-3.featured-box-primary:hover .icon-featured {
  background: #0088cc !important;
}

.mpos-featured-box {
  height: 230px;
}

/* Feature image + app download */
.mpos-feature-img-full {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.mpos-feature-img-mb {
  display: none;
}

.mpos-download {
  position: absolute;
  bottom: 125px;
  right: 262px;
  display: block;
}

.mpos-download-title {
  padding-bottom: 20px;
  margin: 0;
  color: #191919;
  font-weight: 500;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
}

.mpos-download-mb {
  display: none;
}

.mpos-download-mb .heading-dark {
  color: #333;
  font-weight: 400;
  margin: 0 0 25px;
}

/* Customers / card organizations grids */
.mpos-client-img {
  padding: 15px;
  text-align: center;
}

.mpos-client-img img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

.mpos-row > div > img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

/* Linked banks marquee (original owl-carousel #box-slide) */
.mpos-partner__logo {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .mpos-feature-img-full {
    display: none;
  }

  .mpos-feature-img-mb {
    display: block;
    margin: 5px;
  }

  .mpos-download {
    display: none;
  }

  .mpos-download-mb {
    display: block;
    margin: 5px;
  }
}

@media (max-width: 575.98px) {
  .box-title h2 {
    font-size: 28px;
  }

  .box-all {
    padding: 40px 0 40px;
  }

  .mpos-featured-box {
    height: auto;
  }
}

/* Payment Link Page Styles */
.payment-link-hero {
  background: url(../../images/landing/bg_paymentlink.png) no-repeat center;
  background-size: cover;
  padding: 80px 0;
}

.payment-link-banner {
  padding: 40px 0;
}

.payment-link-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.payment-link-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  line-height: 1.6;
}

.payment-link-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.feature-item i {
  color: var(--bs-primary);
  font-size: 16px;
}

.payment-link-cta {
  background: var(--bs-primary);
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.payment-link-cta:hover {
  background: var(--bs-link-hover-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 168, 230, 0.3);
}

.payment-link-banner-img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-link-feature-box {
  height: 100%;
  min-height: 220px;
  transition: all 0.3s ease;
}

.payment-link-feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.payment-link-feature-box .icon-featured {
  font-size: 36px;
  height: 85px;
  width: 85px;
  line-height: 78px;
  margin-top: -10px;
  background: #fff;
  border: 3px solid var(--bs-primary);
  color: var(--bs-primary);
}

.payment-link-feature-box.featured-box-primary .icon-featured:after {
  box-shadow: 0 0 0 10px var(--bs-primary);
}

.payment-link-feature-box.featured-box-primary:hover .icon-featured {
  background: var(--bs-primary) !important;
  color: #fff !important;
}

.payment-link-feature-box h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--bs-heading-color);
  margin: 20px 0 12px;
}

.payment-link-feature-box p {
  font-size: 14px;
  color: var(--bs-body-color);
  line-height: 1.6;
  margin: 0;
}

.payment-methods-section {
  background: #f7fafc;
}

.payment-methods-grid {
  margin-top: 30px;
}

.payment-method-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--bs-border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.payment-method-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 10px 30px rgba(0, 168, 230, 0.1);
  transform: translateY(-3px);
}

.payment-method-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.payment-method-card span {
  font-size: 13px;
  color: var(--bs-heading-color);
  font-weight: 500;
  display: block;
  line-height: 1.4;
}

.payment-link-guide {
  background: #fff;
}

.guide-step {
  padding: 30px 20px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.3);
}

.guide-step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--bs-heading-color);
  margin-bottom: 12px;
}

.guide-step p {
  font-size: 14px;
  color: var(--bs-body-color);
  line-height: 1.6;
  margin: 0;
}

.cta-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%);
  padding: 60px 0;
}

.cta-section h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin: 0;
}

.cta-section .btn-light {
  background: #fff;
  color: var(--brand-dark);
  border: 2px solid #fff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .payment-link-title {
    font-size: 36px;
  }

  .payment-link-subtitle {
    font-size: 16px;
  }

  .cta-section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
  }

  .cta-section p {
    text-align: center;
  }

  .cta-section .col-lg-4 {
    text-align: center !important;
  }
}

@media (max-width: 767.98px) {
  .payment-link-hero {
    padding: 60px 0;
  }

  .payment-link-title {
    font-size: 28px;
  }

  .payment-link-subtitle {
    font-size: 15px;
  }

  .payment-link-features {
    justify-content: center;
  }

  .feature-item {
    padding: 10px 16px;
    font-size: 13px;
  }

  .payment-link-banner-img {
    margin-top: 30px;
  }

  .box-all {
    padding: 40px 0;
  }

  .box-title h2 {
    font-size: 28px;
  }

  .payment-method-card {
    padding: 20px 12px;
  }

  .guide-step {
    padding: 20px 10px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
