/* NC.EL.6 hub — elearning.namecentury.com */
:root {
  --nc-red: #cc0000;
  --nc-red-dark: #990000;
  --nc-bg: #0b0f14;
  --nc-surface: #141a22;
  --nc-text: #eef2f7;
  --nc-muted: #94a3b8;
  --nc-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--nc-bg);
  color: var(--nc-text);
  line-height: 1.5;
}
a { color: #7dd3fc; text-decoration: none; }
a:hover { text-decoration: underline; }

.nc-el-wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

.nc-el-header {
  border-bottom: 1px solid var(--nc-border);
  background: rgba(11, 15, 20, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nc-el-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
}
.nc-el-logo { font-weight: 800; color: var(--nc-text); text-decoration: none; letter-spacing: -0.02em; }
.nc-el-nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.nc-el-nav a { color: var(--nc-muted); text-decoration: none; }
.nc-el-nav a:hover { color: var(--nc-text); }

.nc-el-btn {
  display: inline-block;
  background: var(--nc-red);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}
.nc-el-btn:hover { background: var(--nc-red-dark); text-decoration: none !important; }
.nc-el-btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.nc-el-btn-outline {
  background: transparent;
  border: 1px solid var(--nc-border);
  color: var(--nc-text) !important;
}

.nc-el-hero {
  padding: 56px 0 40px;
  text-align: center;
}
.nc-el-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.nc-el-hero p { color: var(--nc-muted); max-width: 640px; margin: 0 auto 28px; font-size: 1.05rem; }
.nc-el-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.nc-el-section { padding: 48px 0; }
.nc-el-section h2 { font-size: 1.35rem; margin: 0 0 24px; text-align: center; }

.nc-el-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.nc-el-card {
  background: var(--nc-surface);
  border: 1px solid var(--nc-border);
  border-radius: 12px;
  padding: 20px;
}
.nc-el-card h3 { margin: 0 0 8px; font-size: 1rem; color: #fca5a5; }
.nc-el-card p { margin: 0; color: var(--nc-muted); font-size: 0.92rem; }

.nc-el-pricing {
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1a0005 0%, var(--nc-surface) 60%);
  border: 1px solid rgba(204, 0, 0, 0.35);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.nc-el-price { font-size: 2.4rem; font-weight: 800; margin: 8px 0; }
.nc-el-price span { font-size: 1rem; font-weight: 500; color: var(--nc-muted); }
.nc-el-pricing ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  color: var(--nc-muted);
  font-size: 0.92rem;
}
.nc-el-pricing li { padding: 6px 0; }
.nc-el-pricing li::before { content: "✓ "; color: #4ade80; font-weight: 700; }

.nc-el-footer {
  border-top: 1px solid var(--nc-border);
  padding: 28px 0;
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--nc-muted);
}
.nc-el-muted { font-size: 0.8rem; margin-top: 8px; }

.nc-el-register-box {
  max-width: 480px;
  margin: 48px auto;
  padding: 28px;
  background: var(--nc-surface);
  border: 1px solid var(--nc-border);
  border-radius: 12px;
  text-align: center;
}
.nc-el-register-wide { max-width: 520px; text-align: left; }
.nc-el-register-page { padding-bottom: 48px; }

.nc-el-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.nc-el-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--nc-muted); }
.nc-el-form input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--nc-border);
  background: var(--nc-bg);
  color: var(--nc-text);
  font-size: 1rem;
}
.nc-el-slug-row { display: flex; align-items: center; gap: 8px; }
.nc-el-slug-row input { flex: 1; }
.nc-el-slug-row span { color: var(--nc-muted); font-size: 0.85rem; white-space: nowrap; }
.nc-el-btn-block { width: 100%; margin-top: 8px; }
.nc-el-form-msg { font-size: 0.9rem; margin: 8px 0 0; }
.nc-el-form-msg.ok { color: #4ade80; }
.nc-el-form-msg.err { color: #fca5a5; }

.nc-el-badge {
  display: inline-block;
  background: rgba(204, 0, 0, 0.15);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
