/* style/app-download-ios.css */
.page-app-download-ios {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light text on dark background for general content */
  background-color: #0F1A2B; /* Main dark background */
  line-height: 1.6;
}

.page-app-download-ios__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-app-download-ios__container--center {
  text-align: center;
}

.page-app-download-ios__hero-section {
  background: linear-gradient(135deg, #0F1A2B, #2C3E50);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-app-download-ios__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-app-download-ios__hero-section > div {
  position: relative;
  z-index: 1;
}

.page-app-download-ios__main-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-app-download-ios__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-app-download-ios__download-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-app-download-ios__qr-code-wrapper {
  background-color: #FFFFFF;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-app-download-ios__qr-code {
  width: 180px;
  height: 180px;
  display: block;
}

.page-app-download-ios__qr-text {
  margin-top: 10px;
  font-size: 0.9em;
  color: #333;
}

.page-app-download-ios__button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-app-download-ios__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0F1A2B; /* Dark text on light button */
}

.page-app-download-ios__button--primary:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
}

.page-app-download-ios__button--secondary {
  background-color: #0F1A2B; /* Main dark color */
  color: #FFD700; /* Light text on dark button */
  border: 2px solid #FFD700;
}

.page-app-download-ios__button--secondary:hover {
  background-color: #1a2c42;
  transform: translateY(-2px);
}

.page-app-download-ios__button-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: invert(0);
}

.page-app-download-ios__button--secondary .page-app-download-ios__button-icon {
  filter: invert(1) brightness(1.5); /* Make icon gold on dark background */
}

.page-app-download-ios__button--large {
  padding: 20px 40px;
  font-size: 1.3em;
}

.page-app-download-ios__section {
  padding: 60px 0;
}

.page-app-download-ios__section:nth-of-type(even) {
  background-color: #1A273A; /* Slightly lighter dark background for contrast */
}

.page-app-download-ios__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.page-app-download-ios__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-app-download-ios__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #C0C0C0;
}

.page-app-download-ios__features-grid,
.page-app-download-ios__steps-grid,
.page-app-download-ios__security-features,
.page-app-download-ios__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-app-download-ios__feature-item,
.page-app-download-ios__step-item,
.page-app-download-ios__security-item,
.page-app-download-ios__feature-detail {
  background-color: #1A273A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-app-download-ios__feature-item:hover,
.page-app-download-ios__step-item:hover,
.page-app-download-ios__security-item:hover,
.page-app-download-ios__feature-detail:hover {
  transform: translateY(-5px);
  background-color: #2C3E50;
}

.page-app-download-ios__feature-icon,
.page-app-download-ios__security-icon,
.page-app-download-ios__feature-detail-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(1) sepia(1) saturate(5) hue-rotate(30deg) brightness(1.5); /* Gold tint for icons */
}

.page-app-download-ios__feature-title,
.page-app-download-ios__security-title,
.page-app-download-ios__feature-detail-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-app-download-ios__feature-text,
.page-app-download-ios__security-text,
.page-app-download-ios__feature-detail-text {
  font-size: 1em;
  color: #C0C0C0;
}

.page-app-download-ios__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #0F1A2B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

.page-app-download-ios__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-app-download-ios__step-text {
  font-size: 1em;
  color: #C0C0C0;
  margin-bottom: 20px;
}

.page-app-download-ios__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-app-download-ios__cta-bottom,
.page-app-download-ios__cta-middle {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 215, 0, 0.2); /* Faint gold border */
}

.page-app-download-ios__cta-bottom p,
.page-app-download-ios__cta-middle p {
  font-size: 1.2em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-app-download-ios__faq-item {
  background-color: #1A273A;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-app-download-ios__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-app-download-ios__faq-question::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-app-download-ios__faq-question.active::after {
  transform: rotate(45deg);
}

.page-app-download-ios__faq-answer {
  font-size: 1em;
  color: #C0C0C0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-app-download-ios__faq-answer.active {
  max-height: 200px; /* Adjust as needed, will be dynamic by JS */
  padding-top: 10px;
}

.page-app-download-ios__section--cta-final {
  background-color: #0F1A2B;
  padding: 80px 0;
}

.page-app-download-ios__section--cta-final .page-app-download-ios__section-title {
  color: #FFD700;
}

.page-app-download-ios__section--cta-final .page-app-download-ios__section-description {
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-app-download-ios__small-text {
  font-size: 0.9em;
  margin-top: 30px;
  color: #C0C0C0;
}

.page-app-download-ios__contact-link {
  color: #FFD700;
  text-decoration: underline;
}

.page-app-download-ios__contact-link:hover {
  color: #E6C200;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-app-download-ios__main-title {
    font-size: 2em;
  }

  .page-app-download-ios__intro-text {
    font-size: 1em;
  }

  .page-app-download-ios__download-cta {
    flex-direction: column;
    gap: 20px;
  }

  .page-app-download-ios__button-group {
    width: 100%;
  }

  .page-app-download-ios__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-app-download-ios__qr-code {
    width: 150px;
    height: 150px;
  }

  .page-app-download-ios__section-title {
    font-size: 1.8em;
  }

  .page-app-download-ios__section-description {
    font-size: 0.95em;
  }

  .page-app-download-ios__features-grid,
  .page-app-download-ios__steps-grid,
  .page-app-download-ios__security-features,
  .page-app-download-ios__features-list {
    grid-template-columns: 1fr;
  }

  .page-app-download-ios__feature-title,
  .page-app-download-ios__security-title,
  .page-app-download-ios__feature-detail-title,
  .page-app-download-ios__step-title {
    font-size: 1.3em;
  }
}