:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff4ff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --bg-alt: #f8fafc;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px -16px rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 6px 16px -10px rgba(15, 23, 42, 0.18);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.6; }
  80% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes shimmer-sweep {
  0% { transform: translateX(-120%) skewX(-12deg); }
  100% { transform: translateX(220%) skewX(-12deg); }
}
@keyframes gradient-pan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes blink-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  isolation: isolate;
}

/* Living background: soft drifting blue/white blobs behind every page */
.living-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.living-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  will-change: transform;
}
.living-bg__blob--a {
  width: 620px;
  height: 620px;
  left: -180px;
  top: -220px;
  background: radial-gradient(circle at 35% 35%, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.04) 55%, transparent 72%);
  animation: bg-drift-a 34s ease-in-out infinite;
}
.living-bg__blob--b {
  width: 520px;
  height: 520px;
  right: -200px;
  top: 10%;
  background: radial-gradient(circle at 60% 40%, rgba(96, 165, 250, 0.18), rgba(96, 165, 250, 0.04) 55%, transparent 72%);
  animation: bg-drift-b 40s ease-in-out infinite;
}
.living-bg__blob--c {
  width: 680px;
  height: 680px;
  left: 12%;
  bottom: -340px;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.13), rgba(37, 99, 235, 0.03) 55%, transparent 72%);
  animation: bg-drift-c 46s ease-in-out infinite;
}
.living-bg__blob--d {
  width: 360px;
  height: 360px;
  right: 18%;
  bottom: 6%;
  background: radial-gradient(circle at 45% 45%, rgba(255, 255, 255, 0.9), rgba(239, 244, 255, 0.25) 55%, transparent 72%);
  animation: bg-drift-d 30s ease-in-out infinite;
}
@keyframes bg-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(90px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 110px) scale(0.94); }
}
@keyframes bg-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-110px, 80px) scale(1.12); }
}
@keyframes bg-drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -70px) scale(1.08); }
}
@keyframes bg-drift-d {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -90px) scale(1.15); }
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s var(--ease-spring), box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--blue-dark); box-shadow: var(--shadow-sm); }
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, transparent 66%);
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn--primary:hover::before { transform: translateX(120%) skewX(-12deg); }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--text {
  background: transparent;
  color: var(--blue);
  padding: 12px 6px;
}
.btn--text:hover { color: var(--blue-dark); }

.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: transform 0.45s var(--ease-spring);
}
.logo__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo:hover .logo__mark {
  transform: rotate(-10deg) scale(1.08);
}

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after { transform: scaleX(1); }

.nav__icon {
  display: inline-block;
  margin-right: 6px;
  font-size: 0.95em;
}
.nav__messages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e5484d;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.header__actions {
  display: flex;
  gap: 12px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 4px;
}
.mobile-nav a.btn { margin-top: 8px; }
.mobile-nav.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 24px;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 85% -10%, var(--blue-light), transparent 65%);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 260px;
  height: 260px;
  top: -90px;
  right: 12%;
  background: var(--blue-light);
  animation: float-y 9s ease-in-out infinite;
}
.hero::after {
  width: 180px;
  height: 180px;
  bottom: -60px;
  left: 6%;
  background: var(--blue-light);
  animation: float-y 11s ease-in-out infinite reverse;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 20px;
  animation: pop-in 0.5s var(--ease-spring) both;
}
.badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 2s ease-out infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero h1 .accent { color: var(--blue); }

.hero__lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 0 28px;
}

.code-check {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  max-width: 460px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.code-check:focus-within {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm), 0 0 0 4px var(--blue-light);
  transform: translateY(-1px);
}
.code-check__prefix {
  color: var(--ink-soft);
  font-weight: 600;
  padding: 0 4px 0 14px;
  font-size: 0.95rem;
}
.code-check input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  padding: 10px 8px;
  min-width: 0;
}
.code-check__result {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.code-check__result.is-available { color: #16a34a; }
.code-check__result.is-taken { color: #dc2626; }

.code-check__manager {
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  max-width: 480px;
}
.code-check__manager p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.code-check__manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Card mockup */
.hero__visual { display: flex; justify-content: center; }
.card-mock {
  position: relative;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0 24px 24px;
  overflow: hidden;
  animation: float-y 7s ease-in-out infinite;
  transition: box-shadow 0.3s ease;
}
.card-mock:hover {
  box-shadow: var(--shadow), 0 30px 60px -24px rgba(37, 99, 235, 0.35);
}
.card-mock__cover {
  position: relative;
  height: 86px;
  margin: 0 -24px 0;
  background: linear-gradient(120deg, var(--blue), #60a5fa);
  background-size: 200% 200%;
  animation: gradient-pan 8s ease infinite;
  overflow: hidden;
}
.card-mock__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%) skewX(-12deg);
  animation: shimmer-sweep 4.5s ease-in-out infinite;
}
.card-mock__avatar {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--white);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--blue);
  font-size: 1.2rem;
  margin-top: -36px;
  background: var(--blue-light);
  transition: transform 0.3s var(--ease-spring);
}
.card-mock:hover .card-mock__avatar {
  transform: scale(1.06) rotate(-3deg);
}
.card-mock__name { margin: 14px 0 2px; font-size: 1.15rem; }
.card-mock__role { margin: 0 0 10px; color: var(--ink-soft); font-size: 0.88rem; }
.card-mock__bio { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.9rem; }

.card-mock__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.chip--active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.chip--active:hover { color: var(--white); }

