/* ============================================
   CORESKILLS — GLOBAL STYLES
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-3: #16161f;
  --bg-card: #1a1a26;
  --bg-card-hover: #1f1f2e;
  --border: rgba(255,255,255,0.07);
  --border-light: rgba(255,255,255,0.12);
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --text-subtle: #555570;
  --primary: #7c6ef5;
  --primary-light: #9b8ef8;
  --primary-dark: #5a4fd4;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-cyan: #06b6d4;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-hero: 0 20px 80px rgba(124,110,245,0.2);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-search {
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 16px;
  height: 40px;
  color: var(--text-subtle);
  transition: border-color var(--transition);
}

.nav-search:focus-within {
  border-color: var(--primary);
  color: var(--text-muted);
}

.nav-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}

.nav-search input::placeholder { color: var(--text-subtle); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-ghost {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: color var(--transition);
}

.btn-ghost:hover { color: var(--text); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}

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

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(124,110,245,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6,182,212,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,110,245,0.12);
  border: 1px solid rgba(124,110,245,0.3);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-text h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(124,110,245,0.35);
}

.btn-hero-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,110,245,0.5);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  transition: border-color var(--transition), background var(--transition);
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* Author Hero */
.author-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  align-self: center;
}

.author-avatar-link {
  display: block;
  text-decoration: none;
  border-radius: 50%;
  transition: transform var(--transition);
}

.author-avatar-link:hover {
  transform: scale(1.03);
}

.author-avatar-link:hover .author-hero-avatar {
  border-color: var(--primary-light);
}

.author-name-link {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
}

.author-name-link:hover {
  opacity: 0.85;
}

.author-name-link .gradient-text {
  display: inline;
}

.author-hero-avatar {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-light);
  box-shadow: var(--shadow-hero);
  transition: border-color var(--transition);
}

.author-online-dot {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 3px solid var(--bg);
  animation: pulse 2s infinite;
  pointer-events: none;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  align-items: flex-start;
}

.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.about-photo-wrap {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hero);
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-caption {
  text-align: center;
}

.about-caption-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.about-caption-org {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.about-name {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 12px 0 20px;
}

.about-tagline {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 36px;
  font-style: italic;
}

.about-facts {
  display: flex;
  gap: 36px;
}

.about-fact {
  display: flex;
  flex-direction: column;
}

.about-fact-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}

.about-fact-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
}

/* Content sections */
.about-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.about-section--alt {
  background: var(--bg-2);
}

.about-content-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: flex-start;
}

.about-sticky-label {
  padding-top: 6px;
}

.about-sticky-label span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-subtle);
}

.about-prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-prose p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-quote {
  margin: 8px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--primary);
  background: rgba(124,110,245,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
}

/* Timeline */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:first-child { padding-top: 0; }
.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }

.timeline-period {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-subtle);
  padding-top: 4px;
  white-space: nowrap;
}

.timeline-role {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.timeline-org {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.timeline-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About responsive */
@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
    text-align: center;
  }
  .about-tagline { max-width: 100%; }
  .about-facts { justify-content: center; }
  .about-content-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-sticky-label { padding-top: 0; }
  .about-sticky-label span { font-size: 11px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .timeline-period { padding-top: 0; }
}

@media (max-width: 600px) {
  .about-facts { gap: 20px; flex-wrap: wrap; }
  .about-photo-wrap { width: 180px; height: 180px; }
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 420px;
}

.hero-card-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  border: 1px solid var(--border-light);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: transform var(--transition), background var(--transition);
}

.play-btn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.25);
}

.hero-card-small { position: absolute; }
.top-right { top: -20px; right: -20px; }
.bottom-left { bottom: 30px; left: -30px; }

.floating-card {
  background: rgba(26,26,38,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}

.fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-icon--green { background: var(--accent-green); }
.fc-icon--purple { background: var(--primary); }

.fc-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.fc-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   TRUSTED BY
   ============================================ */

.trusted {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.trusted-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.company-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: -0.5px;
  transition: color var(--transition);
  cursor: default;
}

.company-logo:hover { color: var(--text-muted); }

/* ============================================
   SECTION SHARED
   ============================================ */

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  margin-bottom: 10px;
}

