/* style/support.css */

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

.page-support {
  background-color: var(--page-support-bg);
  color: var(--page-support-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-support__dark-section {
  background-color: var(--page-support-bg);
  color: var(--page-support-text-main);
  padding: 60px 0;
}

.page-support__light-bg {
  background-color: #f8f9fa; /* Using a light background for contrast */
  color: #333333;
  padding: 60px 0;
}

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-support__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 8px;
}

/* Ensure image and text are not overlapping for hero section based on rules */
/* Re-structuring hero-section to follow "image above text" rule */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 60px; /* Small top padding, normal bottom padding */
  background-color: var(--page-support-bg);
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  height: auto; /* Allow image to dictate height */
  max-height: 600px; /* Max height to prevent overly large images */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.9); /* Keep original color, slight brightness adjustment for overall visual */
}

.page-support__hero-content {
  position: relative; /* Not absolute anymore, in normal document flow */
  top: auto;
  left: auto;
  transform: none;
  text-align: center;
  max-width: 900px;
  z-index: auto;
  padding: 0 20px;
  box-sizing: border-box;
  background: none; /* No overlay on text */
  border-radius: 0;
  color: var(--page-support-text-main);
}

.page-support__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-support-gold-color);
  margin-bottom: 15px;
  max-width: 100%;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-support__description {
  font-size: 1.1em;
  color: var(--page-support-text-secondary);
  margin-bottom: 30px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping on desktop */
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__btn-primary {
  background: var(--page-support-btn-gradient);
  color: var(--page-support-text-main);
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--page-support-glow-color-rgb), 0.4);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--page-support-gold-color);
  border: 2px solid var(--page-support-gold-color);
}

.page-support__btn-secondary:hover {
  background-color: var(--page-support-gold-color);
  color: var(--page-support-bg);
}

.page-support__section-title {
  font-size: 2.5em;
  color: var(--page-support-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

/* Introduction Section */
.page-support__introduction-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
}

/* Channels Section */
.page-support__channels-section {
  padding: 60px 0;
  background-color: var(--page-support-bg);
}

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

.page-support__channel-card {
  background-color: var(--page-support-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-support-border-color);
  color: var(--page-support-text-main);
}

.page-support__channel-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__channel-title {
  font-size: 1.5em;
  color: var(--page-support-gold-color);
  margin-bottom: 10px;
}

.page-support__channel-description {
  font-size: 0.95em;
  color: var(--page-support-text-secondary);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
}

.page-support__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 8px;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-support-deep-green);
  background-color: #f0f0f0;
  user-select: none;
}

.page-support__faq-question:hover {
  background-color: #e6e6e6;
}

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

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

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: #555555;
  line-height: 1.7;
}

.page-support__faq-item:not([open]) .page-support__faq-answer {
  display: none; /* Hide answer when not open for details tag */
}

.page-support__faq-item.active .page-support__faq-answer {
  display: block; /* For JS fallback if not using details */
}

.page-support__text-link {
  color: var(--page-support-primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
}

.page-support__text-link:hover {
  text-decoration: underline;
}

/* Guide Section */
.page-support__guide-section {
  padding: 60px 0;
  background-color: var(--page-support-bg);
}

.page-support__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__step-card {
  background-color: var(--page-support-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-support-border-color);
  color: var(--page-support-text-main);
}

.page-support__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--page-support-gold-color);
  margin-bottom: 15px;
  line-height: 1;
}

.page-support__step-title {
  font-size: 1.5em;
  color: var(--page-support-gold-color);
  margin-bottom: 10px;
}

.page-support__step-description {
  font-size: 0.95em;
  color: var(--page-support-text-secondary);
}

/* Security Section */
.page-support__security-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
}

.page-support__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-support__security-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}

.page-support__security-text {
  flex-grow: 1;
}

/* Advice Section */
.page-support__advice-section {
  padding: 60px 0;
  background-color: var(--page-support-bg);
}

.page-support__advice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__advice-item {
  background-color: var(--page-support-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-support-border-color);
  color: var(--page-support-text-main);
}

.page-support__advice-title {
  font-size: 1.5em;
  color: var(--page-support-gold-color);
  margin-bottom: 10px;
}

.page-support__advice-description {
  font-size: 0.95em;
  color: var(--page-support-text-secondary);
}

/* Final CTA Section */
.page-support__cta-final-section {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
  text-align: center;
}

.page-support__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-support__security-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-support__container,
  .page-support__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__hero-section,
  .page-support__introduction-section,
  .page-support__channels-section,
  .page-support__faq-section,
  .page-support__guide-section,
  .page-support__security-section,
  .page-support__advice-section,
  .page-support__cta-final-section {
    padding: 40px 0; /* Adjust padding for mobile */
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-support__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-support__description,
  .page-support__text-block,
  .page-support__channel-description,
  .page-support__step-description,
  .page-support__advice-description,
  .page-support__faq-answer p {
    font-size: 1em;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__grid-channels,
  .page-support__guide-steps,
  .page-support__advice-list {
    grid-template-columns: 1fr;
  }

  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__channel-card,
  .page-support__step-card,
  .page-support__advice-item,
  .page-support__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-support__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure no content area images are smaller than 200px */
  .page-support__container img,
  .page-support__channels-section img,
  .page-support__faq-section img,
  .page-support__security-section img,
  .page-support__cta-final-section img {
    min-width: 200px;
    min-height: 200px;
  }
}

/* Ensure image styles do not use filters */
.page-support img {
  filter: none; /* Explicitly ensure no filters are applied */
}

/* Define RGB variables for glow effect in hover */
:root {
  --page-support-glow-color-rgb: 87, 227, 141; /* RGB values for #57E38D */
}