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

.page-download__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-download__container--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-download__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-download__section-intro {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #34C759);
  color: #ffffff;
}

.page-download__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-download__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-download__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-download__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-download__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-download__btn-primary:hover {
  background: #ff8c00;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-download__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 20px;
}

.page-download__btn-secondary:hover {
  background: #e0f7fa;
  color: #1a7a9e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* General Card Styles */
.page-download__card {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-download__card--dark {
  background: #26A9E0;
  color: #ffffff;
}

.page-download__card--dark .page-download__guide-title, 
.page-download__card--dark .page-download__device-name, 
.page-download__card--dark .page-download__device-specs li {
  color: #ffffff;
}

.page-download__card--dark .page-download__guide-steps li {
  color: #f0f0f0;
}

.page-download__card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Why Download Section */
.page-download__why-download .page-download__section-title {
  color: #26A9E0;
}

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

.page-download__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-download__feature-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-download__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-download__feature-description {
  font-size: 16px;
  color: #555555;
}

/* How To Download Section */
.page-download__how-to-download {
  background: #26A9E0;
  color: #ffffff;
}

.page-download__how-to-download .page-download__section-title,
.page-download__how-to-download .page-download__section-intro {
  color: #ffffff;
}

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

.page-download__guide-item {
  padding: 30px;
  border: none;
  align-items: center;
  text-align: center;
}

.page-download__guide-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #ffffff;
}

.page-download__qr-code-wrapper {
  margin-bottom: 25px;
  display: inline-block;
  padding: 10px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-download__qr-code-wrapper img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 0;
}

.page-download__guide-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
}

.page-download__guide-steps li {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  padding-left: 30px;
  color: #f0f0f0;
}

.page-download__guide-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* App Features Section */
.page-download__app-features .page-download__section-title {
  color: #26A9E0;
}

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

.page-download__feature-card {
  align-items: center;
  text-align: center;
}

.page-download__feature-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-download__feature-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-download__feature-card p {
  font-size: 16px;
  color: #555555;
}

/* Supported Devices Section */
.page-download__supported-devices {
  background: #26A9E0;
  color: #ffffff;
}

.page-download__supported-devices .page-download__section-title,
.page-download__supported-devices .page-download__section-intro {
  color: #ffffff;
}

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

.page-download__device-item {
  padding: 30px;
  border: none;
  align-items: center;
  text-align: center;
}