.see-all {
  color: var(--primary-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
  padding-bottom: 4px;
}

.see-all:hover { color: white; }

/* ============================================
   CATEGORIES / MODULES OVERVIEW
   ============================================ */

.categories {
  padding: 96px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  border-color: var(--accent, var(--primary));
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.module-overview-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.category-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   COURSES
   ============================================ */

.courses {
  padding: 96px 0;
  background: var(--bg-2);
}

.course-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-3);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition);
}

.tab.active {
  background: var(--primary);
  color: white;
}

.tab:hover:not(.active) {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-color: var(--border-light);
}

.course-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.course-thumb img { transition: transform 400ms ease; }
.course-card:hover .course-thumb img { transform: scale(1.05); }

.course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.course-badge.bestseller {
  background: var(--accent-gold);
  color: #1a1000;
}

.course-badge.hot {
  background: var(--accent-red);
  color: white;
}

.course-body {
  padding: 18px;
}

.course-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.course-body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-instructor {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.rating-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
}

.stars {
  font-size: 12px;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

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

.course-meta {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.course-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.price-original {
  font-size: 13px;
  color: var(--text-subtle);
  text-decoration: line-through;
}

.btn-enroll {
  margin-left: auto;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-enroll:hover {
  background: var(--primary);
  color: white;
}

/* Module cards */
.module-card { display: flex; flex-direction: column; }

.module-card-header {
  height: 72px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.module-num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--mod-accent, var(--primary));
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}

.module-track-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-subtle);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

.module-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.concept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.concept-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.2px;
}

.risk-callout {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #f59e0b;
  line-height: 1.5;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-bottom: 16px;
}

.risk-callout svg { flex-shrink: 0; margin-top: 1px; }

.module-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.module-duration {
  font-size: 12px;
  color: var(--text-subtle);
}

/* Path promo step meta */
.step-meta {
  font-size: 12px;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-card);
}

.testimonial-quote {
  flex: 1;
}

.quote-icon {
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 12px;
}

.testimonial-quote p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

/* ============================================
   MODULES PAGE
   ============================================ */

.modules-hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}

.modules-hero-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
  margin-top: 12px;
}

.modules-hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 32px;
}

.modules-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.modules-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.modules-meta-item svg { color: var(--primary-light); flex-shrink: 0; }

.modules-meta-divider {
  width: 1px;
  height: 16px;
  background: var(--border-light);
}

/* Track sections */
.modules-track-section {
  padding: 80px 0 96px;
}

.modules-track-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.modules-track-header--production {
  margin-top: 72px;
}

.modules-track-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 100px;
  flex-shrink: 0;
}

.foundation-label {
  background: rgba(99,102,241,0.1);
  color: #818cf8;
  border: 1px solid rgba(99,102,241,0.2);
}

.production-label {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
}

.modules-track-desc {
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.5;
}

/* Module full cards */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.module-full-card {
  display: grid;
  grid-template-columns: 120px 1fr 280px;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.module-full-card + .module-full-card {
  margin-top: 12px;
}

.module-full-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.module-full-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 20px;
  background: rgba(0,0,0,0.15);
  border-right: 1px solid var(--border);
}

.module-full-num {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--mod-accent, var(--primary));
  font-variant-numeric: tabular-nums;
}

.module-duration-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-subtle);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.module-full-body {
  padding: 28px 32px;
}

.module-full-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.module-full-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.module-full-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 28px 24px;
  border-left: 1px solid var(--border);
  background: rgba(0,0,0,0.08);
}

.btn-module-start {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-module-start:hover {
  background: var(--primary);
  color: white;
}
.btn-module-locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(251,191,36,.4);
  color: #fbbf24;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.btn-module-locked:hover {
  background: rgba(251,191,36,.12);
  color: #fbbf24;
}

/* Module access badges */
.module-access-row { margin-bottom: 6px; }
.module-access-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}
.module-access-badge--free {
  background: rgba(74,222,128,.12);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,.25);
}
.module-access-badge--premium {
  background: rgba(251,191,36,.12);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,.25);
}

/* Locked card */
.module-full-card--locked { opacity: .8; }
.module-full-card--locked .module-full-body { filter: none; }

