/* style/app-download.css */

/* Biến CSS */
:root {
  --page-app-download-primary-color: #0A192F;
  --page-app-download-secondary-color: #FFD700;
  --page-app-download-text-light: #FFFFFF;
  --page-app-download-text-dark: #0A192F;
  --page-app-download-background-dark: #0A192F;
  --page-app-download-background-light: #F0F2F5; /* Màu nền nhẹ hơn cho các phần */
  --page-app-download-accent-gold: #FFD700; /* Màu vàng phụ trợ */
  --page-app-download-border-radius: 8px;
  --page-app-download-spacing-medium: 20px;
  --page-app-download-spacing-large: 40px;
}

.page-app-download {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-app-download-text-light); /* Màu chữ mặc định trên nền tối */
  background-color: var(--page-app-download-background-dark);
}

.page-app-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-app-download-spacing-medium);
}

.page-app-download__hero {
  background: linear-gradient(135deg, var(--page-app-download-primary-color) 0%, #1a3a60 100%); /* Gradient nhẹ */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--page-app-download-text-light);
}

.page-app-download__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--page-app-download-text-light); /* Đảm bảo đủ độ tương phản */
}

.page-app-download__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #B0B0B0; /* Màu xám nhạt */
}

.page-app-download__cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--page-app-download-spacing-medium);
  margin-bottom: 40px;
}

.page-app-download__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--page-app-download-border-radius);
  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__btn--primary {
  background-color: var(--page-app-download-secondary-color);
  color: var(--page-app-download-text-dark); /* Đảm bảo đủ độ tương phản trên nền vàng */
}

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

.page-app-download__btn--secondary {
  background-color: transparent;
  color: var(--page-app-download-secondary-color);
  border: 2px solid var(--page-app-download-secondary-color);
}

.page-app-download__btn--secondary:hover {
  background-color: var(--page-app-download-secondary-color);
  color: var(--page-app-download-text-dark);
  transform: translateY(-2px);
}

.page-app-download__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-app-download__hero-image-wrapper {
  margin-top: 40px;
}

.page-app-download__hero-image {
  max-width: 80%;
  height: auto;
  border-radius: var(--page-app-download-border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-app-download__section:nth-of-type(even) {
  background-color: #0d223f; /* Nền tối hơn một chút cho các phần xen kẽ */
}

.page-app-download__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-app-download-text-light);
}

.page-app-download__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #B0B0B0;
}

.page-app-download__features .page-app-download__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--page-app-download-spacing-large);
}

.page-app-download__feature-item {
  background-color: #1a2a40; /* Nền cho từng item */
  padding: var(--page-app-download-spacing-large);
  border-radius: var(--page-app-download-border-radius);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-app-download-text-light);
}

.page-app-download__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--page-app-download-spacing-medium);
  filter: drop-shadow(0 0 5px var(--page-app-download-secondary-color)); /* Hiệu ứng đổ bóng vàng */
}

.page-app-download__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--page-app-download-secondary-color);
}

.page-app-download__feature-text {
  font-size: 1em;
  color: #D0D0D0;
}

.page-app-download__guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--page-app-download-spacing-large);
}

.page-app-download__guide-item {
  background-color: #1a2a40;
  padding: var(--page-app-download-spacing-large);
  border-radius: var(--page-app-download-border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-app-download-text-light);
}

.page-app-download__guide-title {
  font-size: 2em;
  margin-bottom: var(--page-app-download-spacing-medium);
  color: var(--page-app-download-secondary-color);
}

.page-app-download__guide-item ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: var(--page-app-download-spacing-medium);
}

.page-app-download__guide-item ol li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #D0D0D0;
}

.page-app-download__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--page-app-download-border-radius);
  margin-top: var(--page-app-download-spacing-medium);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-app-download__important-notes {
  background-color: #2a3d54; /* Màu nền khác biệt cho phần lưu ý */
  padding: var(--page-app-download-spacing-large);
  border-radius: var(--page-app-download-border-radius);
  margin-top: var(--page-app-download-spacing-large);
  color: var(--page-app-download-text-light);
}

