/* ============================================================
   NUVY DESIGN TOKENS
   ============================================================ */


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
.num { font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.flex { display: flex; }
.grid { display: grid; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }

/* ============================================================
   ICONS (lucide-style inline SVG)
   ============================================================ */
.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 4px 14px rgba(15, 163, 177, 0.28); }
.btn-primary:hover { background: var(--teal-hover); box-shadow: 0 6px 20px rgba(15, 163, 177, 0.40); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal-soft); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--border-soft); color: var(--text); }
.btn-amber { background: var(--amber-hot); color: var(--white); box-shadow: 0 4px 14px rgba(10, 61, 98, 0.28); }
.btn-amber:hover { background: var(--amber); box-shadow: 0 6px 20px rgba(10, 61, 98, 0.36); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ============================================================
   FORM
   ============================================================ */
.input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  transition: all 0.18s var(--ease);
}
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.input::placeholder { color: var(--text-3); }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-amber { background: var(--amber); color: var(--white); }
.badge-amber-hot { background: var(--amber-hot); color: var(--white); }
.badge-teal { background: var(--teal); color: var(--white); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-red { background: var(--red); color: var(--white); }
.badge-gray { background: var(--border); color: var(--text-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  background: var(--border-soft);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.pill:hover { background: var(--border); color: var(--text); }
.pill.active { background: var(--navy); color: var(--white); }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-wrap {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 100vh;
  background: var(--white);
}
.login-brand {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--teal-hover) 100%);
  color: var(--white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.login-brand::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 221, 217, 0.35) 0%, transparent 70%);
  filter: blur(40px);
}
.login-brand::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 221, 217, 0.22) 0%, transparent 70%);
  filter: blur(60px);
}
.login-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.login-logo span { color: var(--teal); }
.login-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.login-hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  white-space: pre-line;
}
.login-hero p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
  max-width: 460px;
}
.trust-badges { display: flex; flex-direction: column; gap: 14px; }
.trust-badge { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.92); }
.trust-badge .icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(123, 221, 217, 0.22);
  border: 1px solid rgba(123, 221, 217, 0.4);
  display: grid;
  place-items: center;
  color: var(--teal);
}

.login-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 64px;
  position: relative;
}
.login-form { max-width: 380px; width: 100%; margin: 0 auto; }
.login-form h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.login-form .subtitle { color: var(--text-2); margin-bottom: 32px; font-size: 15px; }
.login-form .form-group { margin-bottom: 18px; }
.login-error {
  background: var(--red-soft);
  color: var(--red);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
  animation: shake 0.3s ease;
}
.login-error.show { display: block; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.login-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 24px;
  font-size: 13px;
}
.login-links a { color: var(--teal-hover); font-weight: 500; }
.login-links a:hover { text-decoration: underline; }
.login-footer {
  position: absolute;
  bottom: 24px;
  right: 64px;
  font-size: 12px;
  color: var(--text-3);
}

/* ============================================================
   TOP NAVIGATION
   ============================================================ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}
.topnav-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-logo span { color: var(--teal); }
.nav-cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s;
  position: relative;
  cursor: pointer;
}
.nav-cat-btn:hover { background: var(--border-soft); }
.search-bar {
  flex: 1;
  max-width: 560px;
  position: relative;
}
.search-bar .input {
  padding: 12px 56px 12px 44px;
  border-radius: 100px;
  background: var(--cream);
  border-color: transparent;
  font-size: 14px;
}
.search-bar .input:focus { border-color: var(--teal); background: var(--white); }
.search-bar .search-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}
.search-bar .search-submit {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  background: var(--teal);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.search-bar .search-submit:hover { background: var(--teal-hover); }
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 4px;
  white-space: nowrap;
  transition: color 0.15s;
  cursor: pointer;
  position: relative;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--navy); font-weight: 700; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -22px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.nav-icons { display: flex; align-items: center; gap: 4px; }
.nav-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: all 0.15s;
  cursor: pointer;
}
.nav-icon-btn:hover { background: var(--border-soft); color: var(--navy); }
.nav-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  font-family: 'Inter', sans-serif;
}
.nav-dot {
  position: absolute;
  top: 8px; right: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
}
.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-hover) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin-left: 8px;
}
.avatar-dropdown {
  position: absolute;
  top: 64px; right: 24px;
  width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  display: none;
  z-index: 200;
}
.avatar-dropdown.show { display: block; animation: fadeDown 0.18s var(--ease-out); }
.avatar-dropdown-header { padding: 12px 12px 16px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.avatar-dropdown-header .name { font-weight: 600; font-size: 14px; }
.avatar-dropdown-header .email { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.avatar-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.12s;
}
.avatar-dropdown a:hover { background: var(--border-soft); color: var(--navy); }
.avatar-dropdown .divider { height: 1px; background: var(--border); margin: 4px 0; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Category Mega Menu */
.megamenu {
  position: absolute;
  top: 72px; left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 90;
}
.megamenu.show { display: block; animation: fadeDown 0.2s var(--ease-out); }
.megamenu-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.megamenu-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 12px;
}
.megamenu-col a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: color 0.12s;
}
.megamenu-col a:hover { color: var(--teal-hover); }

/* ============================================================
   PAGE STRUCTURE
   ============================================================ */
.page { display: none; animation: fadeIn 0.4s var(--ease-out); }
.page.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.section { margin-bottom: 56px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.section-head h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-head .sub { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.section-head .link {
  color: var(--teal-hover);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.section-head .link:hover { text-decoration: underline; }

/* ============================================================
   HOME: GREETING + STREAK
   ============================================================ */
.home-greeting {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: center;
  margin: 32px 0 32px;
}
.greeting h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.greeting p { color: var(--text-2); font-size: 15px; }
.streak-card {
  background: linear-gradient(135deg, var(--mint-soft) 0%, #C9EFEC 100%);
  border: 1px solid #B5E7E3;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.streak-flame {
  font-size: 36px;
  filter: drop-shadow(0 2px 4px rgba(15, 163, 177, 0.3));
  animation: flame 2s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
}
.streak-flame .feature-icon-img { width: 44px; height: 44px; }
.streak-big .flame .feature-icon-img { width: 64px; height: 64px; }
@keyframes flame {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.06) rotate(2deg); }
}
.streak-info { flex: 1; }
.streak-info .num { font-size: 22px; font-weight: 800; color: var(--teal-hover); line-height: 1; }
.streak-info .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin-top: 4px; }
.streak-card .btn { padding: 8px 12px; font-size: 12px; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 300px;
  margin-bottom: 56px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  padding: 44px 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide.amber { background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); }
.hero-slide.navy { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); }
.hero-slide.teal { background: linear-gradient(135deg, var(--teal-hover) 0%, var(--mint-deep) 100%); }
.hero-slide::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(40px);
}
.hero-slide .badge { background: rgba(255, 255, 255, 0.2); color: var(--white); margin-bottom: 12px; backdrop-filter: blur(8px); }
.hero-slide h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: 600px;
}
.hero-slide p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 540px;
}
.hero-slide .btn { align-self: flex-start; }
.hero-dots {
  position: absolute;
  bottom: 20px; right: 56px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.hero-dot.active { background: var(--white); width: 24px; border-radius: 100px; }

/* ============================================================
   CATEGORY SHORTCUTS
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(15, 163, 177, 0.15);
}
.category-card .emoji { font-size: 32px; margin-bottom: 8px; display: block; }
.category-card .label { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ============================================================
   CUSTOM ICON IMAGES (replaces emoji as primary visuals)
   ============================================================ */
.icon-emoji-fallback {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
}
.category-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(10, 61, 98, 0.08));
  transition: transform 0.25s var(--ease);
}
.category-card:hover .category-icon-img { transform: translateY(-2px) scale(1.04); }

.course-icon-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(8, 46, 72, 0.25));
  transition: transform 0.3s var(--ease);
  position: relative;
  z-index: 1;
}
.course-card:hover .course-icon-img { transform: scale(1.06); }
.course-icon-img.sm { width: 56px; height: 56px; }
.course-icon-img.xs { width: 36px; height: 36px; filter: drop-shadow(0 2px 4px rgba(8, 46, 72, 0.18)); }
.course-icon-img.lg { width: 128px; height: 128px; }

.article-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(8, 46, 72, 0.2));
}

.feature-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(8, 46, 72, 0.1));
}

