:root {
  --bg: #050608;
  --bg-alt: #0b1016;
  --accent: #00ff9c;
  --accent-soft: rgba(0, 255, 156, 0.08);
  --text: #e5e9f0;
  --muted: #7b8394;
  --danger: #ff4e6a;
  --mono: "Fira Code", "JetBrains Mono", Consolas, monospace;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background: radial-gradient(circle at top, #101520 0, #050608 55%);
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 1120px;
  padding: 24px 20px 40px;
  margin: 0 auto;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.logo-text {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
}

.logo-text span {
  color: var(--accent);
}

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(135,142,160,0.5);
  background: rgba(1,3,7,0.85);
  backdrop-filter: blur(10px);
}

.lang-btn {
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--sans);
  background: transparent;
  text-decoration: none;
}

.lang-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 14px rgba(0,255,156,0.5);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: rgba(0,0,0,0.4);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0,255,156,0.9);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 10px;
}

.highlight {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(0,255,156,0.35);
}

.subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 22px;
}

.section-title {
  margin-top: 24px;
  font-size: 1.1rem;
}

.section-text {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 560px;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: 0.16s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #020305;
  font-weight: 600;
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(0,255,156,0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0,255,156,0.6);
}

.btn-ghost {
  background: rgba(0,0,0,0.4);
  border-color: rgba(135,142,160,0.5);
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0,255,156,0.06);
}

.small {
  font-size: 0.8rem;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 10px;
}

.pill {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(135,142,160,0.35);
  color: var(--muted);
}

.pill strong {
  color: var(--accent);
}

.card {
  background: rgba(5, 9, 16, 0.9);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(112,122,140,0.35);
  box-shadow: 0 18px 45px rgba(0,0,0,0.8);
  backdrop-filter: blur(12px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-header span {
  color: var(--accent);
}

.terminal {
  font-family: var(--mono);
  font-size: 0.78rem;
  background: radial-gradient(circle at top left, #151a26 0, #050608 60%);
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(112,122,140,0.5);
  position: relative;
}

.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,255,156,0.12), transparent 55%);
  pointer-events: none;
}

.term-line {
  white-space: nowrap;
  margin-bottom: 3px;
  color: var(--text);
}

.term-line .prompt {
  color: var(--accent);
}

.term-line .warn {
  color: var(--danger);
}

.term-blink {
  width: 7px;
  height: 11px;
  background: var(--accent);
  display: inline-block;
  margin-left: 3px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  0%,50% {opacity:1}
  50.01%,100% {opacity:0}
}

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

@media (max-width: 600px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

.course {
  border-radius: 12px;
  padding: 10px 11px;
  background: linear-gradient(135deg, rgba(0,255,156,0.08), rgba(50,66,92,0.25));
  border: 1px solid rgba(0,255,156,0.25);
  font-size: 0.8rem;
}

.course h3 {
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  margin: 0 0 4px;
}

.badge-small {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,156,0.3);
  color: var(--accent);
  background: rgba(0,0,0,0.5);
}

.course ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  color: var(--muted);
}

.course ul li::before {
  content: "▹ ";
  color: var(--accent);
}

.note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
}

.beta-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px dashed rgba(135,142,160,0.6);
  color: var(--muted);
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
}

.footer {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 18px;
}

.footer strong {
  color: var(--accent);
}

.social-links {
  margin-top: 6px;
  font-size: 0.75rem;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--accent);
}