.page-app-download__important-notes h3 {
  color: var(--page-app-download-secondary-color);
  margin-bottom: var(--page-app-download-spacing-medium);
  font-size: 1.8em;
}

.page-app-download__important-notes ul {
  list-style-type: disc;
  margin-left: 20px;
}

.page-app-download__important-notes ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #D0D0D0;
}

.page-app-download__register-login .page-app-download__action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--page-app-download-spacing-large);
}

.page-app-download__card {
  background-color: #1a2a40;
  padding: var(--page-app-download-spacing-large);
  border-radius: var(--page-app-download-border-radius);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-app-download-text-light);
}

.page-app-download__card-title {
  font-size: 1.8em;
  margin-bottom: var(--page-app-download-spacing-medium);
  color: var(--page-app-download-secondary-color);
}

.page-app-download__card p {
  margin-bottom: var(--page-app-download-spacing-medium);
  color: #D0D0D0;
}

.page-app-download__why-choose .page-app-download__reason-list {
  list-style-type: none;
  padding: 0;
  margin: 0 auto 50px auto;
  max-width: 800px;
  text-align: left;
}

.page-app-download__why-choose .page-app-download__reason-list li {
  background-color: #1a2a40;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: var(--page-app-download-border-radius);
  font-size: 1.15em;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: var(--page-app-download-text-light);
}

.page-app-download__why-choose .page-app-download__reason-list li::before {
  content: '✓';
  color: var(--page-app-download-secondary-color);
  font-size: 1.5em;
  margin-right: 15px;
  font-weight: bold;
}

.page-app-download__image-full-width {
  text-align: center;
  margin-bottom: var(--page-app-download-spacing-large);
}

.page-app-download__full-width-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--page-app-download-border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-app-download__conclusion-text {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #D0D0D0;
}

.page-app-download__faq .page-app-download__faq-item {
  background-color: #1a2a40;
  padding: var(--page-app-download-spacing-medium);
  border-radius: var(--page-app-download-border-radius);
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  color: var(--page-app-download-text-light);
}

.page-app-download__faq-question {
  font-size: 1.4em;
  color: var(--page-app-download-secondary-color);
  margin-bottom: 10px;
}

.page-app-download__faq-answer {
  font-size: 1.1em;
  color: #D0D0D0;
}

.page-app-download__final-cta {
  text-align: center;
  padding-bottom: 80px;
}

.page-app-download__final-cta .page-app-download__section-title {
  font-size: 3em;
}

.page-app-download__final-cta .page-app-download__section-description {
  margin-bottom: 40px;
}

.page-app-download .highlight {
  color: var(--page-app-download-secondary-color);
}

.page-app-download .inline-link {
  color: var(--page-app-download-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-app-download .inline-link:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-app-download__title {
    font-size: 2.8em;
  }
  .page-app-download__section-title {
    font-size: 2em;
  }
  .page-app-download__feature-grid, .page-app-download__action-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-app-download__hero {
    padding: 60px 0;
  }
  .page-app-download__title {
    font-size: 2.2em;
  }
  .page-app-download__subtitle {
    font-size: 1.2em;
  }
  .page-app-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-app-download__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-app-download__section-title {
    font-size: 1.8em;
  }
  .page-app-download__section-description {
    font-size: 1em;
  }
  .page-app-download__feature-item, .page-app-download__card {
    padding: var(--page-app-download-spacing-medium);
  }
  .page-app-download__guide-title {
    font-size: 1.6em;
  }
  .page-app-download__final-cta .page-app-download__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .page-app-download__title {
    font-size: 1.8em;
  }
  .page-app-download__subtitle {
    font-size: 1em;
  }
  .page-app-download__hero-image {
    max-width: 95%;
  }
  .page-app-download__btn {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-app-download__section-title {
    font-size: 1.5em;
  }
  .page-app-download__feature-title, .page-app-download__card-title {
    font-size: 1.3em;
  }
  .page-app-download__faq-question {
    font-size: 1.2em;
  }
  .page-app-download__final-cta .page-app-download__section-title {
    font-size: 2em;
  }
}