/* style/download-ios-guide.css */

/* Base styles for the page */
.page-download-ios-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background: #08160F; /* Background */
}

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

.page-download-ios-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-download-ios-guide__dark-bg {
  background: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-download-ios-guide__light-bg {
  background: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-download-ios-guide__heading {
  font-size: 2.5em;
  color: #57E38D; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-download-ios-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-download-ios-guide__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit hero image height */
  overflow: hidden;
  position: relative;
}

.page-download-ios-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-download-ios-guide__hero-content {
  position: relative; /* Ensure content is below image in normal flow */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to slightly overlap the image for visual effect */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.9) 0%, rgba(8, 22, 15, 1) 50%);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

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

.page-download-ios-guide__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-ios-guide__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-download-ios-guide__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

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

/* Why Choose Us Section */
.page-download-ios-guide__why-choose-us .page-download-ios-guide__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-download-ios-guide__feature-item {
  background: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download-ios-guide__feature-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-download-ios-guide__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-download-ios-guide__feature-description {
  color: #A7D9B8; /* Text Secondary */
}

/* Installation Guide Section */
.page-download-ios-guide__installation-guide {
  background: #11271B; /* Card BG */
}

.page-download-ios-guide__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.page-download-ios-guide__step-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-download-ios-guide__step-item:nth-child(even) {
  align-items: flex-end;
  text-align: right;
}

.page-download-ios-guide__step-title {
  font-size: 1.8em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-download-ios-guide__step-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  max-width: 700px;
}

.page-download-ios-guide__step-item:nth-child(even) .page-download-ios-guide__step-description {
  margin-left: auto;
}

.page-download-ios-guide__step-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

/* Key Features Section */
.page-download-ios-guide__key-features .page-download-ios-guide__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-ios-guide__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-ios-guide__feature-list li {
  background: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #F2FFF6; /* Text Main */
  border-left: 5px solid #2AD16F;
}

.page-download-ios-guide__feature-list li strong {
  color: #F2C14E; /* Gold */
}

/* Troubleshooting / FAQ Section */
.page-download-ios-guide__troubleshooting {
  background: #08160F; /* Background */
}

.page-download-ios-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-download-ios-guide__faq-item {
  background: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E; /* Border */
}

.page-download-ios-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background: #11271B; /* Card BG */
  user-select: none;
  transition: background-color 0.3s ease;
}

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

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

.page-download-ios-guide__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

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

.page-download-ios-guide__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  overflow: hidden;
  /* For details tag, browser handles show/hide */
}

.page-download-ios-guide__faq-answer p {
  margin-bottom: 0;
}

/* Security & Safety Section */
.page-download-ios-guide__security-safety .page-download-ios-guide__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-ios-guide__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  margin-top: 30px;
}

/* User Experience Section */
.page-download-ios-guide__user-experience {
  background: #11271B; /* Card BG */
}

.page-download-ios-guide__user-experience .page-download-ios-guide__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-ios-guide__ux-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  margin-top: 30px;
}

/* Final CTA Section */
.page-download-ios-guide__cta-final {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-download-ios-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-download-ios-guide__container {
    padding: 0 15px;
  }

  .page-download-ios-guide__section {
    padding: 40px 0;
  }

  .page-download-ios-guide__heading {
    font-size: 2em;
  }

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

  .page-download-ios-guide__description {
    font-size: 1em;
  }

  .page-download-ios-guide__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

  /* Image responsiveness */
  .page-download-ios-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image/Video containers responsiveness */
  .page-download-ios-guide__hero-image-wrapper,
  .page-download-ios-guide__step-image,
  .page-download-ios-guide__security-image,
  .page-download-ios-guide__ux-image,
  .page-download-ios-guide__feature-icon,
  .page-download-ios-guide__video-container,
  .page-download-ios-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .page-download-ios-guide__cta-button,
  .page-download-ios-guide__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-download-ios-guide__features-grid {
    grid-template-columns: 1fr;
  }

  .page-download-ios-guide__feature-item:nth-child(even) {
    align-items: center;
    text-align: center;
  }

  .page-download-ios-guide__step-item:nth-child(even) {
    align-items: flex-start;
    text-align: left;
  }

  .page-download-ios-guide__step-item:nth-child(even) .page-download-ios-guide__step-description {
    margin-left: 0;
  }

  .page-download-ios-guide__faq-question {
    font-size: 1.1em;
  }

  .page-download-ios-guide__faq-toggle {
    font-size: 1.3em;
  }
}