/* style/xs.css */

/* Body background is #08160F (dark), so default text color should be light */
.page-xs {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-xs__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for hero section */
  padding-bottom: 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-xs__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-xs__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10; /* Ensure content is above the dimmed image */
}

.page-xs__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-xs__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-xs__section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-xs__dark-section {
  background-color: #11271B; /* Card BG */
}

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

.page-xs__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-xs__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-xs__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-xs__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-xs__btn-primary,
.page-xs__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-xs__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

.page-xs__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-xs__btn-secondary {
  background-color: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-xs__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Deep Green with opacity */
  color: #57E38D; /* Glow */
  border-color: #57E38D; /* Glow */
}

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

.page-xs__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
}

.page-xs__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.3); /* Glow */
}

.page-xs__card-title {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-xs__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-xs__numbered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-xs__numbered-list li {
  background-color: #11271B; /* Card BG */
  border-left: 5px solid #57E38D; /* Glow */
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6; /* Text Main */
}

.page-xs__list-item-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-xs__numbered-list p {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 0;
}

.page-xs__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-xs__bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-xs__bullet-list li::before {
  content: '★'; /* Star icon */
  position: absolute;
  left: 0;
  color: #F2C14E; /* Gold */
  font-size: 1.2em;
  line-height: 1;
}

.page-xs__faq-list {
  margin-top: 40px;
}

.page-xs__faq-item {
  background-color: #08160F; /* Background */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-xs__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-xs__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-xs__faq-qtext {
  flex-grow: 1;
}

.page-xs__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-xs__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  background-color: #08160F; /* Background */
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-xs__section-title {
    font-size: 2em;
  }
  .page-xs__hero-content {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .page-xs {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-xs__hero-section {
    padding-bottom: 20px;
  }
  .page-xs__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    width: 100%;
    max-width: 100%;
    background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent dark background for text readability */
  }
  .page-xs__hero-image-wrapper {
    order: -1; /* Image appears above content on mobile */
  }
  .page-xs__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-xs__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-xs__section {
    padding: 40px 15px;
  }
  .page-xs__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-xs__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-xs__text-block {
    font-size: 1em;
  }
  .page-xs__btn-primary,
  .page-xs__btn-secondary {
    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-xs__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-xs__grid-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-xs__card {
    padding: 25px;
  }
  .page-xs__card-title {
    font-size: 1.3em;
  }
  .page-xs__numbered-list li,
  .page-xs__bullet-list li {
    font-size: 1em;
  }
  .page-xs__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-xs__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Mobile image responsiveness */
  .page-xs img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-xs__section,
  .page-xs__card,
  .page-xs__container,
  .page-xs__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by .page-xs__container */
    /* padding-right: 15px; */ /* Handled by .page-xs__container */
  }
  .page-xs__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}