/* style/payment-methods.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-payment-methods {
  color: #ffffff; /* Light text on dark body background (#0a0a0a) */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Section spacing and background */
.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-payment-methods__section-title {
  font-size: 2.5rem;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0; /* Slightly off-white for body text */
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image for better text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

/* CTA Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.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;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-payment-methods__btn-primary {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand primary color for text */
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Grid for payment methods */
.page-payment-methods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-payment-methods__card-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__card-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  color: #f0f0f0;
  text-align: left;
  width: 100%;
}

.page-payment-methods__feature-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__feature-list li::before {
  content: '✓';
  color: #EA7C07; /* Login color for checkmark, good contrast */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__card-button {
  width: auto; /* Allow buttons to size to content within card */
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

/* Guide Lists */
.page-payment-methods__guide-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__guide-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
}

.page-payment-methods__list-step-number {
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__notes-list li {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 8px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-payment-methods__notes-list strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #1a8cc4;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
  margin-right: 10px;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  text-align: center;
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  padding-top: 15px;
}

/* For <details> tag, native open/close handles max-height */
.page-payment-methods__faq-item[open] .page-payment-methods__faq-answer {
  max-height: 2000px; /* Sufficiently large for content */
  padding-top: 15px;
}

/* Remove default marker for <details> */
.page-payment-methods__faq-item summary {
  list-style: none;
}

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

/* Bottom CTA Section */
.page-payment-methods__cta-bottom {
  padding: 80px 0;
  background-color: #26A9E0; /* Use brand color for a prominent CTA */
}

.page-payment-methods__cta-bottom .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__cta-bottom .page-payment-methods__text-block {
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__section-title {
    font-size: 2rem;
  }
  .page-payment-methods__description {
    font-size: 1.1rem;
  }
}

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

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

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

  .page-payment-methods__hero-section {
    min-height: 450px;
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust H1 for mobile */
  }

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 180px;
  }

  .page-payment-methods__guide-list,
  .page-payment-methods__notes-list,
  .page-payment-methods__faq-list {
    margin-left: 0;
    margin-right: 0;
  }

  .page-payment-methods__guide-list li,
  .page-payment-methods__notes-list li {
    font-size: 0.95rem;
    padding: 15px;
  }

  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-payment-methods__faq-answer {
    font-size: 0.9rem;
    padding: 0 15px 15px;
  }
  
  /* Responsive images */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-payment-methods__video-section { /* If video section were present */
    padding-top: 10px !important; 
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: 1.8rem;
  }
  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}