/* /assets/css/styles.css */
:root {
  /* Fonts */
  --font-heading: "Unbounded", "Syne", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Colors */
  --bg-0: #05050a;
  --bg-1: #000212;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --dim: rgba(255, 255, 255, 0.48);

  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);

  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);

  --violet: rgba(116, 73, 255, 0.28);
  --blue: rgba(70, 145, 255, 0.18);
  --cyan: rgba(0, 224, 255, 0.10);

  /* Layout */
  --container: 1160px;
  --gutter: 24px;

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;

  /* Shadows */
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-elev: 0 16px 44px rgba(0, 0, 0, 0.60);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 180ms;
  --dur: 260ms;
  --dur-slow: 600ms;

  /* Type scale */
  --h1: clamp(2.2rem, 3.2vw, 3.6rem);
  --h2: clamp(1.6rem, 2.2vw, 2.2rem);
  --lead: 1.02rem;
  --ring: 0%;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  font-feature-settings: "liga", "calt";
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(79, 0, 250, 0.22), rgba(0, 2, 18, 0) 60%),
    radial-gradient(700px 420px at 72% 22%, rgba(70, 145, 255, 0.14), rgba(0, 2, 18, 0) 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  overflow-x: hidden;
  width: 100%;
}

/* Subtle noise overlay (very light) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  z-index: 0;
}

.site {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.015em;
  margin: 0;
}

h1 {
  font-size: var(--h1);
  line-height: 1.04;
}

h2 {
  font-size: var(--h2);
  line-height: 1.15;
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.42);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

/* Promo bar */
.promo-bar {
  position: relative;
  z-index: 10;
  background: linear-gradient(120deg, rgba(8, 10, 18, 0.98), rgba(12, 16, 28, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.promo-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 45%, rgba(146, 92, 255, 0.25), transparent 60%),
    radial-gradient(circle at 85% 35%, rgba(70, 145, 255, 0.22), transparent 55%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 35%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.promo-bar::after {
  content: "";
  position: absolute;
  inset: -160% 0 0 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.65) 40%, transparent 60%),
    radial-gradient(1.6px 1.6px at 140px 80px, rgba(255, 255, 255, 0.45) 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 90px 170px, rgba(255, 255, 255, 0.55) 40%, transparent 60%),
    radial-gradient(2.2px 2.2px at 200px 120px, rgba(255, 255, 255, 0.35) 40%, transparent 60%);
  background-size: 220px 220px;
  animation: promo-snow 12s linear infinite;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.promo-bar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 16px;
  text-align: center;
}

.promo-bar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 14, 24, 0.85);
  border: 1px solid rgba(146, 92, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #efe8ff;
  white-space: nowrap;
}

.promo-bar__text {
  font-size: 1rem;
  color: rgba(245, 242, 255, 0.92);
  font-weight: 500;
}

.promo-bar__text strong {
  color: #ffffff;
  font-weight: 700;
}

.promo-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.9);
  color: #ffffff;
  font-family: var(--font-heading, "Unbounded", "Syne", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(146, 92, 255, 0.45);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 0 18px rgba(146, 92, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-bar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45), 0 0 22px rgba(146, 92, 255, 0.32);
}

@keyframes promo-snow {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(60%);
  }
}

@media (max-width: 768px) {
  .promo-bar__inner {
    flex-direction: column;
    gap: 8px;
  }

  .promo-bar__text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .promo-bar__inner {
    padding: 10px 12px;
  }

  .promo-bar__text {
    font-size: 0.9rem;
  }
}

/* Helpers */
.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding: clamp(48px, 6vw, 86px) 0;
  position: relative;
}

.section-title {
  color: var(--text);
}

.section-title__accent {
  display: inline-flex;
  align-items: center;
  padding: 0.08em 0.45em;
  margin-left: 0.12em;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.25), rgba(70, 145, 255, 0.18));
  border: 1px solid rgba(146, 92, 255, 0.4);
  color: #cdbbff;
  box-shadow: 0 10px 20px rgba(146, 92, 255, 0.22);
  line-height: 1.1;
}

.text-lg {
  font-size: var(--lead);
}

.micro {
  font-size: 0.92rem;
  color: var(--dim);
}

