/* ==========================================================================
   DOWNLOAD COMPONENT STYLES (THEME COLORED CARD WITH WHITE CONTENT)
   ========================================================================== */

.download-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

.download-box {
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(153, 188, 162, 0.45);
  position: relative;
  overflow: hidden;
}

.download-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #2E7D32;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.download-box-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.download-box-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.apk-info-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 1.2rem 2.2rem;
  border-radius: var(--radius-md);
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

.apk-detail {
  display: flex;
  flex-direction: column;
}

.apk-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.apk-val {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 700;
}

.apk-val.text-success {
  color: #FFFFFF !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.download-main-btn {
  font-size: 1.2rem;
  padding: 1.1rem 2.8rem;
  border-radius: var(--radius-pill);
}

.download-box .btn-primary {
  background: #111111;
  color: #FFFFFF;
  border: none;
}

.download-box .btn-primary:hover {
  background: #000000;
  transform: translateY(-2px);
}

.download-box .btn-secondary {
  background: #FFFFFF;
  color: #111111;
  border: none;
}

.download-box .btn-secondary:hover {
  background: #F3EFE6;
  transform: translateY(-2px);
}

.install-steps {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 2.5rem;
  text-align: left;
}

.install-steps h4 {
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1.3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111111;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.step-card p {
  font-size: 0.95rem;
  color: #111111 !important;
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .download-section {
    padding: 3rem 0;
  }

  .download-box {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .download-icon-circle {
    width: 64px;
    height: 64px;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .download-box-header h2 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
  }

  .download-box-header p {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 1.25rem;
  }

  .apk-info-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    padding: 0.8rem 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .apk-label {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .apk-val {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .download-cta-wrapper {
    gap: 0.6rem !important;
  }

  .download-main-btn {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
    justify-content: center;
  }

  .install-steps {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }

  .install-steps h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .step-card {
    padding: 0.75rem 0.9rem;
    gap: 0.75rem;
  }

  .step-card p {
    font-size: 0.88rem;
    line-height: 1.35;
  }
}
