:root {
  --pl-title: #003434;
  --pl-body: #4b4949;
  --pl-green-cta: #d0f255;
  --pl-green-dark: #003434;
  --pl-green-link: #008d63;
  --pl-green-highlight: #50d387;
  --pl-bg-light: #f7f7f7;
  --pl-bg-dark: #f2f4f0;
  --pl-border-light: #e7e7e7;
  --pl-border-medium: #d1d1d1;
  --pl-btn-hover: #014D3A;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--pl-body);
}

h1, h2, h3, .section-title {
  color: var(--pl-title);
  font-family: 'PPTelegraf', sans-serif;
  font-weight: 600;
  letter-spacing: -1.5px;
}

.hero-section {
  padding: 60px;
  background: #fff;
}

.hero-title {
  font-size: 72px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2.5px;
  color: var(--pl-title);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pl-body);
}

.btn-pine {
  background-color: var(--pl-green-cta);
  color: var(--pl-green-dark);
  border-radius: 32px;
  min-width: 192px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: background-color 0.3s;
}

.btn-pine:hover {
  background-color: var(--pl-btn-hover);
  color: #fff;
}

.hero-image-container {
  background: var(--pl-bg-dark);
  border-radius: 40px;
  overflow: hidden;
  height: 580px;
  border: 1.231px solid #fff;
  box-shadow: 0px 2.463px 4.925px -2.463px rgba(0,0,0,0.1), 0px 4.925px 7.388px -1.231px rgba(0,0,0,0.1);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form Section */
.form-section {
  padding: 60px;
  background: #fff;
}

.form-card {
  border: 1px solid var(--pl-border-light);
  border-radius: 20px;
  padding: 24px;
  background: #fdfdfd;
}

.form-card .form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--pl-title);
  letter-spacing: -0.14px;
}

.form-card .form-control {
  border: 1px solid var(--pl-border-light);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
}

.form-card .form-control::placeholder {
  color: #b3b3b3;
}

.contact-info-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--pl-body);
}

.contact-info-value {
  color: var(--pl-green-highlight);
  font-weight: 500;
}

.pri-term-new {
  font-size: 14px;
  font-weight: 500;
  color: var(--pl-body);
  line-height: 1.4;
}

.pri-term-new a {
  color: var(--pl-green-link);
  font-weight: 500;
  text-decoration: none;
}

.merchants-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--pl-body);
}

/* Section: All essential payments */
.section-payments {
  padding: 60px;
  background: #fff;
}

.section-title-lg {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.62px;
  color: var(--pl-title);
}

.feature-icon {
  width: 96px;
  height: 96px;
  background: var(--pl-bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--pl-title);
}

/* Soundbox Advantage Section */
.soundbox-section {
  padding: 120px 60px;
  background: #fff;
  overflow: hidden;
}

.soundbox-image {
  border-radius: 40px;
  overflow: hidden;
  height: 730px;
  background: linear-gradient(180deg, #f7f7f7 0%, #e0e7e0 100%);
}

.soundbox-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.soundbox-title {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -1.62px;
  color: var(--pl-title);
}

.soundbox-feature-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--pl-body);
  padding: 16px 0;
  border-top: 1px solid var(--pl-border-light);
  border-bottom: 1px solid var(--pl-border-light);
}

/* Banks/Partners Section */
.category-section {
  padding: 40px 60px;
  border-bottom: 1px solid var(--pl-border-light);
}

.category-title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.68px;
  color: var(--pl-title);
}

.category-btn {
  border-radius: 32px;
  padding: 11px 32px;
  font-size: 18px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.category-btn.active {
  background: var(--pl-green-cta);
  color: var(--pl-green-dark);
}

.category-btn:not(.active) {
  background: var(--pl-bg-light);
  color: var(--pl-green-dark);
}

.bank-logo-card {
  border: 1px solid var(--pl-border-medium);
  border-radius: 8px;
  padding: 10px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.bank-logo-card img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
}

/* Hide mobile carousel on desktop */
.logo-carousel {
  display: none;
}

/* Security Section */
.security-section {
  padding: 60px;
  background: #fff;
  overflow: hidden;
}

.security-card {
  border-radius: 24px;
  margin-bottom: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-card img {
  min-width: 100%;
  min-height: 100%;
  object-fit: contain;
}

.security-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--pl-title);
}

.security-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--pl-body);
  line-height: 1.5;
}

/* Error Messages */
.error_msg_pos {
  font-size: 12px;
  color: #dc3545;
}

/* Loader */
.loader_with_transparent {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 42px;
  }
  .hero-section, .form-section, .section-payments, .soundbox-section, .category-section, .security-section {
    padding: 30px 15px;
  }
  .section-title-lg, .soundbox-title {
    font-size: 36px;
  }
  .category-title {
    font-size: 28px;
  }
  .hero-image-container {
    height: 300px;
  }
  .soundbox-image {
    height: 400px;
    margin-bottom: 30px;
  }
  .soundbox-section {
    padding: 60px 15px;
  }
  .security-card {
    height: 280px;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 32px;
  }
  .hero-image-container {
    height: 220px;
  }
  .feature-icon {
    width: 64px;
    height: 64px;
  }
  .feature-icon img {
    max-width: 100%;
    max-height: 100%;
  }
  .section-title-lg, .soundbox-title {
    font-size: 28px;
  }
  .soundbox-image {
    height: 300px;
  }
  /* Mobile logo carousel */
  .category-content .row.g-3 {
    display: none;
  }
  .category-content .logo-carousel {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
    grid-auto-columns: 31%;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
  }
  .category-content .logo-carousel::-webkit-scrollbar {
    display: none;
  }
  .category-content .logo-carousel .bank-logo-card {
    height: 60px;
    padding: 8px;
  }
  .category-content .logo-carousel .bank-logo-card img {
    max-height: 36px;
  }
}