/* style/payment-methods.css */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: transparent; /* Body background from shared.css */
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #017439; /* Brand color as background for hero */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-payment-methods__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-payment-methods__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

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

.page-payment-methods__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-payment-methods__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-payment-methods__section-intro {
  font-size: 1.05em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__popular-methods .page-payment-methods__section-title,
.page-payment-methods__popular-methods .page-payment-methods__section-intro {
  color: #FFFFFF;
}

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

.page-payment-methods__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFFFFF;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__method-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  color: #FFFF00; /* Register font color for emphasis */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__method-card p {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-payment-methods__method-features {
  list-style: none;
  padding: 0;
  text-align: left;
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-payment-methods__method-features li {
  margin-bottom: 8px;
}

.page-payment-methods__process-section {
  background-color: #0d0d0d;
  color: #FFFFFF;
}

.page-payment-methods__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-payment-methods__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.page-payment-methods__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Register font color */
  margin-bottom: 15px;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__step-card p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-payment-methods__note {
  font-size: 0.95em;
  color: #f0f0f0;
  text-align: center;
  margin-top: 40px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.page-payment-methods__evaluation-factors {
  background-color: #017439;
}

.page-payment-methods__factors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__factor-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #FFFFFF;
}

.page-payment-methods__factor-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__factor-title {
  font-size: 1.3em;
  color: #FFFF00; /* Register font color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__factor-item p {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-payment-methods__faq-section {
  background-color: #0d0d0d;
  color: #FFFFFF;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-payment-methods__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFFF00; /* Register font color */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  content: '−';
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-payment-methods__conclusion-cta {
  text-align: center;
  padding-bottom: 80px;
  background-color: #017439;
}

.page-payment-methods__conclusion-cta .page-payment-methods__section-title {
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-payment-methods__conclusion-cta .page-payment-methods__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    padding: 10px 15px 50px 15px;
  }

  .page-payment-methods__section {
    padding: 50px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__section,
  .page-payment-methods__methods-grid,
  .page-payment-methods__process-steps,
  .page-payment-methods__factors-grid,
  .page-payment-methods__faq-list,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__factor-item,
  .page-payment-methods__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-payment-methods__section {
    padding: 40px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-payment-methods__description {
    font-size: 1em;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__factor-item {
    padding: 25px 15px;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__factor-icon {
    width: 120px;
    height: 120px;
  }

  .page-payment-methods__faq-item summary {
    padding: 15px 15px;
    font-size: 1em;
  }

  .page-payment-methods__faq-answer {
    padding: 15px 15px;
  }

  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }

  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}