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

/* Variables for color scheme */
:root {
  --page-app-download-ios-guide-primary-color: #0A2240;
  --page-app-download-ios-guide-secondary-color: #FFD700;
  --page-app-download-ios-guide-text-light: #F8F8F8;
  --page-app-download-ios-guide-text-dark: #222222;
  --page-app-download-ios-guide-accent-gold-dark: #b39700; /* Darker variant for text on gold */
  --page-app-download-ios-guide-accent-blue-light: #546479; /* Lighter variant for text on dark blue */
}

.page-app-download-ios-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-app-download-ios-guide-text-dark); /* Default text color for light backgrounds */
  background-color: #ffffff;
}

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

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

.page-app-download-ios-guide__section:nth-of-type(even) {
  background-color: #f4f4f4; /* Slightly off-white for contrast */
}

.page-app-download-ios-guide__hero-section {
  background: linear-gradient(135deg, var(--page-app-download-ios-guide-primary-color), #1a3a5a);
  color: var(--page-app-download-ios-guide-text-light);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-app-download-ios-guide__hero-content {
  max-width: 600px;
  margin-right: 40px;
  text-align: left;
}

.page-app-download-ios-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--page-app-download-ios-guide-secondary-color);
  line-height: 1.2;
}

.page-app-download-ios-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #cccccc;
}

.page-app-download-ios-guide__hero-image-wrapper {
  flex-shrink: 0;
}

.page-app-download-ios-guide__hero-image {
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-app-download-ios-guide__section-title {
  font-size: 2.5em;
  color: var(--page-app-download-ios-guide-primary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-app-download-ios-guide__text-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #555;
}

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

.page-app-download-ios-guide__button--primary {
  background-color: var(--page-app-download-ios-guide-secondary-color);
  color: var(--page-app-download-ios-guide-primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-app-download-ios-guide__button--primary:hover {
  background-color: var(--page-app-download-ios-guide-accent-gold-dark);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-app-download-ios-guide__button--secondary {
  background-color: var(--page-app-download-ios-guide-primary-color);
  color: var(--page-app-download-ios-guide-secondary-color);
  border: 2px solid var(--page-app-download-ios-guide-secondary-color);
}

.page-app-download-ios-guide__button--secondary:hover {
  background-color: var(--page-app-download-ios-guide-secondary-color);
  color: var(--page-app-download-ios-guide-primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-app-download-ios-guide__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-app-download-ios-guide__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-app-download-ios-guide__feature-title {
  font-size: 1.5em;
  color: var(--page-app-download-ios-guide-primary-color);
  margin-bottom: 15px;
}

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

.page-app-download-ios-guide__step-item {
  display: flex;
  align-items: center;
  text-align: left;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-app-download-ios-guide__step-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.page-app-download-ios-guide__step-item:nth-child(even) .page-app-download-ios-guide__step-number {
  margin-left: 30px;
  margin-right: 0;
}

.page-app-download-ios-guide__step-item:nth-child(even) .page-app-download-ios-guide__step-image {
  margin-left: 40px;
  margin-right: 0;
}

.page-app-download-ios-guide__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--page-app-download-ios-guide-secondary-color);
  margin-right: 30px;
  flex-shrink: 0;
  position: relative;
  padding-right: 15px;
}

.page-app-download-ios-guide__step-number::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80%;
  background-color: var(--page-app-download-ios-guide-primary-color);
  border-radius: 2px;
}

.page-app-download-ios-guide__step-item:nth-child(even) .page-app-download-ios-guide__step-number::after {
  left: 0;
  right: auto;
}

.page-app-download-ios-guide__step-title {
  font-size: 1.8em;
  color: var(--page-app-download-ios-guide-primary-color);
  margin-bottom: 10px;
}

.page-app-download-ios-guide__step-item p {
  margin-bottom: 20px;
  color: #444;
}

.page-app-download-ios-guide__step-image {
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-left: 40px;
  flex-shrink: 0;
}

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

.page-app-download-ios-guide__faq-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-app-download-ios-guide__faq-question {
  font-size: 1.4em;
  color: var(--page-app-download-ios-guide-primary-color);
  margin-bottom: 15px;
}

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

.page-app-download-ios-guide__feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-app-download-ios-guide__feature-card-image {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-app-download-ios-guide__feature-card-title {
  font-size: 1.6em;
  color: var(--page-app-download-ios-guide-primary-color);
  margin-bottom: 15px;
}

.page-app-download-ios-guide__cta-section {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(90deg, #1a3a5a, var(--page-app-download-ios-guide-primary-color));
  border-radius: 10px;
  color: var(--page-app-download-ios-guide-text-light);
}

.page-app-download-ios-guide__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  color: var(--page-app-download-ios-guide-secondary-color);
}

.page-app-download-ios-guide__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 700px;
  text-align: left;
}

.page-app-download-ios-guide__list li {
  background-color: #fff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 40px;
  color: #333;
}

.page-app-download-ios-guide__list li::before {
  content: '✔';
  color: var(--page-app-download-ios-guide-secondary-color);
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.page-app-download-ios-guide__cta-button-wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-app-download-ios-guide__image-small {
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 8px;
}

.page-app-download-ios-guide__contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.page-app-download-ios-guide__contact-info p {
  font-size: 1.1em;
  color: #444;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-app-download-ios-guide__hero-section .page-app-download-ios-guide__container {
    flex-direction: column;
    text-align: center;
  }

  .page-app-download-ios-guide__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .page-app-download-ios-guide__hero-title {
    font-size: 2.5em;
  }

  .page-app-download-ios-guide__hero-image {
    max-width: 300px;
  }

  .page-app-download-ios-guide__step-item {
    flex-direction: column;
    text-align: center;
  }

  .page-app-download-ios-guide__step-item:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  .page-app-download-ios-guide__step-number {
    margin-right: 0;
    margin-bottom: 20px;
    padding-right: 0;
    padding-bottom: 15px;
  }

  .page-app-download-ios-guide__step-number::after {
    width: 80%;
    height: 4px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: 0;
  }

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

  .page-app-download-ios-guide__step-item:nth-child(even) .page-app-download-ios-guide__step-number::after {
    left: 50%;
    right: auto;
  }

  .page-app-download-ios-guide__step-image {
    margin-left: 0;
    margin-top: 30px;
  }

  .page-app-download-ios-guide__step-item:nth-child(even) .page-app-download-ios-guide__step-image {
    margin-right: 0;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-app-download-ios-guide__hero-title {
    font-size: 2em;
  }

  .page-app-download-ios-guide__section-title {
    font-size: 2em;
  }

  .page-app-download-ios-guide__feature-title, .page-app-download-ios-guide__step-title, .page-app-download-ios-guide__faq-question, .page-app-download-ios-guide__feature-card-title {
    font-size: 1.3em;
  }

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

  .page-app-download-ios-guide__cta-text {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-app-download-ios-guide__hero-title {
    font-size: 1.8em;
  }

  .page-app-download-ios-guide__hero-description {
    font-size: 1em;
  }

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

  .page-app-download-ios-guide__hero-image {
    max-width: 250px;
  }

  .page-app-download-ios-guide__step-image {
    max-width: 200px;
  }
}