.center {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.stack {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.stack--sm {
  gap: 12px;
}

.stack--lg {
  gap: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid transparent;
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    color var(--dur) var(--ease);
  will-change: transform;
  user-select: none;
  white-space: nowrap;
}

.btn--lg {
  padding: 14px 18px;
  border-radius: 16px;
}

.btn--primary {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(0, 0, 0, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.btn--secondary {
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-elev);
}

/* Courses section CTA */
.btn--all-courses {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 14px 26px;
  font-family: "Space Grotesk", "Manrope", var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(145deg, rgba(8, 10, 18, 0.98), rgba(14, 18, 34, 0.96) 55%, rgba(22, 28, 46, 0.92));
  border-color: rgba(146, 92, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 24px rgba(70, 145, 255, 0.18);
  --cta-glow: rgba(70, 145, 255, 0.35);
}

.btn--all-courses::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -30%;
  width: 55%;
  height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-140%);
  transition: transform 800ms var(--ease);
  pointer-events: none;
}

.btn--all-courses:hover::after {
  transform: translateX(200%);
}

.btn--all-courses:hover {
  border-color: rgba(146, 92, 255, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 30px rgba(146, 92, 255, 0.25);
}

/* Hero + Discover CTA typography */
.hero__actions .cta-action,
.section--discover .cta-action {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Header / Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 6, 12, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.85), rgba(255, 255, 255, 0.12));
  box-shadow: 0 10px 30px rgba(79, 0, 250, 0.18), 0 10px 30px rgba(70, 145, 255, 0.12);
}

.brand__name {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.nav__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.nav__stack {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.nav__cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__socials {
  display: none;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav__social-link {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  transition:
    transform var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.nav__social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.nav__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(146, 92, 255, 0.4);
  background: rgba(8, 10, 18, 0.9);
  color: rgba(255, 255, 255, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(146, 92, 255, 0.35);
  transition:
    transform var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.nav__close:hover {
  transform: scale(1.05);
  border-color: rgba(146, 92, 255, 0.65);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.52),
    0 0 30px rgba(146, 92, 255, 0.5);
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: transparent;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease),
    color var(--dur) var(--ease);
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav__link--glass {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav__link--glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav__link--dropdown {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.nav__link--dropdown::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(120, 190, 255, 0.0), rgba(120, 190, 255, 0.55), rgba(146, 92, 255, 0.0));
  opacity: 0.35;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav__link--dropdown:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
}

.nav__link--dropdown:hover::after {
  opacity: 0.7;
  transform: translateY(1px);
}

.nav__item.is-open > .nav__link--dropdown {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav__chev {
  opacity: 0.7;
  transform: translateY(1px);
  transition: transform var(--dur) var(--ease);
}

.nav__item.is-open .nav__chev {
  transform: rotate(180deg) translateY(-1px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 320px;
  max-width: 420px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 18, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav__item.is-open > .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) {
  .nav__item--dropdown:hover > .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.dropdown__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  min-width: 0;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.dropdown__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.dropdown__main {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.dropdown__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.25;
}

.dropdown__desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.4;
  margin-top: 0;
}

.dropdown__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #efe6ff;
  background: rgba(146, 92, 255, 0.16);
  border: 1px solid rgba(146, 92, 255, 0.38);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 12px;
  backdrop-filter: blur(10px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav__cta--profession {
  position: relative;
  isolation: isolate;
  font-family: "Montserrat", var(--font-body);
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(120deg, rgba(18, 22, 34, 0.9), rgba(28, 32, 52, 0.9));
  border-color: rgba(146, 92, 255, 0.38);
  color: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(146, 92, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__cta--profession:hover {
  transform: translateY(-1px);
  border-color: rgba(146, 92, 255, 0.6);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.52),
    0 0 34px rgba(146, 92, 255, 0.5);
}

.nav__cta--profession::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 20%, rgba(146, 92, 255, 0.75), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(70, 145, 255, 0.55), transparent 65%);
  opacity: 0.85;
  filter: blur(20px);
  z-index: -1;
  animation: nav-cta-glow 4.4s ease-in-out infinite;
}

.nav__cta--profession::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 55%);
  opacity: 0.5;
  mix-blend-mode: screen;
  z-index: 0;
}

.nav__cta--profession .nav-cta__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.nav__cta--profession .nav-cta__label {
  line-height: 1;
  position: relative;
  z-index: 1;
}

@keyframes nav-cta-glow {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.nav-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle__icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
  display: inline-flex;
}

body.nav-open {
  overflow: hidden;
}

/* Hero */
.section--hero {
  padding-top: clamp(34px, 4.6vw, 70px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(560px 360px at 18% 28%, rgba(79, 0, 250, 0.24), transparent 60%),
    radial-gradient(620px 420px at 68% 18%, rgba(70, 145, 255, 0.14), transparent 62%),
    radial-gradient(500px 340px at 60% 72%, rgba(0, 224, 255, 0.08), transparent 62%);
  filter: blur(12px);
  opacity: 0.95;
  animation: drift 14s var(--ease) infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
}

@keyframes drift {
  from { transform: translate3d(-1.2%, -0.8%, 0) scale(1.02); }
  to { transform: translate3d(1.1%, 1.0%, 0) scale(1.04); }
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  max-width: 360px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
}

.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120px 40px at 20% 50%, rgba(116, 73, 255, 0.20), transparent 60%),
    radial-gradient(120px 40px at 80% 50%, rgba(70, 145, 255, 0.14), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero__content {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.hero__title {
  margin-top: 2px;
}

.hero__strike {
  display: inline-block;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: line-through;
  text-decoration-thickness: 0.14em;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.hero__rest {
  display: inline-block;
  color: rgba(255, 255, 255, 0.94);
}

.hero__accent {
  background: linear-gradient(90deg, rgba(176, 150, 255, 0.95), rgba(120, 190, 255, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 56ch;
  font-family: "Space Grotesk", "Syne", var(--font-body);
  font-weight: 400;
  font-size: clamp(0.96rem, 1.1vw, 1.04rem);
  letter-spacing: 0.008em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* Card / Glow */
.glow-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.55), rgba(70, 145, 255, 0.35), rgba(255, 255, 255, 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.88;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: -45%;
  background:
    radial-gradient(circle at 20% 30%, rgba(146, 92, 255, 0.18), transparent 40%),
    radial-gradient(circle at 75% 55%, rgba(70, 145, 255, 0.16), transparent 44%);
  filter: blur(30px);
  opacity: 0.55;
  pointer-events: none;
}

.glow-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-elev);
}

/* Media card */
.media-card {
  padding: 14px;
}

.media-card__frame {
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
}

.ratio {
  position: relative;
  width: 100%;
  height: auto;
}

.ratio--video {
  aspect-ratio: 16 / 9;
}

.ratio iframe,
.ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-card__video {
  display: none; /* enabled when mode = local */
  object-fit: cover;
}

.media-card__actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  gap: 10px;
  z-index: 2;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.media-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
}

.media-controls {
  --progress: 0%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.media-controls.is-disabled {
  opacity: 0.55;
}

.media-controls__row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.media-controls__btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition:
    transform var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.media-controls__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.media-controls__btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.media-controls__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.media-controls__icon--pause,
.media-controls__icon--mute {
  display: none;
}

.media-controls.is-playing .media-controls__icon--play {
  display: none;
}

.media-controls.is-playing .media-controls__icon--pause {
  display: inline-flex;
}

.media-controls.is-muted .media-controls__icon--sound {
  display: none;
}

.media-controls.is-muted .media-controls__icon--mute {
  display: inline-flex;
}

.media-controls__time {
  font-size: 0.85rem;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
  min-width: 3.6ch;
}

.media-controls__bar {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
}

.media-controls__progress {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(146, 92, 255, 0.9) var(--progress), rgba(255, 255, 255, 0.12) var(--progress));
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.media-controls__progress::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(146, 92, 255, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.media-controls__progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(146, 92, 255, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.media-controls__progress::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.9));
  box-shadow: 0 0 0 6px rgba(146, 92, 255, 0.10);
}

/* Lux scroll rail */
.lux-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}

.rail-ring {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  padding: 0;
  appearance: none;
}

.rail-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background:
    conic-gradient(from -90deg, rgba(146, 92, 255, 0.9) var(--ring), rgba(255, 255, 255, 0.10) 0);
  filter: drop-shadow(0 10px 22px rgba(146, 92, 255, 0.18));
}

.rail-ring::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  background: rgba(5, 5, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.rail-icon {
  position: relative;
  z-index: 1;
  font-size: 13px;
  opacity: 0.92;
}

.rail-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}

.lux-rail .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  padding: 0;
  appearance: none;
}

.lux-rail .dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(146, 92, 255, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.lux-rail .dot:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.22);
}

.lux-rail .dot.active {
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.95), rgba(70, 145, 255, 0.8));
  border-color: rgba(146, 92, 255, 0.45);
  box-shadow: 0 14px 40px rgba(146, 92, 255, 0.18);
}

.lux-rail .dot.active::after {
  opacity: 1;
}

@media (max-width: 980px) {
  .lux-rail {
    display: none;
  }
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1.02fr 1fr;
}

.split__copy {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.mock {
  padding: 14px;
}

.mock__img {
  border-radius: calc(var(--r-lg) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
}

/* Discover carousel */
.discover-carousel {
  position: relative;
  padding: clamp(12px, 2.2vw, 20px);
  padding-bottom: clamp(46px, 6vw, 64px);
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 1200px;
  transition: height 500ms var(--ease);
}

.discover-carousel.glow-card::before,
.discover-carousel.glow-card::after {
  content: none;
}

.discover-carousel__track {
  display: flex;
  align-items: flex-start;
  transition: transform 600ms var(--ease);
  will-change: transform;
}

.discover-carousel__slide {
  min-width: 100%;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  opacity: 0.55;
  transition: opacity 500ms var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
  --tilt-x: 7deg;
  --tilt-y: -10deg;
}

.discover-carousel__slide:nth-child(2) {
  --tilt-x: 6deg;
  --tilt-y: 9deg;
}

.discover-carousel__slide:nth-child(3) {
  --tilt-x: 9deg;
  --tilt-y: -6deg;
}

.discover-carousel__slide.is-active {
  opacity: 1;
  animation: discoverFloat 7.6s ease-in-out infinite;
}

.discover-carousel__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--r-lg) - 6px);
  border: 0;
  background: transparent;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateZ(0);
  transform-origin: center;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(90, 160, 255, 0.24);
  filter:
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 24px rgba(146, 92, 255, 0.18));
  transition:
    transform var(--dur-slow) var(--ease),
    box-shadow var(--dur-slow) var(--ease),
    filter var(--dur-slow) var(--ease);
  will-change: transform, filter;
}

.discover-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.2vw, 18px);
  top: auto;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.discover-carousel__nav {
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 2vw, 16px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.discover-carousel__nav .discover-carousel__dots {
  position: static;
  left: auto;
  bottom: auto;
  top: auto;
  transform: none;
}

.discover-carousel__btn {
  width: clamp(36px, 4vw, 44px);
  height: clamp(36px, 4vw, 44px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.discover-carousel__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.discover-carousel__btn:active {
  transform: translateY(0);
}

.discover-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.discover-carousel__dot.is-active {
  width: 10px;
  height: 10px;
  border-color: rgba(146, 92, 255, 0.6);
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.85));
  box-shadow: 0 0 0 4px rgba(146, 92, 255, 0.14);
  transform: scale(1.05);
}

/* Discover carousel stacked cards */
.discover-carousel--stacked {
  overflow: visible;
  padding-bottom: clamp(18px, 3vw, 26px);
  touch-action: pan-y;
  user-select: none;
}

.discover-carousel--stacked .discover-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: clamp(220px, 34vw, 380px);
  transform-style: preserve-3d;
  cursor: grab;
}

.discover-carousel--stacked .discover-carousel__track:active {
  cursor: grabbing;
}

.discover-carousel--stacked .discover-carousel__slide {
  position: absolute;
  inset: 0;
  align-items: stretch;
  justify-content: stretch;
  opacity: 0;
  pointer-events: none;
  border-radius: clamp(18px, 2.4vw, 26px);
  overflow: hidden;
  background:
    radial-gradient(140% 140% at 12% 8%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(160deg, rgba(6, 10, 20, 0.84), rgba(3, 6, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  transform: translate3d(0, 16px, -60px) scale(0.92) rotate(-4deg);
  transition:
    transform 600ms var(--ease),
    opacity 600ms var(--ease),
    box-shadow 600ms var(--ease),
    filter 600ms var(--ease);
  will-change: transform;
}

.discover-carousel--stacked .discover-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  z-index: 3;
  animation: none;
}

.discover-carousel--stacked .discover-carousel__slide.is-prev {
  opacity: 0.8;
  transform: translate3d(-18px, 26px, -40px) scale(0.96) rotate(-7deg);
  z-index: 2;
}

.discover-carousel--stacked .discover-carousel__slide.is-next {
  opacity: 0.7;
  transform: translate3d(18px, 28px, -40px) scale(0.95) rotate(6deg);
  z-index: 1;
}

.discover-carousel--stacked .discover-carousel__slide.is-far {
  opacity: 0;
}

.discover-carousel--stacked .discover-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: none;
  box-shadow: none;
  filter: saturate(1.05) contrast(1.02);
}

.discover-carousel--stacked .discover-carousel__slide.is-active .discover-carousel__img {
  animation: discoverCardFloat 6.8s ease-in-out infinite;
  filter:
    drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 24px rgba(120, 190, 255, 0.22));
}

