/* style/download-app.css */

/* Biến màu */
:root {
  --page-download-app-primary-color: #003366;
  --page-download-app-secondary-color: #FFCC00;
  --page-download-app-text-dark: #333333;
  --page-download-app-text-light: #ffffff;
  --page-download-app-bg-light: #f4f7f6;
  --page-download-app-bg-dark: #002244;
  --page-download-app-border-color: #e0e0e0;
}

/* Base styles cho trang tải ứng dụng */
.page-download-app {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-download-app-text-dark);
  background-color: var(--page-download-app-bg-light);
}

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

.page-download-app__section-title {
  font-size: 2.5em;
  color: var(--page-download-app-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

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

.page-download-app__section-subtitle {
  font-size: 1.8em;
  color: var(--page-download-app-primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-download-app__text-center {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-download-app__description-large {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-download-app__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-download-app__btn--primary {
  background-color: var(--page-download-app-secondary-color);
  color: var(--page-download-app-primary-color);
  border: 2px solid var(--page-download-app-secondary-color);
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-download-app__btn--primary:hover {
  background-color: #e6b800; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

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

.page-download-app__btn--secondary:hover {
  background-color: var(--page-download-app-secondary-color);
  color: var(--page-download-app-primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-download-app__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-download-app__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 6px;
}

.page-download-app__btn--full-width {
  display: block;
  width: fit-content;
  margin: 30px auto;
  max-width: 300px;
}

/* Hero Section */
.page-download-app__hero-section {
  background: linear-gradient(135deg, var(--page-download-app-primary-color) 0%, var(--page-download-app-bg-dark) 100%);
  color: var(--page-download-app-text-light);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-download-app__hero-section .page-download-app__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-download-app__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-download-app__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-download-app-text-light);
}

.page-download-app__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-download-app__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-download-app__hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-download-app__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why Download Section */
.page-download-app__why-download-section {
  padding: 80px 0;
  background-color: var(--page-download-app-bg-light);
}

.page-download-app__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-download-app__feature-item {
  background-color: var(--page-download-app-text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-download-app__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

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

.page-download-app__feature-text {
  font-size: 1em;
  color: #555;
}

/* Download Steps Section */
.page-download-app__download-steps-section {
  padding: 80px 0;
  background-color: var(--page-download-app-bg-dark);
  color: var(--page-download-app-text-light);
}

.page-download-app__download-steps-section .page-download-app__section-title {
  color: var(--page-download-app-text-light);
}

.page-download-app__download-steps-section .page-download-app__text-center {
  color: rgba(255, 255, 255, 0.9);
}

.page-download-app__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-download-app__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-download-app__step-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-download-app__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-download-app-secondary-color);
  margin-bottom: 15px;
}

.page-download-app__step-title {
  font-size: 1.4em;
  color: var(--page-download-app-text-light);
  margin-bottom: 10px;
}

.page-download-app__step-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

.page-download-app__qr-code-section {
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.page-download-app__qr-code-wrapper {
  background-color: var(--page-download-app-text-light);
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-download-app__qr-code-image {
  width: 200px;
  height: 200px;
  display: block;
}

.page-download-app__qr-code-label {
  color: var(--page-download-app-primary-color);
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.1em;
}

/* App Features Overview */
.page-download-app__app-features-overview {
  padding: 80px 0;
  background-color: var(--page-download-app-text-light);
}

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

.page-download-app__feature-highlight-item {
  text-align: center;
  background-color: #fcfcfc;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download-app__feature-highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-download-app__feature-highlight-image {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download-app__feature-highlight-title {
  font-size: 1.6em;
  color: var(--page-download-app-primary-color);
  margin-bottom: 15px;
}

.page-download-app__feature-highlight-text {
  font-size: 1.05em;
  color: #666;
}

.page-download-app__cta-buttons {
  text-align: center;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Related Info Section */
.page-download-app__related-info-section {
  padding: 80px 0;
  background-color: var(--page-download-app-bg-light);
}

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

.page-download-app__detail-page-item {
  background-color: var(--page-download-app-text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border-left: 5px solid var(--page-download-app-secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-download-app__detail-page-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-download-app__detail-page-title a {
  color: var(--page-download-app-primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-download-app__detail-page-title a:hover {
  color: var(--page-download-app-secondary-color);
}

.page-download-app__detail-page-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-download-app__faq-section {
  padding: 80px 0;
  background-color: var(--page-download-app-bg-dark);
  color: var(--page-download-app-text-light);
}

.page-download-app__faq-section .page-download-app__section-title {
  color: var(--page-download-app-text-light);
}

.page-download-app__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-app__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px 30px;
  transition: background-color 0.3s ease;
}

.page-download-app__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-download-app__faq-question {
  font-size: 1.3em;
  color: var(--page-download-app-secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-download-app__faq-answer {
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.85);
}

/* Final CTA Section */
.page-download-app__cta-final-section {
  padding: 80px 0;
  background-color: var(--page-download-app-primary-color);
  color: var(--page-download-app-text-light);
}

.page-download-app__cta-final-section .page-download-app__section-title {
  color: var(--page-download-app-text-light);
  margin-bottom: 30px;
}

.page-download-app__cta-final-section .page-download-app__description-large {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-download-app__hero-section .page-download-app__container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-download-app__hero-content, .page-download-app__hero-image {
    min-width: unset;
    width: 100%;
  }

  .page-download-app__hero-buttons {
    justify-content: center;
  }

  .page-download-app__hero-title {
    font-size: 2.8em;
  }

  .page-download-app__section-title {
    font-size: 2em;
  }

  .page-download-app__feature-highlight-image {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-download-app__hero-title {
    font-size: 2.2em;
  }

  .page-download-app__hero-description {
    font-size: 1.1em;
  }

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

  .page-download-app__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

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

  .page-download-app__section-subtitle {
    font-size: 1.5em;
  }

  .page-download-app__qr-code-image {
    width: 150px;
    height: 150px;
  }

  .page-download-app__detail-pages-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-download-app__hero-description {
    font-size: 1em;
  }

  .page-download-app__btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .page-download-app__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-download-app__section-title {
    font-size: 1.5em;
  }

  .page-download-app__feature-item, .page-download-app__step-item, .page-download-app__feature-highlight-item, .page-download-app__detail-page-item, .page-download-app__faq-item {
    padding: 20px;
  }

  .page-download-app__faq-question {
    font-size: 1.1em;
  }

  .page-download-app__faq-answer {
    font-size: 0.95em;
  }

  .page-download-app__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}