:root {
  --bg: #0b1020;
  --bg-soft: #121a31;
  --card: rgba(17, 24, 39, 0.88);
  --card-2: rgba(20, 29, 52, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #b8c2dc;
  --soft: #8c98b8;
  --accent: #f6be39;
  --accent-2: #d4a017;
  --success: #22c55e;
  --info: #60a5fa;
  --warning: #f59e0b;
  --radius: 24px;
  --shadow: 0 18px 44px rgba(3, 8, 20, 0.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: radial-gradient(circle at top, #16213f 0%, var(--bg) 48%, #070b16 100%);
  color: var(--text);
}
a { color: inherit; }
.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 40px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(8, 12, 24, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #241700;
  background: linear-gradient(135deg, #ffe18f, var(--accent));
}
.brand-copy small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soft);
}
.brand-copy strong {
  display: block;
  font-size: 17px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}
.nav a.active,
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.page-shell {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}
.page-hero,
.section-card,
.detail-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.catalog-active-section {
  border-color: rgba(34,197,94,0.22);
  background:
    linear-gradient(180deg, rgba(34,197,94,0.045), rgba(17,24,39,0.88) 34%),
    var(--card);
}
.catalog-upcoming-section {
  border-color: rgba(245,158,11,0.22);
  background:
    linear-gradient(180deg, rgba(245,158,11,0.055), rgba(17,24,39,0.88) 34%),
    var(--card);
}
.page-hero h1,
.section-title h2,
.detail-title,
.kpi-value,
.cta-main h2,
.cta-side h2,
.soft-bridge h2,
.soft-path h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 820px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffe18f);
  color: #231700;
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section-title h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.section-title p { margin: 0; color: var(--muted); max-width: 620px; line-height: 1.75; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.course-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  border-radius: 24px;
  background: var(--card-2);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.course-card-media {
  margin: -22px -22px 2px;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.course-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-card-top,
.course-footer,
.detail-pills,
.detail-boxes,
.kpi-grid,
.detail-list ul,
.detail-module-list ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.course-card-top { justify-content: space-between; align-items: center; }
.course-emoji {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  font-size: 20px;
}
.state-badge,
.detail-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.state-active { color: #b8ffd0; background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.35); }
.state-coming { color: #ffe0a6; background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.35); }
.state-prep { color: #cbd5ff; background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.30); }
.coming-pill {
  min-height: 38px;
  background: rgba(245,158,11,0.08) !important;
  border-color: rgba(245,158,11,0.24) !important;
  color: #ffe0a6 !important;
}
.coming-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.72;
}
.course-title { margin: 0; font-size: 25px; line-height: 1.08; }
.course-copy { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14px; }
.course-meta span,
.course-footer span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--soft);
  font-size: 12px;
}
.course-footer {
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.course-footer strong { font-size: 13px; color: var(--accent); }
.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.detail-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
}
.detail-title { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 46px); }
.detail-summary { color: var(--muted); line-height: 1.8; font-size: 16px; }
.detail-box {
  min-width: 140px;
  flex: 1 1 160px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.detail-box span {
  display: block;
  color: var(--soft);
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.detail-box strong { font-size: 18px; }
.detail-list ul,
.detail-module-list ul {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.detail-module-list h3 {
  margin: 20px 0 0;
  font-size: 18px;
}
.note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(246,190,57,0.08);
  border: 1px solid rgba(246,190,57,0.18);
  color: var(--muted);
  line-height: 1.7;
}
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.kpi-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.kpi-label { color: var(--soft); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; font-weight: 800; }
.kpi-value { margin-top: 8px; font-size: 24px; }
.kpi-note { margin-top: 8px; color: var(--muted); line-height: 1.7; font-size: 14px; }
@media (max-width: 980px) {
  .topbar,
  .section-title,
  .two-col { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; align-items: stretch; }
  .nav { justify-content: flex-start; }
  .two-col { display: grid; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 20px, 1240px); }
  .page-hero,
  .section-card,
  .detail-card { padding: 22px; }
  .course-card { padding: 18px; }
}