/* ── Upgrade modal ──────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-card {
  background: var(--surface, #111118);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.modal-accent-bar {
  height: 3px;
  width: 100%;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.modal-module-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-title {
  font-size: 20px;
  font-weight: 700;
  padding: 8px 24px 0;
  margin: 0;
}
.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 8px 24px 0;
  margin: 0;
}
.modal-lock-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 24px 0;
  padding: 12px 16px;
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.2);
  border-radius: 8px;
  font-size: 14px;
  color: #fde68a;
}
.modal-premium-perks {
  padding: 16px 24px 0;
}
.modal-perks-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.modal-perks-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}
.modal-actions {
  display: flex;
  gap: 10px;
  padding: 20px 24px 24px;
  align-items: center;
}
.btn-modal-upgrade {
  flex: 1;
  text-align: center;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity .2s;
}
.btn-modal-upgrade:hover { opacity: .88; }
.btn-modal-cancel {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color .2s;
}
.btn-modal-cancel:hover { color: var(--text); }

@media (max-width: 900px) {
  .module-full-card {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
  }
  .module-full-right {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0,0,0,0.12);
  }
  .module-full-right .risk-callout { flex: 1; }
}

@media (max-width: 600px) {
  .module-full-card { grid-template-columns: 1fr; }
  .module-full-left {
    flex-direction: row;
    justify-content: flex-start;
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .modules-track-header { flex-wrap: wrap; gap: 10px; }
  .modules-hero-meta { gap: 12px; }
}

/* ============================================
   PATH PROMO
   ============================================ */

.path-promo {
  padding: 96px 0;
}

.path-promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.promo-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.path-promo-text h2 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.path-promo-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.path-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.path-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.path-features svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Path Visual */
.path-promo-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.path-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.path-connector {
  width: 2px;
  height: 28px;
  background: var(--border);
  margin-left: 18px;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-dot--done {
  background: var(--accent-green);
  color: white;
}

.step-dot--current {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(124,110,245,0.2);
}

.step-dot--locked {
  background: var(--bg-3);
  color: var(--text-subtle);
  border: 1px solid var(--border);
}

.step-content { flex: 1; }

.step-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-subtle);
  margin-bottom: 4px;
}

.current-tag { color: var(--primary-light); }

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.step-progress-bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 100px;
  overflow: hidden;
}

.step-progress-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: 100px;
  transition: width 600ms ease;
}

/* ============================================
   INSTRUCTORS
   ============================================ */

.instructors {
  padding: 96px 0;
  background: var(--bg-2);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.instructor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.instructor-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-card);
}

.instructor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid var(--border-light);
}

.instructor-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.instructor-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.instructor-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-subtle);
}

.instructor-stats span:first-child { color: var(--accent-gold); font-weight: 600; }

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0e4a 0%, #0f1f3a 50%, #0d1e2e 100%);
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(124,110,245,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(6,182,212,0.15) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #0a0a0f;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 100px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.25);
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-cta-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: white;
}

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

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-icon:hover {
  border-color: var(--border-light);
  color: var(--text);
  background: var(--bg-card);
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--text-muted); }

/* ============================================
   AUTH PAGES (login / register)
   ============================================ */

.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.auth-header {
  margin-bottom: 28px;
}

.auth-logo {
  margin-bottom: 24px;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.75px;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.auth-error {
  font-size: 13px;
  color: #f87171;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
}

.auth-success {
  font-size: 13px;
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-forgot {
  font-size: 12px;
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

.form-forgot:hover { color: white; }

.form-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.form-input::placeholder { color: var(--text-subtle); }

.form-input:focus {
  border-color: var(--primary);
}

.form-validation {
  font-size: 12px;
  color: #f87171;
  margin-top: 2px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.form-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
}

.btn-auth {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition);
  margin-top: 4px;
}

.btn-auth:hover:not(:disabled) {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-auth:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-switch {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
}

.auth-switch a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover { color: white; }

/* Logged-in user in nav */
.nav-user {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   ROADMAP PAGE
   ============================================ */

/* Variables scoped to the roadmap */
.rm-flow {
  --rm-line-color: rgba(255,255,255,0.1);
  --rm-line-w:     2px;
  --rm-conn-h:     36px;   /* vertical connector height */
  --rm-fork-h:     32px;   /* fork/merge element height */
}

/* ---- Page header ---- */
.rm-page-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.rm-page-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin: 12px 0 16px;
}

.rm-page-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Legend */
.rm-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.rm-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.rm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rm-dot--core { background: var(--primary); }
.rm-dot--rec  { background: var(--accent-green); }
.rm-dot--opt  { background: transparent; border: 2px solid var(--text-subtle); }

/* ---- Page body layout ---- */
.rm-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: flex-start;
  padding: 64px 0 96px;
}

.rm-detail-col {
  position: sticky;
  top: 88px;   /* below the 64px nav */
}

/* ---- Flowchart container ---- */
.rm-flow-col { min-width: 0; }

.rm-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ---- Vertical connector line ---- */
.rm-line {
  width: var(--rm-line-w);
  height: var(--rm-conn-h);
  background: var(--rm-line-color);
  margin: 0 auto;
  flex-shrink: 0;
}

/* ---- Track label bar ---- */
.rm-track-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
}

.rm-track-bar::before,
.rm-track-bar::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.rm-track-bar span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.rm-track-bar--foundation span {
  color: #818cf8;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
}

.rm-track-bar--production span {
  color: #f87171;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.18);
}

/* ---- Center-aligned single node ---- */
.rm-center-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ---- Fork connector (one → two) ----
   Draws:   │      (::before: vertical from top to 50%)
            ─────  (::after:  horizontal at 50%, 25%…75%)
*/
.rm-fork-top {
  width: 100%;
  height: var(--rm-fork-h);
  position: relative;
  flex-shrink: 0;
}

.rm-fork-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-1px);
  width: var(--rm-line-w);
  height: 50%;
  background: var(--rm-line-color);
}

