/* style/support.css */

/* --- General Styles --- */
.page-support {
  background-color: var(--background, #08160F); /* Fallback to custom deep green */
  color: var(--text-main, #F2FFF6); /* Main text color on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: var(--gold, #F2C14E); /* Using gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Ensure padding doesn't increase total width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-support__btn-secondary:hover {
  background-color: var(--deep-green, #0A4B2C);
  border-color: var(--gold, #F2C14E);
  color: var(--gold, #F2C14E);
}

.page-support__btn-link {
  background: transparent;
  color: var(--glow, #57E38D);
  border: 1px solid var(--border, #2E7A4E);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-support__btn-link:hover {
  color: var(--gold, #F2C14E);
  border-color: var(--gold, #F2C14E);
}

/* --- Hero Section --- */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  text-align: center;
  overflow: hidden;
  background-color: var(--background, #08160F);
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 40px; /* Space between image and content */
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-support__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  color: var(--gold, #F2C14E); /* Gold for H1 */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* No fixed font-size, rely on clamp if needed, otherwise browser default + weight */
  font-size: clamp(2em, 4vw, 3.2em); /* Example clamp for H1 */
}

.page-support__description {
  font-size: 1.2em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

.page-support__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* --- Channels Section --- */
.page-support__channels-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B); /* Darker background for this section */
  border-top: 1px solid var(--divider, #1E3A2A);
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-support__channel-card {
  background-color: var(--background, #08160F);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border, #2E7A4E);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--glow, #57E38D);
}

.page-support__channel-icon {
  width: 100%;
  max-width: 400px; /* Adjust size for icon-like images */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  min-width: 200px; /* Min size for all images */
  min-height: 200px;
}

.page-support__channel-title {
  font-size: 1.5em;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__channel-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
}

.page-support__channel-detail {
  font-size: 1.1em;
  color: var(--glow, #57E38D);
  font-weight: bold;
  margin-bottom: 20px;
}

/* --- Guide Section --- */
.page-support__guide-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
}

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

.page-support__guide-item {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border, #2E7A4E);
  box-sizing: border-box;
}

.page-support__guide-title {
  font-size: 1.4em;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__guide-text {
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
}

/* --- FAQ Section --- */
.page-support__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
  border-top: 1px solid var(--divider, #1E3A2A);
}

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

.page-support__faq-item {
  background-color: var(--background, #08160F);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid var(--border, #2E7A4E);
  list-style: none; /* For details/summary */
}

.page-support__faq-item[open] > .page-support__faq-question {
  border-bottom: 1px solid var(--gold, #F2C14E);
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-support__faq-qtext {
  flex-grow: 1;
  color: var(--text-main, #F2FFF6);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow, #57E38D);
  margin-left: 15px;
}

.page-support__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary, #A7D9B8);
  border-top: none;
}

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

.page-support__cta-more-faq {
  text-align: center;
}

/* --- Security Section --- */
.page-support__security-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
  border-top: 1px solid var(--divider, #1E3A2A);
}

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

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

.page-support__security-subtitle {
  font-size: 1.5em;
  color: var(--gold, #F2C14E);
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__security-text p {
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
}

.page-support__security-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-support__security-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min size for all images */
  min-height: 200px;
}

/* --- Feedback Section --- */
.page-support__feedback-section {
  padding: 60px 0;
  background-color: var(--card-bg, #11271B);
  border-top: 1px solid var(--divider, #1E3A2A);
}

.page-support__feedback-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-support__feedback-item {
  background-color: var(--background, #08160F);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border, #2E7A4E);
  box-sizing: border-box;
}

.page-support__feedback-title {
  font-size: 1.4em;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-support__feedback-text {
  color: var(--text-secondary, #A7D9B8);
}

.page-support__cta-feedback {
  text-align: center;
}

/* --- Final CTA Section --- */
.page-support__cta-section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
  border-top: 1px solid var(--divider, #1E3A2A);
  text-align: center;
}


/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-support__channels-grid,
  .page-support__guide-grid,
  .page-support__feedback-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-support__security-content {
    flex-direction: column-reverse; /* Text above image on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px; /* Mobile padding */
  }

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

  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for mobile H1 */
  }

  .page-support__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section,
  .page-support__channels-section,
  .page-support__guide-section,
  .page-support__faq-section,
  .page-support__security-section,
.page-support__feedback-section,
  .page-support__cta-section {
    padding: 40px 0;
  }
  
  /* Images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers containing images/buttons */
  .page-support__hero-image-wrapper,
  .page-support__channel-card,
  .page-support__guide-item,
  .page-support__faq-item,
  .page-support__security-image-wrapper,
  .page-support__feedback-item,
  .page-support__cta-buttons,
  .page-support__channels-grid,
  .page-support__guide-grid,
  .page-support__feedback-content,
  .page-support__security-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* body already handles header offset */
  }

  .page-support__channel-icon,
  .page-support__security-image {
    min-width: unset; /* Allow flexible width */
    min-height: unset; /* Allow flexible height */
  }
}

/* Ensure no filter on images */
.page-support img {
  filter: none !important;
}

/* Specific min-width/height for content area images (desktop) */
.page-support__hero-image,
.page-support__channel-icon,
.page-support__security-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure content area images display at least 200px if not overridden by specific classes */
/* This is a general rule, specific classes might override it for smaller *display* but source is >=200 */
.page-support__channel-icon,
.page-support__security-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Example desktop max width */
  margin-left: auto;
  margin-right: auto;
}