:root {
  --nb-bg: #f6f8f7;
  --nb-surface: #ffffff;
  --nb-text: #313436;
  --nb-muted: #5f666c;
  --nb-border: #e3e7e5;
  --nb-accent: #1d6bf3;
  --nb-accent-hover: #1557cc;
  --nb-soft: #eef3fe;
  --nb-radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: 'Manrope', 'Inter', Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nb-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nb-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.nb-header {
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nb-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.nb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nb-text);
  font-weight: 600;
  font-size: 16px;
}

.nb-brand:hover {
  text-decoration: none;
}

.nb-brand img {
  height: 30px;
  width: auto;
}

.nb-brand-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--nb-muted);
  display: block;
  line-height: 1.2;
}

.nb-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nb-nav a {
  color: var(--nb-text);
  font-size: 14px;
  font-weight: 500;
}

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  text-decoration: none !important;
  border: 1px solid transparent;
}

.nb-btn-primary {
  background: var(--nb-accent);
  color: #ffffff !important;
}

.nb-btn-primary:hover {
  background: var(--nb-accent-hover);
  transform: translateY(-1px);
}

.nb-btn-secondary {
  background: #ffffff;
  color: var(--nb-text) !important;
  border-color: var(--nb-border);
}

.nb-btn-secondary:hover {
  border-color: var(--nb-accent);
}

.nb-btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* Breadcrumbs */
.nb-breadcrumbs {
  padding: 20px 0 8px;
  font-size: 13px;
  color: var(--nb-muted);
}

.nb-breadcrumbs a {
  color: var(--nb-muted);
}

/* Hero */
.nb-hero {
  padding: 24px 0 48px;
}

.nb-hero-card {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: 26px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.nb-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--nb-soft);
  color: var(--nb-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.nb-hero h1 {
  margin: 0 0 16px;
  font-family: 'Inter', 'Manrope', Arial, sans-serif;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nb-lead {
  font-size: 18px;
  color: var(--nb-muted);
  margin: 0 0 28px;
}

.nb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nb-hero-highlights {
  background: var(--nb-bg);
  border-radius: var(--nb-radius);
  padding: 24px;
  border: 1px solid var(--nb-border);
}

.nb-hero-highlights h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.nb-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.nb-check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
}

.nb-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nb-accent);
  font-weight: 700;
}

/* Sections */
.nb-section {
  padding: 28px 0;
}

.nb-section h2 {
  font-family: 'Inter', 'Manrope', Arial, sans-serif;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}

.nb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.nb-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.nb-card {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  padding: 24px;
}

.nb-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.nb-card p {
  margin: 0;
  color: var(--nb-muted);
  font-size: 15px;
}

/* Table */
.nb-table-wrap {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: var(--nb-radius);
  overflow-x: auto;
}

.nb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.nb-table th, .nb-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--nb-border);
}

.nb-table th {
  background: #f9fbfa;
  font-weight: 600;
}

.nb-table tr:last-child td {
  border-bottom: none;
}

/* Video course banner */
.nb-course-box {
  background: linear-gradient(135deg, #1d6bf3 0%, #1545a8 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.nb-course-box h2 {
  color: #ffffff;
  margin: 0 0 8px;
  font-size: 24px;
}

.nb-course-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
}

.nb-video-wrap {
  margin-top: 18px;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--nb-border);
  background: #111315;
}

.nb-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ */
.nb-faq {
  display: grid;
  gap: 12px;
}

.nb-faq details {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: 14px;
  padding: 16px 20px;
}

.nb-faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.nb-faq details p {
  margin: 10px 0 0;
  color: var(--nb-muted);
  font-size: 15px;
}

/* Related links */
.nb-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.nb-related a {
  background: var(--nb-surface);
  border: 1px solid var(--nb-border);
  border-radius: 14px;
  padding: 16px;
  color: var(--nb-text);
  font-weight: 600;
  font-size: 14px;
  display: block;
}

.nb-related a span {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 13px;
  color: var(--nb-muted);
}

/* Footer */
.nb-footer {
  margin-top: 48px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--nb-border);
  font-size: 14px;
  color: var(--nb-muted);
}

.nb-footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.nb-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nb-footer-links a {
  color: var(--nb-muted);
}

@media (max-width: 900px) {
  .nb-hero-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .nb-hero h1 {
    font-size: 28px;
  }
  .nb-grid-3, .nb-grid-2, .nb-related {
    grid-template-columns: 1fr;
  }
  .nb-nav {
    display: none;
  }
}
