/* style/support.css */

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

.page-support {
  font-family: Arial, sans-serif;
  color: var(--page-support-text-main); /* Default text color for the page, light text for dark body background */
  background-color: var(--page-support-background); /* This will be overridden by shared.css body background */
}

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

/* Hero Section */
.page-support__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;
  background-color: var(--page-support-background);
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-support__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
  z-index: 1;
  color: var(--page-support-text-main);
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--page-support-gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-support__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--page-support-text-secondary);
}

/* General Section Styles */
.page-support__introduction-section,
.page-support__faq-section,
.page-support__contact-channels,
.page-support__guides-resources,
.page-support__commitment-section {
  padding: 80px 0;
  box-sizing: border-box;
}

.page-support__dark-bg {
  background-color: var(--page-support-background);
  color: var(--page-support-text-main);
}

.page-support__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-support-gold);
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-support__section-description {
  font-size: 1.05em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--page-support-text-secondary);
}

/* CTA Buttons */
.page-support__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-support__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-support__btn-primary {
  background: var(--page-support-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--page-support-glow); /* Green text for secondary button */
  border: 2px solid var(--page-support-glow);
}

.page-support__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

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

.page-support__faq-item {
  background-color: var(--page-support-card-bg);
  border: 1px solid var(--page-support-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-support-text-main);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--page-support-text-main);
  position: relative;
  list-style: none;
  user-select: none;
}

.page-support__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-support__faq-item summary::marker, 
.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-support-text-secondary);
}

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

.page-support__faq-answer a.page-support__faq-link {
  color: var(--page-support-glow);
  text-decoration: underline;
  font-weight: 500;
}

.page-support__faq-answer a.page-support__faq-link:hover {
  color: var(--page-support-gold);
}

/* Contact Channels Section */
.page-support__channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__channel-card {
  background-color: var(--page-support-card-bg);
  border: 1px solid var(--page-support-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-support-text-main);
}

.page-support__channel-icon {
  width: 200px; /* Min size for images */
  height: 150px; /* Min size for images */
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter is applied */
}

.page-support__channel-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-support-gold);
}

.page-support__channel-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  color: var(--page-support-text-secondary);
}

/* Guides & Resources Section */
.page-support__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__resource-card {
  background-color: var(--page-support-card-bg);
  border: 1px solid var(--page-support-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--page-support-text-main);
}

.page-support__resource-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filter is applied */
}

.page-support__resource-title {
  font-size: 1.25em;
  font-weight: 600;
  padding: 20px 20px 10px 20px;
  color: var(--page-support-gold);
}

.page-support__resource-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__resource-title a:hover {
  text-decoration: underline;
  color: var(--page-support-glow);
}

.page-support__resource-text {
  font-size: 0.9em;
  line-height: 1.5;
  padding: 0 20px 20px 20px;
  color: var(--page-support-text-secondary);
  flex-grow: 1;
}

/* Commitment Section */
.page-support__commitment-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-support__commitment-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--page-support-text-main);
}

.page-support__icon {
  font-style: normal;
  margin-right: 15px;
  font-size: 1.3em;
  color: var(--page-support-glow);
  flex-shrink: 0;
}

.page-support__icon--check::before {
  content: '✓'; /* Unicode checkmark */
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  line-height: 1.2em;
  text-align: center;
  border-radius: 50%;
  background-color: var(--page-support-deep-green);
  color: #ffffff;
  font-weight: bold;
  font-size: 0.8em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 30px 15px;
  }

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

  .page-support__section-title {
    font-size: clamp(1.6em, 4.5vw, 2.2em);
  }

  .page-support__introduction-section,
  .page-support__faq-section,
  .page-support__contact-channels,
  .page-support__guides-resources,
  .page-support__commitment-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  /* All images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers responsive */
  .page-support__container,
  .page-support__hero-section,
  .page-support__introduction-section,
  .page-support__faq-section,
  .page-support__contact-channels,
  .page-support__guides-resources,
  .page-support__commitment-section,
  .page-support__channel-card,
  .page-support__resource-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

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

  .page-support__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }

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

  .page-support__section-title {
    font-size: clamp(1.4em, 6vw, 2em);
  }

  .page-support__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Buttons responsive */
  .page-support__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-support__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  .page-support__channel-grid,
  .page-support__resource-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__channel-icon {
    width: 150px; /* Still > 200px equivalent for display if container is smaller */
    height: 100px;
  }

  .page-support__resource-image {
    height: 200px;
  }

  .page-support__commitment-list li {
    font-size: 1em;
  }
}