.discover-carousel--stacked .discover-carousel__nav {
  position: static;
  transform: none;
  width: 100%;
  justify-content: center;
  margin-top: clamp(12px, 2vw, 16px);
}

.discover-carousel--stacked .discover-carousel__dots {
  position: static;
  transform: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.discover-carousel--stacked .discover-carousel__dot {
  width: 10px;
  height: 10px;
}

.discover-carousel--stacked .discover-carousel__dot.is-active {
  width: 12px;
  height: 12px;
}

@media (max-width: 720px) {
  .discover-carousel--stacked .discover-carousel__track {
    aspect-ratio: 4 / 3;
    min-height: clamp(200px, 66vw, 320px);
  }

  .discover-carousel--stacked .discover-carousel__nav {
    width: 100%;
    justify-content: space-between;
  }
}

@keyframes discoverCardFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes discoverFloat {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Learn section subtle radial */
.section--learn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("../../images/8kline.png") center/cover no-repeat,
    radial-gradient(520px 280px at 50% 40%, rgba(79, 0, 250, 0.18), rgba(0, 2, 18, 0) 65%);
  opacity: 0.4;
}

/* Courses */
.section--courses::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 300px at 18% 35%, rgba(70, 145, 255, 0.14), rgba(0, 2, 18, 0) 60%),
    radial-gradient(520px 320px at 82% 25%, rgba(146, 92, 255, 0.16), rgba(0, 2, 18, 0) 62%);
  opacity: 0.4;
}

.courses-grid {
  margin-top: clamp(26px, 4vw, 38px);
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.course-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transition:
    transform var(--dur-slow) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  will-change: transform;
}

.course-card__media {
  position: relative;
  z-index: 0;
  border-radius: calc(var(--r-md) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.30);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.course-card__media::before {
  content: "";
  position: absolute;
  inset: -35% -45%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.18) 48%, transparent 62%);
  transform: translateX(-35%);
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  animation: mediaSweep 9s ease-in-out infinite;
}

.course-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
  opacity: 0.85;
  transition: opacity var(--dur) var(--ease);
  z-index: 2;
}

.course-card__img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  transition: transform 700ms var(--ease), filter 600ms var(--ease);
}

.course-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  z-index: 1;
}

.course-card__tag--alt {
  border-color: rgba(116, 73, 255, 0.45);
  background: rgba(116, 73, 255, 0.18);
}

.course-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.course-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.25;
}

.course-card__text {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.course-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 6px;
}

.course-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.course-fact__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.18), rgba(70, 145, 255, 0.1));
  color: #cdbbff;
  flex-shrink: 0;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.course-fact__icon svg {
  width: 16px;
  height: 16px;
}

.course-fact__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.course-fact__value {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.course-price {
  margin-top: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.38);
  overflow: hidden;
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(70, 145, 255, 0.12);
}

.course-price[open] {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 20px 38px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(146, 92, 255, 0.18);
}

.course-price__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(146, 92, 255, 0.18), rgba(70, 145, 255, 0.18));
}

.course-price__summary::marker,
.course-price__summary::-webkit-details-marker {
  display: none;
}

.course-price__summary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.5), transparent 90%);
  transform: translateX(0);
  transition: transform 900ms var(--ease);
  pointer-events: none;
}

.course-price__summary:hover::after {
  transform: translateX(200%);
}

.course-price__label {
  letter-spacing: 0.02em;
}

.course-price__badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.76);
}

.course-price__chevron {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  transition: transform 300ms var(--ease);
}

.course-price[open] .course-price__chevron {
  transform: rotate(225deg);
}

.course-price__body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.45));
}

.course-price__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  flex-wrap: nowrap;
}

.course-price__name {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  white-space: nowrap;
}

.course-price__value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  text-align: right;
  white-space: nowrap;
}

.price__new {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.04rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(176, 150, 255, 0.9), rgba(120, 190, 255, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(120, 190, 255, 0.25);
}

.price__old {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.price__badge {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(120deg, rgba(146, 92, 255, 0.3), rgba(70, 145, 255, 0.28));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 0 14px rgba(120, 190, 255, 0.25);
}
.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}

.course-card__meta {
  font-size: 0.85rem;
  color: var(--dim);
}

.btn--course {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(176, 150, 255, 0.88), rgba(120, 190, 255, 0.9));
  color: rgba(5, 5, 10, 0.95);
  font-family: var(--font-heading);
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow:
    0 12px 30px rgba(70, 145, 255, 0.22),
    0 12px 26px rgba(0, 0, 0, 0.45);
}

.btn--course::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -30%;
  width: 50%;
  height: 240%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-140%);
  transition: transform 700ms var(--ease);
  pointer-events: none;
}

.course-card.glow-card::after {
  animation: courseGlow 12s ease-in-out infinite;
}

@keyframes mediaSweep {
  0% { transform: translateX(-35%); opacity: 0.24; }
  45% { transform: translateX(8%); opacity: 0.45; }
  100% { transform: translateX(35%); opacity: 0.3; }
}

@keyframes courseGlow {
  0% { transform: translate3d(-6%, -4%, 0) scale(1); opacity: 0.5; }
  50% { transform: translate3d(6%, 5%, 0) scale(1.05); opacity: 0.75; }
  100% { transform: translate3d(-6%, -4%, 0) scale(1); opacity: 0.5; }
}

@media (hover: hover) {
  .course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-elev);
  }

  .course-card:hover .course-card__img {
    transform: scale(1.08);
    filter: saturate(1.2) contrast(1.08);
  }

  .course-card:hover .course-card__media::after {
    opacity: 0.6;
  }

  .btn--course:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 44px rgba(70, 145, 255, 0.26),
      0 14px 30px rgba(0, 0, 0, 0.55);
  }

  .btn--course:hover::after {
    transform: translateX(220%);
  }
}

/* Free marathons */
.section--marathons::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 320px at 12% 30%, rgba(70, 145, 255, 0.16), rgba(0, 2, 18, 0) 62%),
    radial-gradient(620px 340px at 88% 25%, rgba(146, 92, 255, 0.18), rgba(0, 2, 18, 0) 64%);
  opacity: 0.9;
}

/* Academy currency */
.section--currency::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 340px at 18% 40%, rgba(70, 145, 255, 0.16), rgba(0, 2, 18, 0) 60%),
    radial-gradient(520px 320px at 78% 22%, rgba(146, 92, 255, 0.18), rgba(0, 2, 18, 0) 62%);
  opacity: 0.9;
}

.currency {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
}

.currency__content {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.currency__media {
  position: relative;
  min-height: clamp(240px, 38vw, 380px);
  display: grid;
  place-items: center;
}

.currency__orbit {
  position: relative;
  width: min(520px, 100%);
  height: clamp(260px, 36vw, 380px);
}

.currency__orbit::before,
.currency__orbit::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
}

.currency__orbit::before {
  background: radial-gradient(circle, rgba(146, 92, 255, 0.25), transparent 60%);
}

.currency__orbit::after {
  background: radial-gradient(circle, rgba(70, 145, 255, 0.22), transparent 60%);
  transform: translateY(8%);
}

.currency__img {
  position: absolute;
  max-width: 100%;
  height: auto;
  filter:
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 40px rgba(146, 92, 255, 0.28));
  transform-origin: center;
  animation: floatA 7.5s ease-in-out infinite;
}

.currency__img--gems {
  width: clamp(200px, 34vw, 360px);
  left: -4%;
  bottom: -2%;
  animation-name: floatA;
}

.currency__img--points {
  width: clamp(180px, 30vw, 320px);
  right: -2%;
  top: -6%;
  animation-name: floatB;
}

@keyframes floatA {
  0% { transform: translate3d(0, 0, 0) rotate(-1.5deg) scale(1); }
  50% { transform: translate3d(10px, -12px, 0) rotate(1.5deg) scale(1.02); }
  100% { transform: translate3d(0, 0, 0) rotate(-1.5deg) scale(1); }
}

@keyframes floatB {
  0% { transform: translate3d(0, 0, 0) rotate(1deg) scale(1); }
  50% { transform: translate3d(-12px, 14px, 0) rotate(-1.5deg) scale(1.03); }
  100% { transform: translate3d(0, 0, 0) rotate(1deg) scale(1); }
}

.currency-cipher {
  margin-top: clamp(20px, 4vw, 32px);
  display: flex;
  justify-content: center;
}

.cipher-screen {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.32);
  padding: clamp(16px, 2.6vw, 22px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.cipher-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 12px);
  opacity: 0.35;
  pointer-events: none;
}

.cipher-line {
  position: relative;
  font-family: "Syne", var(--font-heading);
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow: hidden;
}

.cipher-line + .cipher-line {
  margin-top: 10px;
}

.cipher-noise {
  display: block;
  color: rgba(146, 92, 255, 0.5);
  text-shadow:
    0 0 14px rgba(146, 92, 255, 0.55),
    0 0 26px rgba(146, 92, 255, 0.35);
  white-space: inherit;
  animation: noiseFlicker 1.6s steps(2) infinite;
  animation-delay: var(--delay, 0s);
}

