/* style/index-mobile-app-guide.css */

/* Variables from custom palette */
:root {
  --page-index-mobile-app-guide--primary-color: #113B7A;
  --page-index-mobile-app-guide--secondary-color: #1D5FD1;
  --page-index-mobile-app-guide--button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --page-index-mobile-app-guide--card-bg: #10233F;
  --page-index-mobile-app-guide--text-main: #F3F8FF;
  --page-index-mobile-app-guide--text-secondary: #AFC4E8;
  --page-index-mobile-app-guide--border-color: #244D84;
  --page-index-mobile-app-guide--glow-color: #4FA8FF;
  --page-index-mobile-app-guide--gold-color: #F2C14E;
  --page-index-mobile-app-guide--divider-color: #1B3357;
  --page-index-mobile-app-guide--deep-navy: #08162B; /* Body background from shared.css */
}

/* General page styling */
.page-index-mobile-app-guide {
  color: var(--page-index-mobile-app-guide--text-main); /* Light text for dark body background */
  background-color: var(--page-index-mobile-app-guide--deep-navy);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-index-mobile-app-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-mobile-app-guide__dark-bg {
  background-color: var(--page-index-mobile-app-guide--deep-navy);
  color: var(--page-index-mobile-app-guide--text-main);
}

.page-index-mobile-app-guide__light-bg {
  background-color: var(--page-index-mobile-app-guide--primary-color);
  color: var(--page-index-mobile-app-guide--text-main);
}

.page-index-mobile-app-guide__heading {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--page-index-mobile-app-guide--gold-color);
}

.page-index-mobile-app-guide__subheading {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--page-index-mobile-app-guide--text-main);
}

.page-index-mobile-app-guide__text-block {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-index-mobile-app-guide--text-secondary);
}

.page-index-mobile-app-guide__image, .page-index-mobile-app-guide__video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-index-mobile-app-guide__video-caption {
  font-style: italic;
  color: var(--page-index-mobile-app-guide--text-secondary);
  margin-top: -20px;
  margin-bottom: 40px;
}

/* Hero Section */
.page-index-mobile-app-guide__hero-section {
  position: relative;
  padding: 10px 0 60px 0; /* body already handles header offset, small decorative padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  overflow: hidden;
}

.page-index-mobile-app-guide__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-index-mobile-app-guide__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  min-height: 200px;
}

.page-index-mobile-app-guide__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-index-mobile-app-guide__main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--page-index-mobile-app-guide--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-mobile-app-guide__description {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--page-index-mobile-app-guide--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-mobile-app-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-mobile-app-guide__btn-primary,
.page-index-mobile-app-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-mobile-app-guide__btn-primary {
  background: var(--page-index-mobile-app-guide--button-gradient);
  color: #ffffff;
  border: none;
}

.page-index-mobile-app-guide__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.page-index-mobile-app-guide__btn-secondary {
  background-color: transparent;
  color: var(--page-index-mobile-app-guide--gold-color);
  border: 2px solid var(--page-index-mobile-app-guide--gold-color);
}

.page-index-mobile-app-guide__btn-secondary:hover {
  background-color: var(--page-index-mobile-app-guide--gold-color);
  color: var(--page-index-mobile-app-guide--deep-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-index-mobile-app-guide__intro-section .page-index-mobile-app-guide__image {
  max-width: 800px;
}

/* Benefits Section */
.page-index-mobile-app-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-mobile-app-guide__card {
  background-color: var(--page-index-mobile-app-guide--card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--page-index-mobile-app-guide--border-color);
  color: var(--page-index-mobile-app-guide--text-main);
  min-height: 200px; /* Ensure card has some height for text */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.page-index-mobile-app-guide__card:hover {
  transform: translateY(-5px);
}

.page-index-mobile-app-guide__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-index-mobile-app-guide--gold-color);
}

.page-index-mobile-app-guide__card-text {
  font-size: 1rem;
  color: var(--page-index-mobile-app-guide--text-secondary);
}

/* Download Guide */
.page-index-mobile-app-guide__subsection {
  margin-bottom: 40px;
  text-align: left;
}