@media (max-width: 768px) {
  .category-icon-img { width: 44px; height: 44px; }
  .course-icon-img { width: 72px; height: 72px; }
  .course-icon-img.sm { width: 48px; height: 48px; }
  .course-icon-img.lg { width: 96px; height: 96px; }
  .article-icon-img { width: 48px; height: 48px; }
  .feature-icon-img { width: 44px; height: 44px; }
}

/* ============================================================
   COURSE CARD
   ============================================================ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.course-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.course-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.course-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.course-scroller::-webkit-scrollbar { height: 6px; }
.course-scroller::-webkit-scrollbar-track { background: transparent; }
.course-scroller::-webkit-scrollbar-thumb { background: var(--border); border-radius: 100px; }

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.course-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  overflow: hidden;
}
/* Mint soft backgrounds (light, branded, high-contrast for icons) */
.course-thumb-leadership { background: linear-gradient(135deg, #E6F7F6 0%, #D0F0EE 100%); }
.course-thumb-hr { background: linear-gradient(135deg, #ECFAF8 0%, #DCEBF5 100%); }
.course-thumb-soft { background: linear-gradient(135deg, #E6F7F6 0%, #F2EBE0 100%); }
.course-thumb-digital { background: linear-gradient(135deg, #E6F0F7 0%, #DCE9F5 100%); }
.course-thumb-finance { background: linear-gradient(135deg, #ECF7F2 0%, #E0F0E5 100%); }
.course-thumb-sales { background: linear-gradient(135deg, #F2EBE0 0%, #E6F7F6 100%); }
.course-thumb-syariah { background: linear-gradient(135deg, #F0EBE0 0%, #E6F0E8 100%); }
.course-thumb-bahasa { background: linear-gradient(135deg, #E6F0F7 0%, #ECECF5 100%); }
.course-thumb-flag {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
}
.course-wishlist {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: all 0.18s;
}
.course-wishlist:hover { background: var(--white); color: var(--red); transform: scale(1.08); }
.course-wishlist.active { color: var(--red); fill: var(--red); }
.course-wishlist.active svg { fill: var(--red); }

.course-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.course-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-hover);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.course-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.course-trainer {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.course-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 12px;
}
.course-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--text);
}
.course-rating svg { color: var(--star); fill: var(--star); }
.course-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.course-price .now {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.course-price .was {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--text-3);
  text-decoration: line-through;
}
.course-price .disc {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Progress bar in continue learning */
.course-progress {
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.course-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-hover) 100%);
  border-radius: 100px;
  transition: width 0.4s var(--ease);
}
.course-progress-text {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

/* Flash deal countdown */
.flash-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--teal-hover) 100%);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.flash-banner::before {
  content: '⚡';
  position: absolute;
  font-size: 200px;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
}
.flash-banner h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.flash-banner p { font-size: 13px; opacity: 0.9; margin-top: 2px; }
.countdown {
  display: flex;
  gap: 6px;
  align-items: center;
}
.countdown-box {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  min-width: 48px;
  text-align: center;
}
.countdown-box .num { font-size: 18px; font-weight: 800; line-height: 1; }
.countdown-box .lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.8; margin-top: 2px; }
.countdown-sep { font-size: 18px; font-weight: 800; opacity: 0.6; }

.stock-bar {
  margin-top: 8px;
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   TRAINER CARD
   ============================================================ */
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trainer-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 240px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.trainer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
}
.trainer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.trainer-cover {
  height: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}
.trainer-cover.gradient-2 { background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%); }
.trainer-cover.gradient-3 { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--mint-deep) 100%); }
.trainer-cover.gradient-4 { background: linear-gradient(135deg, var(--navy) 0%, var(--mint) 100%); }
.trainer-body { padding: 0 16px 16px; margin-top: -36px; }
.trainer-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--white);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.trainer-avatar-bg { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-hover) 100%); }
.trainer-avatar-bg-2 { background: linear-gradient(135deg, var(--teal-hover) 0%, var(--mint-deep) 100%); }
.trainer-avatar-bg-3 { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.trainer-avatar-bg-4 { background: linear-gradient(135deg, var(--mint-deep) 0%, var(--navy) 100%); }
.trainer-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.trainer-verified {
  color: var(--teal);
  display: inline-flex;
}
.trainer-title {
  font-size: 12px;
  color: var(--text-2);
  font-style: italic;
  margin-top: 2px;
  margin-bottom: 10px;
}
.trainer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-bottom: 12px;
}
.tag-mini {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--border-soft);
  color: var(--text-2);
  border-radius: 100px;
  font-weight: 500;
}
.trainer-stats {
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  color: var(--text-2);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.trainer-stats .num { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.trainer-stats .lbl { display: block; margin-top: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 80px;
  padding: 56px 0 24px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { font-size: 26px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 12px; }
.footer-brand .logo span { color: var(--teal); }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; font-size: 13px; cursor: pointer; transition: color 0.12s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   CATALOG (JELAJAH)
   ============================================================ */
.catalog-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 32px;
}
.filter-sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  scrollbar-width: thin;
}
.filter-sidebar::-webkit-scrollbar { width: 6px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 100px; }
.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.filter-head h3 { font-size: 16px; font-weight: 700; }
.filter-reset { font-size: 12px; color: var(--teal-hover); cursor: pointer; font-weight: 600; }
.filter-reset:hover { text-decoration: underline; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.filter-group:last-child { border-bottom: none; }
.filter-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.filter-group-head .chevron { transition: transform 0.2s; color: var(--text-3); }
.filter-group.collapsed .chevron { transform: rotate(-90deg); }
.filter-group.collapsed .filter-group-body { display: none; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  padding: 4px 0;
}
.filter-check input { accent-color: var(--teal); width: 16px; height: 16px; }
.filter-check .count { color: var(--text-3); font-size: 11px; margin-left: auto; font-family: 'Inter', sans-serif; }
.filter-check:hover { color: var(--text); }

.range-slider {
  margin: 12px 0 8px;
}
.range-slider input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}
.range-display {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  margin-bottom: 8px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.catalog-results { font-size: 14px; color: var(--text-2); }
.catalog-results strong { color: var(--text); font-weight: 700; }
.catalog-actions { display: flex; align-items: center; gap: 12px; }
.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 13px;
  cursor: pointer;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--teal-soft);
  color: var(--teal-hover);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}
.filter-chip .x { cursor: pointer; opacity: 0.7; }
.filter-chip .x:hover { opacity: 1; }

/* ============================================================
   COURSE DETAIL PAGE
   ============================================================ */
.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  margin-top: 24px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
}
.breadcrumb a { cursor: pointer; }
.breadcrumb a:hover { color: var(--teal-hover); }
.breadcrumb .sep { color: var(--text-3); }
.detail-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.detail-subtitle {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 16px;
  max-width: 720px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
}
.detail-meta-item { display: flex; align-items: center; gap: 6px; }
.detail-meta-item strong { color: var(--text); font-weight: 600; }
.detail-trainer-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  cursor: pointer;
}
.detail-trainer-mini:hover .name { color: var(--teal-hover); }
.detail-trainer-mini .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}
.detail-trainer-mini .label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.detail-trainer-mini .name { font-size: 14px; font-weight: 600; }

.detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
}
.detail-tab {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s;
}
.detail-tab:hover { color: var(--text); }
.detail-tab.active { color: var(--teal-hover); }
.detail-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s var(--ease-out); }

.video-preview {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
}
.video-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.play-btn {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: transform 0.2s;
}
.play-btn:hover { transform: scale(1.08); }

