:root {
  color-scheme: dark;
  font-size: 16px;
}

body {
  min-height: 100vh;
  background-color: #020617;
  scroll-behavior: smooth;
}

.gradient-border {
  position: relative;
  border-radius: 1.75rem;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(192, 132, 252, 0.25), rgba(52, 211, 153, 0.35));
  z-index: -1;
  opacity: 0.9;
}

.strategy-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(14, 165, 233, 0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
}

.tag-sky {
  background: rgba(56, 189, 248, 0.18);
  color: rgb(56, 189, 248);
}

.tag-purple {
  background: rgba(192, 132, 252, 0.18);
  color: rgb(192, 132, 252);
}

.tag-emerald {
  background: rgba(52, 211, 153, 0.18);
  color: rgb(52, 211, 153);
}

.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background-color: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.progress-fill {
  width: 78%;
  height: 100%;
  border-radius: inherit;
  animation: pulseFill 4s ease-in-out infinite;
}

@keyframes pulseFill {
  0%,
  100% {
    transform: scaleX(0.98);
    transform-origin: left center;
    opacity: 0.7;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.learning-card {
  min-height: 220px;
}

.learning-card .tags span {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
}

.loader {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid rgba(56, 189, 248, 0.2);
  border-top-color: rgba(56, 189, 248, 0.8);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  nav a {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }
}