.page-index-mobile-app-guide__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--page-index-mobile-app-guide--text-secondary);
  font-size: 1.05rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-mobile-app-guide__list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-index-mobile-app-guide__list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  color: var(--page-index-mobile-app-guide--gold-color);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 0;
}

.page-index-mobile-app-guide__cta-center {
  margin-top: 40px;
  text-align: center;
}

/* Video Section */
.page-index-mobile-app-guide__experience-section .page-index-mobile-app-guide__video {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid var(--page-index-mobile-app-guide--border-color);
}

/* Promotions Section */
.page-index-mobile-app-guide__promotions-list {
  list-style-type: disc;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
}

.page-index-mobile-app-guide__promotions-list li {
  margin-bottom: 10px;
  color: var(--page-index-mobile-app-guide--text-secondary);
}

.page-index-mobile-app-guide__promotions-list li strong {
  color: var(--page-index-mobile-app-guide--text-main);
}

/* Support Section */
.page-index-mobile-app-guide__support-section .page-index-mobile-app-guide__image {
  max-width: 800px;
}

/* FAQ Section */
.page-index-mobile-app-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-mobile-app-guide__faq-item {
  background-color: var(--page-index-mobile-app-guide--card-bg);
  border: 1px solid var(--page-index-mobile-app-guide--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-mobile-app-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--page-index-mobile-app-guide--text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-index-mobile-app-guide__faq-question::-webkit-details-marker {
  display: none; /* For details summary */
}

.page-index-mobile-app-guide__faq-question:hover {
  background-color: rgba(29, 95, 209, 0.1);
}

.page-index-mobile-app-guide__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--page-index-mobile-app-guide--gold-color);
  line-height: 1;
  margin-left: 15px;
}

.page-index-mobile-app-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--page-index-mobile-app-guide--text-secondary);
  line-height: 1.7;
}

/* Final CTA Section */
.page-index-mobile-app-guide__final-cta-section {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-mobile-app-guide__hero-content {
    margin-top: 20px;
  }
  .page-index-mobile-app-guide__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }
  .page-index-mobile-app-guide__description {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
  }
  .page-index-mobile-app-guide__heading {
    font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  }
  .page-index-mobile-app-guide__subheading {
    font-size: clamp(1.2rem, 1.8vw, 2rem);
  }
}

@media (max-width: 768px) {
  .page-index-mobile-app-guide__section {
    padding: 40px 0;
  }
  .page-index-mobile-app-guide__hero-section {
    min-height: 600px;
    padding-top: 10px !important; /* body already handles header offset */
    padding-bottom: 40px;
  }
  .page-index-mobile-app-guide__hero-content {
    margin-top: 20px;
  }
  .page-index-mobile-app-guide__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-index-mobile-app-guide__description {
    font-size: 1rem;
  }
  .page-index-mobile-app-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-index-mobile-app-guide__btn-primary,
  .page-index-mobile-app-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-index-mobile-app-guide__grid {
    grid-template-columns: 1fr;
  }
  .page-index-mobile-app-guide__card {
    padding: 25px;
  }
  .page-index-mobile-app-guide__card-title {
    font-size: 1.3rem;
  }
  .page-index-mobile-app-guide__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }
  .page-index-mobile-app-guide__list {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-mobile-app-guide__list li {
    padding-left: 25px;
  }
  .page-index-mobile-app-guide__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-index-mobile-app-guide__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-index-mobile-app-guide img,
  .page-index-mobile-app-guide video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
    min-height: unset;
  }
  .page-index-mobile-app-guide__container,
  .page-index-mobile-app-guide__hero-section,
  .page-index-mobile-app-guide__section,
  .page-index-mobile-app-guide__card,
  .page-index-mobile-app-guide__cta-buttons,
  .page-index-mobile-app-guide__faq-list,
  .page-index-mobile-app-guide__video-section,
  .page-index-mobile-app-guide__video-container,
  .page-index-mobile-app-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-mobile-app-guide__hero-image-wrapper {
    padding: 0;
    margin-bottom: 20px;
  }
  .page-index-mobile-app-guide__hero-image {
    width: 100%;
  }
}