.cipher-reveal {
  position: absolute;
  inset: 0;
  display: block;
  color: #cdb6ff;
  text-shadow:
    0 0 14px rgba(146, 92, 255, 0.9),
    0 0 32px rgba(146, 92, 255, 0.7),
    0 0 52px rgba(146, 92, 255, 0.5);
  white-space: inherit;
  clip-path: inset(0 100% 0 0);
  animation: decode var(--duration, 5.5s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.cipher-line::after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 60px;
  left: -20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  filter: blur(8px);
  opacity: 0.6;
  animation: scan var(--duration, 5.5s) linear infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
}

@keyframes decode {
  0% { clip-path: inset(0 100% 0 0); opacity: 0; }
  12% { clip-path: inset(0 70% 0 0); opacity: 1; }
  50% { clip-path: inset(0 35% 0 35%); }
  88% { clip-path: inset(0 0 0 70%); opacity: 1; }
  100% { clip-path: inset(0 0 0 100%); opacity: 0; }
}

@keyframes scan {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 0.65; }
  85% { opacity: 0.65; }
  100% { transform: translateX(140%); opacity: 0; }
}

@keyframes noiseFlicker {
  0% { opacity: 0.35; }
  50% { opacity: 0.65; }
  100% { opacity: 0.35; }
}

.cipher-screen.cipher-screen--orbit {
  position: relative;
  width: min(980px, 96vw);
  min-height: clamp(320px, 46vw, 440px);
  margin-inline: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  contain: none;
  display: grid;
  place-items: center;
}

.cipher-screen.cipher-screen--orbit::before {
  display: none;
}

.cipher-orbit {
  position: relative;
  width: clamp(300px, 48vw, 620px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  z-index: 1;
}

.cipher-orbit__planet {
  position: relative;
  width: clamp(190px, 30vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.16) 24%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(70, 145, 255, 0.35), rgba(10, 12, 22, 0.9) 70%),
    linear-gradient(140deg, rgba(146, 92, 255, 0.95), rgba(70, 145, 255, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 18px 18px 32px rgba(255, 255, 255, 0.08),
    inset -24px -30px 60px rgba(0, 0, 0, 0.7),
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(146, 92, 255, 0.35);
  z-index: 2;
  animation: planet-float 8s ease-in-out infinite;
}

.cipher-planet__surface {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2px, 0.6vw, 6px);
  padding: 10%;
  mix-blend-mode: screen;
  opacity: 0.9;
  mask-image: radial-gradient(circle at 50% 50%, #000 72%, transparent 100%);
  animation: planet-drift 18s linear infinite;
}

.cipher-planet__surface .cipher-line {
  width: 100%;
  white-space: nowrap;
  text-align: center;
  font-size: clamp(0.55rem, 1vw, 0.82rem);
  letter-spacing: 0.18em;
  line-height: 1.15;
  transform: scaleX(var(--curve, 1));
  transform-origin: center;
  opacity: calc(0.4 + var(--curve, 1) * 0.6);
}

.cipher-planet__surface .cipher-line::after {
  display: none;
}

.cipher-planet__surface .cipher-noise {
  color: rgba(170, 200, 255, 0.55);
  text-shadow:
    0 0 14px rgba(70, 145, 255, 0.5),
    0 0 26px rgba(146, 92, 255, 0.35);
}

.cipher-planet__surface .cipher-reveal {
  color: rgba(255, 255, 255, 0.9);
  text-shadow:
    0 0 16px rgba(146, 92, 255, 0.9),
    0 0 30px rgba(70, 145, 255, 0.6);
}

.cipher-orbit__planet::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.65), transparent 60%);
  opacity: 0.75;
  mix-blend-mode: screen;
  animation: planet-shine 6s ease-in-out infinite;
}

.cipher-orbit__planet::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146, 92, 255, 0.28), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.cipher-orbit__ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 24px rgba(146, 92, 255, 0.16);
  z-index: 1;
  opacity: 0.55;
  --ring-tilt: -18deg;
  --ring-scale: 0.74;
  transform: rotate(var(--ring-tilt)) scaleY(var(--ring-scale));
  animation: ring-rotate 26s linear infinite;
}

.cipher-orbit__ring--inner {
  inset: 12%;
  opacity: 0.35;
  animation-duration: 18s;
  --ring-tilt: 18deg;
  --ring-scale: 0.82;
}

.cipher-orbit__item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(var(--orbit-start)) translateX(var(--orbit-radius));
  transform-origin: center;
  animation: orbit-spin var(--orbit-duration, 20s) linear infinite;
  pointer-events: none;
  z-index: 3;
}

.cipher-orbit__item .cipher-line {
  width: max-content;
  white-space: nowrap;
  font-size: clamp(0.78rem, 1.15vw, 1rem);
  letter-spacing: 0.05em;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.65);
  transform: rotate(var(--orbit-start-neg));
  animation: orbit-counter var(--orbit-duration, 20s) linear infinite;
}

.cipher-line--orbit {
  font-size: clamp(0.78rem, 1.2vw, 1.06rem);
}


@keyframes orbit-spin {
  to {
    transform: rotate(calc(var(--orbit-start) + 360deg)) translateX(var(--orbit-radius));
  }
}

@keyframes orbit-counter {
  to {
    transform: rotate(calc(var(--orbit-start-neg) - 360deg));
  }
}

@keyframes planet-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes planet-drift {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes planet-shine {
  0% { transform: translate(-4%, -2%); opacity: 0.55; }
  50% { transform: translate(4%, 2%); opacity: 0.9; }
  100% { transform: translate(-4%, -2%); opacity: 0.55; }
}

@keyframes ring-rotate {
  to { transform: rotate(calc(var(--ring-tilt, -18deg) + 360deg)) scaleY(var(--ring-scale, 0.74)); }
}

@media (prefers-reduced-motion: reduce) {
  .cipher-orbit__item,
  .cipher-orbit__item .cipher-line,
  .cipher-orbit__planet,
  .cipher-orbit__planet::before,
  .cipher-orbit__ring,
  .cipher-planet__surface {
    animation: none;
  }
}

@media (max-width: 860px) {
  .currency-cipher {
    display: none;
  }

  .cipher-screen.cipher-screen--orbit {
    min-height: auto;
  }

  .cipher-orbit {
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cipher-orbit__planet,
  .cipher-planet__surface {
    display: none;
  }

  .cipher-orbit__ring {
    display: none;
  }

  .cipher-orbit__item {
    position: static;
    transform: none;
    animation: none;
  }

  .cipher-orbit__item .cipher-line {
    animation: none;
    white-space: normal;
    text-align: center;
    max-width: min(88vw, 360px);
  }

  .cipher-planet__surface {
    padding: 8%;
  }
}

.marathons-carousel {
  --marathon-gap: clamp(16px, 2.4vw, 26px);
  --marathon-duration: 34s;
  margin-top: clamp(22px, 3.6vw, 36px);
  position: relative;
  overflow: hidden;
  padding: 12px 0 16px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marathon-track {
  display: flex;
  align-items: stretch;
  gap: var(--marathon-gap);
  width: max-content;
  animation: marathonScroll var(--marathon-duration) linear infinite;
  will-change: transform;
}

.marathons-carousel:hover .marathon-track {
  animation-play-state: paused;
}

.marathon-set {
  display: flex;
  align-items: stretch;
  gap: var(--marathon-gap);
}

.marathon-card {
  flex: 0 0 clamp(260px, 28vw, 340px);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  cursor: grab;
}

.marathon-card:active {
  cursor: grabbing;
}

.marathon-card__media {
  position: relative;
  z-index: 0;
  border-radius: calc(var(--r-md) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.30);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.marathon-card__media::before {
  content: "";
  position: absolute;
  inset: -40% -50%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 64%);
  transform: translateX(-40%);
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: mediaSweep 11s ease-in-out infinite;
  z-index: 1;
}

.marathon-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
  opacity: 0.8;
  transition: opacity var(--dur) var(--ease);
  z-index: 2;
}

.marathon-card__img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  transition: transform 700ms var(--ease), filter 600ms var(--ease);
}

.marathon-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.marathon-card__tag--alt {
  border-color: rgba(116, 73, 255, 0.45);
  background: rgba(116, 73, 255, 0.16);
}

.marathon-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.marathon-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.25;
}

.marathon-card__text {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.marathon-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}

.marathon-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--dim);
  white-space: nowrap;
}

.marathon-card__days {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(120, 190, 255, 0.12));
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 14px rgba(120, 190, 255, 0.08);
}

.marathon-card__dot {
  color: rgba(255, 255, 255, 0.45);
}

.marathon-card__price {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(120deg, rgba(146, 92, 255, 0.2), rgba(70, 145, 255, 0.18));
  box-shadow: 0 0 14px rgba(120, 190, 255, 0.2);
}

