/* style/payment-methods.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  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 titles */
.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-payment-methods__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly off-white for body text on dark background */
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  text-align: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Limit height for hero image */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

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

.page-payment-methods__hero-description {
  font-size: 1.2rem;
  color: #f8f9fa;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Grid Layout */
.page-payment-methods__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

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

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-payment-methods__card-description {
  font-size: 1rem;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Guide Steps */
.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__guide-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
  box-sizing: border-box;
}

.page-payment-methods__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-payment-methods__guide-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__guide-list {
  list-style-type: decimal;
  padding-left: 20px;
  color: #e0e0e0;
}

.page-payment-methods__guide-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-payment-methods__guide-list li strong {
  color: #ffffff;
}

.page-payment-methods__important-notes {
  background: rgba(38, 169, 224, 0.15);
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  padding: 30px;
  margin-top: 50px;
  text-align: left;
  color: #ffffff;
}

.page-payment-methods__important-notes .page-payment-methods__guide-title {
  color: #FFFFFF;
  margin-top: 0;
  font-size: 1.6rem;
}

.page-payment-methods__text-list {
  list-style-type: disc;
  padding-left: 25px;
  color: #e0e0e0;
}

.page-payment-methods__text-list li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Security Features */
.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
  box-sizing: border-box;
}

.page-payment-methods__feature-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Use contain for security icons/graphics */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-payment-methods__feature-description {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Call to Action Buttons */
.page-payment-methods__contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

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

.page-payment-methods__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background: #e0e0e0;
  color: #1e87b6;
}

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

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  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 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background: rgba(38, 169, 224, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background: rgba(38, 169, 224, 0.3);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.05);
}

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

/* Dark background sections */
.page-payment-methods__dark-bg {
  background-color: rgba(38, 169, 224, 0.1);
}

/* Floating Buttons */
.page-payment-methods__floating-button {
  position: fixed;
  right: 20px;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
}

.page-payment-methods__floating-register {
  bottom: 100px; /* Adjust based on footer height */
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-payment-methods__floating-register:hover {
  background: #d46c00;
  border-color: #d46c00;
}

.page-payment-methods__floating-login {
  bottom: 40px; /* Adjust based on footer height */
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-payment-methods__floating-login:hover {
  background: #1e87b6;
  border-color: #1e87b6;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-payment-methods__guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .page-payment-methods__section-title {
    font-size: 2rem;
  }

  .page-payment-methods__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }

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

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

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

  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

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

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

  .page-payment-methods__card-title {
    font-size: 1.3rem;
  }

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

  .page-payment-methods__guide-item {
    padding: 20px;
  }

  .page-payment-methods__guide-image {
    height: 200px;
  }

  .page-payment-methods__guide-title {
    font-size: 1.5rem;
  }

  .page-payment-methods__important-notes {
    padding: 20px 15px;
    margin: 30px 15px 0;
  }

  .page-payment-methods__important-notes .page-payment-methods__guide-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-payment-methods__feature-item {
    padding: 20px;
  }

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

  .page-payment-methods__feature-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__contact-options {
    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;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-payment-methods__faq-toggle {
    font-size: 1.5rem;
  }

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

  /* Mobile image/video/container responsiveness */
  .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__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-payment-methods__floating-button {
    right: 15px;
    padding: 10px 20px;
    font-size: 0.9rem;
    bottom: auto; /* Reset fixed positioning */
    position: static; /* Make it flow with content */
    margin-bottom: 10px; /* Add margin if they stack */
    width: calc(100% - 30px); /* Adjust width to fit container with padding */
    margin-left: auto;
    margin-right: auto;
  }

  .page-payment-methods__floating-register {
    top: auto; /* Reset top positioning */
    bottom: auto; /* Reset bottom positioning */
  }
  .page-payment-methods__floating-login {
    top: auto; /* Reset top positioning */
    bottom: auto; /* Reset bottom positioning */
  }

  /* If floating buttons must remain floating on mobile, adjust their bottom positions */
  /* For this page, we'll keep them floating but adjust for smaller screens */
  .page-payment-methods__floating-button {
    position: fixed;
    right: 15px;
    width: auto;
    min-width: 120px;
  }
  .page-payment-methods__floating-register {
    bottom: 90px;
  }
  .page-payment-methods__floating-login {
    bottom: 30px;
  }
}