.detail-section { margin-bottom: 32px; }
.detail-section h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.learn-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.learn-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.learn-item .check {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.persona-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.persona-card .emoji { font-size: 32px; margin-bottom: 8px; }
.persona-card .feature-icon-img { display: block; margin: 0 auto 8px; }
.persona-card .label { font-size: 14px; font-weight: 600; }

.competency-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.competency-tag {
  padding: 6px 14px;
  background: var(--teal-soft);
  color: var(--teal-hover);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* Syllabus accordion */
.syllabus-list { display: flex; flex-direction: column; gap: 8px; }
.syllabus-module {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.syllabus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.syllabus-head:hover { background: var(--border-soft); }
.syllabus-module .chevron { transition: transform 0.2s; color: var(--text-2); }
.syllabus-module.open .chevron { transform: rotate(180deg); }
.syllabus-head .left { display: flex; align-items: center; gap: 12px; }
.syllabus-head .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-hover);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.syllabus-head .title { font-size: 14px; font-weight: 600; }
.syllabus-head .meta { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.syllabus-body { display: none; border-top: 1px solid var(--border); }
.syllabus-module.open .syllabus-body { display: block; }
.syllabus-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 60px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-soft);
}
.syllabus-lesson:last-child { border-bottom: none; }
.syllabus-lesson .icon-tag { color: var(--text-2); }
.syllabus-lesson .title { flex: 1; }
.syllabus-lesson .duration { color: var(--text-3); font-size: 12px; }
.syllabus-lesson .preview-tag {
  background: var(--mint-soft);
  color: var(--teal);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Pricing sidebar */
.pricing-sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 64px;
}
.pricing-body { padding: 20px; }
.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.pricing-row .now {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}
.pricing-row .was {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-3);
  text-decoration: line-through;
}
.pricing-row .disc {
  background: var(--red-soft);
  color: var(--red);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.pricing-promo {
  background: var(--mint-soft);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--teal-hover);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}
.pricing-actions { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--mint-soft);
  color: var(--teal);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.pricing-includes h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pricing-includes ul { display: flex; flex-direction: column; gap: 8px; }
.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}
.pricing-includes li svg { color: var(--teal-hover); }

/* Reviews */
.review-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.rating-big {
  text-align: center;
}
.rating-big .num {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.rating-big .stars { display: flex; justify-content: center; gap: 2px; margin: 8px 0; }
.rating-big .stars svg { color: var(--star); fill: var(--star); }
.rating-big .total { font-size: 13px; color: var(--text-2); }
.rating-bars { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.rating-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.rating-bar .label { width: 50px; color: var(--text-2); display: flex; align-items: center; gap: 4px; }
.rating-bar .label svg { color: var(--star); fill: var(--star); }
.rating-bar .bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.rating-bar .fill { height: 100%; background: var(--star); border-radius: 100px; }
.rating-bar .pct { width: 36px; text-align: right; font-family: 'Inter', sans-serif; color: var(--text-2); }

.review-list { display: flex; flex-direction: column; gap: 16px; }
.review-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}
.review-name { font-size: 14px; font-weight: 600; }
.review-date { font-size: 12px; color: var(--text-3); }
.review-stars { display: flex; gap: 1px; margin: 2px 0; }
.review-stars svg { color: var(--star); fill: var(--star); width: 14px; height: 14px; }
.review-body { font-size: 14px; line-height: 1.6; color: var(--text-2); margin-bottom: 12px; }
.review-actions { display: flex; gap: 12px; font-size: 12px; }
.review-helpful {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  cursor: pointer;
}
.review-helpful:hover { color: var(--teal-hover); }

/* ============================================================
   TRAINER LIST PAGE
   ============================================================ */
.trainer-toolbar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 24px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.trainer-toolbar .search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.trainer-toolbar .search-box input {
  padding-left: 40px;
}
.trainer-toolbar .search-box svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
}
.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
.toggle input { accent-color: var(--teal); }

/* Trainer profile page */
.trainer-profile-cover {
  height: 240px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: var(--radius-xl);
  margin: 24px 0;
  position: relative;
}
.trainer-profile-header {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  margin-top: -60px;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.trainer-profile-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 4px solid var(--white);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-hover) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 36px;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.trainer-profile-info { flex: 1; padding-bottom: 16px; }
.trainer-profile-info h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trainer-profile-info .title { color: var(--text-2); margin-top: 4px; }
.trainer-profile-info .location { font-size: 13px; color: var(--text-3); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.trainer-profile-actions { display: flex; gap: 8px; padding-bottom: 16px; }
.trainer-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 24px 0 32px;
}
.tp-stat { text-align: center; }
.tp-stat .num { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 800; color: var(--navy); display: block; }
.tp-stat .lbl { font-size: 12px; color: var(--text-2); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

/* ============================================================
   MY LEARNING PAGE
   ============================================================ */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin: 24px 0 24px;
}
.tab-bar-item {
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tab-bar-item .count {
  background: var(--border);
  color: var(--text-2);
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
}
.tab-bar-item.active { color: var(--teal-hover); }
.tab-bar-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
}
.tab-bar-item.active .count { background: var(--teal-soft); color: var(--teal-hover); }

.learning-list { display: flex; flex-direction: column; gap: 12px; }
.learning-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s var(--ease);
}
.learning-item:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.learning-item .thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  font-size: 40px;
}
.learning-item .body { padding: 16px 0; display: flex; flex-direction: column; }
.learning-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.learning-item .trainer { font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.learning-item .progress { margin-bottom: 8px; }
.learning-item .next { font-size: 12px; color: var(--text-2); }
.learning-item .next strong { color: var(--text); }
.learning-item .actions { padding: 16px 20px; display: flex; align-items: center; }

.cert-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray) 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  transition: all 0.2s var(--ease);
}
.cert-card:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(15, 163, 177, 0.15); }
.cert-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint-deep) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 28px;
}
.cert-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.cert-info p { font-size: 12px; color: var(--text-2); }
.cert-info .id { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--text-3); margin-top: 4px; }
.cert-actions { display: flex; gap: 6px; }

/* ============================================================
   PROFILE / GAMIFICATION HUB
   ============================================================ */
.profile-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin: 24px 0 24px;
}
.profile-avatar-big {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-hover) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 36px;
  display: grid;
  place-items: center;
}
.profile-info h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.profile-info .username { color: var(--text-2); font-size: 14px; }
.profile-info .meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-3); margin-top: 8px; }
.profile-info .meta span { display: flex; align-items: center; gap: 4px; }

.gamif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.gamif-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.gamif-card h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 14px;
}

.level-tier {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.level-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint-deep) 100%);
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(15, 163, 177, 0.3);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(15, 163, 177, 0.3); }
  50% { box-shadow: 0 8px 32px rgba(15, 163, 177, 0.5); }
}
.level-info .name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.level-info .xp { font-size: 13px; color: var(--text-2); margin-top: 2px; font-family: 'Inter', sans-serif; }
.xp-bar {
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--mint-deep) 100%);
  border-radius: 100px;
}
.xp-next { font-size: 12px; color: var(--text-2); margin-bottom: 14px; }

.tier-track {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
}
.tier-step { text-align: center; flex: 1; }
.tier-step .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: grid;
  place-items: center;
  margin: 0 auto 4px;
  font-size: 14px;
  filter: grayscale(1);
  opacity: 0.5;
}
.tier-step.done .icon { background: var(--teal-soft); filter: none; opacity: 1; color: var(--teal-hover); }
.tier-step.current .icon {
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint-deep) 100%);
  filter: none;
  opacity: 1;
  animation: pulse-tier 2s ease infinite;
}
@keyframes pulse-tier {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.tier-step .lbl { font-size: 10px; color: var(--text-3); font-weight: 600; }
.tier-step.current .lbl, .tier-step.done .lbl { color: var(--text); }

/* Streak card big */
.streak-big {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.streak-big .flame { font-size: 56px; animation: flame 2s ease-in-out infinite; }
.streak-big .num { font-family: 'Inter', sans-serif; font-size: 36px; font-weight: 800; color: var(--teal-hover); line-height: 1; margin-top: 4px; }
.streak-big .label { font-size: 12px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-top: 4px; }
.streak-cal { display: flex; gap: 4px; margin: 14px 0 8px; justify-content: center; }
.streak-day {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--border);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  font-family: 'Inter', sans-serif;
}
.streak-day.active { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-hover) 100%); color: var(--white); }
.streak-tip { font-size: 11px; color: var(--text-2); margin-top: 8px; }

.stats-list { display: flex; flex-direction: column; gap: 14px; }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}
.stat-row:last-child { border-bottom: none; }
.stat-row .lbl { font-size: 13px; color: var(--text-2); }
.stat-row .val { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); }

/* Badges */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.badge-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.badge-card.locked { opacity: 0.4; filter: grayscale(0.8); }
.badge-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.badge-card.locked:hover { opacity: 0.6; filter: grayscale(0.4); }
.badge-card .emoji { font-size: 36px; margin-bottom: 8px; }
.badge-card .name { font-size: 12px; font-weight: 700; line-height: 1.3; }
.badge-card .tip { font-size: 10px; color: var(--text-3); margin-top: 4px; line-height: 1.3; }

