:root {
  --bg: #08142b;
  --panel: #102448;
  --text: #f5f7ff;
  --muted: #9aa8c3;
  --accent: #ff7a1a;
  --accent-2: #ff9d45;
  --border: #27406d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 26, 0.16), transparent 40%),
    radial-gradient(circle at top left, rgba(41, 84, 150, 0.2), transparent 36%),
    var(--bg);
  color: var(--text);
}

.home {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 20px 0 48px;
}

.hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 90%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.hero__logo-wrap {
  width: min(320px, 78vw);
  margin: 18px auto 0;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 157, 69, 0.45);
  box-shadow: 0 10px 28px rgba(255, 122, 26, 0.2);
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__lang-label {
  color: var(--muted);
  font-size: 13px;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
}

.lang-switch__item {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
}

.lang-switch__item.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.logo {
  margin-top: 14px;
  text-align: center;
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: 0.6px;
}

.hero__subtitle {
  color: var(--muted);
  margin: 10px auto 0;
  text-align: center;
  max-width: 800px;
  font-size: clamp(16px, 2vw, 20px);
}

.hero__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: 0 16px;
  background: #0f2040;
  font-weight: 600;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent-2);
  color: #fff;
}

.section {
  margin-top: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.section__title {
  margin: 0;
  font-size: 24px;
}

.section__subtitle {
  margin: 10px 0 0;
  color: var(--muted);
}

.grid {
  margin-top: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #102448;
}

.card__image-wrap {
  aspect-ratio: 1 / 1;
  background: #0b1b37;
  display: grid;
  place-items: center;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__empty {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #27354c;
}

.card__body {
  padding: 12px;
}

.card__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  min-height: 40px;
}

.card__meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.card__price {
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.card__link {
  margin-top: 10px;
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
}

.pathways .panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel__title {
  margin: 0;
  font-size: 19px;
}

.panel__text {
  margin: 0;
  color: var(--muted);
}

.section--split {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #111723;
}

.steps,
.benefits {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.steps li,
.benefits li {
  margin-top: 8px;
}

.section--register {
  margin-bottom: 20px;
}

.register-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ── Promo strip ─────────────────────────────────── */
.promo-strip {
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(255,122,26,0.12), rgba(255,157,69,0.07), rgba(255,122,26,0.12));
  border: 1px solid rgba(255,122,26,0.25);
  border-radius: 12px;
  padding: 12px 18px;
  overflow: hidden;
}

.promo-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: center;
}

.promo-strip__item {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.promo-strip__item::before {
  content: "✓ ";
  color: var(--accent);
}

/* ── Category cards ──────────────────────────────── */
.categories-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: #111723;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.cat-card:hover {
  border-color: rgba(255,122,26,0.5);
  box-shadow: 0 6px 18px rgba(255,122,26,0.12);
  transform: translateY(-2px);
}

.cat-card:active {
  transform: scale(0.96);
}

.cat-card__icon {
  font-size: 28px;
  line-height: 1;
}

.cat-card__name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  line-height: 1.3;
}

/* ── Better empty card placeholder ──────────────── */
.card__image-wrap--empty {
  background: linear-gradient(135deg, #0b1b37 60%, #0f2245);
}

.card__empty-icon {
  color: #27406d;
  width: 44px;
  height: 44px;
}