.rm-fork-top::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-1px);
  left:  25%;
  right: 25%;
  height: var(--rm-line-w);
  background: var(--rm-line-color);
}

/* ---- Parallel row ---- */
.rm-parallel {
  width: 100%;
  display: flex;
  gap: 24px;
}

.rm-parallel-item {
  flex: 1;
  min-width: 0;
}

/* Top and bottom vertical stubs connecting to fork/merge bars */
.rm-parallel-item--lined::before {
  content: '';
  display: block;
  width: var(--rm-line-w);
  height: calc(var(--rm-fork-h) / 2);
  background: var(--rm-line-color);
  margin: 0 auto;
}

.rm-parallel-item--lined::after {
  content: '';
  display: block;
  width: var(--rm-line-w);
  height: calc(var(--rm-fork-h) / 2);
  background: var(--rm-line-color);
  margin: 0 auto;
}

/* ---- Merge connector (two → one) ----
   Draws:   ─────  (::before: horizontal at 50%, 25%…75%)
            │      (::after:  vertical from 50% to bottom)
*/
.rm-merge-bottom {
  width: 100%;
  height: var(--rm-fork-h);
  position: relative;
  flex-shrink: 0;
}

.rm-merge-bottom::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-1px);
  left:  25%;
  right: 25%;
  height: var(--rm-line-w);
  background: var(--rm-line-color);
}

.rm-merge-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-1px);
  width: var(--rm-line-w);
  height: 50%;
  background: var(--rm-line-color);
}

/* ---- Node cards ---- */
.rm-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition),
              box-shadow var(--transition), transform var(--transition);
  width: 100%;
}

.rm-node:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.rm-node--active {
  border-color: var(--primary) !important;
  background: rgba(124,110,245,0.07) !important;
  box-shadow: 0 0 0 3px rgba(124,110,245,0.12) !important;
  transform: none !important;
}

/* Start / end pills */
.rm-node--start,
.rm-node--end {
  max-width: 320px;
  text-align: center;
  border-radius: 100px;
  background: rgba(124,110,245,0.06);
  border-color: rgba(124,110,245,0.2);
  padding: 14px 28px;
}

.rm-node--end {
  cursor: default;
}

.rm-node--end:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(124,110,245,0.2);
  background: rgba(124,110,245,0.06);
}

/* Node internals */
.rm-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.rm-node-num {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.rm-node-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-light);
  margin-bottom: 5px;
}

.rm-node-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
}

.rm-node-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Status dot in top-right of node */
.rm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rm-status-dot--core { background: var(--primary); }
.rm-status-dot--rec  { background: var(--accent-green); }
.rm-status-dot--opt  { background: transparent; border: 2px solid var(--text-subtle); }

/* Sub-topic chips */
.rm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.rm-chip {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
}

.rm-chip--core {
  background: rgba(124,110,245,0.1);
  color: var(--primary-light);
  border: 1px solid rgba(124,110,245,0.2);
}

.rm-chip--rec {
  background: rgba(16,185,129,0.08);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.2);
}

.rm-chip--opt {
  background: transparent;
  color: var(--text-subtle);
  border: 1px solid var(--border);
}

/* ---- Detail panel ---- */
.rm-detail-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  min-height: 240px;
  overflow: hidden;
}