/* Leaderboard */
.leaderboard-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.lb-tab {
  padding: 8px 16px;
  background: var(--border-soft);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
}
.lb-tab.active { background: var(--navy); color: var(--white); }
.leaderboard-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lb-row {
  display: grid;
  grid-template-columns: 60px auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft);
}
.lb-row:last-child { border-bottom: none; }
.lb-row.you { background: var(--teal-soft); }
.lb-rank {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-2);
}
.lb-rank.gold { color: var(--navy); }
.lb-rank.silver { color: var(--teal-hover); }
.lb-rank.bronze { color: var(--mint-deep); }
.lb-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
}
.lb-name { font-size: 14px; font-weight: 600; }
.lb-name .you-tag { background: var(--teal); color: var(--white); padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; margin-left: 6px; }
.lb-level { font-size: 11px; color: var(--text-2); }
.lb-xp { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--navy); }

/* Activity timeline */
.timeline { display: flex; flex-direction: column; gap: 12px; }
.timeline-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-hover);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.timeline-icon.amber { background: var(--mint-soft); color: var(--teal-hover); }
.timeline-icon.green { background: var(--mint-soft); color: var(--teal); }
.timeline-content { flex: 1; }
.timeline-content .text { font-size: 14px; }
.timeline-content .time { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ============================================================
   MODALS (CART, WISHLIST)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 46, 72, 0.4);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-panel {
  position: fixed;
  top: 0; right: 0;
  width: 520px;
  max-width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.modal-panel.show { transform: translateX(0); }
.modal-panel.lg { width: 480px; }
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: background 0.15s;
}
.modal-close:hover { background: var(--border-soft); color: var(--text); }
.modal-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.modal-footer {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  background: var(--cream);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.cart-item:first-child { padding-top: 0; }
.cart-item .thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.cart-item .info h4 { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item .info .trainer { font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.cart-item .info .price { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--navy); }
.cart-item .info .price-was { font-size: 11px; color: var(--text-3); text-decoration: line-through; margin-left: 6px; }
.cart-item .remove {
  align-self: flex-start;
  color: var(--text-3);
  padding: 4px;
}
.cart-item .remove:hover { color: var(--red); }

.cart-summary {
  background: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-2);
}
.cart-summary .row.total {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.cart-summary .row .amt { font-family: 'Inter', sans-serif; }

.promo-input {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-2);
}
.empty-state .emoji { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; max-width: 320px; margin: 0 auto 20px; line-height: 1.5; }

/* Payment methods */
.pay-methods { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
}
.pay-method:hover { border-color: var(--teal); }
.pay-method.active { border-color: var(--teal); background: var(--teal-soft); }
.pay-method .radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
}
.pay-method.active .radio { border-color: var(--teal); }
.pay-method.active .radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--teal);
}
.pay-method .icon-box {
  width: 40px; height: 28px;
  border-radius: 6px;
  background: var(--border-soft);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.pay-method .label { font-size: 14px; font-weight: 600; }
.pay-method .sub { font-size: 12px; color: var(--text-2); }

.success-state { text-align: center; padding: 40px 24px; }
.success-check {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  color: var(--white);
  animation: bounceIn 0.5s var(--ease-out);
}
@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.success-state h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.success-state p { color: var(--text-2); margin-bottom: 24px; max-width: 320px; margin-left: auto; margin-right: auto; }
.success-state .btn-row { display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   TOAST
   ============================================================ */
#toasts {
  position: fixed;
  top: 88px; right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 380px;
  pointer-events: auto;
  animation: slideInRight 0.3s var(--ease-out);
}
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.toast.leaving { animation: slideOutRight 0.25s var(--ease) forwards; }
@keyframes slideOutRight {
  to { transform: translateX(120%); opacity: 0; }
}
.toast .toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.toast.amber .toast-icon { background: var(--mint-soft); color: var(--teal-hover); }
.toast.teal .toast-icon { background: var(--teal-soft); color: var(--teal-hover); }
.toast .toast-text { font-size: 13px; line-height: 1.4; }
.toast .toast-text strong { font-weight: 700; }

/* ============================================================
   SKKNI / JALUR KOMPETENSI
   ============================================================ */
.skkni-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--teal-hover) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  color: var(--white);
  margin: 24px 0 40px;
  position: relative;
  overflow: hidden;
}
.skkni-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 221, 217, 0.25) 0%, transparent 70%);
  filter: blur(40px);
}
.skkni-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.skkni-hero .pretitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
  margin-bottom: 14px;
}
.skkni-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.skkni-hero p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  max-width: 600px;
}
.skkni-hero .stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.skkni-hero .stats > div { color: var(--white); }
.skkni-hero .stats .num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}
.skkni-hero .stats .lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.skema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.skema-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  position: relative;
}
.skema-card.aktif:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 32px rgba(15, 163, 177, 0.18);
  transform: translateY(-4px);
}
.skema-card.soon { cursor: default; opacity: 0.7; }
.skema-card.soon:hover { border-color: var(--border); }
.skema-card .top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.skema-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mint-soft) 0%, #C9EFEC 100%);
  display: grid;
  place-items: center;
  font-size: 28px;
}
.skema-card.aktif .skema-icon {
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint-deep) 100%);
}
.skema-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.skema-card .kode {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.skema-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 12px 0 16px;
}
.skema-card .meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-3);
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.skema-card .meta strong {
  color: var(--text);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

/* Self-assessment */
.assessment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 32px 0;
  text-align: center;
}
.assessment-card.intro h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.assessment-card.intro p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.assessment-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.assessment-progress .bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.assessment-progress .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--mint-deep) 100%);
  border-radius: 100px;
  transition: width 0.4s var(--ease);
}
.assessment-progress .text {
  font-size: 12px;
  color: var(--text-2);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.assessment-q {
  font-size: 12px;
  color: var(--teal-hover);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.assessment-q-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.assessment-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 24px;
}
.assessment-opt {
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: all 0.18s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.assessment-opt:hover { border-color: var(--teal); background: var(--mint-soft); }
.assessment-opt.selected { border-color: var(--teal); background: var(--mint-soft); }
.assessment-opt .num {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}
.assessment-opt .lbl {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 600;
}

/* Roadmap result */
.roadmap-summary {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin: 32px 0;
  align-items: center;
}
.readiness-circle {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.readiness-circle svg { transform: rotate(-90deg); }
.readiness-circle .ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 14;
}
.readiness-circle .ring-fill {
  fill: none;
  stroke: var(--teal);
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s var(--ease-out);
}
.readiness-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}
.readiness-center .num {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.readiness-center .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
  margin-top: 6px;
  font-weight: 600;
}
.roadmap-summary .text h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.roadmap-summary .text p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.roadmap-summary .text .pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.roadmap-summary .text .pill-stat {
  background: var(--mint-soft);
  color: var(--teal-hover);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* Fungsi kunci grid */
.fungsi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.fungsi-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.fungsi-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.fungsi-card .head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.fungsi-emoji {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mint-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.fungsi-card.warna-navy .fungsi-emoji {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-hover) 100%);
}
.fungsi-card.warna-teal .fungsi-emoji {
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
}
.fungsi-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.fungsi-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 12px;
}
.fungsi-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-2);
  font-family: 'Inter', sans-serif;
}
.fungsi-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.fungsi-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 100px;
  transition: width 0.6s var(--ease);
}
.fungsi-bar-fill.full {
  background: linear-gradient(90deg, var(--teal) 0%, var(--mint-deep) 100%);
}

