/* style/app-download-ios.css */
.page-app-download-ios {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #000080; /* Navy Blue for general text on light backgrounds */
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

/* Hero Section */
.page-app-download-ios__hero {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #000080 100%); /* Gold to Orange to Navy Blue */
  color: #FFFFFF; /* White text on dark/gradient background */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-app-download-ios__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-app-download-ios__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-app-download-ios__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-app-download-ios__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-app-download-ios__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Navy Blue text on Gold */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios__btn--primary:hover {
  background-color: #e6c200; /* Darker Gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-app-download-ios__btn--secondary {
  background-color: #000080; /* Navy Blue */
  color: #FFD700; /* Gold text on Navy Blue */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios__btn--secondary:hover {
  background-color: #000066; /* Darker Navy Blue */
  border-color: #e6c200; /* Darker Gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-app-download-ios__hero-image-wrapper {
    max-width: 400px;
    margin: 40px auto 0;
}

.page-app-download-ios__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-app-download-ios__section {
  padding: 60px 0;
  text-align: center;
}

.page-app-download-ios__section:nth-child(even) {
  background-color: #ffffff;
}

.page-app-download-ios__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000080; /* Navy Blue */
  font-weight: 700;
}

.page-app-download-ios__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #333333;
}

/* Features Section */
.page-app-download-ios__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-app-download-ios__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-app-download-ios__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}

.page-app-download-ios__feature-title {
  font-size: 1.5em;
  color: #000080; /* Navy Blue */
  margin-bottom: 15px;
}

.page-app-download-ios__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Installation Guide Section */
.page-app-download-ios__installation-guide {
  background-color: #f0f4f8;
}

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

.page-app-download-ios__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-app-download-ios__step-number {
  width: 50px;
  height: 50px;
  background-color: #FFD700; /* Gold */
  color: #000080; /* Navy Blue text on Gold */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios__step-title {
  font-size: 1.4em;
  color: #000080; /* Navy Blue */
  margin-bottom: 15px;
}

.page-app-download-ios__step-text {
  font-size: 1em;
  color: #555555;
  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.1);
    margin-top: auto; /* Pushes image to the bottom if content is shorter */
}

.page-app-download-ios__qr-download-area {
  background-color: #000080; /* Navy Blue */
  color: #FFFFFF;
  padding: 50px;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.page-app-download-ios__qr-title {
  font-size: 2em;
  margin-bottom: 25px;
  color: #FFD700; /* Gold */
}

.page-app-download-ios__qr-code {
  width: 180px;
  height: 180px;
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-app-download-ios__qr-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-app-download-ios__btn--lg {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Troubleshooting Section */
.page-app-download-ios__troubleshooting {
  background-color: #ffffff;
}

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

.page-app-download-ios__faq-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #FFD700; /* Gold accent */
  text-align: left;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.page-app-download-ios__faq-title {
  font-size: 1.3em;
  color: #000080; /* Navy Blue */
  margin-bottom: 10px;
}

.page-app-download-ios__faq-text {
  font-size: 0.95em;
  color: #555555;
}

/* Security Section */
.page-app-download-ios__security {
  background-color: #f0f4f8;
}

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

.page-app-download-ios__security-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-app-download-ios__security-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}

.page-app-download-ios__security-title {
  font-size: 1.4em;
  color: #000080; /* Navy Blue */
  margin-bottom: 15px;
}

.page-app-download-ios__security-text {
  font-size: 1em;
  color: #555555;
}

.page-app-download-ios__caution-text {
  background-color: #fff3cd; /* Light warning yellow */
  color: #856404; /* Darker warning yellow text */
  border: 1px solid #ffeeba;
  border-radius: 8px;
  padding: 20px;
  margin-top: 50px;
  font-size: 1.1em;
  text-align: left;
}

/* CTA Register Section */
.page-app-download-ios__cta-register {
  background-color: #000080; /* Navy Blue */
  color: #FFFFFF;
  padding: 80px 0;
}

.page-app-download-ios__cta-register .page-app-download-ios__section-title {
  color: #FFD700; /* Gold */
}

.page-app-download-ios__cta-register .page-app-download-ios__section-description {
  color: #E0E0E0;
}

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

.page-app-download-ios__cta-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-app-download-ios__cta-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-app-download-ios__cta-text {
  font-size: 1em;
  color: #F0F0F0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-app-download-ios__faq {
    background-color: #ffffff;
}

.page-app-download-ios__accordion {
  margin-top: 40px;
  text-align: left;
}

.page-app-download-ios__accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-app-download-ios__accordion-header {
  background-color: #f8f8f8;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #000080; /* Navy Blue */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-app-download-ios__accordion-header:hover {
  background-color: #f0f0f0;
}

.page-app-download-ios__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  transition: transform 0.3s ease;
}

.page-app-download-ios__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-app-download-ios__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-app-download-ios__accordion-content p {
  padding-bottom: 20px;
  color: #555555;
  font-size: 1em;
}

/* Conclusion Section */
.page-app-download-ios__conclusion {
  background-color: #000080; /* Navy Blue */
  color: #FFFFFF;
  padding: 80px 0;
}

.page-app-download-ios__conclusion .page-app-download-ios__section-title {
  color: #FFD700; /* Gold */
}

.page-app-download-ios__conclusion .page-app-download-ios__section-description {
  color: #E0E0E0;
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-app-download-ios__hero-title {
    font-size: 2.8em;
  }
  .page-app-download-ios__section-title {
    font-size: 2em;
  }
  .page-app-download-ios__feature-grid, .page-app-download-ios__steps-grid, .page-app-download-ios__faq-grid, .page-app-download-ios__security-grid, .page-app-download-ios__cta-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-app-download-ios__hero {
    padding: 60px 0;
  }
  .page-app-download-ios__hero-title {
    font-size: 2.2em;
  }
  .page-app-download-ios__hero-subtitle {
    font-size: 1.1em;
  }
  .page-app-download-ios__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-app-download-ios__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-app-download-ios__section {
    padding: 40px 0;
  }
  .page-app-download-ios__section-title {
    font-size: 1.8em;
  }
  .page-app-download-ios__section-description {
    font-size: 1em;
  }
  .page-app-download-ios__qr-download-area {
    padding: 30px;
  }
  .page-app-download-ios__qr-title {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-app-download-ios__hero-title {
    font-size: 1.8em;
  }
  .page-app-download-ios__hero-subtitle {
    font-size: 0.95em;
  }
  .page-app-download-ios__btn {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }
  .page-app-download-ios__section-title {
    font-size: 1.5em;
  }
  .page-app-download-ios__feature-grid, .page-app-download-ios__steps-grid, .page-app-download-ios__faq-grid, .page-app-download-ios__security-grid, .page-app-download-ios__cta-grid {
    grid-template-columns: 1fr;
  }
  .page-app-download-ios__qr-code {
      width: 150px;
      height: 150px;
  }
}