.rm-detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--text-subtle);
  text-align: center;
}

.rm-detail-empty p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 200px;
}

.rm-detail-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rm-detail-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
}

.rm-detail-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.25;
}

.rm-detail-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

.rm-detail-risk {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #f59e0b;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  line-height: 1.5;
}

.rm-detail-concepts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rm-detail-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-subtle);
}

.rm-detail-cta {
  align-self: flex-start;
  font-size: 13px;
  margin-top: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .category-grid, .module-grid { grid-template-columns: repeat(4, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; justify-items: center; text-align: center; }
  .hero-text p { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 320px; }
  .path-promo-inner { grid-template-columns: 1fr; }
  .instructor-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .category-grid, .module-grid { grid-template-columns: repeat(2, 1fr); }
  /* Roadmap */
  .rm-body { grid-template-columns: 1fr; gap: 40px; }
  .rm-detail-col { position: static; }
  .rm-detail-panel { min-height: auto; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .category-grid, .module-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: 1fr; }
  .instructor-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 36px; }
  .trusted-logos { gap: 24px; }
  .cta-text h2 { font-size: 32px; }
}

/* ── Profile page ──────────────────────────────────────────────────────────── */
.profile-page {
  padding: 64px 24px 96px;
  min-height: 100vh;
}
.profile-container {
  max-width: 820px;
  margin: 0 auto;
}

/* Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.profile-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.role-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.role-badge--freeuser  { background: rgba(99,102,241,.15); color: #818cf8; }
.role-badge--premiumuser { background: rgba(245,158,11,.15); color: #fbbf24; }
.role-badge--admin     { background: rgba(239,68,68,.15);  color: #f87171; }
.profile-since {
  font-size: 13px;
  color: var(--text-muted);
}

/* Sections */
.profile-section {
  margin-top: 52px;
}
.profile-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: .01em;
}

/* Progress list */
.progress-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.progress-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.progress-item-name {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  min-width: 24px;
}
.progress-item-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.progress-pct {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  min-width: 30px;
  text-align: right;
}
.progress-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}
.progress-badge--complete { background: rgba(74,222,128,.12); color: #4ade80; }
.progress-badge--active   { background: rgba(99,102,241,.12); color: #818cf8; }
.progress-badge--locked   { background: rgba(255,255,255,.05); color: var(--text-muted); }
.progress-track {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.progress-fill--locked { background: transparent !important; }

/* Receipt */
.receipt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.receipt-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.receipt-id {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.receipt-status {
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 999px;
  padding: 4px 12px;
}
.receipt-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
}
.receipt-line--muted {
  color: var(--text-muted);
  font-size: 13px;
}
.receipt-line--total {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.receipt-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.receipt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.receipt-payment {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.receipt-card-icon {
  width: 36px;
  height: 22px;
  border-radius: 3px;
}
.receipt-txn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.receipt-txn-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.receipt-txn-id {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}
.receipt-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn-receipt {
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: .5;
}

/* Change password */
.change-pw-card {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Nav profile button */
.nav-profile-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.nav-profile-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,.2);
}
.nav-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-role-badge {
  font-size: 10px;
  padding: 1px 6px;
}

/* ── Admin page ────────────────────────────────────────────────────────────── */
.admin-page {
  padding: 64px 24px 96px;
  min-height: 100vh;
}
.admin-container {
  max-width: 960px;
  margin: 0 auto;
}
.admin-loading {
  color: var(--text-muted);
  font-size: 14px;
  padding: 40px 0;
}

/* Header */
.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.admin-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.admin-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.admin-stats {
  display: flex;
  gap: 24px;
}
.admin-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.admin-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.admin-stat--warn .admin-stat-value    { color: #f59e0b; }
.admin-stat--premium .admin-stat-value { color: #fbbf24; }

.admin-td-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.admin-never {
  color: var(--text-muted);
  font-style: italic;
  font-size: 12px;
}

/* Pagination */
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
}
.page-btn {
  background: var(--surface-2, #1e1e2e);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.page-btn:hover:not(:disabled) { background: rgba(255,255,255,.07); }
.page-btn:disabled { opacity: .35; cursor: default; }
.page-info { font-size: 13px; color: var(--text-muted); }

/* Audit log */
.admin-audit { margin-top: 40px; }
.admin-section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

/* Controls */
.admin-controls {
  margin-bottom: 20px;
}
.admin-search {
  max-width: 320px;
}

/* Table */
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--border);
}
.admin-th-actions { text-align: right; }
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--text-secondary);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(255,255,255,.02); }
.admin-row--disabled td { opacity: .55; }

.admin-td-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 500;
}
.admin-you-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--primary);
  background: rgba(99,102,241,.12);
  border-radius: 999px;
  padding: 2px 8px;
}
.admin-td-actions {
  text-align: right;
  white-space: nowrap;
}
.admin-confirm-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 10px;
}
.admin-self-note {
  color: var(--text-muted);
  font-size: 13px;
}
.admin-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px !important;
}

