
:root {
  --bg-main: #050816;
  --bg-card: #0b1020;
  --bg-chip: #141a30;
  --primary: #394da1;
  --primary-soft: #4f62c9;
  --accent: #0ca9d8;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-soft: #1f2937;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.4);
  --radius-xl: 20px;
  --radius-full: 999px;
  --transition-fast: 0.25s ease;
  --max-width: 1100px;
}

:root[data-theme="light"] {
  --bg-main: #f7f9fb;
  --bg-card: #ffffff;
  --bg-chip: #e7eef7;
  --primary: #2d4ea4;
  --primary-soft: #4f6fce;
  --accent: #0ca9d8;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-soft: #cbd5e1;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.15);
  background-color: var(--bg-main);
}

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #192346 0, #050816 38%, #020617 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] body {
  background: radial-gradient(circle at top left, #e9edf7 0, #f7f9fb 40%, #e4e9f2 100%);
  color: var(--text-main);
}

/* NAV FIXO PORTFÓLIO */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  margin: 0 auto 14px;
  max-width: var(--max-width);
  background: linear-gradient(135deg, rgba(57, 77, 161, 0.35), rgba(12, 169, 216, 0.15));
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

.site-nav__brand a {
  font-weight: 700;
  color: #e0f2fe;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(12, 169, 216, 0.12);
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(12, 169, 216, 0.12);
  color: #e0f2fe;
  font-size: 20px;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.site-nav__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(12, 169, 216, 0.2);
}

.site-nav__links a {
  position: relative;
  padding: 9px 13px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(12, 169, 216, 0.12);
  color: #f8fafc;
  font-size: 13px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.site-nav__links a:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.8);
  background: rgba(12, 169, 216, 0.2);
}

.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, rgba(56,189,248,0.9), rgba(99,102,241,0.9));
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.site-nav__links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 700px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav__toggle {
    display: inline-flex;
    align-self: flex-end;
  }

  .site-nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }

  .site-nav.is-open .site-nav__links {
    display: flex;
  }

  .site-nav__links a {
    width: 100%;
  }
}

    a {
      color: inherit;
      text-decoration: none;
    }

    .theme-toggle {
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 1000;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(12, 169, 216, 0.15);
      color: var(--text-main);
      cursor: pointer;
      box-shadow: var(--shadow-soft);
      transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
    }
    .theme-toggle:hover { transform: translateY(-1px); border-color: rgba(56,189,248,0.7); }

    main {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 32px 16px 64px;
    }

    /* ===== HERO / CABEÇALHO ===== */

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
      gap: 28px;
      align-items: center;
      margin-bottom: 40px;
    }

    @media (max-width: 850px) {
      .hero {
        grid-template-columns: 1fr;
      }
    }

    .hero-card {
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.3), rgba(12, 169, 216, 0.1));
      border-radius: var(--radius-xl);
      padding: 24px 24px 20px;
      border: 1px solid rgba(148, 163, 184, 0.2);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(16px);
    }

    .hero-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 14px;
    }

    .chip {
      border-radius: var(--radius-full);
      padding: 4px 10px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: rgba(15, 23, 42, 0.7);
      color: var(--text-muted);
    }

    .chip--accent {
      border-color: rgba(56, 189, 248, 0.7);
      color: #e0f2fe;
      background: rgba(8, 47, 73, 0.8);
    }

    .hero-name {
      font-size: 29px;
      font-weight: 700;
      letter-spacing: 0.03em;
      margin-bottom: 6px;
    }

    .hero-title {
      font-size: 15px;
      color: #e5e7eb;
      margin-bottom: 16px;
    }

    .hero-title span {
      color: var(--accent);
      font-weight: 600;
    }

    .hero-summary {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 18px;
    }

    .hero-highlight {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
      font-size: 12px;
    }

    .hero-highlight span {
      border-radius: var(--radius-full);
      padding: 4px 10px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(75, 85, 99, 0.9);
      color: #e5e7eb;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .hero-highlight span strong {
      color: var(--accent);
    }

    .hero-contact {
      font-size: 13px;
      color: var(--text-muted);
      display: grid;
      gap: 3px;
      margin-bottom: 14px;
    }

    .hero-contact a {
      color: #bfdbfe;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 10px;
    }