.marathon-card__price-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(176, 150, 255, 0.9), rgba(120, 190, 255, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(120, 190, 255, 0.25);
}

.btn--marathon {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(70, 145, 255, 0.18));
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-weight: 600;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.45),
    0 10px 26px rgba(70, 145, 255, 0.16);
}

.btn--marathon::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -30%;
  width: 50%;
  height: 240%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-140%);
  transition: transform 700ms var(--ease);
  pointer-events: none;
}

@keyframes marathonScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (hover: hover) {
  .marathon-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-elev);
  }

  .marathon-card:hover .marathon-card__img {
    transform: scale(1.08);
    filter: saturate(1.18) contrast(1.08);
  }

  .marathon-card:hover .marathon-card__media::after {
    opacity: 0.6;
  }

  .btn--marathon:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.55),
      0 14px 30px rgba(70, 145, 255, 0.22);
  }

  .btn--marathon:hover::after {
    transform: translateX(220%);
  }
}

@media (max-width: 860px) {
  .marathons-carousel {
    --marathon-duration: 38s;
    overflow-x: auto;
    padding-inline: 12px;
    scroll-snap-type: x mandatory;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .marathons-carousel::-webkit-scrollbar {
    display: none;
  }

  .marathons-carousel {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .marathon-track {
    animation: none;
    width: auto;
  }

  .marathon-set + .marathon-set {
    display: none;
  }

  .marathon-card {
    flex: 0 0 min(84vw, 320px);
    scroll-snap-align: start;
  }
}

@media (max-width: 520px) {
  .marathons-carousel {
    --marathon-gap: 14px;
  }

  .course-price__row {
    padding: 6px 8px;
    gap: 8px;
  }

  .course-price__name {
    font-size: 0.8rem;
  }

  .course-price__value {
    gap: 6px;
  }

  .price__new {
    font-size: 0.95rem;
  }

  .price__old {
    font-size: 0.74rem;
  }

  .price__badge {
    font-size: 0.64rem;
    padding: 3px 6px;
  }
}

/* Assurance */
.section--assurance::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 320px at 18% 20%, rgba(70, 145, 255, 0.14), rgba(0, 2, 18, 0) 64%),
    radial-gradient(520px 320px at 86% 80%, rgba(146, 92, 255, 0.16), rgba(0, 2, 18, 0) 62%);
  opacity: 0.85;
}

.assurance-grid {
  margin-top: clamp(22px, 3.8vw, 36px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 24px);
}

.assurance-card {
  padding: clamp(16px, 2.4vw, 22px);
  display: grid;
  gap: 12px;
}

.assurance-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assurance-card__index {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(14, 16, 28, 0.9);
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.88));
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(120, 190, 255, 0.28);
}

.assurance-card__title {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  color: var(--text);
}

.assurance-card__text {
  color: var(--dim);
  line-height: 1.6;
  font-size: 0.98rem;
}

.slider-reveal {
  display: grid;
  gap: 10px;
}

.slider-reveal__track {
  --pad: 14px;
  position: relative;
  min-height: 56px;
  padding: 14px var(--pad);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slider-reveal__track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--reveal, 0%);
  background: linear-gradient(90deg, rgba(70, 145, 255, 0.3), rgba(146, 92, 255, 0.35));
  opacity: 0.6;
  pointer-events: none;
}

.slider-reveal__text {
  position: relative;
  z-index: 1;
  font-family: "Syne", var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.slider-reveal__text--ghost {
  color: transparent;
  text-shadow: none;
  opacity: 0;
}

.slider-reveal__text--mask {
  position: absolute;
  inset: 0;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 18px rgba(120, 190, 255, 0.45);
  clip-path: inset(0 calc(100% - var(--reveal, 0%)) 0 0);
  z-index: 2;
}

.slider-reveal__thumb {
  position: absolute;
  top: 50%;
  left: var(--reveal, 0%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.95), rgba(70, 145, 255, 0.92));
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(120, 190, 255, 0.45);
  z-index: 3;
  pointer-events: none;
}

.slider-reveal__thumb::before,
.slider-reveal__thumb::after {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 11px;
  width: 2px;
  border-radius: 2px;
  background: rgba(12, 14, 28, 0.8);
}

.slider-reveal__thumb::before {
  left: 11px;
}

.slider-reveal__thumb::after {
  right: 11px;
}

.slider-reveal__input {
  position: absolute;
  inset: -6px;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  z-index: 5;
}

.slider-reveal__hint {
  font-size: 0.86rem;
  color: var(--dim);
  margin: 0;
}

/* Manifesto */
.section--manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 340px at 12% 18%, rgba(146, 92, 255, 0.18), rgba(0, 2, 18, 0) 65%),
    radial-gradient(640px 340px at 88% 82%, rgba(70, 145, 255, 0.16), rgba(0, 2, 18, 0) 62%);
  opacity: 0.85;
}

.manifesto {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(18px, 3.6vw, 44px);
  align-items: center;
}

.manifesto__copy {
  display: grid;
  gap: 14px;
  max-width: 660px;
}

.manifesto__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.manifesto__title {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.15;
  color: var(--text);
}

.manifesto__accent {
  background: linear-gradient(90deg, rgba(176, 150, 255, 0.95), rgba(120, 190, 255, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.manifesto__text {
  color: var(--dim);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.manifesto__text--final {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.manifesto__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.manifesto__item {
  position: relative;
  padding-left: 18px;
  color: var(--dim);
  line-height: 1.7;
}

.manifesto__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.85));
  box-shadow: 0 0 12px rgba(120, 190, 255, 0.35);
}

.manifesto__key,
.key-highlight {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.manifesto__key::after,
.key-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 0.45em;
  background: linear-gradient(90deg, rgba(146, 92, 255, 0.35), rgba(70, 145, 255, 0.3));
  border-radius: 999px;
  z-index: -1;
  opacity: 0.85;
}

.key-underline {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  background-image: linear-gradient(90deg, rgba(146, 92, 255, 0.6), rgba(70, 145, 255, 0.5));
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  background-position: 0 100%;
  padding-bottom: 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.manifesto__collage {
  position: relative;
  min-height: clamp(360px, 42vw, 480px);
  display: grid;
  place-items: center;
}

.manifesto__panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 16, 0.6);
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(80, 120, 255, 0.18);
  transform: rotate(-1.8deg);
}

.manifesto__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.6), rgba(70, 145, 255, 0.32), rgba(255, 255, 255, 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.manifesto__panel-title {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.manifesto__lines {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.manifesto__lines p {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-family: "Syne", var(--font-heading);
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.92);
}

.manifesto__lines p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.85));
  box-shadow: 0 0 12px rgba(120, 190, 255, 0.45);
}

.manifesto__tag {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.32);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
  animation: manifestoFloat 10s ease-in-out infinite;
}

.manifesto__tag--a {
  top: 8%;
  right: -6%;
  transform: rotate(3deg);
  animation-delay: -1s;
}

.manifesto__tag--b {
  bottom: 12%;
  left: -8%;
  transform: rotate(-4deg);
  animation-delay: -3s;
}

.manifesto__tag--c {
  top: 65%;
  right: 3%;
  transform: rotate(-2deg);
  animation-delay: -5s;
}

.manifesto__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.65;
  animation: manifestoPulse 9s ease-in-out infinite;
}

.manifesto__orb--a {
  width: 180px;
  height: 180px;
  left: -4%;
  top: 6%;
  background: radial-gradient(circle, rgba(146, 92, 255, 0.32), transparent 65%);
}

.manifesto__orb--b {
  width: 220px;
  height: 220px;
  right: -8%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(70, 145, 255, 0.28), transparent 65%);
  animation-delay: -4s;
}

.manifesto__strip {
  position: absolute;
  inset: auto 0;
  height: 2px;
  width: 130%;
  top: 40%;
  left: -15%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.55;
  transform: rotate(-12deg);
  animation: manifestoDrift 12s linear infinite;
}

@keyframes manifestoFloat {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(6px, -10px, 0) rotate(1.5deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes manifestoPulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

@keyframes manifestoDrift {
  0% { transform: translateX(-10%) rotate(-12deg); }
  100% { transform: translateX(10%) rotate(-12deg); }
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.stat {
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.stat__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.stat__label {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--dim);
}

/* Testimonials */
.section--testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 300px at 50% 35%, rgba(79, 0, 250, 0.16), rgba(0, 2, 18, 0) 66%);
}

.testimonials {
  margin-top: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 16px;
}

.testimonial-slider {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-slider.is-animated {
  grid-template-areas: "stack";
}

.testimonial-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 24px);
}

.testimonial-slider.is-animated .testimonial-card {
  grid-area: stack;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  filter: blur(1px);
  pointer-events: none;
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    filter var(--dur) var(--ease);
}

.testimonial-slider.is-animated .testimonial-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.testimonial-card__quote {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.7;
}

