/* style/payment-methods.css */

/* Variables */
:root {
  --page-payment-methods-primary-color: #11A84E;
  --page-payment-methods-secondary-color: #22C768;
  --page-payment-methods-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-payment-methods-card-bg: #11271B;
  --page-payment-methods-background: #08160F;
  --page-payment-methods-text-main: #F2FFF6;
  --page-payment-methods-text-secondary: #A7D9B8;
  --page-payment-methods-border-color: #2E7A4E;
  --page-payment-methods-glow-color: #57E38D;
  --page-payment-methods-gold-color: #F2C14E;
  --page-payment-methods-divider-color: #1E3A2A;
  --page-payment-methods-deep-green: #0A4B2C;
}

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

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

.page-payment-methods__light-bg {
  background-color: #f0f0f0; /* Use a light background for contrast */
  color: #333333; /* Dark text for light background */
}

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

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  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;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  padding: 0 15px;
  max-width: 900px;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__description {
  font-size: 1.1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section for contrast */
}

.page-payment-methods__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 25px;
  color: inherit;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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: var(--page-payment-methods-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
}

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

.page-payment-methods__btn-secondary {
  background: #ffffff; /* White background for secondary button */
  color: var(--page-payment-methods-primary-color); /* Primary color text */
  border: 2px solid var(--page-payment-methods-primary-color);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--page-payment-methods-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg);
  color: var(--page-payment-methods-text-main);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-payment-methods-gold-color);
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-payment-methods__list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__list--bullet li {
  position: relative;
  padding-left: 20px;
}

.page-payment-methods__list--bullet li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--page-payment-methods-primary-color);
  font-weight: bold;
}

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

.page-payment-methods__feature-item,
.page-payment-methods__payment-card,
.page-payment-methods__security-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-payment-methods__step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 60px; /* Adjust for number position */
  position: relative;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff;
}

.page-payment-methods__step-number {
  position: absolute;
  top: 0px;
  left: 30px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-payment-methods-primary-color);
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--page-payment-methods-primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-payment-methods-primary-color);
}

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

.page-payment-methods__support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff;
}

.page-payment-methods__btn-text {
  display: inline-block;
  margin-top: 15px;
  color: var(--page-payment-methods-primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--page-payment-methods-primary-color);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-payment-methods__btn-text:hover {
  color: var(--page-payment-methods-secondary-color);
  border-color: var(--page-payment-methods-secondary-color);
}

.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: 12px;
  overflow: hidden;
  color: var(--page-payment-methods-text-main);
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-border-color);
}

.page-payment-methods__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--page-payment-methods-gold-color);
  background-color: var(--page-payment-methods-deep-green);
  border-bottom: 1px solid var(--page-payment-methods-divider-color);
}

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

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-payment-methods__faq-answer {
  padding: 20px 30px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--page-payment-methods-text-secondary);
  border-top: 1px solid var(--page-payment-methods-divider-color);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: 20px;
  }
}

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

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

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

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

  .page-payment-methods__subsection-title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center buttons */
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__payment-grid,
  .page-payment-methods__security-grid,
  .page-payment-methods__steps-wrapper,
  .page-payment-methods__support-channels {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

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

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

  .page-payment-methods__payment-icon,
  .page-payment-methods__security-icon,
  .page-payment-methods__support-icon,
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__hero-section,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__steps-wrapper,
  .page-payment-methods__support-channels,
  .page-payment-methods__faq-list,
  .page-payment-methods__payment-grid,
  .page-payment-methods__security-grid,
  .page-payment-methods__features-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, small top padding here */
    padding-bottom: 40px !important;
  }

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

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

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
}