.btn {
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
      background: transparent;
      color: var(--text-main);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      box-shadow: 0 12px 30px rgba(15, 118, 110, 0.3);
      border-color: rgba(56, 189, 248, 0.8);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(8, 47, 73, 0.6);
    }

    .btn-ghost {
      border-color: rgba(148, 163, 184, 0.5);
      background: rgba(15, 23, 42, 0.8);
      color: #e5e7eb;
    }

    .btn-ghost:hover {
      background: rgba(15, 23, 42, 1);
      transform: translateY(-1px);
      border-color: rgba(148, 163, 184, 0.9);
    }

    .btn span.icon {
      font-size: 15px;
    }

    /* Hero - card lateral (skills-destaque) */

    .hero-side {
      background: radial-gradient(circle at top, rgba(12, 169, 216, 0.35), rgba(15, 23, 42, 0.95));
      border-radius: var(--radius-xl);
      border: 1px solid rgba(148, 163, 184, 0.25);
      padding: 20px 18px 18px;
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .hero-side::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(circle at top, rgba(12, 169, 216, 0.2), transparent 55%);
      opacity: 0.7;
      pointer-events: none;
    }

    .hero-side-inner {
      position: relative;
      z-index: 1;
    }

    .hero-summary-block {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
    }

    .hero-avatar {
      width: 110px;
      height: 110px;
      border-radius: 32px;
      border: 2px solid rgba(148, 163, 184, 0.5);
      background: linear-gradient(135deg, #1f2937, #020617);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      color: var(--accent);
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.85);
      overflow: hidden;
      flex-shrink: 0;
    }

    .hero-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    @media (max-width: 500px) {
      .hero-summary-block {
        flex-direction: column;
        align-items: flex-start;
      }

      .hero-avatar {
        width: 90px;
        height: 90px;
      }
    }

    .hero-side h2 {
      font-size: 15px;
      margin-bottom: 4px;
    }

    .hero-side p {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 10px;
    }

    .pill {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 3px 9px;
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.6);
      color: #e5e7eb;
    }

    .pill--strong {
      border-color: rgba(56, 189, 248, 0.9);
      color: #e0f2fe;
    }

    .small-section-title {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--text-muted);
      margin: 12px 0 6px;
    }

    .metric-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 6px;
    }

    .metric-card {
      flex: 1 1 110px;
      min-width: 110px;
      border-radius: 16px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(31, 41, 55, 0.9);
      padding: 8px 10px;
      font-size: 11px;
      color: var(--text-muted);
    }

    .metric-card strong {
      display: block;
      font-size: 18px;
      color: var(--accent);
      margin-bottom: 2px;
    }

    /* ===== SEÇÕES GERAIS ===== */

    section {
      margin-bottom: 40px;
    }

    .section-header {
      margin-bottom: 18px;
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      flex-wrap: wrap;
    }

    .section-actions {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .section-title {
      font-size: 18px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .section-title span.icon {
      font-size: 18px;
    }

    .section-subtitle {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* ===== TIMELINE ===== */

    .timeline {
      position: relative;
      padding-left: 24px;
      border-left: 1px solid rgba(55, 65, 81, 0.9);
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 1px;
      background: linear-gradient(to bottom, var(--accent), rgba(55, 65, 81, 0.3));
      opacity: 0.4;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 26px;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .timeline-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .timeline-marker {
      position: absolute;
      left: -8px;
      top: 4px;
      width: 14px;
      height: 14px;
      border-radius: 999px;
      background: radial-gradient(circle, var(--accent), var(--primary));
      box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
    }

    .timeline-card {
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.95));
      border-radius: 16px;
      border: 1px solid rgba(31, 41, 55, 0.95);
      padding: 12px 14px;
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
    }

    .timeline-type {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 4px;
    }

    .timeline-title {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 2px;
    }

    .timeline-meta {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .timeline-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 8px;
    }

    .badge {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 3px 9px;
      background: var(--bg-chip);
      border: 1px solid rgba(75, 85, 99, 0.9);
      color: #e5e7eb;
    }

    .badge--accent {
      border-color: rgba(56, 189, 248, 0.9);
      color: #e0f2fe;
    }

    .timeline-desc {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .timeline-list {
      font-size: 13px;
      margin-left: 17px;
      color: var(--text-muted);
    }

    .timeline-list li + li {
      margin-top: 3px;
    }

    /* ===== SKILLS ===== */

    .skills-grid {
      display: grid;
      gap: 16px;
    }

    @media (min-width: 800px) {
      .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .skill-card {
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.98));
      border-radius: 18px;
      border: 1px solid rgba(31, 41, 55, 0.95);
      padding: 14px 14px 12px;
      box-shadow: 0 16px 32px rgba(15, 23, 42, 0.9);
      transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    }

    .skill-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 22px 45px rgba(15, 23, 42, 0.95);
      border-color: rgba(56, 189, 248, 0.8);
    }

    .skill-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .skill-title span.icon {
      font-size: 14px;
    }

    .skill-text {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .tag-pill {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 3px 8px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(75, 85, 99, 0.9);
      color: #e5e7eb;
      white-space: nowrap;
    }

    /* ===== CLIENTES / PROJETOS ===== */

    .clients-grid {
      display: grid;
      gap: 14px;
    }

    @media (min-width: 800px) {
      .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .client-card {
      background: rgba(15, 23, 42, 0.96);
      border-radius: 16px;
      border: 1px solid rgba(31, 41, 55, 0.95);
      padding: 12px 13px;
      font-size: 13px;
    }

    .client-card h3 {
      font-size: 14px;
      margin-bottom: 4px;
    }

    .client-card p {
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .client-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .client-tag {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 3px 8px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(55, 65, 81, 0.9);
      color: #e5e7eb;
    }

    /* ===== PRODUTOS DIGITAIS ===== */

    .projects-showcase {
      margin-top: 36px;
    }

    .project-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 16px;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      border-radius: 18px;
      border: 1px solid rgba(59, 130, 246, 0.3);
      background: rgba(15, 23, 42, 0.7);
      margin-bottom: 18px;
    }

    .stack-label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
    }

    .stack-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .stack-tag {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 4px 10px;
      background: rgba(57, 77, 161, 0.16);
      border: 1px solid rgba(99, 102, 241, 0.4);
      color: #e0e7ff;
    }

    .project-summary {
      margin-bottom: 20px;
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.7;
    }

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

    .project-card {
      border-radius: 18px;
      border: 1px solid rgba(31, 41, 55, 0.9);
      background: linear-gradient(145deg, rgba(9, 9, 16, 0.95), rgba(15, 18, 38, 0.95));
      padding: 14px 16px;
      min-height: 150px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      box-shadow: 0 18px 35px rgba(2, 6, 23, 0.55);
    }

    .project-card__head {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .project-card h3 {
      font-size: 15px;
      margin: 0;
    }

    .project-card a {
      font-size: 12px;
      color: var(--accent);
      word-break: break-all;
    }

    .project-card p {
      font-size: 13px;
      color: var(--text-muted);
      margin: 0;
    }

    .project-card__meta {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .project-note {
      color: var(--text-muted);
    }

    .project-status {
      align-self: flex-start;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 4px 10px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(56, 189, 248, 0.5);
      color: #e0f2fe;
    }

    .project-status--ready {
      background: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.4);
      color: #bbf7d0;
    }

    .project-status--dev {
      background: rgba(234, 179, 8, 0.12);
      border-color: rgba(234, 179, 8, 0.45);
      color: #fef3c7;
    }

    .project-status--final {
      background: rgba(249, 115, 22, 0.15);
      border-color: rgba(249, 115, 22, 0.45);
      color: #ffedd5;
    }

    .project-status--landing {
      background: rgba(14, 165, 233, 0.12);
      border-color: rgba(14, 165, 233, 0.45);
      color: #bae6fd;
    }

    /* ===== GALERIA DE BI ===== */

    .bi-gallery {
      margin-top: 36px;
    }

    .bi-gallery-intro {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 18px;
      line-height: 1.7;
    }

    .bi-stack {
      margin-bottom: 14px;
      border: 1px solid rgba(56, 189, 248, 0.25);
      border-radius: 16px;
      padding: 10px 14px;
      background: rgba(5, 8, 22, 0.7);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .bi-stack-label {
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .bi-stack-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .bi-stack-tag {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 4px 10px;
      border: 1px solid rgba(99, 102, 241, 0.4);
      background: rgba(57, 77, 161, 0.16);
      color: #dbeafe;
    }

    .bi-data-sources {
      border: 1px solid rgba(56, 189, 248, 0.25);
      border-radius: 16px;
      padding: 10px 14px;
      background: rgba(5, 8, 22, 0.7);
      margin-bottom: 18px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .bi-sources-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .bi-source-tag {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 4px 10px;
      border: 1px solid rgba(14, 165, 233, 0.4);
      background: rgba(14, 116, 144, 0.3);
      color: #cffafe;
    }

    .bi-gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
    }

    .bi-card {
      border-radius: 18px;
      border: 1px solid rgba(31, 41, 55, 0.85);
      background: rgba(5, 8, 22, 0.9);
      box-shadow: 0 18px 35px rgba(2, 6, 23, 0.55);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .bi-card--featured {
      border-color: rgba(56, 189, 248, 0.85);
      background: linear-gradient(150deg, rgba(9, 16, 45, 0.95), rgba(15, 23, 42, 0.95));
      box-shadow: 0 25px 50px rgba(8, 47, 73, 0.4);
      position: relative;
    }

    .bi-card--featured::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, rgba(12, 169, 216, 0.9), rgba(99, 102, 241, 0.8));
    }

    .bi-card__cover {
      padding: 16px;
      background: radial-gradient(circle at top left, rgba(12, 169, 216, 0.35), rgba(5, 8, 22, 0.95));
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .bi-card__badge {
      align-self: flex-start;
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(56, 189, 248, 0.8);
      color: #cffafe;
    }

    .bi-card__badge--featured {
      background: rgba(8, 47, 73, 0.9);
      border-color: rgba(59, 130, 246, 0.9);
    }

    .bi-card__cover strong {
      font-size: 16px;
      letter-spacing: 0.02em;
    }

    .bi-card__meta {
      font-size: 12px;
      color: var(--text-muted);
    }

    .bi-card__tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 6px;
    }

    .bi-tag {
      font-size: 11px;
      border-radius: var(--radius-full);
      padding: 3px 8px;
      border: 1px solid rgba(56, 189, 248, 0.3);
      color: #bae6fd;
      background: rgba(8, 47, 73, 0.5);
    }

    .bi-card__body {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .bi-card__body p {
      font-size: 13px;
      color: var(--text-muted);
      margin: 0;
    }

    .bi-card__summary {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 42px;
    }

    .bi-card__link {
      font-size: 13px;
      color: var(--accent);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .bi-card__frame {
      position: relative;
      padding-top: 62%;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(56, 189, 248, 0.4);
    }

    .bi-card__frame iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }

    .bi-card__frame--lazy.is-waiting {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 0;
      min-height: 200px;
    }

    .bi-card__frame--lazy.is-waiting iframe {
      width: 100%;
      height: 100%;
      opacity: 0;
    }

    .btn-load-frame {
      position: absolute;
      z-index: 2;
      padding: 10px 20px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(56, 189, 248, 0.3);
      background: rgba(5, 8, 22, 0.75);
      color: #f0f9ff;
      cursor: pointer;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: background var(--transition-fast), border-color var(--transition-fast);
    }

    .btn-load-frame::before {
      content: "▶";
      font-size: 11px;
    }

    .btn-load-frame:hover {
      background: rgba(12, 169, 216, 0.25);
      border-color: rgba(56, 189, 248, 0.7);
    }

    .bi-card__frame--lazy:not(.is-waiting) iframe {
      opacity: 1;
    }

    .bi-card__frame--lazy:not(.is-waiting) .btn-load-frame {
      display: none;
    }

    .bi-stats {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 8px;
    }

    .bi-stat-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.6);
      font-size: 12px;
      color: #e0f2fe;
      cursor: pointer;
      transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
    }

    .bi-stat-pill:hover {
      transform: translateY(-1px);
      border-color: rgba(56, 189, 248, 0.6);
      background: rgba(12, 169, 216, 0.12);
    }

    .bi-stat-pill.is-static {
      cursor: default;
    }

    /* ===== SERVICOS ===== */

    .page-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
    }

    .page-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(12, 169, 216, 0.12);
      color: #e0f2fe;
      font-size: 12px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .services-hero {
      margin-bottom: 32px;
      display: grid;
      gap: 16px;
      padding: 24px 24px 20px;
    }

    .services-hero .pill-row {
      gap: 10px;
      margin-top: 2px;
    }

    .services-hero .hero-summary {
      margin-bottom: 4px;
    }

    .repo-hero {
      background: linear-gradient(135deg, rgba(12, 169, 216, 0.2), rgba(57, 77, 161, 0.15));
      border: 1px solid rgba(148, 163, 184, 0.25);
    }

    .services-grid,
    .formats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 16px;
    }

    .service-card {
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.2), rgba(12, 169, 216, 0.08));
      border: 1px solid rgba(148, 163, 184, 0.25);
      border-radius: 14px;
      padding: 18px 16px;
      color: var(--text-main);
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .service-card--highlight {
      background: linear-gradient(135deg, rgba(12, 169, 216, 0.25), rgba(57, 77, 161, 0.25));
      border-color: rgba(56, 189, 248, 0.5);
    }

    .service-meta {
      font-size: 11px;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .service-title {
      font-size: 16px;
      letter-spacing: 0.02em;
      line-height: 1.35;
    }

    .service-text {
      font-size: 13px;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.5;
    }

    .service-list {
      margin: 6px 0 0;
      padding-left: 18px;
      color: #e5e7eb;
      font-size: 13px;
      display: grid;
      gap: 6px;
    }

    .service-list li {
      line-height: 1.45;
    }

    .service-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 2px;
    }

    .service-tag {
      display: inline-flex;
      align-items: center;
      padding: 5px 10px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.7);
      font-size: 11px;
      color: #e0f2fe;
      letter-spacing: 0.02em;
    }

    .services-cta {
      margin-top: 12px;
    }

    @media (max-width: 720px) {
      .page-top {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    /* ===== RESPONSIVO GERAL ===== */

    @media (max-width: 960px) {
      .services-hero {
        padding: 18px;
      }

      .repo-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      }

      .cta {
        flex-direction: column;
        align-items: flex-start;
      }

      .cta-actions {
        width: 100%;
        justify-content: flex-start;
      }

      .cta-actions .btn {
        flex: 1;
        justify-content: center;
      }
    }

    /* ===== FOOTER ===== */

    .site-footer {
      margin-top: 20px;
      border-top: 1px solid rgba(56, 189, 248, 0.2);
      padding: 18px 0 32px;
      color: var(--text-muted);
    }

    .footer-content {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .footer-block strong {
      display: block;
      font-size: 13px;
      color: var(--text-main);
      margin-bottom: 4px;
      letter-spacing: 0.04em;
    }

    .footer-block p {
      font-size: 12px;
      margin: 0;
      line-height: 1.6;
    }

    /* ===== REPOSITORIO ===== */

    #repositorio {
      margin-top: 32px;
      margin-bottom: 24px;
    }

    .repo-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
    }

    .repo-card {
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.2), rgba(12, 169, 216, 0.08));
      border: 1px solid rgba(148, 163, 184, 0.2);
      border-radius: 14px;
      padding: 14px;
      color: var(--text-main);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
      display: flex;
    }

    .repo-card__body {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
    }

    .repo-card__body strong {
      display: block;
      font-size: 14px;
      margin-bottom: 4px;
      letter-spacing: 0.04em;
    }

    .repo-card__body p {
      margin: 0;
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .repo-card--placeholder {
      border-style: dashed;
    }

    .repo-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: auto;
      justify-content: flex-start;
      width: 100%;
    }

    .repo-links a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 14px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(56, 189, 248, 0.55);
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.4), rgba(12, 169, 216, 0.25));
      color: #f8fafc;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
      transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
      justify-content: center;
      width: auto;
      min-width: 52px;
      align-self: flex-start;
    }

    .repo-blog-list {
      display: grid;
      gap: 16px;
      margin-top: 18px;
    }

    .repo-blog-card {
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.25), rgba(12, 169, 216, 0.12));
      border: 1px solid rgba(148, 163, 184, 0.25);
      border-radius: 16px;
      padding: 16px;
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
      display: grid;
      gap: 10px;
    }

    .repo-blog-title {
      font-size: 16px;
      letter-spacing: 0.02em;
      color: #e5e7eb;
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
    }

    .repo-blog-meta {
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .repo-blog-desc {
      font-size: 13px;
      color: #e5e7eb;
      margin: 0;
      line-height: 1.5;
    }

    .repo-blog-list ul {
      margin: 4px 0 0 16px;
      color: #e5e7eb;
      font-size: 13px;
      display: grid;
      gap: 4px;
      list-style: disc;
    }

    .repo-blog-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .repo-blog-actions a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 10px 14px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(56, 189, 248, 0.55);
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.4), rgba(12, 169, 216, 0.25));
      color: #f8fafc;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
      transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
      min-width: 56px;
      border-color: rgba(56, 189, 248, 0.7);
    }

    .repo-blog-actions a:hover {
      transform: translateY(-1px);
      border-color: rgba(56, 189, 248, 0.8);
      box-shadow: 0 14px 30px rgba(8, 47, 73, 0.6);
    }

    .repo-links a:hover {
      transform: translateY(-1px);
      border-color: rgba(56, 189, 248, 0.8);
      box-shadow: 0 14px 30px rgba(8, 47, 73, 0.6);
    }

    .repo-icon {
      display: inline-block;
      font-size: 15px;
      line-height: 1;
      color: #e0f2fe;
    }

    /* ===== FOOTER / CTA ===== */

    .cta {
      margin-top: 16px;
      padding: 16px 18px;
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.8), rgba(12, 169, 216, 0.7));
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    }

    .cta-text {
      font-size: 14px;
      max-width: 600px;
    }

    .cta-text strong {
      display: block;
      font-size: 16px;
      margin-bottom: 2px;
    }

    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    /* ===== VIDEO AULAS / COURSE PAGE ===== */

    .course-hero {
      display: grid;
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
      gap: 18px;
      margin-bottom: 22px;
    }

    .course-hero__content {
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.35), rgba(12, 169, 216, 0.15));
      border-radius: var(--radius-xl);
      padding: 20px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: var(--shadow-soft);
    }

    .course-title {
      font-size: 26px;
      letter-spacing: 0.02em;
      margin-bottom: 8px;
    }

    .course-lead {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 14px;
    }

    .course-meta {
      display: grid;
      gap: 10px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      margin-bottom: 12px;
    }

    .course-meta__item {
      background: var(--bg-chip);
      border: 1px solid rgba(148, 163, 184, 0.3);
      border-radius: 14px;
      padding: 12px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }

    .meta-label {
      display: block;
      font-size: 11px;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .meta-help {
      display: block;
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .course-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }

    .course-hero__card {
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      padding: 18px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: var(--shadow-soft);
      display: grid;
      gap: 12px;
      align-self: stretch;
    }

    .access-note {
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.35), rgba(12, 169, 216, 0.18));
      border-radius: 14px;
      padding: 14px;
      border: 1px solid rgba(56, 189, 248, 0.4);
    }

    .access-note strong {
      display: block;
      font-size: 15px;
      margin-bottom: 6px;
    }

    .access-note p {
      color: var(--text-muted);
      font-size: 13px;
      margin-bottom: 8px;
    }

    .access-note ul {
      margin: 0 0 0 16px;
      color: #e5e7eb;
      display: grid;
      gap: 4px;
      font-size: 13px;
      list-style: disc;
    }

    .access-cta {
      background: rgba(15, 23, 42, 0.8);
      border: 1px dashed rgba(148, 163, 184, 0.5);
      border-radius: 14px;
      padding: 12px 14px;
      color: var(--text-muted);
      font-size: 13px;
      display: grid;
      gap: 6px;
    }

    .access-cta ul {
      margin: 0 0 0 16px;
      display: grid;
      gap: 4px;
      color: #e5e7eb;
      list-style: disc;
    }

    .course-outline {
      margin-top: 10px;
    }

    .course-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 12px;
      margin-top: 16px;
    }

    .lesson-card {
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.25);
      border-radius: 16px;
      padding: 14px;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 12px;
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
      transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    }

    .lesson-card:hover {
      transform: translateY(-1px);
      border-color: rgba(56, 189, 248, 0.6);
      box-shadow: 0 16px 30px rgba(8, 47, 73, 0.55);
    }

    .lesson-number {
      width: 38px;
      height: 38px;
      border-radius: var(--radius-full);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #f8fafc;
      font-weight: 700;
      font-size: 14px;
      border: 1px solid rgba(56, 189, 248, 0.75);
      box-shadow: 0 10px 20px rgba(8, 47, 73, 0.55);
    }

    .lesson-title {
      font-size: 16px;
      letter-spacing: 0.01em;
      margin-bottom: 6px;
    }

    .lesson-desc {
      color: var(--text-muted);
      font-size: 13px;
      margin-bottom: 8px;
    }

    .lesson-points {
      margin: 0 0 0 16px;
      color: #e5e7eb;
      display: grid;
      gap: 4px;
      font-size: 13px;
      list-style: disc;
    }

    /* Enroll form */
    .enroll-form {
      background: rgba(11, 16, 32, 0.92);
      border: 1px solid rgba(148, 163, 184, 0.3);
      border-radius: 16px;
      padding: 16px;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
      display: grid;
      gap: 12px;
      max-width: 640px;
    }

    .form-field {
      display: grid;
      gap: 6px;
    }

    .form-label {
      font-size: 13px;
      color: #e5e7eb;
      letter-spacing: 0.01em;
    }

    .enroll-form input {
      width: 100%;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.85);
      color: #f8fafc;
      font-size: 14px;
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    }

    .enroll-form input:focus,
    .enroll-form select:focus {
      outline: none;
      border-color: rgba(56, 189, 248, 0.7);
      box-shadow: 0 0 0 2px rgba(12, 169, 216, 0.25);
    }

    .enroll-form select {
      width: 100%;
      padding: 12px 14px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(56, 189, 248, 0.6);
      background: #0b1020 linear-gradient(135deg, rgba(57, 77, 161, 0.45), rgba(12, 169, 216, 0.22));
      color: #f8fafc;
      font-size: 14px;
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      position: relative;
    }

    .select-pill {
      background-position: right 14px center;
      background-repeat: no-repeat;
      background-size: 12px 12px;
      color-scheme: dark;
    }

    .enroll-form select:hover {
      border-color: rgba(56, 189, 248, 0.85);
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.52), rgba(12, 169, 216, 0.28));
    }

    .enroll-form select option,
    .enroll-form select optgroup {
      background-color: #0b1020;
      color: #f8fafc;
    }

    .form-submit {
      width: fit-content;
      padding: 10px 18px;
    }

    /* Course levels & modules */
    .level-list {
      display: grid;
      gap: 14px;
      margin-top: 16px;
    }

    .level-card {
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.3);
      border-radius: 18px;
      padding: 14px;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    }

    .level-card:hover {
      transform: translateY(-1px);
      border-color: rgba(56, 189, 248, 0.5);
      box-shadow: 0 16px 34px rgba(8, 47, 73, 0.55);
    }

    .level-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }

    .level-head__text {
      display: grid;
      gap: 4px;
    }

    .level-title-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }

    .level-badge {
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #e0f2fe;
      background: linear-gradient(135deg, rgba(57, 77, 161, 0.35), rgba(12, 169, 216, 0.22));
      border: 1px solid rgba(56, 189, 248, 0.5);
      padding: 4px 10px;
      border-radius: var(--radius-full);
      display: inline-flex;
      width: fit-content;
    }

    .level-title {
      font-size: 18px;
      letter-spacing: 0.02em;
    }

    .level-count {
      padding: 4px 10px;
      border-radius: var(--radius-full);
      border: 1px solid rgba(56, 189, 248, 0.6);
      background: rgba(12, 169, 216, 0.12);
      font-size: 12px;
      color: #e5e7eb;
    }

    .level-card.level-1 .level-title {
      color: #7dd3fc;
    }

    .level-card.level-2 .level-title {
      color: #38bdf8;
    }

    .level-card.level-3 .level-title {
      color: #22d3ee;
    }

    .level-card.level-4 .level-title {
      color: #0ea5e9;
    }

    .level-desc {
      color: var(--text-muted);
      font-size: 13px;
      max-width: 640px;
    }

    .level-body {
      margin-top: 12px;
    }

    .level-body.is-collapsed {
      display: none;
    }

    .module-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 12px;
    }

    .module-card {
      background: rgba(11, 16, 32, 0.92);
      border: 1px solid rgba(148, 163, 184, 0.25);
      border-radius: 14px;
      padding: 12px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
      display: grid;
      gap: 8px;
    }

    .module-title {
      font-size: 15px;
      letter-spacing: 0.01em;
    }

    .module-list {
      margin: 0 0 0 16px;
      color: #e5e7eb;
      display: grid;
      gap: 4px;
      font-size: 13px;
      list-style: disc;
    }

    .placeholder-text {
      color: var(--text-muted);
      font-size: 13px;
    }

    /* Admin panel */
    .admin-panel {
      background: rgba(11, 16, 32, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.35);
      border-radius: 16px;
      padding: 14px;
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
      display: grid;
      gap: 14px;
    }

    .admin-summary {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 10px;
    }

    .summary-card {
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: 12px;
      padding: 10px 12px;
      display: grid;
      gap: 6px;
    }

    .summary-label {
      font-size: 12px;
      color: var(--text-muted);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .admin-table-wrapper {
      overflow: auto;
    }

    .admin-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 520px;
    }

    .admin-table th,
    .admin-table td {
      padding: 10px;
      text-align: left;
      border-bottom: 1px solid rgba(148, 163, 184, 0.25);
      font-size: 13px;
    }

    .admin-table th {
      color: #e5e7eb;
      letter-spacing: 0.02em;
    }

    .admin-table tr:hover td {
      background: rgba(57, 77, 161, 0.08);
    }

    .empty-row td {
      text-align: center;
      color: var(--text-muted);
      font-size: 13px;
    }

    .form-status {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 6px;
    }

    .form-status.is-success {
      color: #a7f3d0;
    }

    .form-status.is-error {
      color: #fecdd3;
    }

    /* Hub page */
    .hub-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 12px;
      margin-top: 16px;
    }

    .hub-card {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 10px;
      align-items: center;
      background: rgba(15, 23, 42, 0.88);
      border: 1px solid rgba(148, 163, 184, 0.3);
      border-radius: 14px;
      padding: 12px;
      box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
      transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    }

    .hub-card:hover {
      transform: translateY(-1px);
      border-color: rgba(56, 189, 248, 0.55);
      box-shadow: 0 16px 32px rgba(8, 47, 73, 0.55);
    }

    .hub-icon {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-full);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #f8fafc;
      font-size: 18px;
      border: 1px solid rgba(56, 189, 248, 0.7);
      box-shadow: 0 10px 20px rgba(8, 47, 73, 0.5);
    }

    .hub-body h3 {
      font-size: 15px;
      margin-bottom: 2px;
    }

    .hub-body p {
      font-size: 13px;
      color: var(--text-muted);
    }

    .hub-cta {
      font-size: 12px;
      color: #e0f2fe;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      border: 1px solid rgba(56, 189, 248, 0.5);
      border-radius: var(--radius-full);
      padding: 6px 10px;
      background: rgba(12, 169, 216, 0.1);
    }

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

      .level-head {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 540px) {
      .lesson-card {
        grid-template-columns: 1fr;
      }

      .lesson-number {
        width: 34px;
        height: 34px;
      }
    }
