/* Chroma spotlight text — DOWNLOAD NOW buttons only */

.chroma-btn {
  --mx: 50%;
  --my: 50%;
  --chroma-r: 140px;
  position: relative;
  text-decoration: none;
}

.chroma-btn__label {
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.chroma-btn__label-base,
.chroma-btn__label-chroma {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
}

.chroma-btn__label-base {
  color: rgba(240, 240, 245, 0.92);
  transition: color 0.3s ease;
}

.chroma-btn__label-chroma {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    #a855f7 0%,
    #d946ef 28%,
    #3b82f6 58%,
    #22d3ee 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  mask-image: radial-gradient(
    circle var(--chroma-r) at var(--mx) var(--my),
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.55) 42%,
    transparent 72%
  );
  -webkit-mask-image: radial-gradient(
    circle var(--chroma-r) at var(--mx) var(--my),
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, 0.55) 42%,
    transparent 72%
  );
  opacity: 0.85;
}

.chroma-btn:hover .chroma-btn__label-base {
  color: rgba(240, 240, 245, 0.55);
}

.chroma-btn:hover .chroma-btn__label-chroma {
  opacity: 1;
}

/* Hero download block */
.btn--download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 260px);
  padding: 16px 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 12, 0.45);
  backdrop-filter: blur(10px);
  border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.btn--download:hover {
  border-color: var(--accent-dim);
  background: rgba(12, 12, 18, 0.55);
  transform: translateY(-1px);
}

.btn--download .chroma-btn__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn--download {
  --chroma-r: 160px;
}

.hero__download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 0;
  position: relative;
  z-index: 11;
}

.hero__platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__platform-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.hero__platform-os {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  color: var(--text-secondary);
  transition: color 0.25s, border-color 0.25s;
}

.hero__platform-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.hero__platform-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: inherit;
}

.hero__platform-os:hover {
  color: var(--text-primary);
  border-color: var(--accent-dim);
}

/* Nav download CTA */
.nav__cta--download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  --chroma-r: 80px;
  transition: background 0.25s, border-color 0.25s;
}

.nav__cta--download .chroma-btn__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav__cta--download:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-dim);
}

.nav__mobile-download {
  margin-top: 8px;
  padding: 14px 16px !important;
  text-align: center;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  background: rgba(168, 85, 247, 0.1);
  color: var(--text-primary) !important;
}

@media (max-width: 768px) {
  .btn--download {
    width: 100%;
    max-width: 320px;
  }
}