/* Status dot */
.status-dot {
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--active::before  { background: #4ade80; }
.status-dot--disabled::before { background: #f87171; }
.status-dot--active  { color: #4ade80; }
.status-dot--disabled { color: #f87171; }

/* Action buttons */
.action-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity .15s;
  margin-left: 6px;
}
.action-btn:hover { opacity: .8; }
.action-btn--disable {
  background: rgba(245,158,11,.1);
  color: #fbbf24;
  border-color: rgba(245,158,11,.2);
}
.action-btn--enable {
  background: rgba(74,222,128,.1);
  color: #4ade80;
  border-color: rgba(74,222,128,.2);
}
.action-btn--delete {
  background: rgba(239,68,68,.1);
  color: #f87171;
  border-color: rgba(239,68,68,.2);
}
.action-btn--cancel {
  background: rgba(255,255,255,.05);
  color: var(--text-muted);
  border-color: var(--border);
}
.action-btn--edit {
  background: rgba(99,102,241,.12);
  color: #818cf8;
  border-color: rgba(99,102,241,.3);
}
.action-btn--save {
  background: rgba(34,197,94,.12);
  color: #4ade80;
  border-color: rgba(34,197,94,.3);
}

.admin-td-role {
  white-space: nowrap;
}

.role-select {
  background: var(--surface-2, #1e1e2e);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 12px;
  padding: 3px 6px;
  margin-right: 6px;
}

/* Nav admin link */
.nav-admin-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f87171;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239,68,68,.3);
  background: rgba(239,68,68,.06);
  transition: background .2s, border-color .2s;
}
.nav-admin-btn:hover {
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.4);
}

/* ── Password strength indicator ───────────────────────────────────────────── */

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

.pw-strength-bar {
  display: flex;
  gap: 4px;
  flex: 1;
}

.pw-strength-seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.1);
  transition: background .25s;
}

.pw-strength-label {
  font-size: 12px;
  font-weight: 600;
  min-width: 42px;
  text-align: right;
  transition: color .25s;
}

.pw-rules {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pw-rule {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  transition: color .2s;
}

.pw-rule--met {
  color: #4ade80;
}

.pw-rule-icon {
  font-size: 11px;
  width: 14px;
  text-align: center;
}

/* ── Promo code UI (modal + gate) ────────────────────────────────────────── */

.modal-promo {
  padding: 0 24px 8px;
}

.promo-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.promo-summary {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.promo-summary::-webkit-details-marker { display: none; }
.promo-summary::before { content: '+ '; }
details[open] .promo-summary::before { content: '− '; }

.promo-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
}

.promo-input {
  flex: 1;
  font-size: 14px !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 7px 12px !important;
}

.promo-apply-btn {
  background: var(--surface-2, #1e1e1e);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.promo-apply-btn:hover:not(:disabled) { background: #2a2a2a; }
.promo-apply-btn:disabled { opacity: .45; cursor: not-allowed; }

.promo-error {
  padding: 4px 14px 10px;
  font-size: 12px;
  color: #f87171;
}

.promo-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4ade80;
  background: #4ade8010;
  border: 1px solid #4ade8030;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  flex-wrap: wrap;
}

.promo-signin-link {
  color: #4ade80;
  font-weight: 600;
  text-decoration: underline;
  margin-left: auto;
}

/* ── Admin promo code section ────────────────────────────────────────────── */

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-section-header .admin-section-title { margin-bottom: 0; }

.promo-new-code {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #6366f112;
  border: 1px solid #6366f130;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 16px;
  font-size: 13px;
}

.promo-new-label { color: var(--text-muted); }

.promo-code-value {
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: .08em;
}

.promo-copy-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
}

.promo-copy-btn:hover { color: var(--text); }

.promo-code-cell {
  font-family: monospace;
  font-size: 13px;
  letter-spacing: .06em;
  color: #a5b4fc;
}
