:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-background: #121212;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-background-dark-mode: rgba(255, 255, 255, 0.08);
  --card-border-dark-mode: rgba(255, 255, 255, 0.15);
  --button-hover-primary: #0056b3;
  --button-hover-secondary: #e0a800;
}

.page-download {
  color: var(--light-text-color);
  background-color: var(--dark-background);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  padding-top: 10px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

.page-download__dark-section {
  background-color: #1a1a1a;
  color: var(--light-text-color);
  padding: 60px 0;
}

.page-download__hero-section {
  text-align: center;
  padding: 80px 20px;
  background-image: url('[GALLERY:bg:for88_download_hero_bg,abstract_pattern,dark_blue]');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.page-download__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.page-download__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--light-text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-download__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__section-title {
  font-size: 2.5em;
  color: var(--light-text-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  position: relative;
}

.page-download__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-download__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
}

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

.page-download__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-download__btn-primary {
  background: var(--primary-color);
  color: var(--light-text-color);
}

.page-download__btn-primary:hover {
  background: var(--button-hover-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-download__btn-secondary {
  background: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-download__btn-secondary:hover {
  background: var(--button-hover-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-download__card {
  background: var(--card-background-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--light-text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-download__card h3 {
  color: var(--secondary-color);
  margin-top: 0;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-download__card p,
.page-download__card li {
  color: #e0e0e0;
}

.page-download__benefits-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

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

.page-download__benefit-item {
  text-align: center;
}

.page-download__benefit-icon {
  width: 200px; /* Adjusted to meet min 200x200 requirement */
  height: 200px; /* Adjusted to meet min 200x200 requirement */
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-download__benefit-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-download__benefit-description {
  font-size: 1em;
  color: #ccc;
}

.page-download__guide-section {
  padding: 60px 0;
}

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

.page-download__step-item {
  background: var(--card-background-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.page-download__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1;
}

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

.page-download__step-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-download__qr-codes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-download__qr-item {
  text-align: center;
}

.page-download__qr-image {
  width: 250px; /* Adjusted to meet min 200x200 requirement */
  height: 250px; /* Adjusted to meet min 200x200 requirement */
  object-fit: contain;
  background-color: var(--light-text-color);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.page-download__compatibility-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

.page-download__compatibility-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  padding: 40px;
}

.page-download__compatibility-item {
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.page-download__compatibility-icon {
  width: 200px; /* Adjusted to meet min 200x200 requirement */
  height: 200px; /* Adjusted to meet min 200x200 requirement */
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(1.2);
  border-radius: 8px;
}

.page-download__compatibility-item h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-download__compatibility-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e0e0e0;
  text-align: left;
}

.page-download__compatibility-item li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.page-download__compatibility-item li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-download__faq-section {
  padding: 60px 0;
}

.page-download__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-download__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-download__faq-question:active {
  background: rgba(255, 255, 255, 0.15);
}

.page-download__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--light-text-color);
  pointer-events: none;
}

.page-download__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-download__faq-item.active .page-download__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-download__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-download__faq-item.active .page-download__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border: 1px solid var(--card-border-dark-mode);
  border-top: none;
}

.page-download__faq-answer p {
  color: #e0e0e0;
}

.page-download__brand-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

.page-download__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding: 40px;
}

.page-download__brand-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-download__brand-item p {
  color: #e0e0e0;
}

.page-download__brand-cta {
  text-align: center;
  margin-top: 50px;
}

.page-download__blog-section {
  padding: 60px 0;
}

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

.page-download__blog-item {
  display: flex;
  flex-direction: column;
  background: var(--card-background-dark-mode);
  border: 1px solid var(--card-border-dark-mode);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-download__blog-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-download__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-download__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-download__blog-item-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-download__blog-item-excerpt {
  font-size: 0.95em;
  color: #ccc;
  margin-bottom: 15px;
}

.page-download__blog-item-date {
  font-size: 0.85em;
  color: #999;
  text-align: right;
}

.page-download__blog-cta {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 1024px) {
  .page-download__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-download {
    padding-top: 10px !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .page-download__container {
    padding: 20px 15px;
  }

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

  .page-download__hero-section {
    padding: 60px 15px;
  }

  .page-download__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-download__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-download__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-download__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-download__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-download__benefits-grid,
  .page-download__download-steps,
  .page-download__brand-content,
  .page-download__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-download__benefit-icon {
    width: 200px !important;
    height: 200px !important;
  }

  .page-download__qr-codes {
    flex-direction: column;
    gap: 15px;
  }

  .page-download__qr-image {
    width: 250px !important;
    height: 250px !important;
  }

  .page-download__compatibility-content {
    flex-direction: column;
    padding: 20px;
  }

  .page-download__compatibility-item {
    min-width: unset;
    max-width: 100%;
  }

  .page-download__compatibility-icon {
    width: 200px !important;
    height: 200px !important;
  }

  .page-download__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-download__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  
  .page-download__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-download__faq-answer {
    padding: 0 15px;
  }
  
  .page-download__faq-item.active .page-download__faq-answer {
    padding: 15px !important;
  }

  .page-download__blog-image {
    height: 180px;
  }

  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__hero-section,
  .page-download__benefits-section,
  .page-download__guide-section,
  .page-download__compatibility-section,
  .page-download__faq-section,
  .page-download__brand-section,
  .page-download__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-download__qr-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-download__qr-image {
    max-width: 250px !important;
    width: 250px !important;
    height: auto !important;
  }
  .page-download__benefit-icon, .page-download__compatibility-icon {
    max-width: 200px !important;
    width: 200px !important;
    height: auto !important;
  }
}

.page-download h1, .page-download h2, .page-download h3, .page-download h4, .page-download h5, .page-download h6 {
  color: var(--light-text-color);
}

.page-download__dark-section .page-download__section-title,
.page-download__dark-section h3 {
  color: var(--light-text-color);
}
.page-download__dark-section p {
  color: #e0e0e0;
}

.page-download__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-download__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}