/* style/download-ios-guide.css */
.page-download-ios-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Defaults to #F2FFF6 for dark background */
  background-color: var(--background-color); /* #08160F */
}

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

.page-download-ios-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 10px 0 60px; /* Small top padding, body handles header offset */
  background: var(--background-color); /* #08160F */
  min-height: 600px;
}

.page-download-ios-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and text */
}

.page-download-ios-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure image meets minimum size */
  min-height: 200px;
}

.page-download-ios-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-download-ios-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--text-main-color); /* #F2FFF6 */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-download-ios-guide__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--text-secondary-color); /* #A7D9B8 */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-download-ios-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-download-ios-guide__btn-primary,
.page-download-ios-guide__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-download-ios-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main-color); /* #F2FFF6 */
  border: 2px solid transparent;
}

.page-download-ios-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-download-ios-guide__btn-secondary {
  background-color: transparent;
  color: var(--gold-color); /* #F2C14E */
  border: 2px solid var(--gold-color); /* #F2C14E */
}

.page-download-ios-guide__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-color); /* #08160F */
  transform: translateY(-2px);
}

.page-download-ios-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main-color); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-download-ios-guide__introduction,
.page-download-ios-guide__features-overview,
.page-download-ios-guide__faq-section {
  padding: 60px 0;
  background-color: var(--background-color); /* #08160F */
  color: var(--text-main-color);
}

.page-download-ios-guide__download-steps,
.page-download-ios-guide__security-info,
.page-download-ios-guide__call-to-action {
  padding: 60px 0;
  background-color: var(--card-bg-color); /* #11271B */
  color: var(--text-main-color);
}

