/* ── Download page specific styles ── */

/* Hero background override for screens/ pages */
.hero-bg {
  background-image: url('../img/tree_hd.jpg');
}

.download-card {
  background: rgba(240, 236, 228, 0.04);
  border: 1px solid rgba(240, 236, 228, 0.14);
  border-radius: 20px;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.3s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.download-card:hover {
  background: rgba(240, 236, 228, 0.08);
  border-color: rgba(240, 236, 228, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.store-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
}

.store-icon-ios {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.store-icon-android {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--clr-text);
  border: 1px solid var(--clr-btn-border);
  border-radius: 9999px;
  padding: 14px 32px;
  transition: background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.download-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
}

.download-btn:hover {
  border-color: rgba(240, 236, 228, 0.85);
}

.download-btn:hover::before {
  opacity: 1;
}

.download-btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.download-btn:hover .download-btn-arrow {
  transform: translateX(4px);
}

.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.5);
  border: 1px solid rgba(240, 236, 228, 0.12);
  border-radius: 9999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

/* Divider text */
.divider-or {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(240, 236, 228, 0.25);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.divider-or::before,
.divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(240, 236, 228, 0.1);
}

/* Staggered animation for cards */
.card-left {
  animation: fadeUp 0.9s 0.35s ease both;
}

.card-right {
  animation: fadeUp 0.9s 0.55s ease both;
}

.headline {
  animation: fadeUp 0.9s 0.1s ease both;
}

.subline {
  animation: fadeUp 0.9s 0.2s ease both;
}

/* Subtitle readability against busy background */
.download-subtitle {
  color: rgba(240, 236, 228, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}