.testimonial-card__meta {
  color: var(--dim);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.testimonial-card__meta::before {
  content: "— ";
  opacity: 0.75;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.88);
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition:
    transform var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.testimonial-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.testimonial-dots:empty {
  display: none;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.testimonial-dot.is-active {
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.9));
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(146, 92, 255, 0.14);
}

@media (hover: hover) {
  .testimonial-dot:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.45);
  }
}

.badge-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.badge:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(146, 92, 255, 0.9);
  box-shadow: 0 0 0 5px rgba(146, 92, 255, 0.10);
}

.badge__dot--alt {
  background: rgba(70, 145, 255, 0.9);
  box-shadow: 0 0 0 5px rgba(70, 145, 255, 0.10);
}

.badge__text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Highlight block */
.highlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: clamp(16px, 2.2vw, 22px);
  align-items: center;
}

.highlight__body {
  display: grid;
  gap: 14px;
  padding: 10px 8px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
}

.brand-chip__mark {
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.9), rgba(70, 145, 255, 0.85));
}

.brand-chip__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.90rem;
  color: rgba(255, 255, 255, 0.84);
}

/* About page */
.anchor {
  position: relative;
  top: -90px;
  height: 0;
  pointer-events: none;
}

.section--about-hero {
  position: relative;
}

.section--about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 300px at 30% 30%, rgba(146, 92, 255, 0.16), rgba(0, 2, 18, 0) 65%);
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}

.about-hero__content {
  display: grid;
  gap: 16px;
}

.about-hero__media {
  display: grid;
  place-items: center;
}

.about-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.1vw, 3.3rem);
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.96);
}

.about-hero__lead {
  max-width: 60ch;
  font-family: "Space Grotesk", var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.78);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-hero__stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-hero__stat {
  --stat-accent: rgba(146, 92, 255, 0.95);
  --stat-glow: rgba(146, 92, 255, 0.35);
  position: relative;
  padding: 16px 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  display: grid;
  gap: 8px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.about-hero__stat::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -35%;
  width: clamp(180px, 40vw, 260px);
  height: clamp(180px, 40vw, 260px);
  background: radial-gradient(circle at 30% 30%, var(--stat-glow), transparent 70%);
  opacity: 0.55;
  filter: blur(8px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.about-hero__stat:nth-child(2) {
  --stat-accent: rgba(70, 145, 255, 0.95);
  --stat-glow: rgba(70, 145, 255, 0.32);
}

.about-hero__stat:nth-child(3) {
  --stat-accent: rgba(0, 224, 255, 0.85);
  --stat-glow: rgba(0, 224, 255, 0.25);
}

.about-hero__stat:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.about-hero__stat:hover::before {
  opacity: 0.85;
  transform: translate3d(6px, -4px, 0);
}

.about-hero__stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.96);
  position: relative;
  display: inline-flex;
  align-items: center;
}

.about-hero__stat-value::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--stat-accent), rgba(255, 255, 255, 0));
  opacity: 0.8;
  transform: scaleX(0.65);
  transform-origin: left;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.about-hero__stat:hover .about-hero__stat-value::after {
  opacity: 1;
  transform: scaleX(1);
}

.about-hero__stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.about-collage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.about-collage__frame {
  width: min(420px, 90%);
  transform: rotate(-1.8deg);
  box-shadow: var(--shadow-elev);
}

.about-collage__frame img {
  border-radius: calc(var(--r-lg) - 4px);
  width: 100%;
  height: auto;
}

.about-collage__card {
  position: absolute;
  width: min(180px, 44vw);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 4px;
  animation: floatA 10s ease-in-out infinite;
}

.about-collage__card--a {
  top: 6%;
  left: -2%;
  animation-delay: -1s;
}

.about-collage__card--b {
  bottom: 8%;
  right: -1%;
  animation-delay: -3s;
}

.about-collage__card--c {
  top: 56%;
  left: 6%;
  animation-delay: -5s;
}

.about-collage__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.about-collage__text {
  font-size: 0.84rem;
  color: var(--muted);
}

.about-collage__tag {
  position: absolute;
  top: -10px;
  right: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 16, 32, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.78);
  animation: floatB 8s ease-in-out infinite;
}

.about-collage__orb {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(146, 92, 255, 0.35), transparent 65%);
  filter: blur(2px);
  opacity: 0.8;
}

.about-collage__orb--a {
  top: 12%;
  right: 20%;
  animation: floatA 9s ease-in-out infinite;
}

.about-collage__orb--b {
  bottom: 6%;
  left: 20%;
  background: radial-gradient(circle, rgba(70, 145, 255, 0.35), transparent 65%);
  animation: floatB 11s ease-in-out infinite;
}

/* Guide library */
.section--library {
  position: relative;
}

.section--library::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 280px at 20% 20%, rgba(146, 92, 255, 0.18), rgba(0, 2, 18, 0) 65%),
    radial-gradient(560px 260px at 80% 60%, rgba(70, 145, 255, 0.16), rgba(0, 2, 18, 0) 70%);
  opacity: 0.9;
}

.library {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
}

.library__copy {
  display: grid;
  gap: 14px;
}

.library-topics {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.library-topic {
  --topic-accent: rgba(146, 92, 255, 0.7);
  position: relative;
  padding: 12px 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.36);
  overflow: hidden;
  display: grid;
  gap: 6px;
}

.library-topic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120px 80px at 20% 20%, var(--topic-accent), transparent 70%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0.55;
  pointer-events: none;
}

.library-topic:nth-child(2) { --topic-accent: rgba(70, 145, 255, 0.65); }
.library-topic:nth-child(3) { --topic-accent: rgba(0, 224, 255, 0.45); }
.library-topic:nth-child(4) { --topic-accent: rgba(176, 150, 255, 0.6); }
.library-topic:nth-child(5) { --topic-accent: rgba(120, 190, 255, 0.6); }
.library-topic:nth-child(6) { --topic-accent: rgba(130, 210, 255, 0.45); }

.library-topic__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92);
}

.library-topic__desc {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  color: var(--dim);
}

.library__panel {
  position: relative;
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: 24px;
  overflow: hidden;
}

.library__mesh {
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.07) 0px,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 14px
    ),
    radial-gradient(200px 140px at 15% 20%, rgba(146, 92, 255, 0.25), transparent 70%),
    radial-gradient(200px 140px at 85% 80%, rgba(70, 145, 255, 0.2), transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}

.library-orb {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(146, 92, 255, 0.4), transparent 70%);
  filter: blur(8px);
  opacity: 0.7;
  animation: libraryFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.library-orb--a {
  top: -30px;
  right: -40px;
  animation-delay: -2s;
}

.library-orb--b {
  bottom: -40px;
  left: -30px;
  background: radial-gradient(circle, rgba(70, 145, 255, 0.4), transparent 70%);
  animation-delay: -6s;
}

.library-shelf {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.library-shelf__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 6, 18, 0.68);
}

.library-shelf__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.95), rgba(70, 145, 255, 0.9));
  color: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
  animation: downloadFloat 2.6s ease-in-out infinite;
}

.library-shelf__text {
  display: grid;
  gap: 4px;
}

.library-shelf__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
}

.library-shelf__subtitle {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}

.library-shelf__badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.library-files {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.library-files__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.library-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.42);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.library-file:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.library-file__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(120deg, rgba(146, 92, 255, 0.75), rgba(70, 145, 255, 0.65));
}

.library-file__badge-icon {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.library-file__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.library-file__name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-file__desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-file__size {
  font-size: 0.78rem;
  color: var(--dim);
  white-space: nowrap;
}

.library-file__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}

.library-file__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
}

@keyframes libraryFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(6px, -8px, 0); }
}

@keyframes downloadFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

/* Impressions */
.section--impressions {
  position: relative;
}

.section--impressions::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 260px at 75% 25%, rgba(146, 92, 255, 0.16), rgba(0, 2, 18, 0) 70%),
    radial-gradient(520px 260px at 15% 70%, rgba(70, 145, 255, 0.14), rgba(0, 2, 18, 0) 70%);
  opacity: 0.9;
}

.impressions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

.impressions__copy {
  display: grid;
  gap: 14px;
}

.impressions__title {
  position: relative;
}

.impressions__title::after {
  content: "";
  display: block;
  width: clamp(140px, 42%, 220px);
  height: 4px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(176, 150, 255, 0.9), rgba(120, 190, 255, 0.6), rgba(255, 255, 255, 0));
  opacity: 0.8;
}

.impressions__statement {
  position: relative;
  padding: 14px 16px;
  padding-top: clamp(18px, 2.6vw, 24px);
  padding-right: clamp(64px, 12vw, 92px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  line-height: 1.75;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.impressions__quote {
  position: absolute;
  top: 12px;
  right: 12px;
  width: clamp(40px, 6vw, 52px);
  height: clamp(40px, 6vw, 52px);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  font-family: var(--font-heading);
  font-weight: 700;
  pointer-events: none;
}

.impressions__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.impressions-tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.impressions__cards {
  display: grid;
  gap: 12px;
}

.impressions-card {
  --card-accent: rgba(146, 92, 255, 0.38);
  position: relative;
  padding: 16px;
  display: grid;
  gap: 8px;
  overflow: hidden;
}

.impressions-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px 120px at 20% 20%, var(--card-accent), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.impressions-card:nth-child(2) { --card-accent: rgba(70, 145, 255, 0.36); }
.impressions-card:nth-child(3) { --card-accent: rgba(0, 224, 255, 0.26); }

.impressions-card__index {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
}

.impressions-card__icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.95), rgba(70, 145, 255, 0.85));
  color: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
  animation: impressionsPulse 2.8s ease-in-out infinite;
}

