/* style/resources-download-app-guide.css */
.page-resources-download-app-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

.page-resources-download-app-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-download-app-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 40px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background-color: #26A9E0; /* Brand primary color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-download-app-guide__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  max-width: 800px;
  height: auto;
  z-index: 1;
  opacity: 0.8;
}

.page-resources-download-app-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  transform: translateX(20%); /* Slightly offset for visual appeal */
}

.page-resources-download-app-guide__hero-section .page-resources-download-app-guide__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: left;
  align-self: flex-start;
}

.page-resources-download-app-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-download-app-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-download-app-guide__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  margin-top: 30px;
}

.page-resources-download-app-guide__btn-primary,
.page-resources-download-app-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-download-app-guide__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-download-app-guide__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

.page-resources-download-app-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-download-app-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Content Area */
.page-resources-download-app-guide__content-area {
  padding: 60px 0;
}

.page-resources-download-app-guide__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-download-app-guide__light-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources-download-app-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-resources-download-app-guide__dark-bg .page-resources-download-app-guide__section-title {
  color: #26A9E0;
}

.page-resources-download-app-guide__light-bg .page-resources-download-app-guide__section-title {
  color: #26A9E0;
}

.page-resources-download-app-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-resources-download-app-guide__benefit-list,
.page-resources-download-app-guide__step-list,
.page-resources-download-app-guide__feature-list,
.page-resources-download-app-guide__safety-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-download-app-guide__benefit-item,
.page-resources-download-app-guide__feature-item,
.page-resources-download-app-guide__safety-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-download-app-guide__benefit-title,
.page-resources-download-app-guide__feature-title,
.page-resources-download-app-guide__safety-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-download-app-guide__download-guide {
  margin-bottom: 50px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-download-app-guide__sub-section-title {
  font-size: 2em;
  margin-bottom: 25px;
  color: #26A9E0;
  text-align: center;
}

.page-resources-download-app-guide__sub-sub-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-download-app-guide__step-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #f0f0f0;
  display: block; /* Override grid for ordered list */
}

.page-resources-download-app-guide__step-item {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-download-app-guide__step-item strong {
  color: #26A9E0;
}

.page-resources-download-app-guide__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-download-app-guide__section-break {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  margin: 60px 0;
}

/* FAQ Section */
.page-resources-download-app-guide__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-download-app-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-download-app-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-download-app-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-download-app-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-download-app-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-resources-download-app-guide__faq-item.active .page-resources-download-app-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-download-app-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-download-app-guide__faq-item.active .page-resources-download-app-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

.page-resources-download-app-guide__faq-answer .page-resources-download-app-guide__paragraph {
  margin-bottom: 0;
}

/* CTA Section */
.page-resources-download-app-guide__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources-download-app-guide__cta-section .page-resources-download-app-guide__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-download-app-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-download-app-guide__hero-image-wrapper {
    width: 60%;
    transform: translateX(10%);
  }
  .page-resources-download-app-guide__hero-section .page-resources-download-app-guide__container {
    max-width: 600px;
  }
  .page-resources-download-app-guide__section-title {
    font-size: 2em;
  }
  .page-resources-download-app-guide__sub-section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-download-app-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-download-app-guide__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    padding-bottom: 20px;
  }
  .page-resources-download-app-guide__hero-image-wrapper {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 30px;
    opacity: 1;
  }
  .page-resources-download-app-guide__hero-section .page-resources-download-app-guide__container {
    text-align: center;
    align-self: center;
    padding: 0 15px;
  }
  .page-resources-download-app-guide__hero-title {
    font-size: 2em;
  }
  .page-resources-download-app-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-download-app-guide__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-resources-download-app-guide__btn-primary,
  .page-resources-download-app-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
  }
  .page-resources-download-app-guide__content-area {
    padding: 40px 0;
  }
  .page-resources-download-app-guide__container {
    padding: 0 15px;
  }
  .page-resources-download-app-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-resources-download-app-guide__sub-section-title {
    font-size: 1.5em;
  }
  .page-resources-download-app-guide__benefit-list,
  .page-resources-download-app-guide__feature-list,
  .page-resources-download-app-guide__safety-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-download-app-guide__benefit-item,
  .page-resources-download-app-guide__feature-item,
  .page-resources-download-app-guide__safety-item,
  .page-resources-download-app-guide__download-guide {
    padding: 20px;
  }
  .page-resources-download-app-guide__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-download-app-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-download-app-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-download-app-guide__faq-item.active .page-resources-download-app-guide__faq-answer {
    padding: 10px 20px 20px;
  }
  /* Content section, div, card containers */
  .page-resources-download-app-guide__section,
  .page-resources-download-app-guide__card,
  .page-resources-download-app-guide__container,
  .page-resources-download-app-guide__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-resources-download-app-guide__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-resources-download-app-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-download-app-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-download-app-guide__sub-section-title {
    font-size: 1.3em;
  }
  .page-resources-download-app-guide__benefit-title,
  .page-resources-download-app-guide__feature-title,
  .page-resources-download-app-guide__safety-title {
    font-size: 1.3em;
  }
}