/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

/* Hero Section */
.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: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: var(--deep-green);
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-main);
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.page-payment-methods__section-description--light {
  color: var(--text-secondary);
}

.page-payment-methods__light-bg {
  background-color: var(--background-color);
  color: var(--text-main);
  padding: 80px 0;
}

.page-payment-methods__dark-section {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 80px 0;
}

/* Features Grid */
.page-payment-methods__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-10px);
}

.page-payment-methods__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold);
}

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

.page-payment-methods__method-card {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__method-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.page-payment-methods__method-details li::before {
  content: '•';
  color: var(--glow);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Steps List */
.page-payment-methods__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 50px auto;
}

.page-payment-methods__steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 1.1em;
  color: var(--text-main);
}

.page-payment-methods__step-number {
  counter-increment: step-counter;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-payment-methods__steps-list li a {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__steps-list li a:hover {
  text-decoration: underline;
}

.page-payment-methods__process-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Important Notes */
.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 50px auto;
}

.page-payment-methods__notes-list li {
  background-color: var(--deep-green);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-payment-methods__note-icon {
  font-size: 1.5em;
  color: var(--glow);
  margin-right: 15px;
  line-height: 1;
}

.page-payment-methods__notes-list li a {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__notes-list li a:hover {
  text-decoration: underline;
}

.page-payment-methods__notes-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 50px auto;
}

.page-payment-methods__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

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

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--gold);
  border-bottom: 1px solid var(--divider);
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid var(--divider);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow);
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1em;
  color: var(--text-secondary);
}

/* Call to Action Section */
.page-payment-methods__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green);
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  border: none;
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: var(--glow);
  border: 2px solid var(--glow);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.page-payment-methods__btn-secondary:hover {
  background-color: var(--glow);
  color: var(--deep-green);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

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

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

  .page-payment-methods__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-description,
  .page-payment-methods__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods__btn-primary--large {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-payment-methods__light-bg,
  .page-payment-methods__dark-section,
  .page-payment-methods__cta-section {
    padding: 50px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

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

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

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title {
    font-size: 1.3em;
  }

  .page-payment-methods__steps-list,
  .page-payment-methods__notes-list,
  .page-payment-methods__faq-list {
    margin: 30px auto;
  }

  .page-payment-methods__steps-list li,
  .page-payment-methods__notes-list li {
    font-size: 1em;
  }

  .page-payment-methods__step-number {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    font-size: 1.1em;
    margin-right: 15px;
  }

  .page-payment-methods__note-icon {
    font-size: 1.3em;
    margin-right: 10px;
  }

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

  /* Image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__process-image,
  .page-payment-methods__notes-image,
  .page-payment-methods__card,
  .page-payment-methods__section,
  .page-payment-methods__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Color Contrast & Custom Colors */
.page-payment-methods {
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background-color); /* #08160F */
}

.page-payment-methods__hero-section {
  background-color: var(--deep-green); /* #0A4B2C */
}

.page-payment-methods__hero-image {
  filter: brightness(0.4);
}

.page-payment-methods__main-title {
  color: var(--gold); /* #F2C14E */
}

.page-payment-methods__hero-description {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-payment-methods__section-title {
  color: var(--text-main); /* #F2FFF6 */
}

.page-payment-methods__section-title--light {
  color: var(--gold); /* #F2C14E */
}

.page-payment-methods__section-description {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-payment-methods__section-description--light {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-payment-methods__light-bg {
  background-color: var(--background-color); /* #08160F */
  color: var(--text-main);
}

.page-payment-methods__dark-section {
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main);
}

.page-payment-methods__feature-item,
.page-payment-methods__card {
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__feature-title {
  color: var(--gold); /* #F2C14E */
}

.page-payment-methods__method-card {
  background-color: var(--deep-green); /* #0A4B2C */
  color: var(--text-main);
}

.page-payment-methods__method-title {
  color: var(--gold); /* #F2C14E */
}

.page-payment-methods__method-details li {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-payment-methods__method-details li::before {
  color: var(--glow); /* #57E38D */
}

.page-payment-methods__steps-list li {
  color: var(--text-main); /* #F2FFF6 */
}

.page-payment-methods__steps-list li a {
  color: var(--glow); /* #57E38D */
}

.page-payment-methods__step-number {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #fff;
}

.page-payment-methods__notes-list li {
  background-color: var(--deep-green); /* #0A4B2C */
  color: var(--text-main);
}

.page-payment-methods__note-icon {
  color: var(--glow); /* #57E38D */
}

.page-payment-methods__notes-list li a {
  color: var(--glow); /* #57E38D */
}

.page-payment-methods__faq-item {
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main);
}

.page-payment-methods__faq-question {
  color: var(--gold); /* #F2C14E */
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-payment-methods__faq-toggle {
  color: var(--glow); /* #57E38D */
}

.page-payment-methods__faq-answer {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-payment-methods__cta-section {
  background-color: var(--deep-green); /* #0A4B2C */
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: var(--glow); /* #57E38D */
  border: 2px solid var(--glow); /* #57E38D */
}

.page-payment-methods__btn-secondary:hover {
  background-color: var(--glow); /* #57E38D */
  color: var(--deep-green); /* #0A4B2C */
}