/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

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

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

.page-payment-methods__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-payment-methods__text-block {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: justify;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 10px 0 60px 0; /* body already handles padding-top from header */
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
}

.page-payment-methods__hero-description {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-payment-methods__section--intro .page-payment-methods__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

/* Step-by-step sections */
.page-payment-methods__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-payment-methods__step-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-payment-methods__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-payment-methods__step-description {
  font-size: 16px;
  line-height: 1.6;
}

.page-payment-methods__text-block--note {
  font-style: italic;
  color: #f0f0f0;
  text-align: center;
}

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

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

.page-payment-methods__option-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-payment-methods__option-description {
  font-size: 16px;
  line-height: 1.6;
}

/* Dark section styling */
.page-payment-methods__dark-section {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly darker background for contrast */
}

.page-payment-methods__dark-section .page-payment-methods__section-title {
  color: #FFFFFF;
}

/* Security Features */
.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-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

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

.page-payment-methods__feature-description {
  font-size: 16px;
  line-height: 1.6;
}

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

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

.page-payment-methods__faq-item details > summary {
  list-style: none;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 20px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.page-payment-methods__faq-answer {
  padding: 0 30px 20px 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

/* Tips Section */
.page-payment-methods__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-payment-methods__tips-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: #ffffff;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-payment-methods__hero-description {
    font-size: 18px;
  }
  .page-payment-methods__section-title {
    font-size: clamp(26px, 4vw, 40px);
  }
  .page-payment-methods__text-block {
    font-size: 17px;
  }
}

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

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

  .page-payment-methods__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

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

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

  .page-payment-methods__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 30px;
  }

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

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

  /* Images responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-payment-methods__hero-image {
    max-height: 400px;
  }

  /* Buttons responsive */
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

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

  .page-payment-methods__tips-list li {
    font-size: 16px;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-image-wrapper {
    max-height: 300px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(24px, 9vw, 36px);
  }
  .page-payment-methods__hero-description {
    font-size: 15px;
  }
  .page-payment-methods__section-title {
    font-size: clamp(22px, 8vw, 32px);
  }
  .page-payment-methods__step-by-step,
  .page-payment-methods__options-grid,
  .page-payment-methods__security-features {
    gap: 20px;
  }
}