/* /download — страница скачивания Android */

.download-page .download-main {
  padding-top: 28px;
  padding-bottom: 72px;
}

.download-hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(90% 80% at 85% 10%, rgba(6, 182, 212, 0.22), transparent 55%),
    radial-gradient(70% 70% at 10% 90%, rgba(236, 72, 153, 0.16), transparent 50%),
    linear-gradient(160deg, rgba(28, 26, 24, 0.98), rgba(14, 13, 12, 0.99));
  padding: clamp(28px, 5vw, 48px);
}

.download-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 320px);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.download-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(103, 232, 249, 0.92);
}

.download-hero__eyebrow i {
  font-size: 1.1em;
}

.download-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.download-hero__lead {
  margin: 0 0 26px;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.download-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.download-hero__actions .btn-primary {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 16px;
}

.download-hero__actions .btn-primary i {
  margin-right: 8px;
}

.download-hero__hint {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.download-phone {
  position: relative;
  width: min(100%, 260px);
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(6, 182, 212, 0.12), transparent 40%),
    #121110;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(6, 182, 212, 0.12);
  overflow: hidden;
}

.download-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 18px;
  border-radius: 999px;
  background: #0a0908;
  z-index: 2;
}

.download-phone__screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px 28px;
  background:
    radial-gradient(80% 50% at 50% 20%, rgba(139, 92, 246, 0.28), transparent 70%),
    linear-gradient(165deg, #1a1816, #0d0c0b);
}

.download-phone__logo {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 10px 28px rgba(6, 182, 212, 0.4));
}

.download-phone__label {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.download-phone__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.12);
  font-size: 12px;
  font-weight: 700;
  color: #a5f3fc;
}

.download-install {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(6, 182, 212, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(22, 20, 18, 0.92), rgba(12, 11, 10, 0.96));
}

.download-install__head {
  margin-bottom: 22px;
  max-width: 36rem;
}

.download-install__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
}

.download-install__head p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.download-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 16px;
  border-radius: var(--radius-md, 14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 100%;
}

.download-steps__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.9), rgba(139, 92, 246, 0.85));
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}

.download-steps__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.download-steps__body strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.download-steps__body span {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.download-install__meta {
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 820px) {
  .download-hero__grid {
    grid-template-columns: 1fr;
  }

  .download-phone {
    order: -1;
    width: min(100%, 220px);
  }

  .download-steps {
    grid-template-columns: 1fr;
  }

  .download-steps li {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
}