/* Unit list */
.unit-list { display: flex; flex-direction: column; gap: 10px; }
.unit-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.unit-row:hover { border-color: var(--teal); }
.unit-head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
}
.unit-status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.unit-status-dot.berjalan { background: var(--mint-deep); }
.unit-status-dot.siap { background: var(--teal); box-shadow: 0 0 0 4px rgba(15, 163, 177, 0.2); }
.unit-info .kode {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.unit-info .judul {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
}
.unit-status-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
}
.unit-status-badge.siap { background: var(--teal-soft); color: var(--teal-hover); }
.unit-status-badge.berjalan { background: var(--mint-soft); color: var(--mint-deep); }
.unit-status-badge.belum { background: var(--border-soft); color: var(--text-3); }
.unit-row .chevron { color: var(--text-3); transition: transform 0.2s; }
.unit-row.open .chevron { transform: rotate(180deg); }
.unit-body { display: none; border-top: 1px solid var(--border); padding: 20px 24px 24px; }
.unit-row.open .unit-body { display: block; }
.unit-body .deskripsi {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 18px;
}
.elemen-block { margin-bottom: 18px; }
.elemen-block h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.elemen-block h4 .badge-mini {
  font-size: 10px;
  background: var(--mint-soft);
  color: var(--teal-hover);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
}
.kuk-list { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; }
.kuk-item {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  position: relative;
  padding-left: 16px;
}
.kuk-item::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.unit-courses {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.unit-courses h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.unit-course-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 6px;
}
.unit-course-mini:last-child { margin-bottom: 0; }
.unit-course-mini:hover { background: var(--mint-soft); }
.unit-course-mini .thumb-mini {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.unit-course-mini .info { flex: 1; min-width: 0; }
.unit-course-mini .title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.unit-course-mini .meta { font-size: 11px; color: var(--text-3); }
.unit-course-mini .status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}
.unit-course-mini .status.done { background: var(--teal-soft); color: var(--teal-hover); }
.unit-course-mini .status.progress { background: var(--mint-soft); color: var(--mint-deep); }
.unit-course-mini .status.idle { background: var(--border-soft); color: var(--text-3); }

/* SKKNI badge in course card */
.skkni-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-hover) 100%);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* SKKNI section in course detail */
.skkni-detail-card {
  background: linear-gradient(135deg, var(--mint-soft) 0%, var(--white) 60%);
  border: 1.5px solid var(--mint);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.skkni-detail-card .head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.skkni-detail-card .icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-hover) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.skkni-detail-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.skkni-detail-card .sub {
  font-size: 12px;
  color: var(--text-2);
}
.skkni-detail-units { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.skkni-detail-unit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.skkni-detail-unit .kode {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.skkni-detail-unit .judul {
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.skkni-detail-unit .elemen-count {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 4px;
}
.skkni-detail-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--mint-deep);
}
.skkni-detail-cta .info { flex: 1; }
.skkni-detail-cta h4 { font-size: 13px; font-weight: 700; }
.skkni-detail-cta p { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* Mobile responsive for SKKNI */
@media (max-width: 1100px) {
  .skema-grid { grid-template-columns: repeat(2, 1fr); }
  .fungsi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .skkni-hero { padding: 32px 24px; }
  .skkni-hero h1 { font-size: 32px; }
  .skema-grid { grid-template-columns: 1fr; }
  .roadmap-summary { grid-template-columns: 1fr; text-align: center; }
  .readiness-circle { width: 160px; height: 160px; }
  .assessment-options { grid-template-columns: repeat(2, 1fr); }
  .unit-head { grid-template-columns: auto 1fr auto; }
  .unit-status-badge { display: none; }
}

/* ============================================================
   STATIC PAGES (about, careers, blog, FAQ, etc.)
   ============================================================ */
.static-hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--mint-soft) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  margin: 24px 0 40px;
  position: relative;
  overflow: hidden;
}
.static-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 163, 177, 0.15) 0%, transparent 70%);
}
.static-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.static-hero .pretitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-hover);
  margin-bottom: 12px;
}
.static-hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--navy);
}
.static-hero p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 640px;
}

.static-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.static-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.2s var(--ease);
}
.static-pillar:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.static-pillar h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--navy);
}
.static-pillar p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

.static-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 40px;
  color: var(--white);
}
.static-stat { text-align: center; }
.static-stat .num {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
  display: block;
}
.static-stat .lbl {
  font-size: 12px;
  margin-top: 8px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.static-cta {
  background: linear-gradient(135deg, var(--mint-soft) 0%, var(--white) 100%);
  border: 1.5px dashed var(--mint-deep);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  margin: 48px 0;
}
.static-cta h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.static-cta p {
  color: var(--text-2);
  margin-bottom: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--teal); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
}
.faq-item .chevron { color: var(--text-2); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 16px 20px 20px; color: var(--text-2); line-height: 1.7; font-size: 14px; border-top: 1px solid var(--border-soft); }
.faq-item.open .faq-a { display: block; }

.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.job-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.job-info h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.job-info .meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.job-info .meta span { display: flex; align-items: center; gap: 5px; }
.job-info p { color: var(--text-2); font-size: 13px; line-height: 1.5; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.article-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  font-size: 56px;
}
.article-body { padding: 20px; }
.article-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-hover);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card .excerpt { color: var(--text-2); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.article-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-3); align-items: center; }

.kontak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.kontak-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.kontak-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; }
.kontak-method { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); align-items: flex-start; }
.kontak-method:last-child { border-bottom: none; }
.kontak-method .ikon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mint-soft);
  color: var(--teal-hover);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.kontak-method .info h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.kontak-method .info p { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.kontak-method .info a { color: var(--teal-hover); cursor: pointer; }
.kontak-method .info a:hover { text-decoration: underline; }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.help-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-align: center;
}
.help-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.help-card .ikon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint-deep) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
}
.help-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.help-card p { font-size: 12px; color: var(--text-2); line-height: 1.5; }

.feature-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.feature-block h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.feature-block .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

.cert-verify-form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}
.cert-result {
  display: none;
  background: var(--mint-soft);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
  text-align: left;
}
.cert-result.show { display: block; }

.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bundle-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.bundle-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bundle-cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--navy);
}
.bundle-cover.b1 { background: linear-gradient(135deg, #E6F7F6 0%, #DCEBF5 100%); }
.bundle-cover.b2 { background: linear-gradient(135deg, #ECFAF8 0%, #F2EBE0 100%); }
.bundle-cover.b3 { background: linear-gradient(135deg, #E6F0F7 0%, #ECECF5 100%); }
.bundle-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.bundle-body h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.bundle-body p { font-size: 13px; color: var(--text-2); line-height: 1.55; margin-bottom: 14px; }
.bundle-courses-list { font-size: 12px; color: var(--text-2); margin-bottom: 14px; }
.bundle-courses-list li { padding: 4px 0; padding-left: 14px; position: relative; }
.bundle-courses-list li::before { content: '·'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.bundle-price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.bundle-price .now { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: var(--navy); }
.bundle-price .was { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text-3); text-decoration: line-through; }
.bundle-price .save { background: var(--mint-soft); color: var(--teal-hover); padding: 2px 8px; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; }

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.legal-content h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
  color: var(--navy);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content ul { margin: 12px 0 14px 20px; }
.legal-content li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  list-style: disc;
  margin-bottom: 6px;
}

@media (max-width: 1100px) {
  .static-pillar-grid { grid-template-columns: 1fr; }
  .static-stats { grid-template-columns: repeat(2, 1fr); }
  .article-grid, .help-grid, .bundle-grid { grid-template-columns: repeat(2, 1fr); }
  .kontak-grid { grid-template-columns: 1fr; }
  .feature-block .features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .static-hero { padding: 32px 24px; }
  .static-hero h1 { font-size: 28px; }
  .article-grid, .help-grid, .bundle-grid { grid-template-columns: 1fr; }
  .static-stats { grid-template-columns: 1fr 1fr; }
  .legal-content { padding: 28px 20px; }
  .job-item { grid-template-columns: 1fr; }
}

/* ============================================================
   COURSE PLAYER (immersive learning experience)
   ============================================================ */
.player-shell {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 200;
  display: grid;
  grid-template-rows: 56px 1fr;
  overflow: hidden;
}
.player-topbar {
  background: #0F1620;
  border-bottom: 1px solid #1F2937;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 0 20px;
  color: var(--white);
}
.player-topbar .left { display: flex; align-items: center; gap: 14px; }
.player-topbar .logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  cursor: pointer;
}
.player-topbar .logo span { color: var(--mint); }
.player-topbar .divider { width: 1px; height: 20px; background: #2A3441; }
.player-topbar .course-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}
.player-topbar .course-meta strong { color: var(--white); font-weight: 600; }
.player-topbar .right { display: flex; align-items: center; gap: 8px; }
.player-progress-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', sans-serif;
}
.player-progress-mini .bar {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  overflow: hidden;
}
.player-progress-mini .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--mint) 100%);
  transition: width 0.3s var(--ease);
}
.player-icon-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.15s;
}
.player-icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.player-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.15);
  color: #FCA5A5;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s;
}
.player-close:hover { background: rgba(220, 38, 38, 0.25); color: var(--white); }

