:root {
  --bg: #05080f;
  --bg-elev: #0c1220;
  --bg-soft: #131b2d;
  --text: #ecf2ff;
  --muted: #9eb0d1;
  --line: #273452;
  --accent: #3ddc97;
  --accent-2: #45a5ff;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(1200px 600px at 90% -20%, rgba(69, 165, 255, 0.15), transparent 60%),
    radial-gradient(900px 480px at -10% 20%, rgba(61, 220, 151, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #070b14 60%, #05080f 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  min-height: 100vh;
}

.navbar {
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background-color: rgba(5, 8, 15, 0.85) !important;
}

.brand-logo {
  height: 34px;
  width: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(130deg, rgba(61, 220, 151, 0.1), rgba(69, 165, 255, 0.12));
}

.hero h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.2px;
}

.kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.surface {
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: rgba(12, 18, 32, 0.9);
}

.card-audience {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-audience:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 165, 255, 0.7);
  box-shadow: 0 10px 30px rgba(3, 10, 25, 0.55);
}

.metric {
  border-left: 3px solid var(--accent-2);
  padding-left: 0.75rem;
}

.feature-list li {
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.page-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.text-muted-custom {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.btn-accent {
  background: linear-gradient(90deg, var(--accent), #5fe9b2);
  border: none;
  color: #00150c;
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus {
  color: #00150c;
  opacity: 0.95;
}

.btn-outline-accent {
  border: 1px solid rgba(61, 220, 151, 0.6);
  color: #aaf5d4;
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
  background-color: rgba(61, 220, 151, 0.14);
  color: #d7ffef;
  border-color: rgba(61, 220, 151, 0.85);
}

.badge-soft {
  background-color: rgba(69, 165, 255, 0.2);
  color: #a8d4ff;
}

.exercise-figure {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 16, 28, 0.8);
  padding: 0.75rem;
}

.exercise-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.exercise-card {
  border: 1px solid rgba(69, 165, 255, 0.25);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(19, 27, 45, 0.55);
}

.exercise-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.source-links li {
  margin-bottom: 0.3rem;
}

.link-light,
a.link-light {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.1s ease;
}

.link-light:hover,
a.link-light:hover {
  color: #5fe9b2;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Ensure reference links stand out */
.source-links a {
  color: var(--accent);
  font-weight: 600;
}

.source-links a:hover {
  color: #5fe9b2;
}

@media (max-width: 768px) {
  .hero {
    border-radius: 14px;
  }

  .navbar-brand span {
    display: none;
  }
}
