/* Download Curriculum button — vibrant amber→coral, deliberately NOT purple
   so it stands out from the rest of the (purple/cyan) course hero. */

.hero-cta-row {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.download-curriculum-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  box-shadow:
    0 8px 22px rgba(239, 68, 68, 0.35),
    0 2px 6px rgba(245, 158, 11, 0.25);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.download-curriculum-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(239, 68, 68, 0.45),
    0 4px 10px rgba(245, 158, 11, 0.30);
  filter: brightness(1.05);
}

.download-curriculum-btn:active { transform: translateY(0); }

.download-curriculum-btn:disabled,
.download-curriculum-btn.is-loading {
  opacity: 0.85;
  cursor: progress;
}

.download-curriculum-btn .dl-icon { flex-shrink: 0; }

.download-curriculum-btn.is-loading .dl-icon {
  animation: dl-spin 0.9s linear infinite;
}
@keyframes dl-spin { to { transform: rotate(360deg); } }

.download-curriculum-error {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: #fecaca;
}

@media (max-width: 600px) {
  .download-curriculum-btn {
    width: 100%;
    justify-content: center;
  }
}
