/* style/payment-methods.css */

/* General styles for the payment methods page */
.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  background-color: transparent; /* inherited from body, for consistency */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop and mobile */
}

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

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for titles */
}

.page-payment-methods__section-title--light {
  color: #ffffff; /* White for titles on dark backgrounds */
}

.page-payment-methods__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light gray for general text on dark body */
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__link:hover {
  color: #e0b800;
  text-decoration: underline;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #0A2239; /* Deep blue background */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-payment-methods__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  text-align: center;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background-color: #FFD700;
  color: #0A2239;
  border: 2px solid #FFD700;
}

.page-payment-methods__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2239;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-payment-methods__intro-section {
  background-color: transparent; /* Inherit from body for dark background */
  padding: 60px 0;
}

/* Payment Methods Section */
.page-payment-methods__methods-section {
  background-color: #0A2239; /* Dark blue background */
  padding: 60px 0;
}

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

.page-payment-methods__method-card {
  background-color: #ffffff; /* Light background for cards */
  color: #333333; /* Dark text for cards */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px; /* Adjust size for card icons */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: contain;
}

.page-payment-methods__method-title {
  font-size: 24px;
  font-weight: bold;
  color: #0A2239;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1; /* Make description take available space */
}

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

.page-payment-methods__features-list li {
  font-size: 15px;
  color: #555555;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-payment-methods__features-list li::before {
  content: '✓'; /* Checkmark for list items */
  color: #FFD700;
  font-weight: bold;
}

.page-payment-methods__card-button {
  margin-top: auto; /* Push button to bottom of card */
  width: 100%;
}

/* Guide Section */
.page-payment-methods__guide-section {
  padding: 60px 0;
  background-color: transparent; /* Inherit from body */
}

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

.page-payment-methods__step-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark body */
  color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__step-item--light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-payment-methods__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #0A2239;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-payment-methods__step-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-payment-methods__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Security Section */
.page-payment-methods__security-section {
  background-color: transparent; /* Inherit from body */
  padding: 60px 0;
}

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

.page-payment-methods__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-payment-methods__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__feature-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: #0A2239; /* Dark blue background */
  padding: 60px 0;
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  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: 18px 25px;
  background: #1a3a5a; /* Slightly lighter blue for question background */
  color: #ffffff;
  border: 1px solid #2a4a6a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-payment-methods__faq-question:hover {
  background: #2a4a6a;
  border-color: #3a5a7a;
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold for FAQ question titles */
  pointer-events: none;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #1a3a5a; /* Same as question background when collapsed */
  color: #f0f0f0; /* Light text for answer */
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px 25px !important;
  opacity: 1;
  background: #0F2A43; /* Slightly darker than question for distinction */
  border: 1px solid #2a4a6a;
  border-top: none;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Final CTA Section */
.page-payment-methods__cta-section {
  padding: 80px 0;
  background-color: transparent; /* Inherit from body */
}

.page-payment-methods__cta-box {
  background-color: #0A2239;
  color: #ffffff;
  padding: 60px 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-box .page-payment-methods__section-title {
  color: #FFD700;
  margin-bottom: 25px;
}

.page-payment-methods__cta-box .page-payment-methods__text-block {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Image specific styles - ensure no filters and proper sizing */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensures proper spacing and sizing */
  border-radius: 8px;
  object-fit: cover; /* Default for most content images */
  /* No filter properties allowed */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 40px;
  }
  .page-payment-methods__hero-description {
    font-size: 18px;
  }
  .page-payment-methods__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    font-size: 16px;
    line-height: 1.5;
  }

  .page-payment-methods__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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

  .page-payment-methods__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to CTA group itself */
  }
  
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 16px;
  }

  .page-payment-methods__method-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__method-title,
  .page-payment-methods__step-title,
  .page-payment-methods__feature-title {
    font-size: 20px;
  }

  .page-payment-methods__method-description,
  .page-payment-methods__step-description,
  .page-payment-methods__feature-description {
    font-size: 15px;
  }

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

  .page-payment-methods__faq-question h3 {
    font-size: 16px;
  }

  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px !important;
  }
  
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Ensure all containers with images also adapt */
  .page-payment-methods__method-card,
  .page-payment-methods__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-payment-methods__cta-box {
    padding: 40px 20px;
  }
}