/* style/download.css */
.page-download {
  font-family: 'Arial', sans-serif;
  color: #E5E5E5; /* Light text for dark background */
  background-color: #1A202C; /* Main dark background */
  line-height: 1.6;
}

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

.page-download__hero-section {
  background: linear-gradient(135deg, #1A202C 0%, #3a414e 100%); /* Dark gradient for hero */
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-download__hero-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 1.15em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #CCCCCC;
}

.page-download__hero-actions {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-download__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold */
}

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

.page-download__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text, dark background */
  border: 2px solid #FFD700;
}

.page-download__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

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

.page-download__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-download__section-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 25px;
  padding-top: 60px;
}

.page-download__section-intro {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #B0B0B0;
}

.page-download__features-section,
.page-download__platforms-section,
.page-download__benefits-section,
.page-download__related-pages-section,
.page-download__cta-final-section {
  padding: 60px 0;
}

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

.page-download__feature-item {
  background-color: #2A313F; /* Slightly lighter dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
}

.page-download__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-download__app-features-image-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-download__app-features-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-download__platform-guide {
  background-color: #2A313F;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 40px;
  border-right: 5px solid #FFD700;
}

.page-download__platform-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
}

.page-download__platform-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.page-download__qr-code-wrapper,
.page-download__desktop-image-wrapper {
  flex: 0 0 auto;
  text-align: center;
}

.page-download__qr-code,
.page-download__desktop-image {
  max-width: 250px;
  height: auto;
  border: 5px solid #FFD700;
  border-radius: 10px;
}

.page-download__qr-label {
  color: #E0E0E0;
  margin-top: 10px;
  font-size: 0.9em;
}

.page-download__instruction-list {
  flex: 1 1 500px;
  list-style-type: decimal;
  padding-left: 25px;
  color: #E0E0E0;
}

.page-download__instruction-list li {
  margin-bottom: 12px;
  font-size: 1.05em;
}

.page-download__instruction-list li strong {
  color: #FFD700;
}

.page-download__btn--download {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #FFD700;
  color: #1A202C;
  font-size: 1.1em;
  padding: 12px 25px;
}

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

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

.page-download__benefit-item {
  background-color: #2A313F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-bottom: 5px solid #FFD700;
}

.page-download__benefit-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-download__benefit-description {
  font-size: 0.98em;
  color: #E0E0E0;
}

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

.page-download__related-pages-section {
  background-color: #1A202C;
}

.page-download__page-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download__page-item {
  background-color: #2A313F;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 4px solid #FFD700;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-download__page-item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-download__page-item-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-download__page-item-title a:hover {
  text-decoration: underline;
}

.page-download__page-item-description {
  font-size: 0.9em;
  color: #B0B0B0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-download__btn--view-details {
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  width: fit-content;
}

.page-download__btn--view-details:hover {
  background-color: #e6c200;
}

.page-download__cta-final-section {
  padding-bottom: 80px;
  text-align: center;
}

.page-download__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* Floating Ad Menu */
.page-download__floating-ad-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700; /* Gold background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 10px;
  transform: translateX(120%); /* Initially hidden */
  transition: transform 0.5s ease-out;
}

.page-download__floating-ad-menu.show {
  transform: translateX(0); /* Show when 'show' class is added */
}

.page-download__floating-ad-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1A202C;
  font-weight: bold;
}

.page-download__floating-ad-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  margin-right: 10px;
  object-fit: cover;
}

.page-download__floating-ad-text {
  font-size: 1.1em;
  white-space: nowrap;
}

.page-download__floating-ad-close-btn {
  background: none;
  border: none;
  color: #1A202C;
  font-size: 1.2em;
  cursor: pointer;
  margin-left: 10px;
  padding: 5px;
  line-height: 1;
}

.page-download__floating-ad-close-btn:hover {
  color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-download__hero-title {
    font-size: 2.4em;
  }
  .page-download__section-title {
    font-size: 1.8em;
  }
  .page-download__platform-content {
    flex-direction: column;
  }
  .page-download__qr-code-wrapper, .page-download__desktop-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-download__hero-title {
    font-size: 2em;
  }
  .page-download__hero-description {
    font-size: 1em;
  }
  .page-download__btn {
    padding: 12px 25px;
    font-size: 0.95em;
  }
  .page-download__section-title {
    font-size: 1.6em;
  }
  .page-download__feature-title,
  .page-download__benefit-title {
    font-size: 1.3em;
  }
  .page-download__instruction-list {
    padding-left: 15px;
  }
  .page-download__floating-ad-menu {
    bottom: 10px;
    right: 10px;
    padding: 8px;
  }
  .page-download__floating-ad-image {
    width: 50px;
    height: 50px;
  }
  .page-download__floating-ad-text {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-download__hero-title {
    font-size: 1.8em;
  }
  .page-download__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__btn {
    width: 90%;
    max-width: 300px;
  }
  .page-download__section-title {
    font-size: 1.4em;
  }
  .page-download__feature-item, .page-download__benefit-item, .page-download__platform-guide, .page-download__page-item {
    padding: 20px;
  }
}