.player-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  overflow: hidden;
  background: #0A0E14;
}
.player-body.no-sidebar { grid-template-columns: 1fr; }
.player-body.no-sidebar .player-sidebar { display: none; }

.player-main {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #0A0E14;
}

.video-stage {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--teal-hover) 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}
.video-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}
.video-stage::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.video-stage:hover::after, .video-stage.controls-visible::after { opacity: 1; }
.video-stage .video-emoji {
  font-size: 120px;
  opacity: 0.85;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
  z-index: 1;
  position: relative;
  transition: transform 0.3s;
}
.video-stage .video-emoji .course-icon-img { width: 160px; height: 160px; filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45)); }
.video-stage.playing .video-emoji {
  animation: floatGentle 4s ease-in-out infinite;
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.video-overlay {
  position: absolute;
  z-index: 2;
}
.video-play-btn-big {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}
.video-play-circle {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.video-play-circle:hover { transform: scale(1.08); background: var(--white); }
.video-stage.playing .video-play-circle { display: none; }

.video-info-overlay {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
  color: var(--white);
}
.video-info-overlay .lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 8px;
}
.video-info-overlay h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

.video-controls {
  position: absolute;
  bottom: 16px; left: 24px; right: 24px;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s;
}
.video-stage:hover .video-controls,
.video-stage.controls-visible .video-controls { opacity: 1; }

.video-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  margin-bottom: 14px;
  transition: height 0.15s;
}
.video-progress-bar:hover { height: 6px; }
.video-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--teal);
  border-radius: 100px;
  transition: width 0.1s linear;
}
.video-progress-handle {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--white);
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s;
}
.video-progress-bar:hover .video-progress-handle { opacity: 1; }

.video-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}
.video-ctrl-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  transition: all 0.15s;
}
.video-ctrl-btn:hover { background: rgba(255, 255, 255, 0.15); }
.video-time {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.95);
  margin-left: 4px;
}
.video-spacer { flex: 1; }
.video-speed-btn {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s;
}
.video-speed-btn:hover { background: rgba(255, 255, 255, 0.22); }

.player-bottom {
  background: #0F1620;
  border-top: 1px solid #1F2937;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.player-tabs {
  display: flex;
  gap: 0;
  padding: 0 20px;
  border-bottom: 1px solid #1F2937;
}
.player-tab {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  position: relative;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.player-tab:hover { color: rgba(255, 255, 255, 0.85); }
.player-tab.active { color: var(--mint); }
.player-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--mint);
  border-radius: 2px 2px 0 0;
}
.player-tab .count {
  background: rgba(255, 255, 255, 0.1);
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
}

.player-panel {
  overflow-y: auto;
  padding: 24px;
  color: rgba(255, 255, 255, 0.85);
}
.player-panel::-webkit-scrollbar { width: 8px; }
.player-panel::-webkit-scrollbar-track { background: transparent; }
.player-panel::-webkit-scrollbar-thumb { background: #2A3441; border-radius: 100px; }

.panel-overview h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.panel-overview .meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
}
.panel-overview .meta-row span { display: flex; align-items: center; gap: 6px; }
.panel-overview p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}
.panel-overview .key-points {
  background: rgba(15, 163, 177, 0.08);
  border-left: 3px solid var(--mint);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 16px 0;
}
.panel-overview .key-points h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mint);
  margin-bottom: 10px;
}
.panel-overview .key-points li {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.panel-overview .key-points li::before {
  content: '';
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
}

/* Notes panel */
.notes-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 20px;
  align-items: stretch;
}
.notes-add textarea {
  background: #1A2230;
  border: 1px solid #2A3441;
  color: var(--white);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  min-height: 80px;
  transition: border-color 0.15s;
}
.notes-add textarea:focus { outline: none; border-color: var(--teal); }
.notes-add textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.notes-add-actions { display: flex; flex-direction: column; gap: 6px; }
.notes-ts-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(15, 163, 177, 0.15);
  color: var(--mint);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 1px solid rgba(15, 163, 177, 0.2);
  transition: all 0.15s;
}
.notes-ts-pill:hover { background: rgba(15, 163, 177, 0.25); }
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.note-item {
  background: #1A2230;
  border: 1px solid #2A3441;
  border-radius: 8px;
  padding: 14px 16px;
}
.note-item .note-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.note-jump {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  padding: 3px 8px;
  background: rgba(15, 163, 177, 0.12);
  border-radius: 100px;
}
.note-jump:hover { background: rgba(15, 163, 177, 0.22); }
.note-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.note-delete {
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 2px;
}
.note-delete:hover { color: #FCA5A5; }
.note-text { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.notes-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.4);
}
.notes-empty .ico { font-size: 32px; margin-bottom: 10px; }
.notes-empty p { font-size: 13px; line-height: 1.6; }