.page-download-ios-guide__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary-color); /* #A7D9B8 */
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-ios-guide__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-download-ios-guide__feature-item {
  text-align: center;
  background-color: var(--card-bg-color); /* #11271B */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.page-download-ios-guide__feature-title {
  font-size: 1.5rem;
  color: var(--text-main-color); /* #F2FFF6 */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download-ios-guide__feature-item p {
  font-size: 1rem;
  color: var(--text-secondary-color); /* #A7D9B8 */
  line-height: 1.6;
}

.page-download-ios-guide__step-item {
  background-color: var(--background-color); /* #08160F */
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-download-ios-guide__step-title {
  font-size: 1.8rem;
  color: var(--gold-color); /* #F2C14E */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-download-ios-guide__step-item p {
  font-size: 1.1rem;
  color: var(--text-secondary-color); /* #A7D9B8 */
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 800px;
}

.page-download-ios-guide__step-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  margin-top: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-download-ios-guide__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: var(--background-color); /* #08160F */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-download-ios-guide__cta-text {
  font-size: 1.4rem;
  color: var(--text-main-color); /* #F2FFF6 */
  margin-bottom: 30px;
  font-weight: 600;
}

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

.page-download-ios-guide__card {
  background-color: var(--card-bg-color); /* #11271B */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download-ios-guide__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-download-ios-guide__card-title {
  font-size: 1.6rem;
  color: var(--text-main-color); /* #F2FFF6 */
  margin-bottom: 15px;
  font-weight: 600;
  padding: 0 20px;
}

.page-download-ios-guide__card p {
  font-size: 1rem;
  color: var(--text-secondary-color); /* #A7D9B8 */
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-download-ios-guide__card-link {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main-color); /* #F2FFF6 */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.page-download-ios-guide__card-link:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-download-ios-guide__security-item {
  background-color: var(--background-color); /* #08160F */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-download-ios-guide__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-download-ios-guide__security-title {
  font-size: 1.4rem;
  color: var(--gold-color); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download-ios-guide__security-item p {
  font-size: 1rem;
  color: var(--text-secondary-color); /* #A7D9B8 */
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-download-ios-guide__security-link {
  color: var(--glow-color); /* #57E38D */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-download-ios-guide__security-link:hover {
  text-decoration: underline;
  color: var(--gold-color);
}

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

.page-download-ios-guide__faq-item {
  background-color: var(--card-bg-color); /* #11271B */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-download-ios-guide__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main-color); /* #F2FFF6 */
  cursor: pointer;
  list-style: none;
  outline: none;
  background-color: var(--deep-green-color); /* #0A4B2C */
  border-bottom: 1px solid var(--divider-color); /* #1E3A2A */
}

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

.page-download-ios-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-download-ios-guide__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-download-ios-guide__faq-item[open] .page-download-ios-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-download-ios-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary-color); /* #A7D9B8 */
  background-color: var(--card-bg-color); /* #11271B */
}

.page-download-ios-guide__call-to-action {
  text-align: center;
  padding: 80px 20px;
}

.page-download-ios-guide__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Color Palette Variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download-ios-guide__hero-section {
    padding-bottom: 40px;
  }
  .page-download-ios-guide__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-download-ios-guide__subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
  .page-download-ios-guide__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .page-download-ios-guide__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-download-ios-guide__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-download-ios-guide__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    min-height: 500px;
  }
  .page-download-ios-guide__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-download-ios-guide__hero-content {
    padding: 0 15px;
  }
  .page-download-ios-guide__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-download-ios-guide__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 20px;
  }
  .page-download-ios-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-download-ios-guide__btn-primary,
  .page-download-ios-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-download-ios-guide__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }
  .page-download-ios-guide__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-download-ios-guide__introduction,
  .page-download-ios-guide__download-steps,
  .page-download-ios-guide__features-overview,
  .page-download-ios-guide__security-info,
  .page-download-ios-guide__faq-section,
  .page-download-ios-guide__call-to-action {
    padding: 40px 0;
  }
  .page-download-ios-guide__feature-list {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-download-ios-guide__feature-item {
    padding: 25px;
  }
  .page-download-ios-guide__feature-icon {
    width: 60px;
    height: 60px;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-download-ios-guide__feature-title {
    font-size: 1.3rem;
  }
  .page-download-ios-guide__step-item {
    padding: 30px 15px;
    margin: 0 15px 20px;
  }
  .page-download-ios-guide__step-title {
    font-size: 1.5rem;
  }
  .page-download-ios-guide__step-item p {
    font-size: 0.95rem;
  }
  .page-download-ios-guide__step-image {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-download-ios-guide__cta-block {
    padding: 30px 15px;
    margin: 30px 15px 0;
  }
  .page-download-ios-guide__cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .page-download-ios-guide__feature-cards {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-download-ios-guide__card {
    padding-bottom: 20px;
  }
  .page-download-ios-guide__card-image {
    height: 180px;
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-download-ios-guide__card-title {
    font-size: 1.4rem;
  }
  .page-download-ios-guide__security-features {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-download-ios-guide__security-item {
    padding: 25px;
  }
  .page-download-ios-guide__security-icon {
    width: 60px;
    height: 60px;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-download-ios-guide__security-title {
    font-size: 1.3rem;
  }
  .page-download-ios-guide__faq-list {
    padding: 0 15px;
  }
  .page-download-ios-guide__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-download-ios-guide__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .page-download-ios-guide__btn-large {
    font-size: 1.1rem !important;
    padding: 15px 30px !important;
  }
  /* Ensure all images and their containers are responsive */
  .page-download-ios-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-download-ios-guide__section,
  .page-download-ios-guide__card,
  .page-download-ios-guide__container,
  .page-download-ios-guide__hero-image-wrapper,
  .page-download-ios-guide__step-item,
  .page-download-ios-guide__cta-block,
  .page-download-ios-guide__feature-list,
  .page-download-ios-guide__feature-cards,
  .page-download-ios-guide__security-features,
  .page-download-ios-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-download-ios-guide__hero-section {
    min-height: 400px;
  }
  .page-download-ios-guide__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-download-ios-guide__subtitle {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }
  .page-download-ios-guide__btn-primary,
  .page-download-ios-guide__btn-secondary {
    font-size: 0.9rem !important;
    padding: 10px 15px !important;
  }
  .page-download-ios-guide__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-download-ios-guide__feature-item {
    padding: 20px;
  }
  .page-download-ios-guide__step-title {
    font-size: 1.3rem;
  }
  .page-download-ios-guide__cta-text {
    font-size: 1rem;
  }
  .page-download-ios-guide__card-title {
    font-size: 1.2rem;
  }
  .page-download-ios-guide__security-title {
    font-size: 1.1rem;
  }
  .page-download-ios-guide__faq-item summary {
    font-size: 1rem;
  }
  .page-download-ios-guide__btn-large {
    font-size: 1rem !important;
    padding: 12px 25px !important;
  }
}