
/* =========================================
   DOWNLOAD SECTION
========================================= */

.download-section {
  position: relative;
}

/* title */

.download-section-title h2 {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--theme-color-5);
  margin-bottom: 0;
  text-shadow: var(--text-shadow);
}

/* card */

.download-card {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  padding: 28px 30px;
  border-radius: 24px;
  background: #f8f7f0;
  text-decoration: none;
  border: 1px solid rgba(0,69,64,0.08);
  box-shadow:
    0 12px 35px rgba(0,0,0,0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* hover */

.download-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,69,64,0.18);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.10);
}

/* icon */

.download-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(0,69,64,0.10),
      rgba(0,69,64,0.04)
    );
  flex-shrink: 0;
}

.download-icon i {
  font-size: 30px;
  color: var(--theme-color-5);
}

/* content */

.download-content {
  flex: 1;
}

.download-content h4 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--theme-color-5);
  margin-bottom: 8px;
}

.download-content p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 0;
}

/* arrow */

.download-arrow {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,69,64,0.06);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  flex-shrink: 0;
}

.download-arrow i {
  font-size: 18px;
  color: var(--theme-color-5);
}

.download-card:hover .download-arrow {
  transform: translateY(3px);
  background: rgba(0,69,64,0.12);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .download-section-title h2 {
    font-size: 34px;
  }
  .download-card {
    gap: 18px;
    padding: 22px 20px;
  }
  .download-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
  .download-icon i {
    font-size: 24px;
  }
  .download-content h4 {
    font-size: 19px;
  }
  .download-content p {
    font-size: 14px;
  }
  .download-arrow {
    width: 42px;
    height: 42px;
  }
}

.download-toast {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--theme-color-5);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.3s ease;
  z-index: 9999;
}

.download-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* =========================================
   DARK MODE — DOWNLOAD SECTION
========================================= */

.theme-dark .download-section {
  position: relative;
}

.theme-dark .download-section-title span {
  color: rgba(255,255,255,0.45);
}

.theme-dark .download-section-title h2 {
  color: #ffffff;
}

.theme-dark .download-card {
  background:
    linear-gradient(
      145deg,
      #132826,
      #10211f
    );

  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.32);
}

.theme-dark .download-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.45);
}

.theme-dark .download-icon {
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );
}

.theme-dark .download-icon i {
  color: #7dd3c7;
}

.theme-dark .download-content h4 {
  color: #ffffff;
}

.theme-dark .download-content p {
  color: rgba(255,255,255,0.58);
}

.theme-dark .download-arrow {
  background: rgba(255,255,255,0.06);
}

.theme-dark .download-arrow i {
  color: #7dd3c7;
}

.theme-dark .download-card:hover .download-arrow {
  background: rgba(125,211,199,0.12);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .theme-dark .download-card {
    border-radius: 20px;
  }
}