/* Discussion */
.discussion-list { display: flex; flex-direction: column; gap: 14px; }
.disc-item {
  background: #1A2230;
  border: 1px solid #2A3441;
  border-radius: 10px;
  padding: 16px;
}
.disc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.disc-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
}
.disc-name { font-size: 13px; font-weight: 600; color: var(--white); }
.disc-time { font-size: 11px; color: rgba(255, 255, 255, 0.4); margin-left: auto; }
.disc-body { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); margin-bottom: 10px; }
.disc-actions { display: flex; gap: 12px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.disc-action {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.disc-action:hover { color: var(--mint); }

/* Resources */
.resource-list { display: flex; flex-direction: column; gap: 8px; }
.resource-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #1A2230;
  border: 1px solid #2A3441;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.resource-item:hover { border-color: var(--teal); }
.resource-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(15, 163, 177, 0.15);
  color: var(--mint);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.resource-info { flex: 1; min-width: 0; }
.resource-info h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.resource-info p { font-size: 11px; color: rgba(255, 255, 255, 0.5); }

/* Quiz inline */
.quiz-stage {
  background: linear-gradient(135deg, #0F1620 0%, #1A2230 100%);
  aspect-ratio: 16 / 9;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow-y: auto;
}
.quiz-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.quiz-badge {
  background: rgba(15, 163, 177, 0.15);
  color: var(--mint);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quiz-progress {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', sans-serif;
}
.quiz-q {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 720px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.quiz-option {
  background: #1A2230;
  border: 1.5px solid #2A3441;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
  color: rgba(255, 255, 255, 0.85);
}
.quiz-option:hover { border-color: var(--teal); background: #1F2A3B; }
.quiz-option.selected { border-color: var(--teal); background: rgba(15, 163, 177, 0.1); }
.quiz-option.correct { border-color: var(--teal); background: rgba(15, 163, 177, 0.12); }
.quiz-option.wrong { border-color: #DC2626; background: rgba(220, 38, 38, 0.1); }
.quiz-option.disabled { pointer-events: none; opacity: 0.55; }
.quiz-option.disabled.correct { opacity: 1; }
.quiz-option .letter {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}
.quiz-option.selected .letter, .quiz-option.correct .letter { background: var(--teal); color: var(--white); }
.quiz-option.wrong .letter { background: #DC2626; color: var(--white); }
.quiz-option .text { flex: 1; font-size: 14px; line-height: 1.5; }
.quiz-option .icon-status { color: var(--teal); display: none; }
.quiz-option.correct .icon-status { display: block; }
.quiz-option.wrong .icon-status { color: #DC2626; display: block; }

.quiz-feedback {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 3px solid;
  display: none;
}
.quiz-feedback.show { display: block; animation: slideUp 0.3s var(--ease-out); }
.quiz-feedback.correct { background: rgba(15, 163, 177, 0.08); border-left-color: var(--teal); }
.quiz-feedback.wrong { background: rgba(220, 38, 38, 0.08); border-left-color: #DC2626; }
.quiz-feedback h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.quiz-feedback p { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  max-width: 720px;
}

.quiz-result-card {
  background: rgba(15, 163, 177, 0.06);
  border: 1.5px solid var(--teal);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.quiz-result-emoji { font-size: 56px; margin-bottom: 12px; }
.quiz-result-card h2 { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 8px; }
.quiz-result-card .score {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--mint);
  margin: 12px 0;
}
.quiz-result-card .score .denom { font-size: 24px; opacity: 0.6; }
.quiz-result-card p { font-size: 14px; color: rgba(255, 255, 255, 0.75); line-height: 1.6; margin-bottom: 20px; }
.quiz-result-card .actions { display: flex; gap: 8px; justify-content: center; }

/* Sidebar - lesson list */
.player-sidebar {
  background: #0F1620;
  border-left: 1px solid #1F2937;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
.sidebar-head {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #1F2937;
}
.sidebar-head h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.sidebar-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
}
.sidebar-progress .bar {
  flex: 1;
  height: 4px;
  background: #1F2937;
  border-radius: 100px;
  overflow: hidden;
}
.sidebar-progress .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--mint) 100%);
  transition: width 0.3s var(--ease);
}

.sidebar-modules { overflow-y: auto; }
.sidebar-modules::-webkit-scrollbar { width: 6px; }
.sidebar-modules::-webkit-scrollbar-track { background: transparent; }
.sidebar-modules::-webkit-scrollbar-thumb { background: #2A3441; border-radius: 100px; }

.sb-module {
  border-bottom: 1px solid #1F2937;
}
.sb-mod-head {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.sb-mod-head:hover { background: rgba(255, 255, 255, 0.03); }
.sb-mod-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}
.sb-mod-num.done { background: var(--teal); color: var(--white); }
.sb-mod-num.current { background: var(--mint); color: var(--navy); }
.sb-mod-info { flex: 1; min-width: 0; }
.sb-mod-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-mod-info .sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Inter', sans-serif;
}
.sb-mod-chevron { color: rgba(255, 255, 255, 0.4); transition: transform 0.2s; }
.sb-module.open .sb-mod-chevron { transform: rotate(180deg); }

.sb-lessons { display: none; padding: 4px 0 8px; background: rgba(0, 0, 0, 0.15); }
.sb-module.open .sb-lessons { display: block; }
.sb-lesson {
  padding: 10px 20px 10px 60px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.sb-lesson:hover { background: rgba(255, 255, 255, 0.04); color: var(--white); }
.sb-lesson.current { background: rgba(15, 163, 177, 0.1); color: var(--mint); }
.sb-lesson.current::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--mint);
}
.sb-lesson.done { color: rgba(255, 255, 255, 0.5); }
.sb-lesson .lesson-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}
.sb-lesson.done .lesson-icon { background: var(--teal); color: var(--white); }
.sb-lesson.current .lesson-icon { background: var(--mint); color: var(--navy); }
.sb-lesson.locked .lesson-icon { background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.3); }
.sb-lesson.locked { color: rgba(255, 255, 255, 0.35); cursor: not-allowed; pointer-events: none; }
.sb-lesson .lesson-title {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.sb-lesson .lesson-dur {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}
.sb-lesson.current .lesson-title { font-weight: 600; }

.sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid #1F2937;
  background: rgba(0, 0, 0, 0.25);
}
.sidebar-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sb-nav-btn {
  padding: 10px 12px;
  background: #1A2230;
  border: 1px solid #2A3441;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s;
}
.sb-nav-btn:hover:not(:disabled) { background: #2A3441; border-color: var(--teal); color: var(--white); }
.sb-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.sb-nav-btn.primary { background: var(--teal); border-color: var(--teal); color: var(--white); }
.sb-nav-btn.primary:hover:not(:disabled) { background: var(--teal-hover); }

/* Mobile player */
@media (max-width: 1024px) {
  .player-body { grid-template-columns: 1fr; }
  .player-sidebar { display: none; }
  .player-body.show-sidebar .player-sidebar {
    display: grid;
    position: absolute;
    top: 56px; right: 0; bottom: 0;
    width: 320px;
    z-index: 5;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  }
}
@media (max-width: 768px) {
  .player-topbar { padding: 0 12px; gap: 8px; }
  .player-topbar .course-meta { font-size: 12px; max-width: 200px; }
  .player-progress-mini { display: none; }
  .video-info-overlay { top: 16px; left: 16px; }
  .video-info-overlay h2 { font-size: 18px; }
  .video-controls { left: 16px; right: 16px; bottom: 12px; }
  .video-time { font-size: 12px; }
  .quiz-stage { padding: 24px 20px; }
  .quiz-q { font-size: 18px; }
  .player-tabs { padding: 0 12px; overflow-x: auto; }
  .player-tab { padding: 12px 14px; flex-shrink: 0; }
  .player-panel { padding: 16px; }
}

/* ============================================================
   TRAINER STUDIO (admin panel for trainers)
   ============================================================ */
.studio-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--gray);
}
.studio-sidebar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.studio-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.studio-brand .logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.studio-brand .logo span { color: var(--mint); }
.studio-brand-tag {
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.studio-nav { padding: 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.studio-nav-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  padding: 12px 12px 8px;
  margin-top: 8px;
}
.studio-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.15s;
}
.studio-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.studio-nav-item.active {
  background: linear-gradient(90deg, rgba(15, 163, 177, 0.15) 0%, transparent 100%);
  color: var(--mint);
  position: relative;
}
.studio-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--mint);
  border-radius: 0 3px 3px 0;
}
.studio-nav-item .badge-mini {
  margin-left: auto;
  background: var(--mint);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
}

.studio-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.studio-mode-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.studio-mode-switch:hover { background: rgba(255, 255, 255, 0.08); }
.studio-mode-switch .icon-box {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  display: grid;
  place-items: center;
  color: var(--navy);
  flex-shrink: 0;
}
.studio-mode-switch .info { flex: 1; min-width: 0; }
.studio-mode-switch .lbl { font-size: 10px; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.studio-mode-switch .name { font-size: 13px; color: var(--white); font-weight: 600; }

.studio-main {
  padding: 32px 40px 80px;
  overflow-y: auto;
}
.studio-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}
.studio-topbar h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.studio-topbar .sub { color: var(--text-2); font-size: 14px; }
.studio-actions { display: flex; gap: 8px; align-items: center; }

/* Stat cards */
.studio-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.studio-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.studio-stat-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.studio-stat-card .lbl {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.studio-stat-card .icon-box {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--mint-soft);
  color: var(--teal-hover);
  display: grid;
  place-items: center;
}
.studio-stat-card .num {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.studio-stat-card .delta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
}
.studio-stat-card .delta.up { color: var(--teal); }
.studio-stat-card .delta.down { color: var(--red); }

/* Nexa: AI Assistant identity */
.nexa-card {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--teal-hover) 100%);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.nexa-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 221, 217, 0.25) 0%, transparent 70%);
  filter: blur(30px);
}
.nexa-avatar {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  display: grid;
  place-items: center;
  font-size: 28px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 24px rgba(123, 221, 217, 0.3);
  animation: nexaPulse 3s ease-in-out infinite;
}
@keyframes nexaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(123, 221, 217, 0.3); }
  50% { box-shadow: 0 8px 36px rgba(123, 221, 217, 0.5), 0 0 0 4px rgba(123, 221, 217, 0.15); }
}
.nexa-card .body { flex: 1; position: relative; }
.nexa-card .greet {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nexa-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.4;
}
.nexa-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
}

/* Nexa nudge cards (proactive AI suggestions) */
.nexa-nudges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.nexa-nudge {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint-deep);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.nexa-nudge:hover {
  border-color: var(--teal);
  border-left-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.nexa-nudge.warning { border-left-color: #E8A838; }
.nexa-nudge.success { border-left-color: var(--teal); }
.nexa-nudge.opportunity { border-left-color: var(--mint-deep); }
.nexa-nudge .icon-box {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--mint-soft);
  color: var(--teal-hover);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nexa-nudge.warning .icon-box { background: #FFF4E5; color: #B8761F; }
.nexa-nudge.success .icon-box { background: var(--mint-soft); color: var(--teal); }
.nexa-nudge .content { flex: 1; min-width: 0; }
.nexa-nudge .nexa-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-hover);
  margin-bottom: 4px;
}
.nexa-nudge h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.4;
}
.nexa-nudge p { font-size: 12px; color: var(--text-2); line-height: 1.55; margin-bottom: 8px; }
.nexa-nudge .cta-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-hover);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Two-column layout for dashboard */
.studio-grid-2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.studio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.studio-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.studio-card-head h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.studio-card-head .link { font-size: 13px; color: var(--teal-hover); cursor: pointer; font-weight: 600; }
.studio-card-head .link:hover { text-decoration: underline; }