.card-mock__stats {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.card-mock__stats div { display: flex; flex-direction: column; }
.card-mock__stats strong { font-size: 1.05rem; }
.card-mock__stats span { font-size: 0.78rem; color: var(--ink-soft); }

.card-mock__actions { display: flex; gap: 10px; margin-bottom: 6px; }

.card-mock__qr {
  position: absolute;
  top: 50px;
  right: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-mock__qr::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: qr-scan 2.6s ease-in-out infinite;
}
@keyframes qr-scan {
  0%, 100% { top: 12px; opacity: 0.9; }
  50% { top: calc(100% - 34px); opacity: 0.4; }
}

/* ---------- Stats ---------- */
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 20px;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stats__value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.stats__label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: rgba(248, 250, 252, 0.88); }

.section__head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.eyebrow {
  position: relative;
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 6px;
}
.eyebrow::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: eyebrow-grow 0.6s 0.2s var(--ease-spring) both;
}
@keyframes eyebrow-grow {
  to { transform: translateX(-50%) scaleX(1); }
}
.section__head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section__head p {
  color: var(--ink-soft);
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--blue-light);
}
.step-card__num {
  display: inline-block;
  font-weight: 800;
  color: var(--blue);
  font-size: 0.85rem;
  background: var(--blue-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  transition: transform 0.25s var(--ease-spring), background-color 0.2s ease, color 0.2s ease;
}
.step-card:hover .step-card__num {
  transform: scale(1.08) rotate(-4deg);
  background: var(--blue);
  color: var(--white);
}
.step-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--blue-light);
}
.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease-spring), border-radius 0.3s ease;
}
.feature:hover .feature__icon {
  transform: scale(1.12) rotate(-8deg);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* Leaderboard */
.leaderboard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.leaderboard__filters {
  display: flex;
  gap: 10px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.leaderboard__table { padding: 8px 24px 20px; }
.leaderboard__row {
  display: grid;
  grid-template-columns: 50px 2.4fr 1fr 0.8fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  font-size: 0.92rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.2s ease, padding-left 0.2s ease;
}
.leaderboard__row:not(.leaderboard__row--head):hover {
  background: var(--bg-alt);
  transform: translateX(4px);
}
.leaderboard__row:last-child { border-bottom: none; }
.leaderboard__row--head {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: transform 0.2s var(--ease-spring);
}
.leaderboard__row:not(.leaderboard__row--head):hover .rank {
  transform: scale(1.12);
}
.rank--1 { background: #fef3c7; color: #b45309; animation: pulse-dot-amber 2.4s ease-out infinite; }
.rank--2 { background: #e2e8f0; color: #334155; }
.rank--3 { background: #fee2e2; color: #b91c1c; }
@keyframes pulse-dot-amber {
  0% { box-shadow: 0 0 0 0 rgba(180, 83, 9, 0.35); }
  70% { box-shadow: 0 0 0 7px rgba(180, 83, 9, 0); }
  100% { box-shadow: 0 0 0 0 rgba(180, 83, 9, 0); }
}
.who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  transition: transform 0.25s var(--ease-spring), border-radius 0.25s ease;
}
.leaderboard__row:not(.leaderboard__row--head):hover .avatar {
  transform: scale(1.1);
  border-radius: 50%;
}
.avatar--sm { width: 32px; height: 32px; font-size: 0.75rem; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.price-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  animation: glow-pulse 3.2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(37, 99, 235, 0.18); }
  50% { box-shadow: var(--shadow), 0 0 0 10px rgba(37, 99, 235, 0); }
}
.price-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -24px rgba(37, 99, 235, 0.4);
}
.price-card__tag {
  position: absolute;
  top: -13px;
  right: 28px;
  z-index: 2;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  animation: pop-in 0.5s 0.1s var(--ease-spring) both;
}
.price-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.price-card__price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.price-card__price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.price-card__desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--ink);
}
.price-card__list li {
  transition: transform 0.2s ease;
}
.price-card__list li:hover {
  transform: translateX(4px);
}
.price-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-light);
  font-size: 0.7rem;
  transition: transform 0.25s var(--ease-spring), background-color 0.2s ease, color 0.2s ease;
}
.price-card__list li:hover::before {
  transform: scale(1.15);
  background: var(--blue);
  color: var(--white);
}

/* CTA */
.cta {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(160deg, var(--blue), var(--blue-dark));
  background-size: 200% 200%;
  animation: gradient-pan 12s ease infinite;
  color: var(--white);
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  top: -120px;
  right: -60px;
  animation: float-y 10s ease-in-out infinite;
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 620px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 12px; }
.cta p { color: rgba(255,255,255,0.85); margin: 0 0 32px; }
.cta__form {
  display: flex;
  gap: 10px;
  background: var(--white);
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cta__form:focus-within {
  box-shadow: var(--shadow), 0 0 0 5px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.cta__form input {
  flex: 1;
  min-width: 140px;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 16px;
  color: var(--ink);
  border-radius: 999px;
}
.cta__form input::placeholder { color: #94a3b8; }
.cta__note {
  min-height: 22px;
  margin: 14px 0 0;
  font-weight: 600;
  color: var(--white);
}
.cta__login { margin-top: 18px; color: rgba(255,255,255,0.85); }
.cta__login a { color: var(--white); font-weight: 700; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 64px 0 24px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer .logo { color: var(--white); }
.footer__brand p { margin: 14px 0 0; font-size: 0.9rem; line-height: 1.6; }
.footer__col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; }
.footer__col a {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer__col a:hover { color: var(--white); transform: translateX(4px); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__actions { display: none; }
  .burger { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .features-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .leaderboard__row { grid-template-columns: 36px 2fr 1fr; }
  .leaderboard__row span:nth-child(4),
  .leaderboard__row span:nth-child(5) { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
