.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-main);
}

.page-payment-methods__paragraph {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body already handles padding-top */
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-payment-methods__main-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.page-payment-methods__lead-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
}

.page-payment-methods__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 20px;
}

.page-payment-methods__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main);
}

.page-payment-methods__feature-grid,
.page-payment-methods__method-grid,
.page-payment-methods__step-by-step,
.page-payment-methods__security-features {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__step-card,
.page-payment-methods__security-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__card-title {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--text-main);
}

.page-payment-methods__card-text {
  font-size: 16px;
  color: var(--text-secondary);
}

.page-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.page-payment-methods__method-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-payment-methods__method-icon {
  width: 200px; /* Minimum size requirement */
  height: 200px; /* Minimum size requirement */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__method-card--single {
  max-width: 600px;
  margin: 0 auto;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  width: 100%;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.page-payment-methods__step-by-step {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: left;
}

.page-payment-methods__step-card {
  position: relative;
  padding-top: 60px;
}

.page-payment-methods__step-number {
  position: absolute;
  top: 0;
  left: 30px;
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__step-card .page-payment-methods__card-title {
  margin-top: 0;
  font-size: 20px;
}

.page-payment-methods__note {
  font-size: 16px;
  margin-top: 40px;
  padding: 20px;
  background-color: var(--card-bg);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-payment-methods__security-section {
  background-color: var(--deep-green);
  padding: 80px 0;
}

.page-payment-methods__security-features {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__security-item {
  background-color: var(--card-bg);
}

.page-payment-methods__security-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  list-style: none;
  position: relative;
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-question::marker {
  display: none;
}

.page-payment-methods__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

.page-payment-methods__cta-container {
  max-width: 800px;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Color palette integration */
.page-payment-methods__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-payment-methods__card-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-payment-methods__text-main {
  color: var(--text-main);
}

.page-payment-methods__text-secondary {
  color: var(--text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__section-title {
    font-size: clamp(26px, 4vw, 40px);
  }

  .page-payment-methods__main-title {
    font-size: clamp(30px, 5vw, 48px);
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
  }

  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 300px;
  }

  .page-payment-methods__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    width: 200px !important;
    height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__paragraph,
  .page-payment-methods__lead-description {
    font-size: 16px;
  }

  .page-payment-methods__card-title {
    font-size: 20px;
  }

  .page-payment-methods__card-text {
    font-size: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .page-payment-methods__feature-grid,
  .page-payment-methods__method-grid,
  .page-payment-methods__step-by-step,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    padding: 0 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }

  .page-payment-methods__step-number {
    left: 20px;
  }

  .page-payment-methods__note {
    padding: 15px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-payment-methods__security-section {
    padding: 60px 0;
  }

  .page-payment-methods__cta-section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-payment-methods__main-title {
    font-size: clamp(28px, 7vw, 42px);
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 250px;
  }
}