/* Earning chart simple bars */
.earning-chart {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  height: 200px;
  padding: 12px 0;
}
.earning-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.earning-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--teal) 0%, var(--mint-deep) 100%);
  border-radius: 8px 8px 0 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.earning-bar:hover { filter: brightness(1.1); transform: scaleY(1.02); }
.earning-bar .tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.earning-bar:hover .tooltip { opacity: 1; }
.earning-bar-col .lbl {
  font-size: 11px;
  color: var(--text-2);
  font-weight: 600;
}

/* Top courses list (compact) */
.top-course-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}
.top-course-row:last-child { border-bottom: none; }
.top-course-row .thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.top-course-row .info { min-width: 0; }
.top-course-row .info h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-course-row .info .meta { font-size: 11px; color: var(--text-3); }
.top-course-row .stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-align: right;
}
.top-course-row .stat-num .lbl { font-size: 10px; color: var(--text-3); font-weight: 600; display: block; }

/* Course list (trainer) - row layout */
.trainer-course-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.trainer-course-row:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.trainer-course-row .thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.trainer-course-row .info { min-width: 0; }
.trainer-course-row .info h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.trainer-course-row .info .meta { font-size: 12px; color: var(--text-2); display: flex; gap: 12px; flex-wrap: wrap; }
.trainer-course-row .info .meta span { display: flex; align-items: center; gap: 4px; }
.tcs-mini { text-align: center; }
.tcs-mini .num { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 800; color: var(--navy); display: block; }
.tcs-mini .lbl { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

/* Wizard create course */
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  position: relative;
}
.wizard-step::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
}
.wizard-step:last-child::after { display: none; }
.wizard-step.done::after { background: var(--teal); }
.wizard-step .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}
.wizard-step.current .num {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.wizard-step.done .num {
  background: var(--teal);
  color: var(--white);
}
.wizard-step .lbl-wrap { min-width: 0; }
.wizard-step .lbl-num { font-size: 10px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.wizard-step .lbl { font-size: 13px; font-weight: 600; color: var(--text-2); }
.wizard-step.current .lbl { color: var(--text); }
.wizard-step.done .lbl { color: var(--text); }

.wizard-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  margin-bottom: 20px;
}
.wizard-body h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.wizard-body .sub { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { margin-bottom: 16px; }
.form-field-help { font-size: 11px; color: var(--text-3); margin-top: 4px; line-height: 1.5; }
.form-field textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.15s;
}
.form-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.select:focus { outline: none; border-color: var(--teal); }

/* Nexa AI assist box (skkni step) */
.nexa-assist-box {
  background: linear-gradient(135deg, #F8FBFD 0%, var(--mint-soft) 100%);
  border: 1.5px solid var(--mint);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin: 20px 0 24px;
}
.nexa-assist-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.nexa-assist-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.nexa-assist-head h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.nexa-assist-head .tag {
  font-size: 10px;
  background: var(--teal);
  color: var(--white);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.nexa-assist-msg {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 14px;
}

.nexa-thinking {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(15, 163, 177, 0.06);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-2);
}
.nexa-thinking-dots { display: inline-flex; gap: 4px; }
.nexa-thinking-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: nexaDot 1.4s infinite;
}
.nexa-thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.nexa-thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes nexaDot {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* SKKNI suggestion list */
.skkni-suggest-list { display: flex; flex-direction: column; gap: 8px; }
.skkni-suggest-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s;
}
.skkni-suggest-item:hover { border-color: var(--teal); }
.skkni-suggest-item.selected {
  border-color: var(--teal);
  background: var(--mint-soft);
}
.skkni-suggest-checkbox {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  background: var(--white);
  flex-shrink: 0;
  transition: all 0.15s;
}
.skkni-suggest-item.selected .skkni-suggest-checkbox {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}
.skkni-suggest-info { min-width: 0; }
.skkni-suggest-info .kode {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.skkni-suggest-info .judul { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.skkni-suggest-info .meta { font-size: 11px; color: var(--text-2); display: flex; gap: 8px; align-items: center; }
.skkni-suggest-confidence {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--teal-hover);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  background: var(--mint-soft);
  padding: 4px 10px;
  border-radius: 100px;
}
.skkni-suggest-confidence .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: nexaPulse 2s ease-in-out infinite;
}

/* Wizard navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

/* Messages list */
.msg-list { display: flex; flex-direction: column; gap: 10px; }
.msg-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  cursor: pointer;
  transition: all 0.15s;
}
.msg-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.msg-item.unread { border-left: 3px solid var(--teal); padding-left: 17px; }
.msg-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--mint) 100%);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.msg-info { min-width: 0; }
.msg-info .head-row { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.msg-info .name { font-size: 14px; font-weight: 700; }
.msg-info .course-pill {
  font-size: 11px;
  background: var(--mint-soft);
  color: var(--teal-hover);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.msg-info .subject { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.msg-info .preview {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.msg-meta { text-align: right; flex-shrink: 0; }
.msg-meta .time { font-size: 11px; color: var(--text-3); margin-bottom: 6px; }
.msg-meta .replies-badge {
  background: var(--teal);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .studio-shell { grid-template-columns: 1fr; }
  .studio-sidebar {
    position: relative;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
  }
  .studio-nav { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .studio-nav-section { display: none; }
  .studio-nav-item { flex: 1; min-width: 120px; padding: 8px 10px; font-size: 12px; }
  .studio-sidebar-footer { display: none; }
  .studio-main { padding: 20px; }
  .studio-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid-2 { grid-template-columns: 1fr; }
  .nexa-nudges-grid { grid-template-columns: 1fr; }
  .trainer-course-row { grid-template-columns: 64px 1fr; }
  .trainer-course-row .tcs-mini { display: none; }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
  .wizard-progress { overflow-x: auto; }
}



@media (max-width: 1100px) {
  .course-grid { grid-template-columns: repeat(3, 1fr); }
  .trainer-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .badges-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-brand { padding: 32px; min-height: 320px; }
  .login-hero h1 { font-size: 36px; }
  .login-form-wrap { padding: 32px; }
  .catalog-wrap { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; max-height: none; }
  .detail-wrap { grid-template-columns: 1fr; }
  .pricing-sidebar { position: static; }
  .home-greeting { grid-template-columns: 1fr; }
  .gamif-grid { grid-template-columns: 1fr; }
  .review-summary { grid-template-columns: 1fr; }
  .learn-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container, .topnav-inner { padding: 0 16px; }
  .topnav { height: auto; padding: 12px 0; flex-wrap: wrap; }
  .topnav-inner { flex-wrap: wrap; gap: 12px; }
  .search-bar { order: 3; flex-basis: 100%; max-width: none; }
  .nav-link { display: none; }
  .course-grid, .course-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .trainer-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-slide h2 { font-size: 26px; }
  .hero-slide p { font-size: 14px; }
  .hero-slide { padding: 24px 24px 44px; }
  .hero-dots { right: 24px; bottom: 16px; }
  .modal-panel { width: 100%; }
  .badges-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .learning-item { grid-template-columns: 1fr; }
  .learning-item .thumb { aspect-ratio: 16 / 6; }
  .megamenu-inner { grid-template-columns: 1fr 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .trainer-profile-header { flex-direction: column; align-items: flex-start; padding: 0 16px; }
  .trainer-profile-stats { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
   AVATAR PHOTO IMAGES (when using real photos via avatarImg helper)
   ============================================================ */
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.avatar-initials-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 800;
  letter-spacing: 0.02em;
}
/* When avatar img is inside a circular container, ensure it fills */
.nav-avatar .avatar-img,
.trainer-avatar .avatar-img,
.trainer-profile-avatar .avatar-img,
.profile-avatar-big .avatar-img,
.review-avatar .avatar-img,
.lb-avatar .avatar-img,
.disc-avatar .avatar-img,
.msg-avatar .avatar-img,
.avatar .avatar-img {
  border-radius: 50%;
}

/* When photo is rendered, fade the gradient background colors so they don't bleed */
.nav-avatar:has(.avatar-img),
.trainer-avatar:has(.avatar-img),
.trainer-profile-avatar:has(.avatar-img),
.review-avatar:has(.avatar-img),
.lb-avatar:has(.avatar-img),
.disc-avatar:has(.avatar-img),
.msg-avatar:has(.avatar-img),
.avatar:has(.avatar-img),
.profile-avatar-big:has(.avatar-img) {
  background: var(--mint-soft);
}
