/* style/app-download.css */
.page-app-download {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

/* Hero Section */
.page-app-download__hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #1a3c7c 100%); /* Darker blue to slightly lighter blue */
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}

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

.page-app-download__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
  margin-right: 40px;
}

.page-app-download__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B143; /* Accent color for title */
  font-weight: 700;
  line-height: 1.2;
}

.page-app-download__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-app-download__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-app-download__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;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-app-download__button--primary {
  background-color: #E0B143;
  color: #0A2463;
}

.page-app-download__button--primary:hover {
  background-color: #f5c765;
  transform: translateY(-2px);
}

.page-app-download__button--secondary {
  background-color: transparent;
  color: #E0B143;
  border: 2px solid #E0B143;
}

.page-app-download__button--secondary:hover {
  background-color: #E0B143;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-app-download__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-app-download__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-app-download__hero-image-wrapper {
  position: relative;
  z-index: 1;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-app-download__hero-image {
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.page-app-download__hero-image:hover {
  transform: rotate(0deg) scale(1.05);
}

.page-app-download__qr-code-wrapper {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-top: 20px;
  transform: rotate(5deg);
  transition: transform 0.5s ease;
}

.page-app-download__qr-code-wrapper:hover {
  transform: rotate(0deg) scale(1.05);
}

.page-app-download__qr-code {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 10px auto;
}

.page-app-download__qr-text {
  color: #0A2463;
  font-weight: bold;
  font-size: 0.9em;
}

/* General Section Styling */
.page-app-download__section {
  padding: 60px 0;
  text-align: center;
}

.page-app-download__section--white {
  background-color: #ffffff;
  color: #333333;
}

.page-app-download__section--dark {
  background-color: #0A2463;
  color: #e0e0e0;
}

.page-app-download__section--faq {
  background-color: #f0f2f5;
  color: #333333;
}

.page-app-download__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #0A2463; /* Default for white background */
  font-weight: 700;
}

.page-app-download__section--dark .page-app-download__section-title {
  color: #E0B143; /* Accent for dark background */
}

.page-app-download__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-app-download__text--center {
  text-align: center;
}

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

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

.page-app-download__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-app-download__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.page-app-download__feature-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-app-download__feature-description {
  font-size: 0.95em;
  color: #555555;
}

/* Feature Cards */
.page-app-download__feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-app-download__card {
  background-color: #1a3c7c; /* Lighter shade of primary */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-app-download__card:hover {
  transform: translateY(-10px);
  background-color: #2b509d; /* Even lighter on hover */
}

.page-app-download__card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.page-app-download__card-title {
  font-size: 1.6em;
  color: #E0B143;
  margin-bottom: 15px;
}

.page-app-download__card-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-app-download__center-button {
  margin-top: 40px;
  text-align: center;
}

/* Guide Steps */
.page-app-download__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-app-download__step-item {
  background-color: #f0f2f5;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
  padding-top: 60px; /* Space for number */
}

.page-app-download__step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  background-color: #E0B143;
  color: #0A2463;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-app-download__step-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-app-download__step-description {
  font-size: 0.95em;
  color: #555555;
}

/* Security Features */
.page-app-download__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-app-download__security-item {
  background-color: #1a3c7c;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-app-download__security-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.page-app-download__security-title {
  font-size: 1.5em;
  color: #E0B143;
  margin-bottom: 10px;
}

.page-app-download__security-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Detail Pages List */
.page-app-download__detail-pages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-app-download__detail-card {
  background-color: #f0f2f5;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-app-download__detail-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-app-download__detail-title a {
  color: #0A2463;
  text-decoration: none;
}

.page-app-download__detail-title a:hover {
  text-decoration: underline;
  color: #E0B143;
}

.page-app-download__detail-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-app-download__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-app-download__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-app-download__faq-question {
  font-size: 1.2em;
  color: #0A2463;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-app-download__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #E0B143;
  transition: transform 0.3s ease;
}

.page-app-download__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-app-download__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-app-download__faq-question.active + .page-app-download__faq-answer {
  display: block;
}

/* Call to Action Section */
.page-app-download__cta-section {
  background: linear-gradient(45deg, #0A2463, #1a3c7c);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-app-download__cta-title {
  font-size: 2.8em;
  color: #E0B143;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-app-download__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-app-download__hero-section {
    flex-direction: column;
    padding: 60px 0;
  }

  .page-app-download__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .page-app-download__hero-image-wrapper {
    margin-left: 0;
  }

  .page-app-download__hero-title {
    font-size: 2.5em;
  }

  .page-app-download__section-title {
    font-size: 2em;
  }

  .page-app-download__cta-title {
    font-size: 2.2em;
  }

  .page-app-download__features-grid, 
  .page-app-download__feature-cards, 
  .page-app-download__guide-steps, 
  .page-app-download__security-features, 
  .page-app-download__detail-pages-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-app-download__hero-description,
  .page-app-download__cta-description {
    font-size: 1em;
  }

  .page-app-download__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-app-download__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-app-download__hero-image {
    max-width: 250px;
  }

  .page-app-download__qr-code-wrapper {
    width: 180px;
  }

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

  .page-app-download__text {
    font-size: 0.95em;
  }

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

  .page-app-download__faq-question {
    font-size: 1.1em;
  }

  .page-app-download__faq-answer {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-app-download__container {
    padding: 0 15px;
  }

  .page-app-download__hero-section {
    padding: 40px 0;
  }

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

  .page-app-download__hero-image {
    max-width: 200px;
  }

  .page-app-download__qr-code-wrapper {
    width: 150px;
    padding: 10px;
  }

  .page-app-download__qr-code {
    width: 100px;
    height: 100px;
  }

  .page-app-download__section-title {
    font-size: 1.5em;
  }

  .page-app-download__cta-title {
    font-size: 1.6em;
  }

  .page-app-download__button--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}