/* style/payment-methods.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color); /* Default light background for body */
}

.page-payment-methods__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-payment-methods__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d7dbd 100%); /* Darker blue gradient */
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for image to fit better below content */
  margin-top: 30px; /* Add some space below content */
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color); /* Use login color for CTA */
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  background: darken(var(--login-color), 10%); /* Darken on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-payment-methods__section {
  padding: 80px 20px;
  text-align: center;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 700;
}

.page-payment-methods__section-title--white {
  color: var(--text-light);
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-payment-methods__section-intro--white {
  color: rgba(255, 255, 255, 0.9);
}

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

.page-payment-methods__card {
  background: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

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

.page-payment-methods__card--dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-payment-methods__card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__card-title--white {
  color: var(--text-light);
}

.page-payment-methods__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-payment-methods__card-description--white {
  color: rgba(255, 255, 255, 0.85);
}

.page-payment-methods__numbered-list, .page-payment-methods__bullet-list {
  margin: 20px 0;
  padding-left: 25px;
  color: var(--text-dark);
}

.page-payment-methods__numbered-list li, .page-payment-methods__bullet-list li {
  margin-bottom: 10px;
}

.page-payment-methods__numbered-list--white li, .page-payment-methods__bullet-list--white li {
  color: rgba(255, 255, 255, 0.85);
}

.page-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 40px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-payment-methods__faq {
  padding-bottom: 80px;
}

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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.3s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #fdfdfd;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  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: #f5f5f5;
  border-color: #d0d0d0;
}

.page-payment-methods__faq-question:active {
  background: #eeeeee;
}

.page-payment-methods__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--bg-light);
  border-radius: 50%;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: var(--text-light);
  background-color: var(--primary-color);
  transform: rotate(180deg);
}

.page-payment-methods__conclusion {
  padding-top: 80px;
  padding-bottom: 100px;
  background: linear-gradient(90deg, #1a8ac7 0%, var(--primary-color) 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-image img {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  
  .page-payment-methods__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-payment-methods__hero-image {
    margin-top: 20px;
  }
  
  .page-payment-methods__hero-image img {
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-payment-methods__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section {
    padding: 50px 15px;
  }
  
  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .page-payment-methods__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-payment-methods__features-grid, .page-payment-methods__method-cards, .page-payment-methods__notes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-payment-methods__card {
    padding: 25px;
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-payment-methods__card-title {
    font-size: 1.4em;
  }
  
  .page-payment-methods__card-description {
    font-size: 0.9em;
  }

  .page-payment-methods__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
    border-radius: 8px;
    box-sizing: border-box !important;
  }

  .page-payment-methods__faq-question {
    padding: 18px 20px;
  }
  
  .page-payment-methods__faq-question h3 {
    font-size: 1em;
  }
  
  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  
  .page-payment-methods__faq-answer {
    padding: 0 20px;
  }
  
  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px 20px !important;
  }

  .page-payment-methods__numbered-list, .page-payment-methods__bullet-list {
    padding-left: 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
}