.page-download-ios-guide {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8;
}

.page-download-ios-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F;
  color: #F2FFF6;
  overflow: hidden;
}

.page-download-ios-guide__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-download-ios-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-download-ios-guide__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-download-ios-guide__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
}

.page-download-ios-guide__subtitle {
  font-size: clamp(1em, 1.5vw, 1.2em);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-download-ios-guide__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download-ios-guide__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-download-ios-guide__cta-button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-download-ios-guide__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page-download-ios-guide__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #11A84E; /* Main brand color */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-download-ios-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #22C768; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-download-ios-guide__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-download-ios-guide__highlight {
  color: #11A84E;
  font-weight: 600;
}

.page-download-ios-guide__text-link {
  color: #11A84E;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-download-ios-guide__text-link:hover {
  color: #22C768;
}

.page-download-ios-guide__download-steps .page-download-ios-guide__section-title,
.page-download-ios-guide__benefits .page-download-ios-guide__section-title,
.page-download-ios-guide__troubleshooting .page-download-ios-guide__section-title,
.page-download-ios-guide__faq .page-download-ios-guide__section-title,
.page-download-ios-guide__cta-final .page-download-ios-guide__section-title {
  color: #11A84E;
}

.page-download-ios-guide__step-cards,
.page-download-ios-guide__benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.page-download-ios-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-download-ios-guide__step-image,
.page-download-ios-guide__benefit-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: contain; /* Use contain to show full image, not crop */
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #0A4B2C; /* Deep Green for image background */
  padding: 15px;
}

.page-download-ios-guide__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold color for card titles */
}

.page-download-ios-guide__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary color */
}

.page-download-ios-guide__trouble-list {
  list-style: disc inside;
  margin-left: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
}

.page-download-ios-guide__trouble-list strong {
  color: #11A84E;
}

.page-download-ios-guide__list-item {
  margin-bottom: 10px;
}

.page-download-ios-guide__faq-list {
  margin-top: 30px;
}

.page-download-ios-guide__faq-item {
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  background-color: #11271B; /* Card BG color */
  color: #F2FFF6; /* Text Main color */
  overflow: hidden;
}

.page-download-ios-guide__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  color: #F2C14E; /* Gold color for FAQ questions */
  transition: background-color 0.3s ease;
}

.page-download-ios-guide__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-download-ios-guide__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

.page-download-ios-guide__faq-qtext {
  flex-grow: 1;
}

.page-download-ios-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Button gradient start color */
}

.page-download-ios-guide__faq-item[open] .page-download-ios-guide__faq-toggle {
  content: '−';
}

.page-download-ios-guide__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary color */
}

.page-download-ios-guide__center-button {
  text-align: center;
  margin-top: 40px;
}

.page-download-ios-guide__cta-button--final {
  margin-top: 20px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-download-ios-guide__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-download-ios-guide__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-download-ios-guide__subtitle {
    font-size: clamp(0.9em, 3vw, 1.1em);
  }

  .page-download-ios-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-download-ios-guide__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-download-ios-guide__section {
    margin: 20px auto;
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-download-ios-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-download-ios-guide__text-block,
  .page-download-ios-guide__card-text,
  .page-download-ios-guide__trouble-list,
  .page-download-ios-guide__faq-answer {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .page-download-ios-guide__step-cards,
  .page-download-ios-guide__benefit-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-download-ios-guide__card {
    padding: 20px;
  }

  .page-download-ios-guide__step-image,
  .page-download-ios-guide__benefit-image {
    height: 200px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-download-ios-guide__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Ensure all images are responsive */
  .page-download-ios-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers */
  .page-download-ios-guide__hero-image-wrapper,
  .page-download-ios-guide__step-item,
  .page-download-ios-guide__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Button responsive styles */
  .page-download-ios-guide__cta-button,
  .page-download-ios-guide__btn-primary,
  .page-download-ios-guide__btn-secondary,
  .page-download-ios-guide a[class*="button"],
  .page-download-ios-guide a[class*="btn"] {
    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;
  }

  /* Button container responsive styles */
  .page-download-ios-guide__center-button,
  .page-download-ios-guide__cta-buttons,
  .page-download-ios-guide__button-group,
  .page-download-ios-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-download-ios-guide__center-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}