/* style/support.css */

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

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

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

.page-support__hero-section {
  position: relative;
  width: 100%;
  padding: 10px 0 60px 0; /* Small top padding, then space below */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--background);
}

.page-support__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-support__hero-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1, no fixed huge size */
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slight hover effect */
}

.page-support__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

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

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

.page-support__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-support__card-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-support__card-title {
  color: var(--glow);
  margin-bottom: 15px;
  font-size: 1.5em;
  font-weight: 600;
}

.page-support__card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

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

.page-support__faq-item details > summary {
  list-style: none; /* Remove default marker */
}

.page-support__faq-item details > summary::-webkit-details-marker {
  display: none; /* For WebKit browsers */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--text-main);
  background-color: var(--deep-green);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #0A4B2C; /* Keep same or slightly darker on hover */
}

.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); /* Change + to X visually */
}

.page-support__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: var(--text-secondary);
}

.page-support__faq-item[open] .page-support__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-support__policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-support__policy-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__policy-link:hover {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-support__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-support__section,
  .page-support__hero-content,
  .page-support__card,
  .page-support__faq-item,
  .page-support__policy-link,
  .page-support__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-support__cta-button {
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__hero-title {
    font-size: 2em !important;
  }

  .page-support__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px;
  }

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

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

  .page-support__button-group {
    flex-direction: column;
    align-items: center;
  }
}