.impressions-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.94);
}

.impressions-card__text {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

@keyframes impressionsPulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -4px, 0) scale(1.02); }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.value-card {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.value-card__index {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  color: rgba(176, 150, 255, 0.9);
  letter-spacing: 0.16em;
}

.value-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
}

.value-card__text {
  font-size: 0.92rem;
  color: var(--muted);
}

.roadmap {
  position: relative;
  display: grid;
  gap: 18px;
  --line-left: 8px;
  --dot-size: 12px;
  --dot-radius: 6px;
  --dot-gap: 12px;
  padding-left: calc(var(--line-left) + var(--dot-radius) + var(--dot-gap));
}

.roadmap::before {
  content: "";
  position: absolute;
  left: var(--line-left);
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(146, 92, 255, 0.7), rgba(70, 145, 255, 0.1));
}

.roadmap__step {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 0;
}

.roadmap__dot {
  position: absolute;
  left: calc(-1 * (var(--dot-gap) + var(--dot-size)));
  top: 6px;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.95), rgba(70, 145, 255, 0.85));
  box-shadow: 0 0 0 6px rgba(146, 92, 255, 0.12);
}

.roadmap__meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.roadmap__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.roadmap__text {
  font-size: 0.92rem;
  color: var(--muted);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.track-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.track-card__head {
  display: grid;
  gap: 6px;
}

.track-card__label {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.track-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.96);
}

.track-card__text {
  font-size: 0.92rem;
  color: var(--muted);
}

.track-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-card__tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.track-card--accent {
  border-color: rgba(146, 92, 255, 0.4);
  background: linear-gradient(140deg, rgba(70, 145, 255, 0.14), rgba(146, 92, 255, 0.2));
}

.about-marathon-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.about-marathon-card {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.about-marathon-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.marathon-strip {
  position: relative;
  padding: 14px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.marathon-strip::before,
.marathon-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
  z-index: 1;
}

.marathon-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 6, 16, 0.9), rgba(4, 6, 16, 0));
}

.marathon-strip::after {
  right: 0;
  background: linear-gradient(270deg, rgba(4, 6, 16, 0.9), rgba(4, 6, 16, 0));
}

.marathon-strip__track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: marathonScroll 22s linear infinite;
  will-change: transform;
}

.marathon-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.about-marathon-visual {
  margin-top: 18px;
  padding: 12px;
}

.about-marathon-visual img {
  border-radius: calc(var(--r-lg) - 6px);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.insight-card {
  padding: clamp(16px, 2.2vw, 24px);
  display: grid;
  gap: 12px;
}

.insight-card--quote {
  align-content: center;
  text-align: left;
  background: linear-gradient(140deg, rgba(146, 92, 255, 0.12), rgba(70, 145, 255, 0.1));
}

.insight-list {
  display: grid;
  gap: 10px;
}

.insight-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
}

.insight-marker {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(146, 92, 255, 0.9);
  box-shadow: 0 0 0 5px rgba(146, 92, 255, 0.12);
}

.insight-quote {
  font-family: "Space Grotesk", var(--font-body);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.insight-quote__meta {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--dim);
}

.insight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.insight-tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.about-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 2.6vw, 28px);
}

.about-cta__content {
  display: grid;
  gap: 12px;
}

.about-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: rgba(255, 255, 255, 0.96);
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-cta__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

.about-cta__media img {
  border-radius: calc(var(--r-lg) - 6px);
}

.about-cta__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.highlight__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.highlight__media {
  padding: 14px;
}

.highlight__img {
  border-radius: calc(var(--r-lg) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* Footer */
.footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  align-items: start;
}

.footer__meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  margin: 0;
}

.brand--footer .brand__name {
  font-size: 0.98rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer__title {
  margin: 0 0 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.footer__link {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer__link:hover {
  color: #ffffff;
}

.footer__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.4;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--social-color, rgba(146, 92, 255, 0.85)), rgba(255, 255, 255, 0.12));
  opacity: 0.75;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.social-link i {
  position: relative;
  z-index: 1;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.social-link:hover::before {
  opacity: 1;
}

.social-links--footer .social-link {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 16px;
}

.footer .social-links--footer {
  margin-top: 0;
  justify-content: flex-start;
}

.social-link--telegram { --social-color: #0088cc; }
.social-link--instagram { --social-color: #e4405f; }
.social-link--facebook { --social-color: #1877f2; }
.social-link--tiktok { --social-color: #000000; }
.social-link--email { --social-color: #ea4335; }
.social-link--whatsapp { --social-color: #25d366; }

/* Typing */
.typing {
  --typing-progress: 0ch;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  vertical-align: baseline;
  line-height: inherit;
  width: min(100%, var(--typing-width, 1ch));
  min-height: 1em;
  margin-right: 6px;
  white-space: nowrap;
  overflow: hidden;
  overflow-anchor: none;
  isolation: isolate;
}

.typing::before {
  content: "";
  position: absolute;
  left: -0.12em;
  right: -0.2em;
  bottom: 0.12em;
  height: 0.7em;
  background: linear-gradient(90deg, rgba(176, 150, 255, 0.28), rgba(120, 190, 255, 0.12) 60%, transparent);
  opacity: 0.55;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
  animation: typingHalo 2.6s ease-in-out infinite;
}

.typing::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  height: 2px;
  width: min(100%, var(--typing-progress, 0ch));
  background: linear-gradient(90deg, rgba(176, 150, 255, 0.95), rgba(120, 190, 255, 0.7), rgba(255, 255, 255, 0));
  box-shadow: 0 0 14px rgba(120, 190, 255, 0.55);
  border-radius: 999px;
  opacity: 0.95;
  transition: width 140ms var(--ease), opacity var(--dur) var(--ease);
  z-index: 0;
  pointer-events: none;
}

.typing__text {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(90deg, rgba(176, 150, 255, 0.95), rgba(120, 190, 255, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(120, 190, 255, 0.35);
}

.typing__ghost {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-left: 0.08em;
  color: rgba(120, 190, 255, 0.48);
  text-shadow: 0 0 12px rgba(120, 190, 255, 0.45);
  filter: blur(0.2px);
  opacity: 0.65;
  animation: ghostFlicker 1.6s steps(2, end) infinite;
}

.typing__cursor {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 0.16em;
  height: 1.05em;
  margin-left: 0.16em;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(176, 150, 255, 0.95), rgba(120, 190, 255, 0.9));
  box-shadow: 0 0 12px rgba(120, 190, 255, 0.55);
  transform: translateY(0.12em);
  animation: caretBlink 1.1s steps(1, end) infinite;
}

.section-title .typing {
  display: block;
  margin-right: 0;
}

.section-title .typing--primary {
  margin-left: 0;
}

.typing--primary {
  margin-left: 6px;
}

@keyframes caretBlink {
  0%, 42% { opacity: 1; }
  46%, 58% { opacity: 0.25; }
  60%, 100% { opacity: 1; }
}

@keyframes typingHalo {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 0.75; transform: translateY(1px); }
}

@keyframes ghostFlicker {
  0%, 100% { opacity: 0.65; filter: blur(0.2px); }
  40% { opacity: 0.2; filter: blur(0.7px); }
  60% { opacity: 0.8; filter: blur(0.15px); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(2px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease),
    filter var(--dur-slow) var(--ease);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .split,
  .split--reverse,
  .highlight,
  .currency {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto__collage {
    min-height: 320px;
  }

  .about-hero,
  .insights-grid,
  .about-cta {
    grid-template-columns: 1fr;
  }

  .impressions {
    grid-template-columns: 1fr;
  }

  .library {
    grid-template-columns: 1fr;
  }

  .library-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-collage {
    min-height: auto;
    gap: 16px;
  }

  .about-collage__frame {
    transform: none;
  }

  .about-collage__card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    animation: none;
  }

  .about-collage__tag {
    position: static;
    margin-top: 10px;
    justify-self: center;
  }

  .about-collage__orb {
    display: none;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-marathon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav {
    width: auto;
    order: 2;
  }

  .nav__panel {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border: none;
    background: rgba(4, 6, 12, 0.92);
    backdrop-filter: blur(16px);
    padding: calc(72px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
    box-shadow: none;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1;
  }

  .nav__panel.is-open {
    display: flex;
  }

  .nav__close {
    display: inline-flex;
  }

  .nav__stack {
    width: min(420px, 100%);
    margin-inline: auto;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 8, 14, 0.78);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .nav__link {
    justify-content: space-between;
  }

  .nav__cta-group {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .nav__cta {
    width: 100%;
  }

  .nav__socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
    margin-top: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(3, 5, 10, 0.6);
    box-shadow: none;
  }

  .nav__item.is-open > .dropdown {
    display: block;
  }

  .dropdown__list {
    max-height: min(52vh, 420px);
    overflow-y: auto;
    padding-right: 6px;
  }

  .dropdown__list::-webkit-scrollbar {
    width: 6px;
  }

  .dropdown__list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
  }

  .dropdown__list::-webkit-scrollbar-track {
    background: transparent;
  }

  .nav__cta {
    width: min(420px, 100%);
  }

  .about-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-collage {
    min-height: auto;
    gap: 16px;
  }

  .roadmap {
    --line-left: 6px;
    --dot-gap: 10px;
  }

  .marathon-strip__track {
    animation-duration: 28s;
  }
}

@media (max-width: 520px) {
  .discover-carousel__dots {
    bottom: 10px;
    gap: 10px;
  }

  .discover-carousel__nav {
    gap: 12px;
  }

  .discover-carousel__btn {
    width: 44px;
    height: 44px;
  }

  .discover-carousel__dot {
    width: 9px;
    height: 9px;
  }

  .discover-carousel__dot.is-active {
    width: 12px;
    height: 12px;
  }

  .hero__actions,
  .highlight__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero__actions .btn {
    font-size: 0.95rem;
    padding: 12px 16px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }

  .course-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .media-card__actions {
    right: 10px;
    top: 10px;
  }

  .media-controls__row {
    gap: 8px;
  }

  .media-controls__bar {
    flex-basis: 100%;
    order: 3;
  }

  .media-controls__time--current {
    order: 2;
  }

  .media-controls__time--duration {
    order: 4;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .currency__orbit {
    height: 240px;
  }

  .cipher-line {
    white-space: normal;
    letter-spacing: 0.05em;
  }

  .testimonial-card {
    padding: 16px;
  }

  .about-hero__actions,
  .about-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .roadmap {
    --line-left: 6px;
    --dot-gap: 8px;
  }

  .marathon-chip {
    font-size: 0.76rem;
  }

  .about-hero__stats,
  .values-grid,
  .tracks-grid {
    grid-template-columns: 1fr;
  }

  .library-topics {
    grid-template-columns: 1fr;
  }

  .library-shelf__header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .library-shelf__badge {
    justify-self: start;
  }

  .library-file {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .library-file__size {
    grid-column: 1 / -1;
  }

  .library-file__btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .about-collage {
    min-height: auto;
    gap: 12px;
  }

  .about-collage__card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    animation: none;
  }

  .about-collage__tag {
    position: static;
    margin-top: 10px;
    justify-self: center;
  }

  .about-collage__orb {
    display: none;
  }

  .marathon-strip {
    padding: 10px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .glow-card,
  .btn,
  .badge,
  .icon-btn,
  .course-card,
  .course-card__img,
  .discover-carousel__track,
  .discover-carousel__slide,
  .discover-carousel__img,
  .discover-carousel__dot,
  .btn--course,
  .course-price,
  .course-price__summary,
  .course-price__chevron,
  .course-card__media::after,
  .course-card__media::before,
  .course-card.glow-card::after,
  .testimonial-card,
  .testimonial-arrow,
  .testimonial-dot,
  .media-controls__btn,
  .media-controls__progress,
  .currency__img,
  .cipher-noise,
  .cipher-reveal,
  .cipher-line,
  .marathon-card,
  .marathon-card__img,
  .btn--marathon,
  .marathon-card__media::after,
  .marathon-card__media::before,
  .manifesto__tag,
  .manifesto__orb,
  .manifesto__strip,
  .typing__cursor,
  .typing__ghost,
  .library-orb,
  .library-shelf__icon,
  .impressions-card__icon,
  .about-hero__stat,
  .about-hero__stat-value::after,
  .about-collage__card,
  .about-collage__tag,
  .about-collage__orb,
  .marathon-strip__track {
    transition: none !important;
    animation: none !important;
  }

  .marathon-track {
    animation: none !important;
    transform: none !important;
  }

  .hero-bg::before {
    animation: none !important;
  }

  .typing__cursor {
    animation: none !important;
    opacity: 0.5;
  }

  .typing::before,
  .typing::after {
    animation: none !important;
    transition: none !important;
  }

  .typing__ghost {
    display: none;
  }
}

/* =========================================================
   DARKER + PERFORMANCE PATCH (add to the end of styles.css)
   ========================================================= */

/* 1) Darker palette (keep vibe, just deeper) */
:root {
  --bg-0: #020208;
  --bg-1: #00010b;

  /* a bit darker glass/surfaces */
  --surface: rgba(255, 255, 255, 0.02);
  --surface-2: rgba(255, 255, 255, 0.045);

  /* slightly calmer borders */
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* reduce glow intensity a touch (still neon-ish) */
  --violet: rgba(116, 73, 255, 0.22);
  --blue: rgba(70, 145, 255, 0.14);
  --cyan: rgba(0, 224, 255, 0.08);
}

/* Darker background gradients (same composition, lower energy) */
body {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(79, 0, 250, 0.16), rgba(0, 2, 18, 0) 62%),
    radial-gradient(700px 420px at 72% 22%, rgba(70, 145, 255, 0.10), rgba(0, 2, 18, 0) 62%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

/* Make “glass” darker */
.header { background: rgba(5, 6, 12, 0.78); }
.dropdown { background: rgba(8, 10, 18, 0.94); }
.footer { background: rgba(0, 0, 0, 0.48); }
.btn--secondary { background: rgba(0, 0, 0, 0.30); }

/* a bit darker panels */
.media-controls,
.media-card__hint,
.course-price,
.library-file,
.library-shelf__header,
.impressions__statement,
.marathon-strip,
.cipher-screen {
  background: rgba(0, 0, 0, 0.46);
}

/* 2) Perf: don't keep will-change on tons of elements (it can eat RAM/GPU) */
.btn,
.course-card,
.marathon-card,
.stat,
.badge,
.icon-btn,
.testimonial-card,
.testimonial-arrow {
  will-change: auto;
}
@media (hover: hover) {
  .btn:hover,
  .course-card:hover,
  .marathon-card:hover,
  .stat:hover,
  .badge:hover,
  .icon-btn:hover,
  .testimonial-arrow:hover {
    will-change: transform;
  }
}

/* 3) Perf: contain heavy paint areas */
.glow-card,
.course-card__media,
.marathon-card__media,
.hero-bg,
.cipher-screen,
.library__panel,
.about-collage__frame {
  contain: paint;
}

/* 4) Perf: reduce the biggest blur costs (keeps glow, cheaper) */
.glow-card::after { filter: blur(22px); opacity: 0.45; }
.hero-bg::before { filter: blur(10px); opacity: 0.82; }

/* sweeps stay, but slightly lighter */
.course-card__media::before,
.marathon-card__media::before {
  opacity: 0.26;
}

/* 5) Perf: noise overlay can be expensive on some devices */
body::before { opacity: 0.04; }
@media (max-width: 860px), (hover: none) {
  body::before { display: none; }
}

/* 6) Perf: backdrop-filter is pricey on mobile — keep look, but disable blur there */
@media (max-width: 860px), (hover: none) {
  .header,
  .nav__panel,
  .dropdown,
  .btn--secondary,
  .pill,
  .media-controls,
  .icon-btn,
  .badge {
    backdrop-filter: none !important;
  }
}

/* 7) Perf: pause the heaviest infinite animations on mobile/small screens */
@media (max-width: 860px) {
  .hero-bg::before,
  .course-card.glow-card::after,
  .cipher-noise,
  .cipher-reveal,
  .cipher-line::after,
  .manifesto__tag,
  .manifesto__orb,
  .manifesto__strip,
  .library-orb,
  .library-shelf__icon,
  .impressions-card__icon,
  .currency__img,
  .marathon-strip__track {
    animation: none !important;
  }
}

/* 8) Big win: skip rendering offscreen sections (Chromium/Edge/Android) */
@supports (content-visibility: auto) {
  .section:not(.section--hero) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}
body.is-lite .hero-bg::before,
body.is-lite .course-card.glow-card::after,
body.is-lite .cipher-noise,
body.is-lite .cipher-reveal,
body.is-lite .cipher-line::after,
body.is-lite .manifesto__tag,
body.is-lite .manifesto__orb,
body.is-lite .manifesto__strip,
body.is-lite .library-orb {
  animation: none !important;
}

body.is-lite .header,
body.is-lite .nav__panel,
body.is-lite .dropdown,
body.is-lite .btn--secondary,
body.is-lite .pill,
body.is-lite .media-controls,
body.is-lite .icon-btn,
body.is-lite .badge {
  backdrop-filter: none !important;
}
