:root {
  --navy-deep: #1a1d2e;
  --navy: #252940;
  --navy-light: #2d3148;
  --gold: #c9a96e;
  --gold-hover: #d4b676;
  --gold-dark: #9a7f4f;
  --gold-bg: #f5ecd9;
  --cream: #f5f0e6;
  --cream-soft: #faf7f0;
  --tan: #d9c5a0;
  --tan-light: #e2d2b0;
  --emerald: #059669;
  --emerald-bg: #d1fae5;
  --rose: #dc2626;
  --rose-bg: #fee2e2;
  --ink: #1a1d2e;
  --ink-dim: #3d4052;
  --ink-mute: #6b6d7a;
  --line: rgba(26, 29, 46, 0.1);
  --line-gold: rgba(201, 169, 110, 0.25);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream-soft);
  color: var(--ink);
  overflow-x: hidden;
}

/* ================================================
   VIEW SYSTEM (show/hide sections)
================================================ */
.view { display: none; }
.view.active { display: block; }

/* ================================================
   HERO (full screen)
================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--navy-deep);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image {
  position: absolute; inset: 0;
  background-image: url('https://raviniaplumbing.com/wp-content/uploads/2023/03/Why-hire-a-professional-electrician_-scaled.jpeg');
  background-size: cover; background-position: center;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26, 29, 46, 0.88) 0%, rgba(26, 29, 46, 0.55) 50%, rgba(26, 29, 46, 0.75) 100%);
}

.nav {
  position: relative;
  z-index: 10;
  padding: 40px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
}

.nav-logo-mark { width: 44px; height: 44px; flex-shrink: 0; }

.nav-logo-text {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--cream);
}

.nav-logo-text .line-2 {
  display: block;
  letter-spacing: 0.28em;
}

.nav-right-group {
  display: flex;
  gap: 24px;
  row-gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .nav-right-group { gap: 16px; }
  .nav-right { font-size: 12px; letter-spacing: 0.16em; }
}

.nav-right {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.nav-right:hover { color: var(--gold); }

/* Career dropdown menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
  display: inline-block;
}
.nav-dropdown.open .nav-dropdown-toggle::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  background: rgba(15, 17, 25, 0.97);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 1000;
  backdrop-filter: blur(8px);
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-bridge {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  color: rgba(245, 240, 230, 0.9);
}
.nav-dropdown-item:hover {
  background: rgba(201, 169, 110, 0.12);
  color: #f0d080;
}
.nav-dropdown-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
  font-size: 0.95rem;
}
.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-dropdown-desc {
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(245, 240, 230, 0.55);
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
}
@media (max-width: 720px) {
  .nav-dropdown-menu {
    min-width: 220px;
    left: auto;
    right: 0;
    transform: translateY(-4px);
  }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu {
    transform: translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 80px 80px;
}

.hero-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--gold);
  max-width: 900px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 52px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   OUR MAIN PRACTICES
================================================ */
.practices-section {
  padding: 120px 80px;
  background: var(--cream-soft);
  scroll-margin-top: 20px;
}

.practices-inner { max-width: 1400px; margin: 0 auto; }

.practices-header { text-align: center; margin-bottom: 60px; }

.practices-eyebrow, .page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.practices-eyebrow::before, .practices-eyebrow::after,
.page-eyebrow::before, .page-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

.practices-title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 24px;
}

.practices-title .italic, .page-title .italic {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 400;
}

.practices-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-mute);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto;
}

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

.practice-card {
  background: var(--tan);
  padding: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--navy-deep);
  border: none;
  text-align: left;
  font-family: inherit;
}

.practice-card-soon { opacity: 0.78; }
.practice-card-soon:hover { opacity: 1; }
.practice-card-soon .practice-card-photo { filter: grayscale(35%); }
.practice-card-soon:hover .practice-card-photo { filter: grayscale(0); }
.practice-card-soon-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: linear-gradient(135deg, #c9a96e, #a07840);
  color: #1a1d2e;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.practice-card:nth-child(odd) { background: var(--tan); }
.practice-card:nth-child(even) { background: var(--tan-light); }

.practice-card-photo {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-deep);
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 29, 46, 0.15) 0%, rgba(217, 197, 160, 0.5) 100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-card:hover .practice-card-photo {
  height: 200px;
}

.practice-card:hover .practice-card-photo::after {
  background: linear-gradient(180deg, rgba(26, 29, 46, 0.35) 0%, rgba(26, 29, 46, 0.85) 100%);
}

.practice-card-inner {
  padding: 26px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.practice-card:hover {
  background: var(--navy-deep);
  color: var(--cream);
  transform: translateY(-4px);
}

.practice-card:hover .practice-name,
.practice-card:hover .practice-desc { color: var(--cream); }
.practice-card:hover .practice-num { color: var(--gold); }

.practice-num {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-bottom: 16px;
  transition: color 0.3s;
}

.practice-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.practice-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
  font-weight: 400;
  flex: 1;
  transition: color 0.3s;
}

.practice-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 29, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  z-index: 3;
}

.practice-card:hover .practice-arrow {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: rotate(-45deg);
}

/* ================================================
   PLN DISTRIBUTION ACADEMY · FAST TRACK BANNER (S13)
================================================ */
.pln-fasttrack-section {
  padding: 100px 80px 60px;
  background: var(--cream);
  position: relative;
}

.pln-fasttrack-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.pln-fasttrack-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  background: linear-gradient(135deg, #0a2540 0%, #143966 55%, #1c4e8a 100%);
  color: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(10, 37, 64, 0.35);
  border: 1px solid rgba(212, 175, 106, 0.25);
  min-height: 460px;
}

.pln-fasttrack-photo {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=1600&q=85');
  background-size: cover;
  background-position: center;
}

.pln-fasttrack-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 37, 64, 0.15) 0%, rgba(10, 37, 64, 0.55) 65%, rgba(10, 37, 64, 0.95) 100%);
}

.pln-fasttrack-content {
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.pln-fasttrack-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.pln-fasttrack-badge-special {
  background: linear-gradient(135deg, #d4af6a, #c9a96e);
  color: #0a2540;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(212, 175, 106, 0.4);
}

.pln-fasttrack-badge-partner {
  background: rgba(245, 240, 230, 0.08);
  border: 1px solid rgba(245, 240, 230, 0.2);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 100px;
}

.pln-fasttrack-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.pln-fasttrack-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 0 18px;
}

.pln-fasttrack-title .italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.pln-fasttrack-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.78);
  margin: 0 0 22px;
  max-width: 540px;
}

.pln-fasttrack-desc strong {
  color: var(--cream);
  font-weight: 700;
}

.pln-fasttrack-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pln-fasttrack-list li {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.88);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pln-ft-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(212, 175, 106, 0.5);
}

.pln-fasttrack-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.pln-fasttrack-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #d4af6a, #c9a96e);
  color: #0a2540;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 30px rgba(212, 175, 106, 0.35);
}

.pln-fasttrack-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(212, 175, 106, 0.5);
  background: linear-gradient(135deg, #e2c285, #d4af6a);
}

.pln-fasttrack-cta svg {
  transition: transform 0.3s;
}

.pln-fasttrack-cta:hover svg {
  transform: translateX(4px);
}

.pln-fasttrack-cta-note {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(245, 240, 230, 0.55);
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .pln-fasttrack-section { padding: 80px 40px 40px; }
  .pln-fasttrack-card { grid-template-columns: 1fr; min-height: 0; }
  .pln-fasttrack-photo { min-height: 220px; }
  .pln-fasttrack-content { padding: 40px 36px; }
  .pln-fasttrack-title { font-size: 32px; }
}

@media (max-width: 600px) {
  .pln-fasttrack-section { padding: 60px 20px 30px; }
  .pln-fasttrack-content { padding: 32px 24px; }
  .pln-fasttrack-title { font-size: 26px; }
  .pln-fasttrack-cta { width: 100%; justify-content: center; padding: 16px 24px; }
  .pln-fasttrack-cta-note { width: 100%; text-align: center; }
}

/* ================================================
   OFFERS (Pembeda)
================================================ */
.offers {
  position: relative;
  padding: 140px 80px;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
}

.offers-bg-image {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=2400&q=80');
  background-size: cover; background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.offers-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 29, 46, 0.92) 0%, rgba(26, 29, 46, 0.96) 100%);
  z-index: 1;
}

.offers-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.offers-title {
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}

.offers-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: rgba(245, 240, 230, 0.75);
  margin-bottom: 70px;
}

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

.offer-card {
  padding: 36px 28px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  background: transparent;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-card:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
  transform: translateY(-4px);
}

.offer-card h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 20px;
  min-height: 40px;
}

.offer-card p {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.7);
  font-weight: 300;
  flex: 1;
  margin-bottom: 24px;
}

.offer-card-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

/* ================================================
   ACADEMY PRICING
================================================ */
.academy-pricing {
  position: relative;
  padding: 140px 80px;
  background: var(--cream-soft);
  color: var(--navy-deep);
  overflow: hidden;
}

.academy-pricing-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.academy-pricing-card {
  position: relative;
  background: var(--navy-deep);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 64px 56px;
  color: var(--cream);
  box-shadow: 0 30px 80px rgba(26, 29, 46, 0.18);
}

.academy-pricing-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.academy-pricing-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 18px;
}

.academy-pricing-title .italic {
  font-style: italic;
  color: var(--gold);
}

.academy-pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.academy-pricing-price {
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.academy-pricing-period {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 230, 0.65);
}

.academy-pricing-section-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.academy-pricing-section-title::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.academy-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.academy-pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.85);
  font-weight: 300;
}

.academy-pricing-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold);
}

.academy-pricing-cta {
  display: inline-block;
  padding: 18px 44px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.academy-pricing-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/* New benefit cards with photo */
.esa-pricing-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px !important;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.esa-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.esa-benefit-card:hover {
  border-color: rgba(212,175,106,0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.esa-benefit-photo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212,175,106,0.18), rgba(160,120,64,0.06));
  border: 1px solid rgba(212,175,106,0.25);
  position: relative;
}
.esa-benefit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.esa-benefit-card:hover .esa-benefit-photo img { transform: scale(1.06); }
/* Fallback ketika foto gagal load — show emoji icon dari data-fallback-icon */
.esa-benefit-photo.esa-img-err::before {
  content: attr(data-fallback-icon);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: #d4af6a;
}
.esa-benefit-body { min-width: 0; flex: 1; }
.esa-benefit-title {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: #f0d080;
  margin-bottom: 6px;
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.esa-benefit-desc {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245,240,230,0.75);
  line-height: 1.55;
}

/* Promo pulse glow */
@keyframes esa-pulse-glow {
  0%, 100% { box-shadow: 0 6px 18px rgba(220,38,38,0.4), 0 0 0 0 rgba(220,38,38,0.5); }
  50% { box-shadow: 0 6px 18px rgba(220,38,38,0.4), 0 0 0 12px rgba(220,38,38,0); }
}

@media (max-width: 1024px) {
  .academy-pricing { padding: 100px 40px; }
  .academy-pricing-card { padding: 48px 36px; }
  .academy-pricing-list { grid-template-columns: 1fr; gap: 12px; }
  .esa-pricing-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .academy-pricing { padding: 80px 20px; }
  .academy-pricing-card { padding: 40px 24px; }
  .academy-pricing-cta { width: 100%; text-align: center; }
  .esa-benefit-photo { width: 56px; height: 56px; }
}

/* ================================================
   TESTIMONIAL
================================================ */
.testimonial { padding: 120px 80px; background: var(--cream-soft); }

.testimonial-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.testimonial-content { padding-right: 40px; }

.testimonial-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  line-height: 1.1;
  margin-bottom: 32px;
}

.testimonial-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 40px;
  max-width: 420px;
}

.testimonial-name-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-name-btn:hover { background: var(--gold-hover); }

.testimonial-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 420px;
  overflow: hidden;
  background: #e0d5c2;
}

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

.testimonial-nav {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 29, 46, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.testimonial-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.testimonial-dot:hover { background: var(--gold-dark); }

/* ================================================
   PARTNERS
================================================ */
.partners { padding: 100px 80px; background: var(--cream); border-top: 1px solid var(--line-gold); }

.partners-inner { max-width: 1400px; margin: 0 auto; text-align: center; }

.partners-title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.partners-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mute);
  margin-bottom: 64px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 32px;
  align-items: center;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}

.partner-logo {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border: 1px solid rgba(26, 29, 46, 0.08);
  background: white;
  border-radius: 10px;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 29, 46, 0.1);
  border-color: var(--gold);
}

.partner-logo img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo svg {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  height: auto;
}

.partner-logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  text-align: center;
  line-height: 1.2;
}
.partner-logo-fallback .pl-mark {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1d2e;
}
.partner-logo-fallback .pl-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a96e;
  font-weight: 700;
  margin-top: 4px;
}

/* ================================================
   PAYMENT MODAL (QRIS)
================================================ */
.payment-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 25, 0.96);
  z-index: 1100;
  display: none;
  overflow-y: auto;
  padding: 40px 20px;
}

.payment-modal.active { display: block; }

.payment-modal-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line-gold);
  position: relative;
  padding: 48px 56px;
}

.payment-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 5;
}

.payment-modal-close:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: rotate(90deg);
}

.payment-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 0;
  transition: color 0.3s;
}

.payment-back-link:hover { color: var(--gold-dark); }

.payment-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.payment-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-radius: 2px;
}

.payment-eyebrow svg { color: var(--gold); }

.payment-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 400;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.payment-header h2 .italic {
  font-style: italic;
  color: var(--gold);
}

.payment-header p {
  font-size: 14px;
  color: var(--ink-dim);
}

.payment-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* QRIS side */
.qris-panel {
  background: white;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}

.qris-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--navy-deep);
}

.qris-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.qris-logo-mark {
  width: 24px; height: 24px;
  background: #ED1C24; /* QRIS red */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 14px;
  border-radius: 4px;
}

.qris-logo-text {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 22px;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.qris-gpn {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-dim);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.qris-merchant {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.qris-merchant-id {
  font-family: monospace;
  font-size: 11px;
  color: var(--ink-dim);
  margin-bottom: 20px;
}

.qris-code-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 20px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
}

.qris-code-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qris-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border: 2px solid var(--navy-deep);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qris-center-logo-inner {
  width: 28px; height: 28px;
  background: #ED1C24;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 10px;
}

.qris-amount {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.qris-amount-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 18px;
}

.qris-footer {
  display: flex;
  justify-content: space-around;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
}

/* Order Summary side */
.order-summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-box {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
}

.order-box-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.order-item:last-child { border-bottom: none; }

.order-item-label { color: var(--ink-dim); }

.order-item-value {
  color: var(--navy-deep);
  font-weight: 500;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
  margin-top: 6px;
  border-top: 2px solid var(--navy-deep);
}

.order-total-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.order-total-amount {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold-dark);
}

/* Status box */
.payment-status-box {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 22px 24px;
  position: relative;
}

.payment-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.payment-status-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.55);
}

.payment-status-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}

.status-dot.success {
  background: #4ade80;
  animation: none;
}

.status-dot.verifying {
  background: #fbbf24;
  animation: pulse 0.8s ease-in-out infinite;
}

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

.payment-timer-display {
  font-family: 'Courier New', monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin: 12px 0;
  letter-spacing: 0.1em;
}

.payment-timer-label {
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.5);
}

.payment-instructions {
  background: rgba(201, 169, 110, 0.08);
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--navy-deep);
}

.payment-instructions ol {
  margin: 0;
  padding-left: 18px;
}

.payment-instructions li { margin-bottom: 4px; }

.payment-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.payment-btn {
  flex: 1;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.payment-btn-primary {
  background: var(--navy-deep);
  color: var(--gold);
  border-color: var(--navy-deep);
}

.payment-btn-primary:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.payment-btn-primary:disabled {
  background: var(--cream-soft);
  color: var(--ink-dim);
  border-color: var(--line);
  cursor: not-allowed;
}

.payment-btn-secondary {
  background: transparent;
  color: var(--ink-dim);
  border-color: var(--line);
}

.payment-btn-secondary:hover {
  background: var(--cream-soft);
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}

/* Success state — overlays the form */
.payment-success-overlay {
  position: absolute;
  inset: 0;
  background: var(--cream);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  text-align: center;
  z-index: 10;
}

.payment-success-overlay.active { display: flex; }

.success-check {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.success-check svg {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: successDraw 0.5s ease-out 0.3s forwards;
}

@keyframes successDraw {
  to { stroke-dashoffset: 0; }
}

.payment-success-overlay h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.payment-success-overlay h3 .italic {
  font-style: italic;
  color: var(--gold);
}

.payment-success-overlay p {
  font-size: 15px;
  color: var(--ink-dim);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.6;
}

.success-detail-box {
  background: white;
  border: 1px solid var(--line);
  padding: 20px 28px;
  margin-bottom: 32px;
  min-width: 320px;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.success-detail-label { color: var(--ink-dim); }
.success-detail-val { color: var(--navy-deep); font-weight: 600; }

.success-progress-text {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 8px;
}

/* Toast notification */
.esa-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 16px 24px;
  border-left: 4px solid #4ade80;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  transform: translateX(calc(100% + 40px));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.esa-toast.active { transform: translateX(0); }

.esa-toast-icon {
  width: 32px;
  height: 32px;
  background: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-deep);
}

.esa-toast-content { flex: 1; }

.esa-toast-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
}

.esa-toast-msg {
  font-size: 12px;
  color: rgba(245, 240, 230, 0.7);
}

@media (max-width: 768px) {
  .payment-modal-inner { padding: 32px 20px; }
  .payment-body { grid-template-columns: 1fr; gap: 24px; }
  .qris-code-wrap { width: 220px; height: 220px; }
  .payment-timer-display { font-size: 26px; }
  .esa-toast { right: 16px; left: 16px; bottom: 16px; }
  .esa-toast.active { transform: translateY(0); }
  .esa-toast { transform: translateY(calc(100% + 40px)); }
}

/* ================================================
   TALENT POOL VIEW
================================================ */
.talent-hero {
  padding: 110px 80px 70px;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.talent-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(201, 169, 110, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.talent-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}

.talent-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.talent-hero-eyebrow::before,
.talent-hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.talent-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--cream);
}

.talent-hero h1 .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.talent-hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.72);
  max-width: 680px;
  margin: 0 auto 48px;
}

.talent-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(245, 240, 230, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.talent-stat {
  text-align: center;
}

.talent-stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.talent-stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
}

.talent-section {
  padding: 80px 80px 100px;
  background: var(--cream);
}

.talent-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.talent-filter-bar {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 12px rgba(26, 29, 46, 0.04);
}

.talent-filter-bar input,
.talent-filter-bar select {
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--cream-soft);
  color: var(--navy-deep);
  outline: none;
  transition: border-color 0.3s;
}

.talent-filter-bar input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238a8c96' stroke-width='1.5'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3 3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 14px;
  padding-left: 40px;
}

.talent-filter-bar input:focus,
.talent-filter-bar select:focus {
  border-color: var(--gold);
}

.talent-results-count {
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.talent-results-count strong { color: var(--gold-dark); font-weight: 700; }

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

.talent-card {
  background: white;
  border: 1px solid var(--line);
  padding: 28px 26px 26px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.talent-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(26, 29, 46, 0.08);
}

.talent-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.talent-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.2);
}

.talent-info { flex: 1; min-width: 0; padding-top: 2px; }

.talent-info h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 4px;
}

.talent-role {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 5px;
}

.talent-meta {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink-dim);
}

.talent-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.talent-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.talent-status.available {
  background: rgba(94, 161, 110, 0.12);
  color: #2d7d46;
}

.talent-status.open {
  background: rgba(201, 169, 110, 0.18);
  color: var(--gold-dark);
}

.talent-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag-jalur,
.tag-level {
  padding: 4px 9px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
}

.tag-jalur {
  background: var(--navy-deep);
  color: var(--gold);
}

.tag-level {
  background: var(--cream-soft);
  color: var(--navy-deep);
  border: 1px solid var(--line);
}

.talent-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-dim);
  line-height: 1.55;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: var(--cream-soft);
  border-left: 2px solid var(--gold);
}

.talent-sect {
  margin-bottom: 16px;
}

.talent-sect-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}

.talent-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.talent-skills span {
  padding: 4px 10px;
  background: var(--cream-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--navy-deep);
  border-radius: 2px;
  border: 1px solid var(--line);
}

.talent-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 4px;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.4);
  font-size: 11px;
  color: var(--navy-deep);
  border-radius: 2px;
}

.cert-chip-bnsp {
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  padding: 3px 6px;
  border-radius: 2px;
}

.talent-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.talent-salary-wrap { display: flex; flex-direction: column; }

.talent-salary-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 2px;
}

.talent-salary {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.1;
}

.talent-salary .small {
  font-size: 11px;
  color: var(--ink-dim);
  font-weight: 400;
}

.talent-btn {
  padding: 10px 18px;
  background: var(--navy-deep);
  color: var(--gold);
  border: 1px solid var(--navy-deep);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.talent-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.talent-empty {
  grid-column: 1 / -1;
  padding: 80px 40px;
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-dim);
  border: 1px dashed var(--line);
}

@media (max-width: 1100px) {
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .talent-filter-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .talent-hero { padding: 80px 24px 50px; }
  .talent-section { padding: 60px 24px 80px; }
  .talent-grid { grid-template-columns: 1fr; }
  .talent-filter-bar { grid-template-columns: 1fr; position: static; }
  .talent-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; }
  .talent-stat-num { font-size: 28px; }
}

/* ================================================
   LABS VIEW (Simulator + Praktikum)
================================================ */
.labs-hero {
  padding: 110px 80px 90px;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.labs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.labs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.labs-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.labs-hero-eyebrow::before,
.labs-hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.labs-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--cream);
}

.labs-hero h1 .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.labs-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.72);
  max-width: 680px;
  margin: 0 auto 48px;
}

.labs-hero-tabs {
  display: inline-flex;
  gap: 10px;
  background: rgba(245, 240, 230, 0.08);
  padding: 8px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Tab-switched panels — hanya satu section tampil per klik (tanpa scroll panjang) */
.labs-panel { display: none; }
.labs-panel.show { display: block; animation: labsFade 0.35s ease; }
@keyframes labsFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.labs-tab-btn {
  padding: 18px 40px;
  background: transparent;
  color: rgba(245, 240, 230, 0.65);
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 3px;
}

.labs-tab-btn:hover { color: var(--cream); }

.labs-tab-btn.active {
  background: var(--gold);
  color: var(--navy-deep);
}

/* Simulator Grid */
.simulator-section,
.praktikum-section {
  padding: 100px 80px;
  background: var(--cream);
}

.praktikum-section { background: var(--cream-warm); }

.lab-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.lab-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.lab-section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lab-section-eyebrow::before,
.lab-section-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.lab-section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy-deep);
  margin-bottom: 16px;
}

.lab-section-title .italic {
  font-style: italic;
  color: var(--gold);
}

.lab-section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 640px;
  margin: 0 auto;
}

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

/* ===== Simulator Lab — launcher 1 layar (tile bergambar, klik buka) ===== */
.lab-launch { padding: 56px 48px 64px !important; }
.lab-launch-inner { max-width: 1180px; margin: 0 auto; }
.lab-launch-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 22px;
}
.lab-launch-title {
  font-family: var(--serif, Georgia, serif); font-size: clamp(26px, 3vw, 40px);
  font-weight: 400; color: var(--navy-deep, #1a1d2e); margin: 6px 0 0; line-height: 1.1;
}
.lab-launch-title .italic { font-style: italic; color: var(--gold-dark, #9a7f4f); }
.lab-chips { display: flex; gap: 8px; }
.lab-chip {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink-mute, #6b6d7a);
  border: 1px solid var(--line, rgba(26,29,46,0.14)); transition: all 0.18s ease;
}
.lab-chip:hover { border-color: var(--gold, #c9a96e); color: var(--navy-deep, #1a1d2e); }
.lab-chip.active { background: var(--navy-deep, #1a1d2e); color: #fff; border-color: var(--navy-deep, #1a1d2e); }

.lab-launch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lab-tile {
  position: relative; padding: 0; border: none; cursor: pointer;
  border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3;
  background: #1a1d2e; box-shadow: 0 6px 18px rgba(26,29,46,0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lab-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(26,29,46,0.3); }
.lab-tile-grad { position: absolute; inset: 0; }
.lab-tile-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
}
/* Ikon topik per-lab sebagai visual utama (tiap lab beda simbol) */
.lab-tile-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -64%);
  width: 64px; height: 64px; color: #fff; opacity: 0.95;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
  transition: transform 0.35s ease;
  display: flex; align-items: center; justify-content: center;
}
.lab-tile-icon svg { width: 100%; height: 100%; }
.lab-tile:hover .lab-tile-icon { transform: translate(-50%, -64%) scale(1.12); }
.lab-tile-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,15,28,0.92) 4%, rgba(13,15,28,0.45) 40%, rgba(13,15,28,0.05) 78%); }
.lab-tile-badge {
  position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.42); border: 1px solid rgba(255,255,255,0.38); color: #fff;
  font-family: var(--serif, Georgia, serif); font-weight: 700; font-size: 0.82rem;
}
.lab-tile-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 13px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.lab-tile-cat { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: #f0d080; font-weight: 800; }
.lab-tile-title { font-family: var(--serif, Georgia, serif); font-size: 1.0rem; font-weight: 600; color: #fff; line-height: 1.18; }
.lab-tile-open { margin-top: 5px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; display: inline-flex; align-items: center; gap: 5px; }
.lab-tile:hover .lab-tile-open { opacity: 1; transform: none; }
.lab-launch-hint { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--ink-mute, #6b6d7a); }
/* 16 kelompok jalur — tiap jalur satu blok berlabel */
.lab-groups { display: flex; flex-direction: column; gap: 30px; }
.lab-group { display: flex; flex-direction: column; gap: 14px; }
.lab-group-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(26,29,46,0.1);
}
.lab-group-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
  font-family: var(--serif, Georgia, serif); font-weight: 700; font-size: 1.05rem;
  background: var(--g-grad, linear-gradient(135deg,#d4af6a,#9a7f4f));
  box-shadow: 0 5px 14px rgba(26,29,46,0.22);
}
.lab-group-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lab-group-label { font-family: var(--serif, Georgia, serif); font-size: 1.12rem; font-weight: 700; color: var(--ink, #1a1d2e); line-height: 1.2; }
.lab-group-desc { font-size: 0.82rem; color: var(--ink-mute, #6b6d7a); line-height: 1.4; }
.lab-group-count {
  margin-left: auto; flex-shrink: 0; align-self: flex-start;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-dark, #9a7f4f); background: rgba(201,169,110,0.14);
  border: 1px solid rgba(201,169,110,0.4); border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
@media (max-width: 680px) {
  .lab-groups { gap: 24px; }
  .lab-group-label { font-size: 1rem; }
  .lab-group-desc { display: none; }
}
/* Hub 16 jalur — muat 1 layar, kartu bergambar representatif, klik untuk masuk */
.lab-jalur-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lab-jalur-card {
  position: relative; text-align: left; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: row; align-items: center; gap: 18px; min-height: 104px;
  padding: 18px 20px; border-radius: 15px; background: #fff;
  border: 1px solid rgba(26,29,46,0.1); box-shadow: 0 4px 12px rgba(26,29,46,0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.lab-jalur-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(26,29,46,0.18); border-color: transparent; }
.lab-jalur-thumb {
  position: relative; flex-shrink: 0; width: 84px; height: 84px; border-radius: 14px; overflow: hidden;
  background: var(--g-grad, linear-gradient(135deg,#d4af6a,#9a7f4f));
}
.lab-jalur-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.lab-jalur-card:hover .lab-jalur-thumb img { transform: scale(1.08); }
.lab-jalur-num {
  position: absolute; left: 6px; bottom: 6px; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 9px;
  display: grid; place-items: center; color: #fff; font-family: var(--serif, Georgia, serif); font-weight: 700; font-size: 0.98rem;
  background: rgba(10,12,20,0.6); border: 1px solid rgba(255,255,255,0.45); backdrop-filter: blur(2px);
}
.lab-jalur-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lab-jalur-label { font-family: var(--serif, Georgia, serif); font-weight: 700; font-size: 1.24rem; color: var(--ink, #1a1d2e); line-height: 1.18; }
.lab-jalur-count {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold-dark, #9a7f4f); display: inline-flex; align-items: center; gap: 6px;
}
.lab-jalur-count svg { opacity: 0.45; transition: transform 0.18s ease, opacity 0.18s ease; }
.lab-jalur-card:hover .lab-jalur-count svg { opacity: 1; transform: translateX(3px); }
/* Bar kembali + header jalur saat sebuah jalur dibuka */
.lab-back-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lab-back-btn {
  flex-shrink: 0; cursor: pointer; font-size: 0.82rem; font-weight: 700; color: var(--ink, #1a1d2e);
  background: #fff; border: 1px solid rgba(26,29,46,0.14); border-radius: 999px; padding: 9px 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.lab-back-btn:hover { border-color: var(--gold, #c9a96e); transform: translateX(-2px); }
.lab-open-head { flex: 1; min-width: 200px; border-bottom: none; padding-bottom: 0; }
@media (max-width: 1100px) { .lab-jalur-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .lab-jalur-grid { grid-template-columns: 1fr; gap: 14px; } .lab-jalur-card { min-height: 92px; } .lab-jalur-thumb { width: 72px; height: 72px; } .lab-open-head .lab-group-desc { display: none; } }
/* ElectraSim featured launch card */
.electrasim-feature {
  display: flex; align-items: center; gap: 18px; margin-bottom: 22px;
  padding: 18px 22px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(135deg, #161b2c 0%, #2b2a36 48%, #6a5734 100%);
  border: 1px solid rgba(201,169,110,0.4); box-shadow: 0 10px 30px rgba(26,29,46,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.electrasim-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(26,29,46,0.42); }
.electrasim-feature-ic {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(145deg, #e8b339, #b8860b); box-shadow: 0 6px 20px rgba(232,179,57,0.4);
}
.electrasim-feature-ic svg { width: 28px; height: 28px; }
.electrasim-feature-body { display: flex; flex-direction: column; gap: 4px; }
.electrasim-feature-eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: #f0d080; }
.electrasim-feature-title { font-family: var(--serif, Georgia, serif); font-size: 1.18rem; font-weight: 700; color: #fff; line-height: 1.2; }
.electrasim-feature-sub { font-size: 0.82rem; line-height: 1.5; color: rgba(245,240,230,0.82); }
.electrasim-feature-cta { margin-top: 4px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #f3d27a; }
@media (max-width: 680px) { .electrasim-feature { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; } }
@media (max-width: 980px) { .lab-launch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .lab-launch { padding: 44px 22px !important; } .lab-launch-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .lab-tile-title { font-size: 0.9rem; } }

/* Banner gambar di tiap halaman simulator (modal) */
.sim-banner { position: relative; height: 130px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.sim-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim-banner-grad { position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: multiply; }
.sim-banner-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,15,28,0.9), rgba(13,15,28,0.15)); }
.sim-banner-txt { position: absolute; left: 20px; bottom: 14px; right: 20px; display: flex; flex-direction: column; gap: 3px; }
.sim-banner-cat { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f0d080; font-weight: 800; }
.sim-banner-title { font-family: var(--serif, Georgia, serif); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.15; }

/* Panel penjelasan "Tentang lab ini" di dalam tiap simulator */
.sim-about { background: linear-gradient(135deg, rgba(201,169,110,0.12), rgba(26,29,46,0.04)); border: 1px solid rgba(201,169,110,0.34); border-radius: 12px; padding: 15px 17px; margin-bottom: 20px; }
.sim-about-h { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-dark, #9a7f4f); margin-bottom: 11px; display: flex; align-items: center; gap: 7px; }
.sim-about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sim-about-item { display: flex; flex-direction: column; gap: 6px; }
.sim-about-tag { align-self: flex-start; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #1a1d2e; background: rgba(201,169,110,0.85); border-radius: 6px; padding: 3px 9px; }
.sim-about-item p { font-size: 0.85rem; line-height: 1.55; color: #4a4d5e; margin: 0; }
@media (max-width: 680px) { .sim-about-grid { grid-template-columns: 1fr; gap: 11px; } }

/* Animasi simulator (aliran arus & glow) */
@keyframes labFlow { to { stroke-dashoffset: -36; } }
.lab-flow { stroke-dasharray: 11 8; animation: labFlow 0.8s linear infinite; }
@keyframes labGlow { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }
.lab-glow { animation: labGlow 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* Electrical Design Calculators */
.calc-section {
  padding: 100px 80px;
  background: var(--cream-warm);
  border-top: 1px solid var(--line-gold);
}
.calc-subgroup-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-deep);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-subgroup-title .calc-count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,175,106,0.1);
  border: 1px solid var(--line-gold);
  padding: 4px 12px;
  border-radius: 100px;
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.calc-card {
  background: white;
  border: 1px solid var(--line);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 6px;
}
.calc-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 29, 46, 0.08);
}
.calc-card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1d2e 0%, #2d3148 100%);
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.calc-card-thumb-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: white;
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 3px;
}
.calc-card-thumb svg {
  width: 60%;
  height: 60%;
  opacity: 0.85;
}
.calc-card h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.3;
  margin: 0 0 8px;
  min-height: 42px;
}
.calc-card p {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin: 0 0 16px;
  flex: 1;
}
.calc-open-btn {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  color: white;
  border: none;
  padding: 9px 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.calc-open-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(67, 97, 238, 0.35);
}

/* Calculator modal form */
.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-bottom: 24px;
}
.calc-form .full { grid-column: 1 / -1; }
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.calc-field input,
.calc-field select {
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--navy-deep);
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,106,0.12);
}
.calc-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.calc-btn-primary {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  color: white;
  border: none;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
}
.calc-btn-secondary {
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--line);
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
}
.calc-result {
  background: var(--cream-soft);
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  padding: 22px 24px;
  margin-top: 6px;
}
.calc-result-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.calc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.calc-result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(26,29,46,0.12);
}
.calc-result-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.calc-result-value {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-deep);
}
.calc-result-value.highlight { color: #1d4ed8; font-size: 22px; }
.calc-result-value.warn { color: #b91c1c; }
.calc-result-value.ok { color: #15803d; }
.calc-note {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(212,175,106,0.08);
  border-left: 3px solid var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.calc-note strong { color: var(--navy-deep); }
@media (max-width: 700px) {
  .calc-form { grid-template-columns: 1fr; }
  .calc-result-grid { grid-template-columns: 1fr; }
  .calc-section { padding: 60px 24px; }
}

.simulator-card {
  background: white;
  padding: 36px 32px 32px;
  border: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.simulator-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 29, 46, 0.08);
}

.simulator-card.soon { opacity: 0.6; }
.simulator-card.soon:hover { transform: none; box-shadow: none; border-color: var(--line); }

.sim-card-badge-soon {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  background: var(--cream-soft);
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
}

.sim-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
  background: var(--cream-soft);
  border-radius: 50%;
  border: 1px solid var(--line-gold);
}

.sim-card-cat {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 12px;
}

.simulator-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 14px;
  line-height: 1.25;
}

.simulator-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 24px;
  flex: 1;
}

.sim-card-meta {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.sim-meta-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.sim-meta-value {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--navy-deep);
  font-weight: 500;
}

.sim-card-btn {
  background: var(--navy-deep);
  color: var(--gold);
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--navy-deep);
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sim-card-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.sim-card-btn:disabled {
  cursor: not-allowed;
  background: var(--cream-soft);
  color: var(--ink-dim);
  border-color: var(--line);
}

.sim-card-btn:disabled:hover {
  background: var(--cream-soft);
  color: var(--ink-dim);
  border-color: var(--line);
}

/* Praktikum Grid */
.praktikum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.praktikum-card {
  background: white;
  border: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  overflow: hidden;
  min-height: 280px;
}

.praktikum-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(26, 29, 46, 0.08);
}

.prakt-card-photo {
  width: 200px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-deep);
  position: relative;
}

.prakt-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 29, 46, 0.2) 0%, rgba(217, 197, 160, 0.2) 100%);
}

.prakt-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prakt-card-jalur {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.praktikum-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.25;
}

.praktikum-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin-bottom: 16px;
  flex: 1;
}

.prakt-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink-dim);
}

.prakt-meta-row span strong {
  color: var(--navy-deep);
  font-weight: 600;
  margin-right: 4px;
}

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

.prakt-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-deep);
}

.prakt-btn {
  background: var(--navy-deep);
  color: var(--gold);
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.prakt-btn:hover { background: var(--gold); color: var(--navy-deep); }

/* ================================================
   JOB OPPORTUNITY VIEW
================================================ */
.jobs-hero {
  padding: 110px 80px 90px;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.jobs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.jobs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.jobs-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.jobs-hero-eyebrow::before,
.jobs-hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.jobs-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--cream);
}

.jobs-hero h1 .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.jobs-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.72);
  max-width: 680px;
  margin: 0 auto;
}

.jobs-list-section {
  padding: 100px 80px;
  background: var(--cream-soft);
}

.jobs-list-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.job-card {
  background: #fff;
  border: 1px solid rgba(26, 29, 46, 0.08);
  box-shadow: 0 20px 60px rgba(26, 29, 46, 0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.job-card-header {
  padding: 32px 40px 24px;
  border-bottom: 1px solid rgba(26, 29, 46, 0.08);
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
}

.job-card-companies {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.job-card-company {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(26, 29, 46, 0.04);
  border: 1px solid rgba(26, 29, 46, 0.08);
  border-radius: 2px;
  color: var(--navy-deep);
}

.job-card-company.accent { color: var(--gold-dark); border-color: rgba(201, 169, 110, 0.4); background: rgba(201, 169, 110, 0.08); }

.job-card-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  line-height: 1.15;
  margin-bottom: 10px;
}

.job-card-meta {
  font-family: var(--sans);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-dim);
}

.job-card-body {
  padding: 32px 40px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.job-card-block-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-card-block-title::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.job-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card-list li {
  display: flex;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy-deep);
  font-weight: 400;
}

.job-card-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.job-card-list.numbered {
  counter-reset: jobitem;
}

.job-card-list.numbered li {
  counter-increment: jobitem;
}

.job-card-list.numbered li::before {
  content: counter(jobitem) ".";
  width: auto;
  height: auto;
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  min-width: 18px;
}

.job-card-footer {
  padding: 24px 40px;
  border-top: 1px solid rgba(26, 29, 46, 0.08);
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.job-card-footer-text {
  font-family: var(--sans);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-dim);
}

.job-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--navy-deep);
  cursor: pointer;
  transition: all 0.3s ease;
}

.job-card-cta:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

@media (max-width: 1024px) {
  .jobs-list-section { padding: 80px 40px; }
  .job-card-body { grid-template-columns: 1fr; gap: 28px; }
  .job-card-header,
  .job-card-body,
  .job-card-footer { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 640px) {
  .jobs-hero { padding: 80px 20px 60px; }
  .jobs-list-section { padding: 60px 20px; }
  .job-card-header,
  .job-card-body,
  .job-card-footer { padding-left: 22px; padding-right: 22px; }
  .job-card-cta { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .labs-hero { padding: 80px 24px 60px; }
  .simulator-section, .praktikum-section { padding: 70px 24px; }
  .simulator-grid { grid-template-columns: 1fr; }
  .praktikum-grid { grid-template-columns: 1fr; }
  .praktikum-card { flex-direction: column; }
  .prakt-card-photo { width: 100%; height: 160px; }
  .labs-hero-tabs { flex-direction: column; width: 100%; }
}

/* ================================================
   SIMULATOR MODAL (fullscreen working labs)
================================================ */
.sim-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 25, 0.95);
  z-index: 1000;
  display: none;
  overflow-y: auto;
  padding: 40px 20px;
}

.sim-modal.active { display: block; }

.sim-modal-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line-gold);
  position: relative;
  padding: 48px 56px;
}

.sim-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 5;
}

.sim-modal-close:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: rotate(90deg);
}

.sim-modal-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.sim-modal-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.sim-modal-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.sim-modal-header h2 .italic {
  font-style: italic;
  color: var(--gold);
}

.sim-modal-header p {
  font-size: 15px;
  color: var(--ink-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Simulator layouts */
.sim-workspace {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.sim-visual {
  background: white;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 2px;
  position: sticky;
  top: 20px;
}

.sim-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-control-group {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
}

.sim-control {
  margin-bottom: 16px;
}

.sim-control:last-child { margin-bottom: 0; }

.sim-control label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.sim-control label .sim-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold-dark);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.sim-control input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  outline: none;
  border-radius: 2px;
}

.sim-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--navy-deep);
}

.sim-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--navy-deep);
}

.sim-control input[type="number"],
.sim-control select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--navy-deep);
  outline: none;
  transition: border-color 0.3s;
}

.sim-control input[type="number"]:focus,
.sim-control select:focus { border-color: var(--gold); }

.sim-outputs {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sim-output {
  text-align: center;
}

.sim-output-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
  margin-bottom: 6px;
}

.sim-output-value {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.sim-output-value .unit {
  font-size: 14px;
  color: rgba(245, 240, 230, 0.5);
  margin-left: 4px;
}

.sim-formula {
  background: var(--cream-soft);
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  font-family: 'Georgia', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--navy-deep);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .sim-modal-inner { padding: 32px 20px; }
  .sim-workspace { grid-template-columns: 1fr; }
  .sim-visual { position: static; }
}

/* ================================================
   SERTIFIKASI VIEW
================================================ */
.cert-hero {
  padding: 110px 80px 90px;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cert-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cert-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.cert-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.cert-hero-eyebrow::before,
.cert-hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.cert-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--cream);
}

.cert-hero h1 .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.cert-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.72);
  max-width: 680px;
  margin: 0 auto 56px;
}

.cert-hero-stats {
  display: flex;
  gap: 64px;
  justify-content: center;
  flex-wrap: wrap;
}

.cert-stat {
  text-align: center;
}

.cert-stat-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.cert-stat-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.55);
}

.cert-section {
  padding: 100px 80px;
  background: var(--cream);
}

.cert-section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.cert-section-header {
  text-align: center;
  margin-bottom: 72px;
}

.cert-section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cert-section-eyebrow::before,
.cert-section-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.cert-section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy-deep);
  margin-bottom: 20px;
}

.cert-section-title .italic {
  font-style: italic;
  color: var(--gold);
}

.cert-section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 640px;
  margin: 0 auto;
}

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

.cert-card {
  background: white;
  padding: 40px 36px 36px;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(26, 29, 46, 0.08);
}

.cert-card-bnsp {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
}

.cert-card-jalur {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}

.cert-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.cert-card-issuer {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-weight: 500;
}

.cert-card-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 24px;
  flex: 1;
}

.cert-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.cert-meta-item-label {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.cert-meta-item-value {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.3;
}

.cert-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.cert-card-price-wrap {
  display: flex;
  flex-direction: column;
}

.cert-card-price-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 4px;
}

.cert-card-price {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1;
}

.cert-card-btn {
  background: var(--navy-deep);
  color: var(--gold);
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--navy-deep);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.cert-card-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.cert-card-btn svg {
  transition: transform 0.3s;
}

.cert-card-btn:hover svg {
  transform: translateX(3px);
}

.cert-info-strip {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 80px 80px;
  position: relative;
  overflow: hidden;
}

.cert-info-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cert-info-item {
  text-align: center;
}

.cert-info-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.cert-info-title {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--cream);
}

.cert-info-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.65);
}

@media (max-width: 900px) {
  .cert-hero { padding: 80px 24px 60px; }
  .cert-section { padding: 70px 24px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-hero-stats { gap: 32px; }
  .cert-stat-num { font-size: 40px; }
  .cert-info-strip { padding: 60px 24px; }
  .cert-info-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cert-card-bottom { flex-direction: column; align-items: flex-start; }
  .cert-card-btn { width: 100%; justify-content: center; }
}

/* ================================================
   FOOTER
================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(245, 240, 230, 0.6);
  padding: 60px 80px 40px;
  border-top: 1px solid var(--line-gold);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand-mark { width: 36px; height: 36px; }

.footer-brand-text {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.2;
}

.footer-brand-text .line-2 { display: block; letter-spacing: 0.28em; }

.footer-copy { font-size: 12px; color: rgba(245, 240, 230, 0.5); }

.footer-socials { display: flex; gap: 14px; }

.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(245, 240, 230, 0.6);
  transition: all 0.3s;
}

.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }

/* ================================================
   DETAIL PAGES NAVIGATION (shared for jalur & modul views)
================================================ */
.detail-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-gold);
}

.detail-nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-deep);
  text-decoration: none;
  cursor: pointer;
}

.detail-nav-logo-mark { width: 34px; height: 34px; }

.detail-nav-logo-text {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.15;
}

.detail-nav-logo-text .line-2 {
  display: block;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
}

.detail-nav-center {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-dim);
  font-style: italic;
}

.detail-nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.detail-nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.detail-nav-back:hover { color: var(--gold-dark); }

.detail-nav-ai {
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.detail-nav-ai:hover { color: var(--gold-dark); }

/* ================================================
   JALUR DETAIL VIEW
================================================ */
.jalur-hero {
  padding: 80px 80px 60px;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.jalur-hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.jalur-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 17, 25, 0.88) 0%, rgba(26, 29, 46, 0.72) 50%, rgba(15, 17, 25, 0.9) 100%);
  z-index: 1;
}

.jalur-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.jalur-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.jalur-breadcrumb {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jalur-breadcrumb .sep { opacity: 0.4; }

.jalur-hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--gold);
  margin-bottom: 24px;
}

.jalur-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(245, 240, 230, 0.75);
  margin-bottom: 40px;
  max-width: 560px;
}

.jalur-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

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

.jalur-stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  font-style: italic;
}

.jalur-stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
  margin-top: 6px;
}

.jalur-hero-right {
  padding: 32px;
  border: 1px solid var(--line-gold);
  background: rgba(201, 169, 110, 0.05);
}

.jalur-hero-right h4 {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.jalur-hero-right ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jalur-hero-right li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.85);
}

.jalur-hero-right li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Jalur Hero CTA */
.jalur-hero-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.jalur-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
  font-family: inherit;
}

.jalur-hero-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.jalur-hero-cta svg {
  transition: transform 0.3s;
}

.jalur-hero-cta:hover svg { transform: translateX(4px); }

.jalur-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 230, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.jalur-hero-cta-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Level Photo (career progression imagery) */
.level-photo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-soft);
  border: 2px solid var(--line);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(26, 29, 46, 0.06);
}

.level-photo::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.level-card.open .level-photo {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.25);
}

.level-card.open .level-photo::after {
  border-color: var(--gold);
  opacity: 0.4;
}

/* Start Level Button (Free levels only) */
.level-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--navy-deep);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
  margin-bottom: 24px;
  position: relative;
}

.level-start-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3);
}

.level-start-btn svg {
  transition: transform 0.3s;
}

.level-start-btn:hover svg {
  transform: translateX(4px);
}

/* Module Lock Indicator */
.module-card.locked {
  position: relative;
  opacity: 0.75;
}

.module-card.locked::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 8px,
    rgba(201, 169, 110, 0.04) 8px,
    rgba(201, 169, 110, 0.04) 16px
  );
  pointer-events: none;
}

.module-lock-icon {
  color: var(--gold-dark);
  margin-left: 4px;
}

/* Paid Level Banner */
.paid-banner {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--gold-bg), #fdf8ea);
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  margin-bottom: 20px;
}

.paid-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.paid-banner-text {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--navy-deep);
}

.paid-banner-text strong {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.paid-banner-btn {
  padding: 10px 20px;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.paid-banner-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ================================================
   PURCHASE MODAL
================================================ */
.purchase-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 25, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.purchase-modal.active { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes esa-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes esa-fade-in { from { opacity: 0; } to { opacity: 1; } }
/* Live Class Schedule responsive */
@media (max-width: 640px) {
  #liveclass-schedule-list > div { grid-template-columns: 1fr !important; gap: 12px !important; padding: 16px !important; }
  #liveclass-schedule-list > div > div:first-child { border-right: none !important; padding-right: 0 !important; padding-bottom: 12px; border-bottom: 1px solid rgba(212,175,106,0.2); display: flex; gap: 14px; align-items: center; justify-content: flex-start; text-align: left !important; }
  #liveclass-schedule-list > div > div:first-child > div { margin: 0 !important; }
}

.purchase-modal-inner {
  background: white;
  max-width: 920px;
  width: 100%;
  padding: 56px 56px 44px;
  border-radius: 12px;
  position: relative;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.purchase-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 20px;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: inherit;
}

.purchase-modal-close:hover {
  background: var(--navy-deep);
  color: var(--gold);
  border-color: var(--navy-deep);
}

.purchase-modal-header {
  text-align: center;
  margin-bottom: 40px;
}

.purchase-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.purchase-modal-eyebrow::before,
.purchase-modal-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.purchase-modal-header h2 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  line-height: 1.1;
  margin-bottom: 12px;
}

.purchase-modal-header h2 .italic {
  font-style: italic;
  color: var(--gold-dark);
}

.purchase-modal-header p {
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.purchase-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.purchase-card {
  padding: 36px 32px;
  background: var(--cream-soft);
  border: 2px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}

.purchase-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.purchase-card.featured {
  background: var(--navy-deep);
  color: var(--cream);
  border-color: var(--gold);
}

.purchase-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
}

.purchase-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-bg);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.purchase-card.featured .purchase-card-icon {
  background: rgba(201, 169, 110, 0.15);
  color: var(--gold);
}

.purchase-card-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
  line-height: 1.2;
}

.purchase-card.featured .purchase-card-name {
  color: var(--cream);
}

.purchase-card-tagline {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

.purchase-card.featured .purchase-card-tagline {
  color: rgba(245, 240, 230, 0.65);
}

.purchase-card-price {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.purchase-card.featured .purchase-card-price {
  color: var(--gold);
}

.purchase-card-price-unit {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.purchase-card.featured .purchase-card-price-unit {
  color: rgba(245, 240, 230, 0.7);
}

.purchase-card-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.purchase-card-features li {
  padding: 10px 0;
  font-size: 13.5px;
  color: var(--ink-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.purchase-card-features li:last-child { border-bottom: none; }

.purchase-card.featured .purchase-card-features li {
  color: rgba(245, 240, 230, 0.85);
  border-bottom-color: rgba(245, 240, 230, 0.12);
}

.purchase-card-features li svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.purchase-card-cta {
  padding: 14px 24px;
  background: transparent;
  border: 1px solid var(--navy-deep);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  text-align: center;
}

.purchase-card-cta:hover {
  background: var(--navy-deep);
  color: var(--gold);
}

.purchase-card.featured .purchase-card-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.purchase-card.featured .purchase-card-cta:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* ================================================
   PAYMENT FLOW (QRIS → Verify → Success)
================================================ */
.purchase-step { display: none; }
.purchase-step.active { display: block; }

/* === QRIS Payment Step === */
.qris-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}

.qris-code-wrap {
  background: white;
  padding: 20px;
  border: 2px solid var(--navy-deep);
  border-radius: 4px;
  position: relative;
}

.qris-code-header {
  background: var(--navy-deep);
  color: white;
  text-align: center;
  padding: 10px;
  margin: -20px -20px 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.qris-code-header span { color: #ff4444; margin-right: 4px; }

.qris-code-svg {
  width: 100%;
  aspect-ratio: 1;
  display: block;
}

.qris-code-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--navy-deep);
}

.qris-code-footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--navy-deep);
  color: white;
  border-radius: 2px;
  font-size: 9px;
}

.qris-details {
  display: flex;
  flex-direction: column;
}

.qris-tier-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.qris-tier-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 20px;
  line-height: 1.3;
}

.qris-amount-row {
  padding: 18px 22px;
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  margin-bottom: 20px;
}

.qris-amount-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.qris-amount-value {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--navy-deep);
  line-height: 1;
}

.qris-info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  font-size: 13px;
}

.qris-info-row dt {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.qris-info-row dd {
  font-family: var(--sans);
  color: var(--navy-deep);
  font-weight: 500;
}

.qris-timer-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
  margin-bottom: 20px;
}

.qris-timer-icon {
  color: var(--gold-dark);
}

.qris-timer-text {
  flex: 1;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--navy-deep);
  line-height: 1.4;
}

.qris-timer-countdown {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}

.qris-instructions {
  padding: 16px 20px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.qris-instructions-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.qris-instructions ol {
  margin: 0;
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.7;
}

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

.qris-btn-confirm {
  flex: 1;
  padding: 14px 20px;
  background: var(--gold);
  color: var(--navy-deep);
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.qris-btn-confirm:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.qris-btn-cancel {
  padding: 14px 24px;
  background: transparent;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.qris-btn-cancel:hover {
  border-color: var(--navy-deep);
  color: var(--navy-deep);
}

/* === Verifying Step === */
.verify-wrap {
  padding: 60px 20px;
  text-align: center;
}

.verify-spinner {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border: 3px solid rgba(201, 169, 110, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.verify-wrap h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.verify-wrap p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto 24px;
}

.verify-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.verify-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.verify-step.active { color: var(--gold-dark); font-weight: 600; }
.verify-step.done { color: #2d7d46; font-weight: 600; }

.verify-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.verify-step.done .verify-step-dot {
  background: #2d7d46;
  border-color: #2d7d46;
}

.verify-step.active .verify-step-dot {
  background: var(--gold);
  border-color: var(--gold);
  animation: pulse 1.2s ease-in-out infinite;
}

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

/* === Success Step === */
.success-wrap {
  padding: 48px 20px 16px;
  text-align: center;
}

.success-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.4);
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.5, 1.3);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.success-icon svg {
  animation: checkDraw 0.5s ease-out 0.3s both;
}

@keyframes checkDraw {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}

.success-wrap h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 400;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.success-wrap h2 .italic {
  font-style: italic;
  color: var(--gold);
}

.success-wrap > p {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 28px;
}

.success-receipt {
  max-width: 440px;
  margin: 0 auto 28px;
  padding: 24px 28px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  text-align: left;
}

.success-receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
}

.success-receipt-row:not(:last-child) {
  border-bottom: 1px dashed var(--line);
}

.success-receipt-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.success-receipt-value {
  font-family: var(--sans);
  color: var(--navy-deep);
  font-weight: 600;
  text-align: right;
}

.success-unlocked-panel {
  max-width: 500px;
  margin: 0 auto 32px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  text-align: left;
  border: 1px solid var(--gold);
}

.success-unlocked-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-unlocked-title {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--cream);
}

.success-unlocked-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(245, 240, 230, 0.85);
}

.success-unlocked-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.success-unlocked-list li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.success-btn {
  padding: 16px 40px;
  background: var(--navy-deep);
  color: var(--gold);
  border: 1px solid var(--navy-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.success-btn:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

/* Member badge (shows on home/jalur when subscribed) */
.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.35);
}

@media (max-width: 700px) {
  .qris-wrap { grid-template-columns: 1fr; gap: 24px; }
  .qris-code-wrap { max-width: 280px; margin: 0 auto; }
  .qris-amount-value { font-size: 30px; }
  .qris-actions { flex-direction: column-reverse; }
  .verify-steps { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 40px; }
}

.purchase-modal-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.purchase-modal-footer svg { color: var(--emerald); }

/* Levels */
.jalur-levels {
  padding: 80px 80px 120px;
  background: var(--cream-soft);
}

.jalur-levels-inner { max-width: 1400px; margin: 0 auto; }

.jalur-levels-title {
  text-align: center;
  margin-bottom: 60px;
}

.jalur-levels-title h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  line-height: 1.1;
  margin-bottom: 16px;
}

.jalur-levels-title h2 .italic {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 400;
}

.jalur-levels-title p {
  font-size: 15px;
  color: var(--ink-mute);
  max-width: 580px;
  margin: 0 auto;
}

.level-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.level-card {
  background: white;
  border: 1px solid var(--line);
  transition: all 0.3s;
  overflow: hidden;
}

.level-card.open {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(26, 29, 46, 0.08);
}

.level-card-header {
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
  text-align: left;
  width: 100%;
  background: transparent;
  border: none;
  font-family: inherit;
}

.level-card-header:hover { background: var(--cream-soft); }

.level-info h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.15;
  margin-bottom: 4px;
}

.level-info .subtitle {
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 400;
}

.level-badge {
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
}

.level-badge.free { background: var(--emerald-bg); color: var(--emerald); }
.level-badge.paid { background: var(--gold-bg); color: var(--gold-dark); }

.level-count {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
  min-width: 80px;
  text-align: right;
}

.level-count strong {
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 18px;
  font-family: var(--serif);
}

.level-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--ink-mute);
}

.level-card.open .level-chevron {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--gold);
  transform: rotate(180deg);
}

.level-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.level-card.open .level-body { max-height: 5000px; }

.level-body-inner {
  padding: 0 32px 32px;
}

.level-description {
  padding: 20px 24px;
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.module-card {
  padding: 18px 22px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.module-card:hover {
  background: white;
  border-color: var(--gold);
  transform: translateX(4px);
}

.module-code {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--gold-bg);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.module-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.4;
}

.module-meta {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}

.module-arrow {
  color: var(--ink-mute);
  transition: all 0.2s;
}

.module-card:hover .module-arrow { color: var(--gold-dark); transform: translateX(2px); }

/* ================================================
   MODUL DETAIL VIEW
================================================ */
.modul-hero {
  padding: 60px 80px 40px;
  background: var(--navy-deep);
  color: var(--cream);
}

.modul-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.modul-breadcrumb {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.8);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.modul-breadcrumb .sep { opacity: 0.4; }
.modul-breadcrumb a { color: inherit; text-decoration: none; cursor: pointer; }
.modul-breadcrumb a:hover { color: var(--gold); }

.modul-code-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 4px;
  margin-bottom: 16px;
}

.modul-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 20px;
  max-width: 1000px;
}

.modul-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(245, 240, 230, 0.7);
}

.modul-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modul-meta-item strong { color: var(--gold); font-weight: 500; }

/* Main content grid */
.modul-main {
  padding: 40px 80px 100px;
  background: var(--cream-soft);
}

.modul-main-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}

/* Content tabs */
.modul-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
  background: white;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.modul-tab {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  transition: all 0.2s;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modul-tab:hover { color: var(--navy-deep); }

.modul-tab.active {
  background: var(--navy-deep);
  color: var(--gold);
}

.modul-tab-icon { font-size: 16px; }

.modul-panel {
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.modul-panel.active { display: block; }

/* Video panel */
.video-player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy-deep);
  overflow: hidden;
}

.video-player-wrap iframe,
.video-player-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-placeholder-text {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
}

.slides-wrap iframe {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 480px;
  border: 1px solid var(--line);
  background: white;
  display: block;
}

.slides-wrap .slides-iframe-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-top: none;
  font-size: 12px;
  color: var(--ink-dim);
}

.slides-wrap .slides-iframe-actions a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slides-wrap .slides-iframe-actions a:hover { color: var(--gold); }

.video-player {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.video-player::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.video-play-btn {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.95);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  transition: all 0.3s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.video-player:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--gold-hover);
}

.video-duration {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  padding: 4px 12px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
}

.video-info {
  padding: 24px 28px;
  border-top: 1px solid var(--line);
}

.video-info h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.video-info p {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.6;
}

.video-instructor {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-instructor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
}

.video-instructor-info {
  font-size: 13px;
}

.video-instructor-info strong { color: var(--navy-deep); font-weight: 600; }

.video-instructor-info .role { color: var(--ink-mute); font-size: 11.5px; }

/* Slides panel */
.slides-container {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f5ecd9, #faf7f0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 60px;
  border-bottom: 1px solid var(--line);
}

.slide-content {
  text-align: center;
  max-width: 600px;
}

.slide-num {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.slide-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 16px;
}

.slide-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-dim);
}

.slides-controls {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.slides-counter {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-mute);
}

.slides-counter strong { color: var(--navy-deep); font-weight: 600; }

.slides-nav {
  display: flex;
  gap: 8px;
}

.slides-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slides-btn:hover:not(:disabled) {
  background: var(--navy-deep);
  color: var(--gold);
  border-color: var(--navy-deep);
}

.slides-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.slides-download {
  padding: 8px 16px;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.slides-download:hover { background: var(--gold-hover); }

/* Quiz panel */
.quiz-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.quiz-header-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.quiz-header-info p {
  font-size: 12.5px;
  color: var(--ink-mute);
}

.quiz-progress {
  padding: 8px 16px;
  background: var(--cream-soft);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-deep);
}

.quiz-progress strong { color: var(--gold-dark); font-weight: 700; }

.quiz-list {
  padding: 24px 28px;
  max-height: 800px;
  overflow-y: auto;
}

.quiz-item {
  margin-bottom: 16px;
  padding: 20px 24px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.3s;
}

.quiz-item:hover { border-color: var(--gold); }

.quiz-q-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.quiz-q-text {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.5;
  margin-bottom: 16px;
}

.quiz-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }

.quiz-option {
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-dim);
  text-align: left;
  width: 100%;
}

.quiz-option:hover { border-color: var(--gold); background: var(--cream-soft); }

.quiz-option-letter {
  font-weight: 700;
  color: var(--gold-dark);
  min-width: 20px;
}

.quiz-option.correct {
  background: var(--emerald-bg);
  border-color: var(--emerald);
  color: #065f46;
}

.quiz-option.correct .quiz-option-letter { color: var(--emerald); }

.quiz-option.wrong {
  background: var(--rose-bg);
  border-color: var(--rose);
  color: #991b1b;
}

.quiz-option.wrong .quiz-option-letter { color: var(--rose); }

.quiz-explain {
  margin-top: 12px;
  padding: 14px 18px;
  background: white;
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
  display: none;
}

.quiz-item.answered .quiz-explain { display: block; }

.quiz-explain strong { color: var(--navy-deep); }

/* Enhanced quiz items — case study, SVG, tags */
.quiz-tag {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-left: 10px;
  vertical-align: middle;
}
.quiz-tag-pg { background: rgba(201, 169, 110, 0.15); color: var(--gold-dark); }
.quiz-tag-case { background: rgba(45, 125, 70, 0.12); color: #2d7d46; }
.quiz-tag-calc { background: rgba(100, 120, 200, 0.12); color: #4a5a9e; }
.quiz-tag-tf { background: rgba(180, 80, 100, 0.12); color: #9c3449; }
.quiz-tag-visual { background: rgba(140, 110, 70, 0.15); color: #7a5e3d; }

.quiz-case-box {
  background: linear-gradient(135deg, rgba(245,240,230,0.6), rgba(255,255,255,0.4));
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin: 12px 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--navy-deep);
  font-style: italic;
  border-radius: 2px;
}
.quiz-case-box strong {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-style: normal;
  margin-bottom: 6px;
}

.quiz-svg-wrap {
  background: white;
  border: 1px solid var(--line);
  padding: 14px;
  margin: 12px 0;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.quiz-svg-wrap svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.quiz-calc-box {
  background: var(--cream-soft);
  border: 1px dashed var(--line-gold);
  padding: 10px 14px;
  margin: 10px 0;
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: var(--navy-deep);
  border-radius: 2px;
}
.quiz-calc-box .formula {
  font-style: italic;
  color: var(--gold-dark);
}

.quiz-tf-options .quiz-option {
  flex: 1;
}
.quiz-tf-options {
  display: flex;
  gap: 10px;
  flex-direction: row !important;
}

.quiz-explain-visual {
  display: block;
  margin-top: 10px;
}
.quiz-explain-visual svg {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: white;
  padding: 8px;
}

/* AI Tutor Sidebar */
.ai-tutor-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ai-tutor-header {
  padding: 20px 24px;
  background: var(--navy-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-tutor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-size: 20px;
  flex-shrink: 0;
}

.ai-tutor-info {
  flex: 1;
  min-width: 0;
}

.ai-tutor-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}

.ai-tutor-status {
  font-size: 11px;
  color: rgba(245, 240, 230, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.ai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ai-tutor-messages {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
}

.ai-msg {
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 90%;
}

.ai-msg.bot {
  background: var(--cream-soft);
  padding: 12px 16px;
  border-radius: 12px 12px 12px 2px;
  align-self: flex-start;
  color: var(--ink-dim);
}

.ai-msg.user {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 12px 12px 2px 12px;
  align-self: flex-end;
}

.ai-tutor-suggestions {
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ai-suggestion-chip {
  padding: 6px 12px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.ai-suggestion-chip:hover {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--gold-dark);
}

.ai-tutor-input-row {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: center;
}

.ai-tutor-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  background: var(--cream-soft);
  color: var(--navy-deep);
  outline: none;
  transition: border-color 0.2s;
}

.ai-tutor-input:focus { border-color: var(--gold); }

.ai-tutor-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.ai-tutor-send:hover { background: var(--gold-hover); }

/* Next module bar */
.modul-footer-nav {
  margin-top: 32px;
  padding: 24px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.modul-footer-nav-btn {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--navy-deep);
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modul-footer-nav-btn:hover {
  background: var(--navy-deep);
  color: var(--gold);
}

.modul-footer-nav-btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.modul-footer-nav-btn.primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy-deep);
}

/* ================================================
   SCROLL REVEAL
================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1024px) {
  .nav, .hero-content, .practices-section, .offers, .testimonial, .partners, .footer,
  .detail-nav, .jalur-hero, .jalur-levels, .modul-hero, .modul-main {
    padding-left: 40px;
    padding-right: 40px;
  }
  .practices-grid, .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-inner { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-content { padding-right: 0; }
  .testimonial-photo { max-width: 100%; margin: 0 auto; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .jalur-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .module-list { grid-template-columns: 1fr; }
  .modul-main-inner { grid-template-columns: 1fr; }
  .ai-tutor-sidebar { position: relative; top: auto; max-height: 600px; }
  .purchase-packages { grid-template-columns: 1fr; }
  .purchase-modal-inner { padding: 44px 32px 36px; }
}

@media (max-width: 640px) {
  .nav { padding: 24px 20px; }
  .nav-logo-mark { width: 36px; height: 36px; }
  .nav-logo-text { font-size: 13px; letter-spacing: 0.18em; }
  .nav-right { font-size: 11px; letter-spacing: 0.18em; }
  .hero-content { padding: 0 20px 40px; }
  .hero-headline { margin-bottom: 40px; }
  .hero-cta { padding: 18px 36px; font-size: 11px; width: 100%; }
  .practices-section, .offers, .testimonial, .partners,
  .jalur-hero, .jalur-levels, .modul-hero, .modul-main {
    padding-left: 20px; padding-right: 20px;
  }
  .practices-grid, .offers-grid { grid-template-columns: 1fr; }
  .esa-ebook-bonus { grid-template-columns: 1fr !important; padding: 24px !important; gap: 20px !important; }
  .esa-ebook-bonus img { max-width: 280px; margin: 0 auto; }
  .esa-ebook-bonus ul { grid-template-columns: 1fr !important; }
  .partners-grid { grid-template-columns: 1fr; max-width: 320px; }
  .footer { padding: 40px 20px 30px; }
  .footer-inner { justify-content: center; text-align: center; }
  .detail-nav { padding: 14px 20px; }
  .detail-nav-center { display: none; }
  .level-card-header { grid-template-columns: 60px 1fr auto; gap: 16px; padding: 20px 20px; }
  .level-photo { width: 50px; height: 50px; }
  .level-count { display: none; }
  .modul-tabs { flex-wrap: wrap; }
  .modul-tab { font-size: 11px; padding: 10px 12px; }
  .modul-title { font-size: 28px; }
  .quiz-list { padding: 16px; }
  .jalur-hero-cta-row { flex-direction: column; align-items: stretch; }
  .jalur-hero-cta, .jalur-hero-cta-secondary { justify-content: center; width: 100%; }
  .paid-banner { flex-direction: column; text-align: center; align-items: stretch; }
  .purchase-modal-inner { padding: 40px 24px 32px; }
  .purchase-modal-header h2 { font-size: 28px; }
  .purchase-packages { grid-template-columns: 1fr; }
}

/* ===== ADDON: GAMIFICATION + CERT ===== */
/* ================================================================
   ESA LMS GAMIFICATION + CERTIFICATE ADDON
   ================================================================ */

/* -------- PROFILE ONBOARDING MODAL -------- */
.esa-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26, 29, 46, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.esa-modal-overlay.active { display: flex; }

/* -------- NEW LOGIN MODAL (extends .esa-modal) -------- */
.esa-login-modal {
  max-width: 480px !important;
  padding: 40px 36px !important;
  position: relative;
}

.esa-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink-dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s;
  font-family: var(--sans);
}
.esa-modal-close:hover {
  background: var(--navy-deep);
  color: var(--cream);
  border-color: var(--navy-deep);
}

.esa-modal-brand-mark {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
}
.esa-modal-brand-mark svg { width: 100%; height: 100%; }

.esa-google-signin-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 44px;
}

#esa-google-btn { width: 100%; display: flex; justify-content: center; }
#esa-google-btn:empty { display: none; }

.esa-google-fallback-btn {
  display: none; /* shown by JS if GSI unavailable */
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: white;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.esa-google-fallback-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.esa-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.esa-divider::before,
.esa-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.esa-form-label .req { color: var(--rose); font-weight: 700; }
.esa-form-label .opt {
  color: var(--ink-mute);
  font-weight: 400;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
}
/* Helper text di bawah field input */
.esa-form-help {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

/* -------- LOGIN MODE TABS (light theme) -------- */
.esa-mode-tabs {
  display: flex;
  background: var(--cream-soft);
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
}
.esa-mode-tab {
  flex: 1;
  padding: 11px 8px;
  border: none;
  background: transparent;
  color: var(--gold-dark);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
}
.esa-mode-tab:hover { background: rgba(212,175,106,0.12); }
.esa-mode-tab.active {
  background: var(--navy-deep);
  color: var(--cream);
  box-shadow: 0 4px 10px rgba(26,29,46,0.18);
}

/* -------- COLLAPSIBLE ADVANCED FIELDS (Promo + Referral) -------- */
.esa-collapsible-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: 1px dashed var(--line-gold);
  border-radius: 6px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 12px;
}
.esa-collapsible-toggle:hover {
  background: rgba(212,175,106,0.08);
  border-color: var(--gold);
}
.esa-collapsible-toggle .esa-chev {
  transition: transform 0.2s ease;
  font-size: 14px;
}
.esa-collapsible-toggle[aria-expanded="true"] .esa-chev { transform: rotate(180deg); }
.esa-collapsible-content {
  display: none;
  padding-top: 4px;
}
.esa-collapsible-content.open { display: block; animation: esa-fade-down 0.2s ease; }
@keyframes esa-fade-down {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------- TOS CARD (custom checkbox, light theme) -------- */
.esa-tos-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--gold-bg) 0%, #fdf2e3 100%);
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  margin: 8px 0 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.esa-tos-card:hover { border-color: var(--gold); }
.esa-tos-card.checked {
  background: linear-gradient(135deg, rgba(212,175,106,0.18) 0%, rgba(160,120,64,0.08) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
/* Native checkbox visually hidden (still accessible) */
.esa-tos-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}
.esa-tos-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--gold-dark);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.esa-tos-check svg {
  width: 14px;
  height: 14px;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.25s ease 0.05s;
}
.esa-tos-card.checked .esa-tos-check {
  background: var(--gold);
  border-color: var(--gold-dark);
}
.esa-tos-card.checked .esa-tos-check svg { stroke-dashoffset: 0; }
.esa-tos-text {
  flex: 1;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--navy);
  line-height: 1.55;
  cursor: pointer;
}
.esa-tos-text strong { color: var(--navy-deep); font-weight: 600; }
.esa-tos-text a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }
.esa-tos-text a:hover { color: var(--gold); }

.esa-modal-footer-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

/* -------- KODE PROMO FIELD -------- */
.esa-promo-group {
  background: linear-gradient(135deg, var(--gold-bg) 0%, #fdf2e3 100%);
  border: 1px solid var(--line-gold);
  border-radius: 6px;
  padding: 14px 14px 12px !important;
  margin-top: 8px;
}

.esa-promo-input {
  font-family: monospace;
  letter-spacing: 2px;
  font-weight: 700;
  border-color: var(--gold) !important;
  background: white !important;
}

.esa-promo-input:focus {
  border-color: var(--gold-dark) !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.esa-promo-status {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  min-height: 16px;
  letter-spacing: 0.3px;
}
.esa-promo-status.valid {
  color: var(--emerald);
}
.esa-promo-status.invalid {
  color: var(--rose);
}

/* -------- FULL ACCESS BADGE -------- */
.esa-full-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #1a1d2e, #2d3148);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

.esa-full-access-badge::before {
  content: '🔓';
  font-size: 11px;
}

/* -------- REDEEM PROMO BUTTON (for logged-in users) -------- */
.esa-redeem-promo-link {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background: transparent;
  border: 1px dashed var(--gold);
  color: var(--gold);
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  transition: all 0.2s;
}
.esa-redeem-promo-link:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-style: solid;
}

/* -------- LOGOUT / CHANGE USER LINK (in home progress panel) -------- */
.esa-logout-link {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  transition: all 0.2s;
}
.esa-logout-link:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.esa-home-progress { position: relative; }

.esa-modal {
  background: var(--cream-soft);
  border-radius: 8px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  border: 1px solid var(--line-gold);
}

.esa-modal-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.esa-modal-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.esa-modal-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.esa-modal-subtitle {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
}

.esa-form-group { margin-bottom: 20px; }
.esa-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.esa-form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  background: white;
  transition: border-color 0.2s;
}
.esa-form-input:focus {
  outline: none;
  border-color: var(--gold);
}

.esa-btn-primary {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--navy-deep);
  color: var(--cream);
  border: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
}
.esa-btn-primary:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-1px);
}
.esa-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.esa-btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--navy-deep);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.esa-btn-secondary:hover {
  background: var(--navy-deep);
  color: var(--cream);
}

/* -------- MODULE COMPLETION CARD -------- */
.esa-completion-card {
  background: white;
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid var(--line-gold);
  max-width: 600px;
  margin: 0 auto;
}

.esa-completion-score-ring {
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
  position: relative;
}

.esa-completion-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.esa-completion-score-ring circle {
  fill: none;
  stroke-width: 10;
}

.esa-completion-score-ring .bg-ring { stroke: #e5e5e5; }
.esa-completion-score-ring .progress-ring {
  stroke: var(--gold);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out;
}
.esa-completion-score-ring.pass .progress-ring { stroke: var(--emerald); }
.esa-completion-score-ring.fail .progress-ring { stroke: var(--rose); }

.esa-completion-score-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.esa-completion-score-num {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1;
}
.esa-completion-score-percent { font-size: 28px; color: var(--gold-dark); }
.esa-completion-score-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}

.esa-completion-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.esa-completion-subtitle {
  color: var(--ink-dim);
  font-size: 15px;
  margin-bottom: 24px;
}

.esa-completion-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
  padding: 24px;
  background: var(--cream-soft);
  border-radius: 4px;
}
.esa-completion-stat { text-align: center; }
.esa-completion-stat-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy-deep);
}
.esa-completion-stat-num.correct { color: var(--emerald); }
.esa-completion-stat-num.wrong { color: var(--rose); }
.esa-completion-stat-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

.esa-completion-xp {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gold-bg);
  color: var(--gold-dark);
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.esa-completion-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.esa-completion-actions .esa-btn-primary,
.esa-completion-actions .esa-btn-secondary {
  width: auto;
  min-width: 180px;
  margin: 0;
}

/* -------- LEVEL COMPLETION BANNER -------- */
.esa-level-complete-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  padding: 48px;
  border-radius: 8px;
  text-align: center;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gold);
}

.esa-level-complete-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.esa-level-complete-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.esa-level-complete-title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--cream);
}

.esa-level-complete-desc {
  color: var(--tan-light);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.esa-cert-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.esa-cert-download-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.4);
}

/* -------- CERTIFICATE DESIGN (hidden until render) -------- */
.esa-cert-container { position: fixed; top: -9999px; left: -9999px; }

.esa-cert-page {
  width: 1123px; /* A4 landscape @ 96dpi */
  height: 794px;
  background: var(--cream-soft);
  position: relative;
  font-family: var(--serif);
  color: var(--navy-deep);
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.esa-cert-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(245, 236, 217, 0.4) 0%, rgba(250, 247, 240, 0.8) 100%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(201, 169, 110, 0.03) 20px, rgba(201, 169, 110, 0.03) 21px);
}

.esa-cert-border-outer {
  position: absolute;
  inset: 30px;
  border: 2px solid var(--navy-deep);
}
.esa-cert-border-inner {
  position: absolute;
  inset: 40px;
  border: 1px solid var(--gold);
}

.esa-cert-corner {
  position: absolute;
  width: 60px; height: 60px;
  border: 2px solid var(--gold);
}
.esa-cert-corner.tl { top: 30px; left: 30px; border-right: none; border-bottom: none; }
.esa-cert-corner.tr { top: 30px; right: 30px; border-left: none; border-bottom: none; }
.esa-cert-corner.bl { bottom: 30px; left: 30px; border-right: none; border-top: none; }
.esa-cert-corner.br { bottom: 30px; right: 30px; border-left: none; border-top: none; }

.esa-cert-content {
  position: relative;
  z-index: 2;
  padding: 80px 100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.esa-cert-header {
  text-align: center;
  margin-bottom: 20px;
}

.esa-cert-logo {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
}

.esa-cert-logo svg { width: 100%; height: 100%; }

.esa-cert-brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.esa-cert-brand-line2 {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 2px;
}

.esa-cert-title-block { text-align: center; }

.esa-cert-eyebrow {
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

.esa-cert-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.esa-cert-title-italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-dark);
  font-weight: 400;
  margin-bottom: 32px;
}

.esa-cert-awarded-to {
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.esa-cert-recipient-name {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-deep);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold);
  display: inline-block;
  min-width: 500px;
}

.esa-cert-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 700px;
  text-align: center;
  margin-bottom: 24px;
}

.esa-cert-body strong {
  color: var(--navy-deep);
  font-weight: 600;
}

.esa-cert-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--sans);
}

.esa-cert-sign {
  text-align: center;
  min-width: 220px;
}

.esa-cert-sign-image {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.esa-cert-sign-line {
  width: 100%;
  height: 1px;
  background: var(--navy-deep);
  margin-bottom: 8px;
}

.esa-cert-sign-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
}

.esa-cert-sign-title {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}

.esa-cert-seal {
  width: 110px; height: 110px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--cream-soft);
}

.esa-cert-seal::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--gold-dark);
  border-radius: 50%;
}

.esa-cert-seal-icon {
  font-size: 28px;
  color: var(--gold-dark);
  margin-bottom: 2px;
}

.esa-cert-seal-text {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.esa-cert-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  text-align: center;
  position: absolute;
  bottom: 50px;
  left: 0; right: 0;
  letter-spacing: 1px;
}

.esa-cert-id {
  font-family: monospace;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 2px;
}

/* -------- CERTIFICATE PAGE 2 (module list) -------- */
.esa-cert-page-2 {
  padding: 60px 80px;
}

.esa-cert-page-2 .esa-cert-content {
  padding: 0;
  display: block;
  height: auto;
}

.esa-cert-p2-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--gold);
}

.esa-cert-p2-title {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.esa-cert-p2-subtitle {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.esa-cert-p2-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--navy-deep);
  color: var(--cream);
  border-radius: 4px;
}
.esa-cert-p2-summary-item { text-align: center; }
.esa-cert-p2-summary-num {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  font-weight: 600;
}
.esa-cert-p2-summary-label {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tan-light);
  margin-top: 4px;
}

.esa-cert-p2-table {
  width: 100%;
  font-family: var(--sans);
  font-size: 11px;
  border-collapse: collapse;
}

.esa-cert-p2-table th {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 10px 12px;
  text-align: left;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.esa-cert-p2-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
}

.esa-cert-p2-table tr:nth-child(even) td { background: var(--cream-soft); }

.esa-cert-p2-table .score-cell {
  font-weight: 700;
  color: var(--navy-deep);
}
.esa-cert-p2-table .score-excellent { color: var(--emerald); }
.esa-cert-p2-table .score-good { color: var(--gold-dark); }

/* -------- LEVEL GATING (LOCK STATES) -------- */
.esa-level-locked {
  position: relative;
  opacity: 0.65;
  filter: grayscale(0.4);
}

.esa-lock-overlay {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--navy-deep);
  color: var(--gold);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 5;
}

.esa-lock-message {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.esa-lock-message svg { flex-shrink: 0; }

/* -------- PROGRESS BAR -------- */
.esa-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(26, 29, 46, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 12px;
}
.esa-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width 0.8s ease-out;
}

.esa-progress-text {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 1px;
}

/* -------- GAMIFICATION BADGES -------- */
.esa-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.esa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gold-bg);
  color: var(--gold-dark);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid var(--gold);
}

.esa-badge.tier-bronze { background: #fdf2e3; color: #7a5c2e; border-color: #c08a4a; }
.esa-badge.tier-silver { background: #f0f0f0; color: #545454; border-color: #a0a0a0; }
.esa-badge.tier-gold { background: var(--gold-bg); color: var(--gold-dark); border-color: var(--gold); }
.esa-badge.tier-platinum { background: #e8efe8; color: #2d5d2d; border-color: #4a8a4a; }
.esa-badge.tier-diamond { background: #e0f0ff; color: #1a4a7a; border-color: #4a8ac0; }
.esa-badge.tier-master { background: linear-gradient(135deg, #1a1d2e, #2d3148); color: var(--gold); border-color: var(--gold); }

/* -------- USER PROGRESS DASHBOARD (floating on home) -------- */
.esa-user-hud {
  position: fixed;
  top: 100px;
  right: 24px;
  background: rgba(26, 29, 46, 0.95);
  color: var(--cream);
  padding: 16px 20px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  z-index: 100;
  min-width: 220px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-family: var(--sans);
  display: none;
  transition: transform 0.3s, opacity 0.3s;
}

.esa-user-hud.visible { display: block; }

.esa-user-hud-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}

.esa-user-hud-tier {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.esa-user-hud-xp {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.esa-user-hud-xp-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tan-light);
}

.esa-user-hud-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(201, 169, 110, 0.3);
}

.esa-user-hud-stat-num {
  font-size: 18px;
  color: var(--cream);
  font-weight: 600;
}
.esa-user-hud-stat-label {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tan-light);
}

/* -------- ACHIEVEMENT TOAST -------- */
.esa-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 16px 20px;
  border-radius: 6px;
  border-left: 4px solid var(--gold);
  z-index: 10001;
  max-width: 360px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  transform: translateX(400px);
  transition: transform 0.4s ease-out;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
}

.esa-toast.show { transform: translateX(0); }

.esa-toast-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.esa-toast-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.esa-toast-msg {
  font-size: 13px;
  line-height: 1.4;
}

/* -------- TALENT POOL AUTO-ENROLLED BADGE -------- */
.talent-auto-enrolled {
  background: linear-gradient(135deg, var(--gold-bg) 0%, #fdf2e3 100%);
  color: var(--gold-dark);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  display: inline-block;
  margin-bottom: 8px;
}

.talent-note-box {
  background: var(--cream-soft);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  margin-top: 12px;
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.talent-note-box strong { color: var(--navy-deep); }

/* -------- HOME PROGRESS PANEL -------- */
.esa-home-progress {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 32px 40px;
  border-radius: 8px;
  margin: 40px 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.esa-home-progress-left {
  padding-right: 32px;
  border-right: 1px solid rgba(201, 169, 110, 0.3);
}

.esa-home-progress-welcome {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.esa-home-progress-name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  margin-bottom: 8px;
}

.esa-home-progress-tier-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--tan-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.esa-home-progress-right {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 20px;
  align-content: start;
}
@media (max-width: 768px) {
  .esa-home-progress { grid-template-columns: 1fr !important; gap: 18px !important; padding: 24px 18px !important; margin: 24px 16px !important; }
  .esa-home-progress-left { padding-right: 0 !important; border-right: none !important; padding-bottom: 18px; border-bottom: 1px solid rgba(201, 169, 110, 0.3); }
  .esa-home-progress-right { grid-template-columns: repeat(2, 1fr) !important; }
  .esa-home-action-card { flex-direction: column; align-items: stretch !important; }
  .esa-home-action-card button { width: 100%; }
}

.esa-home-progress-stat { text-align: center; }
.esa-home-progress-stat-num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.esa-home-progress-stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tan-light);
  margin-top: 8px;
}

.esa-home-progress-level-badges {
  margin-top: 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.esa-level-mini-badge {
  padding: 4px 8px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  background: transparent;
  opacity: 0.4;
}
.esa-level-mini-badge.earned {
  opacity: 1;
  background: var(--gold);
  color: var(--navy-deep);
}

@media (max-width: 900px) {
  .esa-home-progress {
    grid-template-columns: 1fr;
    margin: 24px 20px;
    padding: 24px;
  }
  .esa-home-progress-left { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(201, 169, 110, 0.3); padding-bottom: 20px; }
  .esa-home-progress-right { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .esa-user-hud { display: none !important; }
  .esa-modal { padding: 28px; }
  .esa-completion-card { padding: 32px 20px; }
  .esa-completion-title { font-size: 26px; }
  .esa-completion-score-ring { width: 140px; height: 140px; }
}

@media print {
  body * { visibility: hidden; }
  .esa-cert-container, .esa-cert-container * { visibility: visible; }
  .esa-cert-container { position: absolute; left: 0; top: 0; }
}

/* ============================================================ */
/*  MOBILE RESPONSIVE — komponen JS-rendered (profile, jalur)   */
/* ============================================================ */

/* Profile modal */
@media (max-width: 720px) {
  #esa-profile-modal { padding: 12px !important; align-items: flex-start !important; padding-top: 16px !important; }
  #esa-profile-modal > div { max-height: 96vh !important; border-radius: 12px !important; }
  .esa-profile-grid-2col { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  #esa-profile-modal > div > div:first-child { padding: 18px 16px 14px !important; gap: 12px !important; }
  #esa-profile-modal > div > div:first-child img,
  #esa-profile-modal > div > div:first-child > div:not([id]):not([style*="flex:1"]) {
    width: 56px !important; height: 56px !important;
  }
  #esa-profile-modal > div > div:nth-child(2),
  #esa-profile-modal > div > div:nth-child(3) { padding-left: 16px !important; padding-right: 16px !important; }
  #esa-profile-modal > div > div:last-child { padding: 14px 16px 18px !important; }
  #esa-profile-modal input,
  #esa-profile-modal select { font-size: 16px !important; /* prevent iOS zoom */ }
}

/* Jalur progress strip — break 6 cols → 3 → 2 */
@media (max-width: 900px) {
  .esa-jalur-strip-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 480px) {
  .esa-jalur-strip-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
}

/* Jalur levels section padding on mobile */
@media (max-width: 700px) {
  .jalur-levels { padding: 40px 18px 80px !important; }
  .jalur-levels-title { margin-bottom: 32px !important; }
  .jalur-levels-title h2 { font-size: clamp(24px, 6vw, 32px) !important; }
}

/* Module-card Done badge wraps on small screens */
@media (max-width: 520px) {
  .module-card .module-title { white-space: normal !important; line-height: 1.4; }
  .module-card .module-title > span { display: inline-block; margin-top: 4px; }
}

/* Pricing card on mobile — strikethrough + active price stack nicely */
@media (max-width: 520px) {
  .academy-pricing-card { padding: 36px 22px !important; }
  .academy-pricing-price-row { flex-direction: column; align-items: flex-start !important; gap: 4px !important; }
  .academy-pricing-price-row > span:first-child { font-size: 22px !important; }
}

/* Talent Pool dropdown — full width on phones, easier tap targets */
@media (max-width: 700px) {
  .nav-dropdown-wrapper { display: block !important; width: 100%; }
  .nav-dropdown-menu { left: 0 !important; right: 0 !important; min-width: 100% !important; }
  .nav-dropdown-menu a { padding: 14px 20px !important; font-size: 0.9rem !important; }
}

/* ================================================================
   POLISH LAYER — UX/UI improvements (Nov 2026)
   Override inline styles via CSS for consistency & mobile responsive.
   ================================================================ */

/* 1. Touch target minimum 44px untuk mobile (WCAG AAA) */
@media (max-width: 768px) {
  button, .esa-btn-primary, .nav-daftar-btn,
  .academy-pricing-cta, .talent-card button {
    min-height: 44px;
  }
  .lc-filter-btn { min-height: 40px !important; padding: 10px 18px !important; }
}

/* 2. Hero & nav padding responsive */
@media (max-width: 1024px) {
  .nav { padding: 24px clamp(16px, 4vw, 40px) !important; }
  .hero-content { padding: 0 clamp(20px, 4vw, 80px) clamp(40px, 6vw, 80px) !important; }
}

/* 3. Hero CTA mobile padding */
@media (max-width: 640px) {
  .hero-cta { padding: 16px 28px !important; font-size: 0.85rem !important; letter-spacing: 0.12em !important; }
  .hero-daftar-btn { padding: 16px 28px !important; font-size: 0.82rem !important; margin-left: 0 !important; margin-top: 12px !important; }
}

/* 4. Footer mobile stack */
@media (max-width: 640px) {
  .footer-inner { flex-direction: column !important; gap: 16px !important; text-align: center !important; padding: 32px 18px !important; }
  .footer-inner > div { justify-content: center !important; }
  .footer-socials { gap: 14px !important; flex-wrap: wrap; justify-content: center; }
}

/* 5. Quiz timer flex layout */
.quiz-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 12px;
}
.quiz-progress { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .quiz-header { flex-direction: column; align-items: stretch !important; }
  #quiz-timer { display: inline-block; margin-left: 0 !important; }
}

/* 6. Smooth hover transitions universal */
.module-card,
.level-card,
.talent-card,
.academy-pricing-card,
.practice-card,
.modul-tab,
.modul-footer-nav-btn,
.detail-nav-back,
.esa-fab-wa {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease !important;
}

/* 7. Hover lift untuk card-card utama */
.module-card:hover,
.level-card:hover,
.practice-card:hover,
.academy-pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 15, 28, 0.12);
}

/* 8. Modal mobile fit */
@media (max-width: 640px) {
  #esa-auth-modal > div,
  #esa-activation-modal > div,
  #esa-profile-modal > div,
  #esa-onboarding-modal .esa-modal {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 12px !important;
    max-height: calc(100vh - 24px) !important;
    overflow-y: auto !important;
  }
}

/* 9. Standardize border-radius */
.module-card,
.level-card,
.practice-card,
.academy-pricing-card,
.talent-card { border-radius: 12px !important; }

/* 10. Form input focus state — accessibility */
.esa-form-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  outline: 2px solid #c9a96e !important;
  outline-offset: 2px;
  border-color: #c9a96e !important;
}

/* 11. Disabled button state */
button:disabled,
button[disabled] {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* 12. Floating WA button — di bawah modal */
.esa-fab-wa { z-index: 998 !important; }
.esa-modal-overlay,
#esa-auth-modal,
#esa-activation-modal,
#esa-profile-modal { z-index: 10000 !important; }

/* 13. Welcome strip stats alignment */
.esa-home-progress-stat-num { line-height: 1.1 !important; }
.esa-home-progress-stat-label { line-height: 1.3; }

/* 14. Quick links di welcome strip — touch friendly */
.esa-home-progress-right button[onclick] {
  min-height: 36px;
  padding: 8px 14px !important;
}

/* 15. Live class filter buttons — CSS hover */
.lc-filter-btn:hover:not(.active) {
  background: rgba(212, 175, 106, 0.1) !important;
  border-color: rgba(212, 175, 106, 0.7) !important;
}

/* 16. Talent card buttons hover */
.talent-card button:hover {
  background: rgba(212, 175, 106, 0.18) !important;
}

/* 17. Practice grid responsive */
@media (max-width: 900px) and (min-width: 641px) {
  .practices-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 18px !important; }
}
@media (max-width: 640px) {
  .practices-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* 18. Profile modal form fields stack on mobile */
@media (max-width: 640px) {
  .esa-profile-grid-2col { grid-template-columns: 1fr !important; gap: 12px !important; }
}

/* 19. Footer link row wrap */
@media (max-width: 480px) {
  .footer-inner > div > div:first-child {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center;
  }
}

/* 20. Module list mobile — hide arrow (declutter) */
@media (max-width: 480px) {
  .module-card .module-arrow { display: none; }
  .module-card { padding: 14px 16px !important; }
}

/* 21. Smooth scroll */
html { scroll-behavior: smooth; }

/* 22. Selection color brand */
::selection { background: rgba(212, 175, 106, 0.35); color: inherit; }

/* 23. Image responsive */
img { max-width: 100%; height: auto; }

/* 24. AI Tutor sidebar mobile collapse */
@media (max-width: 768px) {
  .ai-tutor-sidebar {
    position: relative !important;
    top: auto !important;
    max-height: 480px !important;
    margin-top: 24px;
    width: 100% !important;
  }
  .modul-main-inner { display: block !important; }
}

/* 25. Mobile hamburger nav — ganti deretan link berdesakan jadi menu tap-friendly */
.nav-burger { display: none; }
@media (max-width: 900px) {
  .nav { flex-wrap: nowrap !important; gap: 12px; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 42px; padding: 0 11px; flex-shrink: 0;
    background: rgba(201,169,110,0.06); border: 1px solid rgba(201,169,110,0.4);
    border-radius: 9px; cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; width: 22px; background: #c9a96e; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-right-group {
    display: none !important;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #10131f;
    border-top: 1px solid rgba(201,169,110,0.25);
    border-bottom: 1px solid rgba(201,169,110,0.25);
    box-shadow: 0 18px 44px rgba(0,0,0,0.55);
    padding: 6px 0; margin: 0; z-index: 1000;
    max-height: 80vh; overflow-y: auto;
  }
  .nav.nav-open { z-index: 1001 !important; }
  .nav.nav-open .nav-right-group { display: flex !important; }
  .nav-right-group .nav-right {
    width: 100%; padding: 15px 26px; font-size: 14px; letter-spacing: 0.1em;
    min-height: 48px; display: flex; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-right-group .nav-daftar-btn {
    margin: 12px 26px 8px !important; width: calc(100% - 52px) !important;
    padding: 14px 0 !important; font-size: 13px !important;
  }
  .nav-right-group .nav-dropdown, .nav-right-group .nav-dropdown-wrapper { width: 100%; }
}

/* 26. MOBILE POLISH v2 — kompaksi banner/hero/section, CTA stack, tipografi pas HP */
@media (max-width: 640px) {
  /* Promo banner: kompak supaya tidak makan satu layar */
  #esa-promo-banner { font-size: 11px !important; padding: 9px 38px !important; line-height: 1.4 !important; }

  /* Hero: tipografi pas + CTA stack vertikal full-width */
  .hero-headline { font-size: clamp(1.85rem, 9vw, 2.6rem) !important; line-height: 1.12 !important; margin-bottom: 24px !important; letter-spacing: 0 !important; }
  .hero-inner { display: flex !important; flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta, .hero-daftar-btn {
    width: 100% !important; margin: 0 !important; box-sizing: border-box;
    display: inline-flex !important; justify-content: center; align-items: center; text-align: center;
    padding: 15px 20px !important; font-size: 0.85rem !important; letter-spacing: 0.12em !important;
  }
  .hero-content { padding: 0 20px 28px !important; }
  .hero { min-height: auto !important; }

  /* Heading section — clamp() supaya tidak meluap di HP */
  .practices-title, .academy-pricing-title { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; line-height: 1.18 !important; }

  /* Section padding lebih kompak di HP */
  .practices-section, .offers, .testimonial, .partners { padding-top: 56px !important; padding-bottom: 56px !important; }
  .practices-inner, .offers-inner { padding-left: 20px !important; padding-right: 20px !important; }

  /* View sections (about/jalur/modul/dll.) yang dipasangi min-height:100vh inline — pangkas */
  .view > section[style*="min-height: 100vh"] { min-height: auto !important; padding-top: 56px !important; padding-bottom: 64px !important; }
}

/* 27. Modul detail panels: PPT iframe lebih ringkas di HP kecil */
@media (max-width: 520px) {
  .slides-wrap iframe { min-height: 320px !important; }
}

/* 28. Floating tombol kanan-bawah jangan overlap sticky CTA mobile */
@media (max-width: 768px) {
  .esa-fab-wa { bottom: 84px !important; }
}

/* 29. Cegah horizontal scroll diam-diam akibat elemen inline meluap */
html, body { overflow-x: hidden; }

/* 30. EMBED ACTIONS BAR — toolbar di bawah video & PPT (Layar Penuh + Buka di Tab Baru) */
.embed-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 16px; background: rgba(245,240,230,0.04);
  border: 1px solid rgba(201,169,110,0.18); border-top: none;
  font-size: 12px; color: rgba(245,240,230,0.7); flex-wrap: wrap;
}
.embed-actions > span:first-child { font-weight: 600; }
.embed-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid #c9a96e; color: #d4af6a;
  padding: 8px 14px; border-radius: 7px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; min-height: 38px; white-space: nowrap; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
}
.embed-btn:hover { background: rgba(201,169,110,0.14); color: #f0d080; border-color: #f0d080; }
@media (max-width: 520px) {
  .embed-actions { padding: 10px 12px; font-size: 11px; }
  .embed-actions > span:first-child { width: 100%; margin-bottom: 4px; }
  .embed-btn { padding: 9px 12px; font-size: 10.5px; flex: 1; justify-content: center; }
}

/* 25. Modul tabs scrollable on mobile */
@media (max-width: 640px) {
  .modul-tabs {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .modul-tab { white-space: nowrap; flex-shrink: 0; }
}

/* 25b. HP: stack Video → PPT → Quiz vertikal supaya tidak perlu pindah tab.
   Tab nav disembunyikan, semua panel tampil sebagai section terpisah dengan
   heading. Action buttons (Bookmark/Catatan/Rating) tetap di pojok kanan. */
@media (max-width: 900px) {
  #view-modul .modul-tab,
  .modul-tab { display: none !important; }
  #view-modul .modul-tabs,
  .modul-tabs {
    border-bottom: none !important;
    padding: 12px 12px 4px !important;
    justify-content: flex-end !important;
    overflow: visible !important;
  }
  .modul-panel,
  .modul-panel.active { display: block !important; }
  .modul-panel {
    margin-top: 22px !important;
    border-top: 1.5px dashed rgba(201,169,110,0.45) !important;
    padding-top: 6px !important;
  }
  .modul-panel:first-of-type { margin-top: 4px !important; border-top: none !important; }
  .modul-panel::before {
    display: block;
    margin: 0 12px 14px;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a7f4f;
    border-left: 3px solid #c9a96e;
    background: rgba(201,169,110,0.10);
    border-radius: 0 6px 6px 0;
  }
  #panel-video::before     { content: '📹 Video Pembelajaran'; }
  #panel-slides::before    { content: '📊 Materi (PPT)'; }
  #panel-quiz::before      { content: '📝 Quiz 25 Soal'; }
  #panel-liveclass::before { content: '🎬 Live Class'; }
}

/* 26. Detail nav responsive — kompakt di mobile */
@media (max-width: 640px) {
  .detail-nav { padding: 14px 16px !important; }
  .detail-nav-center { font-size: 0.95rem !important; }
  .detail-nav-back { padding: 8px 12px !important; font-size: 0.78rem !important; }
}

/* 27. About founder card mobile padding */
@media (max-width: 640px) {
  .about-founder-card { padding: 28px 18px !important; gap: 18px !important; }
}

/* 28. Talent grid mobile */
@media (max-width: 768px) {
  #talent-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important; gap: 16px !important; }
}
@media (max-width: 480px) {
  #talent-grid { grid-template-columns: 1fr !important; }
}

/* 29. Pricing card on mobile — full width, less padding */
@media (max-width: 640px) {
  .academy-pricing-card { padding: 32px 22px !important; }
}

/* 30. Improve tap feedback — active state for buttons */
button:active:not(:disabled),
.module-card:active,
.level-card:active {
  transform: translateY(0px) scale(0.98);
}

/* ================================================================
   ELEGANT WELCOME STRIP — refined typography & spacing
   ================================================================ */

/* Action card — clean, no inline styles */
.esa-home-action-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(212,175,106,0.10), rgba(212,175,106,0.02));
  border: 1px solid rgba(212,175,106,0.28);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.esa-home-action-text { flex: 1; min-width: 240px; }
.esa-home-action-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  margin-bottom: 6px;
}
.esa-home-action-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(245,240,230,0.92);
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.esa-home-action-desc strong { color: #f0d080; font-weight: 600; }
.esa-home-action-btn {
  background: #c9a96e;
  color: #0d0f1c;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.esa-home-action-btn:hover {
  background: #d4b878;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.28);
}
.esa-home-action-btn span { margin-left: 4px; opacity: 0.7; }

/* Progress bar — elegant */
.esa-home-progress-bar-wrap {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}
.esa-home-progress-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(245,240,230,0.62);
  margin-bottom: 8px;
}
.esa-home-progress-bar-label {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(245,240,230,0.88);
}
.esa-home-progress-bar-value {
  color: rgba(245,240,230,0.7);
  font-variant-numeric: tabular-nums;
}
.esa-home-progress-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.esa-home-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a96e, #f0d080);
  transition: width 0.6s ease;
  border-radius: 99px;
}

/* Stats grid — refined */
.esa-home-progress-right .esa-home-progress-stat {
  text-align: center;
  padding: 8px 4px;
}
.esa-home-progress-right .esa-home-progress-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #f0d080;
  line-height: 1;
  letter-spacing: 0.005em;
}
.esa-home-progress-right .esa-home-progress-stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  font-weight: 600;
  margin-top: 8px;
}

/* Quick links — minimal, professional */
.esa-home-quick-links {
  grid-column: 1 / -1;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.esa-home-quick-btn {
  background: transparent;
  color: rgba(245,240,230,0.7);
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.esa-home-quick-btn:hover {
  color: #f0d080;
  border-color: rgba(212,175,106,0.6);
  background: rgba(212,175,106,0.06);
  transform: translateY(-1px);
}

/* ================================================================
   PROFESSIONAL TOUCHES — typography, nav, footer refinement
   ================================================================ */

/* Nav links — refined typography */
.nav-right {
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: rgba(245,240,230,0.78);
  transition: color 0.2s ease;
}
.nav-right:hover { color: #c9a96e; }

/* Welcome name — display font */
.esa-home-progress-name {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  letter-spacing: 0.005em !important;
  color: #f5f0e6 !important;
  line-height: 1.15 !important;
  margin-bottom: 12px !important;
}

/* Welcome eyebrow — premium tracking */
.esa-home-progress-welcome {
  font-size: 10px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  color: rgba(245,240,230,0.55) !important;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Tier label — refined */
.esa-home-progress-tier-label {
  font-size: 9px !important;
  letter-spacing: 0.2em !important;
  color: rgba(245,240,230,0.45) !important;
  text-transform: uppercase;
  margin-top: 14px !important;
  margin-bottom: 6px !important;
  font-weight: 600;
}

/* Level mini badges — cleaner */
.esa-level-mini-badge {
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
  font-weight: 600 !important;
  padding: 4px 9px !important;
  border-radius: 6px !important;
}

/* Footer professional polish */
.footer { padding: 48px 24px 36px; border-top: 1px solid rgba(245,240,230,0.06); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-copy { letter-spacing: 0.04em; }

/* Section headers — refined */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c9a96e;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Mobile welcome strip refinement */
@media (max-width: 768px) {
  .esa-home-action-card { padding: 18px 18px; flex-direction: column; align-items: stretch; }
  .esa-home-action-btn { width: 100%; }
  .esa-home-progress-right .esa-home-progress-stat-num { font-size: 1.8rem; }
  .esa-home-quick-btn { font-size: 0.74rem; padding: 7px 12px; flex: 1; min-width: calc(50% - 4px); text-align: center; }
}

/* ================================================================
   REFERENSI — ETALASE BUKU (book covers as showcase)
   ================================================================ */

/* Filter chips */
.esa-ref-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 56px;
  padding: 0 8px;
}
.esa-ref-filter {
  background: transparent;
  color: rgba(245,240,230,0.7);
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.esa-ref-filter:hover {
  color: #f0d080;
  border-color: rgba(212,175,106,0.6);
  background: rgba(212,175,106,0.06);
}
.esa-ref-filter.active {
  background: #c9a96e;
  border-color: #c9a96e;
  color: #0d0f1c;
}

/* Grid etalase — uniform book aspect ratio 2:3 */
.esa-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px 24px;
  margin-bottom: 56px;
  padding: 8px 4px 24px;
}

/* Gallery — workshop & training documentation */
.esa-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.esa-gallery-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}
.esa-gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,106,0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 4px 12px rgba(212,175,106,0.12);
}
.esa-gallery-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #1a1d2e;
  background-repeat: no-repeat;
}
.esa-gallery-meta {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.esa-gallery-batch {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
}
.esa-gallery-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f5f0e6;
  line-height: 1.3;
}
.esa-gallery-desc {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: rgba(245,240,230,0.7);
  line-height: 1.55;
  margin-top: 4px;
}
@media (max-width: 600px) {
  .esa-gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .ew-role-grid { grid-template-columns: 1fr !important; }
}

/* ============================================
   CAREER HUB — landing page 3 cards
============================================ */
.career-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.career-hub-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 16px;
  padding: 0 0 32px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.career-hub-card:hover {
  transform: translateY(-6px);
  border-color: #d4af6a;
  background: linear-gradient(180deg, rgba(212,175,106,0.1), rgba(212,175,106,0.03));
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 6px 16px rgba(212,175,106,0.18);
}
.career-hub-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #1a1d2e;
  position: relative;
  margin-bottom: 24px;
}
.career-hub-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,15,28,0) 50%, rgba(13,15,28,0.85) 100%);
}
.career-hub-card-body {
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.career-hub-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  margin-bottom: 10px;
}
.career-hub-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #f5f0e6;
  line-height: 1.2;
  margin: 0 0 14px;
}
.career-hub-desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: rgba(245,240,230,0.72);
  line-height: 1.65;
  margin: 0 0 18px;
}
.career-hub-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.career-hub-bullets li {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(245,240,230,0.78);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.career-hub-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #d4af6a;
  font-weight: 700;
}
.career-hub-cta {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f0d080;
  border-top: 1px solid rgba(212,175,106,0.2);
  padding-top: 16px;
}
@media (max-width: 700px) {
  .career-hub-card { padding: 28px 24px; }
}

/* ============================================
   CAREER ADVISORY — wizard quiz + result
============================================ */
.career-hero {
  text-align: center;
  padding: 80px 32px 56px;
  max-width: 760px;
  margin: 0 auto;
}
.career-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #f5f0e6;
  margin: 0 0 18px;
  line-height: 1.15;
}
.career-hero h1 .italic { font-style: italic; color: #d4af6a; }
.career-hero p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: rgba(245,240,230,0.78);
  line-height: 1.7;
  font-style: italic;
}

.career-progress {
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.career-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.career-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a96e, #f0d080);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.career-progress-text {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  white-space: nowrap;
}

.career-question-card {
  max-width: 760px;
  margin: 0 auto 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 14px;
  padding: 36px 36px 32px;
}
.career-q-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  margin-bottom: 12px;
}
.career-q-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #f5f0e6;
  line-height: 1.3;
  margin: 0 0 28px;
}
.career-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.career-option {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 10px;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: rgba(245,240,230,0.92);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.career-option:hover {
  background: rgba(212,175,106,0.1);
  border-color: rgba(212,175,106,0.55);
  transform: translateX(4px);
}
.career-option.selected {
  background: rgba(212,175,106,0.18);
  border-color: #d4af6a;
  color: #f5f0e6;
}
.career-option-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,106,0.12);
  border: 1px solid rgba(212,175,106,0.35);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d4af6a;
  text-transform: uppercase;
}
.career-option.selected .career-option-icon {
  background: #d4af6a;
  color: #1a1d2e;
  border-color: #d4af6a;
}
.career-nav {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.career-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.career-btn-primary {
  background: linear-gradient(135deg, #c9a96e, #a07840);
  color: #1a1d2e;
}
.career-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212,175,106,0.35); }
.career-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.career-btn-secondary {
  background: transparent;
  color: #d4af6a;
  border: 1px solid rgba(212,175,106,0.45);
}
.career-btn-secondary:hover { background: rgba(212,175,106,0.08); }

/* RESULT */
.career-result {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.career-result-eyebrow {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  margin-bottom: 12px;
}
.career-result-title {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #f5f0e6;
  margin-bottom: 8px;
}
.career-result-subtitle {
  text-align: center;
  color: rgba(245,240,230,0.7);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.career-primary-card {
  background: linear-gradient(135deg, rgba(212,175,106,0.18), rgba(212,175,106,0.06));
  border: 1px solid rgba(212,175,106,0.5);
  border-radius: 18px;
  padding: 36px 36px 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.career-primary-card::before {
  content: 'JALUR REKOMENDASI UTAMA';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #d4af6a;
  background: rgba(26,29,46,0.9);
  padding: 6px 12px;
  border-radius: 100px;
}
.career-primary-jalur-id {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
}
.career-primary-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #f5f0e6;
  line-height: 1.2;
  margin: 8px 0 14px;
}
.career-match-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.career-match-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.career-match-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a96e, #f0d080);
  border-radius: 100px;
}
.career-match-pct {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: #f0d080;
  min-width: 60px;
  text-align: right;
}
.career-primary-desc {
  color: rgba(245,240,230,0.85);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}
.career-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.career-stat {
  background: rgba(26,29,46,0.55);
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 10px;
  padding: 14px 16px;
}
.career-stat-label {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.55);
  font-weight: 700;
  margin-bottom: 6px;
}
.career-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #f5f0e6;
}

.career-section-title {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  margin: 0 0 14px;
}
.career-skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.career-skills-list li {
  background: rgba(26,29,46,0.6);
  border-left: 3px solid #c9a96e;
  border-radius: 6px;
  padding: 12px 16px;
  color: rgba(245,240,230,0.92);
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.5;
}
.career-skills-list li strong { color: #f0d080; font-weight: 700; }

.career-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.career-module-card {
  background: rgba(26,29,46,0.6);
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.career-module-card:hover {
  border-color: #d4af6a;
  background: rgba(212,175,106,0.08);
  transform: translateY(-2px);
}
.career-module-card-code {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #d4af6a;
  margin-bottom: 4px;
}
.career-module-card-title {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #f5f0e6;
  line-height: 1.4;
}

.career-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.career-cta-row .career-btn { flex: 1; min-width: 200px; }

.career-secondary-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.career-secondary-card .career-primary-jalur-id { color: rgba(245,240,230,0.6); }
.career-secondary-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #f5f0e6;
  margin: 4px 0 6px;
}
.career-secondary-card-pct {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: #c9a96e;
}
@media (max-width: 600px) {
  .career-question-card { padding: 24px 20px; }
  .career-primary-card { padding: 24px 20px; }
  .career-cta-row .career-btn { min-width: 100%; }
}

.esa-book {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.esa-book:hover { transform: translateY(-8px); }
.esa-book:hover .esa-book-cover {
  box-shadow:
    -12px 18px 38px rgba(0,0,0,0.5),
    0 6px 14px rgba(212,175,106,0.18);
}

/* Book cover — 2:3 aspect ratio, leather-bound aesthetic */
.esa-book-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 4px 8px 8px 4px;
  padding: 24px 18px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow:
    -8px 12px 24px rgba(0,0,0,0.42),
    -1px 0 0 rgba(0,0,0,0.25),
    inset 1px 0 0 rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Spine effect — left side darker stripe */
.esa-book-cover-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 8px;
  background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.15) 60%, rgba(255,255,255,0.04) 100%);
  pointer-events: none;
}
.esa-book-cover::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  pointer-events: none;
}

/* Color palettes — restrained luxe */
.esa-book-p1 .esa-book-cover { background: linear-gradient(135deg, #1c2541 0%, #0b132b 100%); }
.esa-book-p2 .esa-book-cover { background: linear-gradient(135deg, #2c1810 0%, #1a0f08 100%); }
.esa-book-p3 .esa-book-cover { background: linear-gradient(135deg, #233329 0%, #14201a 100%); }
.esa-book-p4 .esa-book-cover { background: linear-gradient(135deg, #3a1c2c 0%, #21111a 100%); }
.esa-book-p5 .esa-book-cover { background: linear-gradient(135deg, #1f3a3d 0%, #0e2326 100%); }
.esa-book-p6 .esa-book-cover { background: linear-gradient(135deg, #4a2e0b 0%, #2a1a07 100%); }

/* Category band — uppercase tracking di top */
.esa-book-cover-band {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a96e;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.32);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

/* Title — embossed serif */
.esa-book-cover-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f0e6c8;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  flex: 1;
  position: relative;
  z-index: 2;
}

.esa-book-cover-author {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: rgba(245, 235, 200, 0.72);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.esa-book-cover-edition {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.78);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* Foil bottom — ESA · LIBRARY watermark */
.esa-book-cover-foil {
  position: absolute;
  bottom: 12px;
  left: 28px;
  right: 18px;
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.34);
  font-weight: 700;
  text-align: right;
  pointer-events: none;
  z-index: 1;
}

/* Meta below cover (visible) */
.esa-book-meta {
  margin-top: 14px;
  padding: 0 4px;
}
.esa-book-meta-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #f5f0e6;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.esa-book-meta-author {
  font-size: 0.72rem;
  color: rgba(245, 240, 230, 0.55);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile — tighter grid */
@media (max-width: 768px) {
  .esa-ref-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 16px; }
  .esa-book-cover { padding: 18px 14px 18px 22px; }
  .esa-book-cover-title { font-size: 0.92rem; }
  .esa-book-cover-author { font-size: 0.6rem; }
  .esa-book-cover-edition { font-size: 0.54rem; }
  .esa-book-cover-band { font-size: 0.54rem; }
  .esa-book-cover-foil { font-size: 0.46rem; left: 22px; }
  .esa-book-meta-title { font-size: 0.76rem; }
}
@media (max-width: 480px) {
  .esa-ref-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
}

/* ================================================================
   HOME FAQ SECTION — di halaman utama setelah testimonial
   ================================================================ */
.home-faq {
  padding: 120px 80px;
  background: var(--cream-soft, #f5f0e6);
  position: relative;
}
.home-faq-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.home-faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.home-faq-header .section-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
}
.home-faq-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--navy-deep, #0d0f1c);
  margin: 0 0 18px;
  letter-spacing: 0.005em;
  line-height: 1.15;
}
.home-faq-accent {
  font-style: italic;
  color: var(--gold, #c9a96e);
}
.home-faq-subtitle {
  font-size: 1.02rem;
  color: rgba(13,15,28,0.65);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}
.home-faq-wa {
  color: var(--gold, #c9a96e);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}
.home-faq-wa:hover { color: var(--gold-dark, #a07840); }

.home-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .home-faq-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.home-faq-item {
  background: #fff;
  border: 1px solid rgba(13,15,28,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.home-faq-item[open] {
  border-color: rgba(201,169,110,0.45);
  box-shadow: 0 8px 24px rgba(13,15,28,0.06);
}
.home-faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--navy-deep, #0d0f1c);
  font-size: 1rem;
  list-style: none;
  line-height: 1.45;
  transition: color 0.2s;
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary:hover { color: var(--gold-dark, #a07840); }
.home-faq-item summary > span:first-child { flex: 1; }

.home-faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201,169,110,0.12);
  color: var(--gold-dark, #a07840);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.2s;
}
.home-faq-item[open] .home-faq-chevron {
  transform: rotate(45deg);
  background: var(--gold, #c9a96e);
  color: #fff;
}

.home-faq-answer {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(13,15,28,0.05);
  padding-top: 18px;
  color: rgba(13,15,28,0.78);
  font-size: 0.94rem;
  line-height: 1.75;
  animation: esa-fade-in 0.25s ease;
}
.home-faq-answer p { margin: 0 0 12px; }
.home-faq-answer p:last-child { margin-bottom: 0; }
.home-faq-answer strong { color: var(--navy-deep, #0d0f1c); font-weight: 600; }
.home-faq-answer em { color: var(--gold-dark, #a07840); font-style: italic; }
.home-faq-answer ul {
  margin: 12px 0;
  padding-left: 20px;
  color: rgba(13,15,28,0.7);
}
.home-faq-answer li {
  padding: 4px 0;
  position: relative;
  list-style: none;
  padding-left: 18px;
}
.home-faq-answer li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dark, #a07840);
}
.home-faq-answer a {
  color: var(--gold-dark, #a07840);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-faq-answer a:hover { color: var(--navy-deep, #0d0f1c); }

.home-faq-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.home-faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold, #c9a96e);
  color: var(--navy-deep, #0d0f1c);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}
.home-faq-cta-btn:hover {
  background: var(--gold-hover, #d4b878);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201,169,110,0.25);
}
.home-faq-cta-secondary {
  background: transparent;
  color: var(--gold-dark, #a07840);
  border: 1px solid var(--gold, #c9a96e);
}
.home-faq-cta-secondary:hover {
  background: rgba(201,169,110,0.08);
  color: var(--navy-deep, #0d0f1c);
}

/* Mobile FAQ home */
@media (max-width: 768px) {
  .home-faq { padding: 80px 24px; }
  .home-faq-item summary { padding: 18px 18px; font-size: 0.94rem; }
  .home-faq-answer { padding: 0 18px 20px; padding-top: 16px; font-size: 0.9rem; }
  .home-faq-cta-btn { width: 100%; justify-content: center; }
}

/* ================================================================
   HOME PROGRESS — SIMPLIFIED clean & easy
   ================================================================ */

/* Override grid layout — single column flow */
.esa-home-progress {
  display: block !important;
  padding: 32px 40px !important;
  background: linear-gradient(135deg, #0d0f1c 0%, #1a1d2e 100%) !important;
  border: 1px solid rgba(201,169,110,0.25) !important;
  border-radius: 16px !important;
  position: relative;
}
.esa-home-progress .esa-logout-link { display: none !important; }
@media (max-width: 768px) {
  .esa-home-progress { padding: 24px 18px !important; margin: 20px 14px !important; }
}

/* HERO — avatar + identity (no XP bar, no rank icon) */
.esa-home-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 26px;
}
.esa-home-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1d2e, #0d0f1c);
  border: 2px solid rgba(201,169,110,0.5);
  overflow: hidden;
  flex-shrink: 0;
}
.esa-home-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.esa-home-identity { min-width: 0; }
.esa-home-greeting {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  font-weight: 600;
  margin-bottom: 4px;
}
.esa-home-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: #f5f0e6;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: 0.005em;
}
.esa-home-position {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.esa-home-pos-label {
  color: rgba(245,240,230,0.5);
  letter-spacing: 0.04em;
}
.esa-home-pos-value {
  color: #f0d080;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.esa-home-pos-badge {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  padding: 3px 9px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.4);
  color: #86efac;
  border-radius: 99px;
  font-weight: 700;
  text-transform: uppercase;
}

/* PROGRESS BAR — % menuju 100% */
.esa-home-progressbar {
  margin-bottom: 22px;
}
.esa-home-progressbar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.esa-home-progressbar-label {
  font-size: 0.78rem;
  color: rgba(245,240,230,0.7);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.esa-home-progressbar-pct {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #f0d080;
  line-height: 1;
  letter-spacing: 0.005em;
}
.esa-home-progressbar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.esa-home-progressbar-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a96e, #f0d080);
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(212,175,106,0.35);
}
.esa-home-progressbar-hint {
  font-size: 0.76rem;
  color: rgba(245,240,230,0.55);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ACTION CARD — modul berikutnya, simpel */
.esa-home-actioncard {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: rgba(212,175,106,0.06);
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.esa-home-actioncard-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 240px;
}
.esa-home-actioncard-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #c9a96e;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  background: rgba(13,15,28,0.4);
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 8px;
  line-height: 1;
  flex-shrink: 0;
}
.esa-home-actioncard-text { flex: 1; min-width: 0; }
.esa-home-actioncard-title {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  margin-bottom: 4px;
}
.esa-home-actioncard-desc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.08rem;
  color: rgba(245,240,230,0.9);
  line-height: 1.4;
}
.esa-home-actioncard-desc strong {
  color: #f0d080;
  font-weight: 600;
}
.esa-home-actioncard-btn {
  background: #c9a96e;
  color: #0d0f1c;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.esa-home-actioncard-btn:hover {
  background: #d4b878;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201,169,110,0.32);
}

/* STATS — 3 kolom simpel */
.esa-home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.esa-home-stat { text-align: center; }
.esa-home-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: #f0d080;
  line-height: 1;
}
.esa-home-stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  font-weight: 600;
  margin-top: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .esa-home-hero { grid-template-columns: 64px 1fr; gap: 14px; }
  .esa-home-avatar { width: 64px; height: 64px; }
  .esa-home-actioncard { padding: 16px 16px; }
  .esa-home-actioncard-body { gap: 12px; }
  .esa-home-actioncard-num { font-size: 1.2rem; padding: 6px 10px; }
  .esa-home-actioncard-btn { width: 100%; justify-content: center; }
  .esa-home-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .esa-home-stat-num { font-size: 1.5rem; }
  .esa-home-stat-label { font-size: 0.6rem; letter-spacing: 0.12em; }
}

/* HERO: Avatar + Identity + XP bar */
.esa-game-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
}

.esa-game-avatar-wrap { position: relative; }
.esa-game-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1d2e, #0d0f1c);
  border: 3px solid #c9a96e;
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(201,169,110,0.25);
}
.esa-game-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.esa-home-avatar-fallback {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a96e, #a07840);
  color: #0d0f1c;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.esa-game-avatar-rank {
  position: absolute;
  bottom: -2px; right: -4px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0d0f1c;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid #0d0f1c;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.esa-game-identity { min-width: 0; }
.esa-game-greeting {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.55);
  font-weight: 600;
  margin-bottom: 4px;
}
.esa-game-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: #f5f0e6;
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin-bottom: 8px;
}
.esa-game-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.esa-game-tier-rank {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.esa-game-tier-name {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}
.esa-game-tier-active {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  padding: 3px 9px;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.4);
  color: #86efac;
  border-radius: 99px;
  margin-left: 4px;
}

/* XP BAR — game progress */
.esa-game-xpbar { width: 100%; max-width: 540px; }
.esa-game-xpbar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-bottom: 6px;
  color: rgba(245,240,230,0.6);
}
.esa-game-xpbar-current {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0d080;
  font-variant-numeric: tabular-nums;
}
.esa-game-xpbar-next {
  letter-spacing: 0.02em;
}
.esa-game-xpbar-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.04);
}
.esa-game-xpbar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 0 12px rgba(212,175,106,0.4);
}
.esa-game-xpbar-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 24px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
}
.esa-game-xpbar-hint {
  font-size: 0.7rem;
  color: rgba(245,240,230,0.55);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Encouragement banner */
.esa-game-encourage {
  background: rgba(212,175,106,0.06);
  border-left: 2px solid #c9a96e;
  padding: 12px 18px;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.esa-game-encourage-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  color: #c9a96e;
  line-height: 0.6;
  margin-top: 6px;
}
.esa-game-encourage-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: rgba(245,240,230,0.85);
  font-size: 1.02rem;
  line-height: 1.5;
  flex: 1;
}
.esa-game-encourage-text strong {
  color: #f0d080;
  font-weight: 600;
  font-style: normal;
}

/* Quest Card — RPG quest log */
.esa-game-quest-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(212,175,106,0.10), rgba(212,175,106,0.03));
  border: 1px solid rgba(212,175,106,0.32);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.esa-game-quest-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #f0d080, #c9a96e);
}
.esa-game-quest-side {
  text-align: center;
  border-right: 1px solid rgba(212,175,106,0.2);
  padding-right: 14px;
}
.esa-game-quest-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af6a;
  font-weight: 700;
  margin-bottom: 4px;
}
.esa-game-quest-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #f0d080;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.esa-game-quest-reward {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: #86efac;
  font-weight: 700;
}
.esa-game-quest-body { min-width: 0; }
.esa-game-quest-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f5f0e6;
  margin-bottom: 4px;
  letter-spacing: 0.005em;
}
.esa-game-quest-desc {
  font-size: 0.88rem;
  color: rgba(245,240,230,0.75);
  line-height: 1.5;
}
.esa-game-quest-desc strong {
  color: #f0d080;
  font-weight: 600;
}
.esa-game-quest-btn {
  background: #c9a96e;
  color: #0d0f1c;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.esa-game-quest-btn:hover {
  background: #d4b878;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201,169,110,0.32);
}

/* Career Goal */
.esa-game-goal {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 22px;
}
.esa-game-goal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.esa-game-goal-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  font-weight: 600;
  margin-bottom: 4px;
}
.esa-game-goal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #f5f0e6;
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin-bottom: 2px;
}
.esa-game-goal-org {
  font-size: 0.78rem;
  color: rgba(245,240,230,0.55);
  letter-spacing: 0.02em;
}
.esa-game-goal-pct {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #c9a96e;
  line-height: 1;
  letter-spacing: -0.02em;
}
.esa-game-goal-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.esa-game-goal-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a96e, #f0d080);
  transition: width 0.8s ease;
  border-radius: 99px;
}
.esa-game-goal-meta {
  font-size: 0.72rem;
  color: rgba(245,240,230,0.55);
  font-style: italic;
}

/* Stats bar — 4 columns */
.esa-game-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  margin-bottom: 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.esa-game-stat { text-align: center; }
.esa-game-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #f0d080;
  line-height: 1;
  letter-spacing: 0.005em;
}
.esa-game-stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  font-weight: 600;
  margin-top: 6px;
}

/* Quick links */
.esa-game-quicklinks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.esa-game-quick-btn {
  background: transparent;
  color: rgba(245,240,230,0.7);
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.74rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.esa-game-quick-btn:hover {
  color: #f0d080;
  border-color: rgba(212,175,106,0.6);
  background: rgba(212,175,106,0.06);
  transform: translateY(-1px);
}

/* Mobile gamified */
@media (max-width: 768px) {
  .esa-game-hero { grid-template-columns: 80px 1fr; gap: 16px; }
  .esa-game-avatar { width: 80px; height: 80px; }
  .esa-game-avatar-rank { width: 28px; height: 28px; font-size: 0.74rem; }
  .esa-game-quest-card { grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; }
  .esa-game-quest-side { border-right: none; padding-right: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(212,175,106,0.18); display: flex; align-items: center; gap: 14px; justify-content: flex-start; text-align: left; }
  .esa-game-quest-side > div { margin: 0 !important; }
  .esa-game-quest-btn { width: 100%; justify-content: center; }
  .esa-game-goal-header { flex-direction: column; }
  .esa-game-goal-pct { font-size: 1.6rem; }
  .esa-game-stats { grid-template-columns: repeat(2, 1fr); gap: 12px 8px; }
  .esa-game-stat-num { font-size: 1.7rem; }
  .esa-game-quick-btn { flex: 1; min-width: calc(50% - 4px); text-align: center; }
}

/* ================================================================
   MODULE SEARCH — nav button + command-palette overlay
   ================================================================ */
.nav-search-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(201,169,110,0.08); border: 1px solid rgba(201,169,110,0.4);
  color: var(--cream); font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px;
  padding: 8px 16px; cursor: pointer; transition: background .2s, border-color .2s;
}
.nav-search-btn:hover { background: rgba(201,169,110,0.18); border-color: var(--gold); }
.nav-search-btn svg { width: 15px; height: 15px; }
@media (max-width: 900px) {
  .nav-search-btn {
    width: 100%; justify-content: flex-start; border-radius: 0; border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 26px;
    font-size: 14px; min-height: 48px; gap: 12px;
  }
}

.esa-search-overlay {
  position: fixed; inset: 0; z-index: 100000; display: none;
  justify-content: center; align-items: flex-start; padding: 10vh 16px 16px;
  background: rgba(8,10,18,0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.esa-search-box {
  width: 100%; max-width: 640px; background: #141826;
  border: 1px solid rgba(201,169,110,0.3); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); overflow: hidden;
  display: flex; flex-direction: column; max-height: 78vh;
}
.esa-search-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.esa-search-ic { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
#esaSearchInput {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--cream); font-family: var(--sans); font-size: 16px;
}
#esaSearchInput::placeholder { color: rgba(245,240,230,0.4); }
.esa-search-close {
  background: transparent; border: none; color: rgba(245,240,230,0.5);
  font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: 6px; line-height: 1;
}
.esa-search-close:hover { color: var(--cream); background: rgba(255,255,255,0.06); }
.esa-search-results { overflow-y: auto; padding: 6px; }
.esa-search-empty {
  padding: 28px 18px; text-align: center;
  color: rgba(245,240,230,0.5); font-family: var(--sans); font-size: 14px;
}
.esa-search-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: transparent; border: none; border-radius: 10px; padding: 11px 12px;
  cursor: pointer; color: var(--cream); font-family: var(--sans); transition: background .12s;
}
.esa-search-item.sel, .esa-search-item:hover { background: rgba(201,169,110,0.14); }
.esa-search-code {
  flex-shrink: 0; font-size: 11px; font-weight: 700; font-family: var(--sans);
  letter-spacing: 0.04em; color: var(--gold); background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3); border-radius: 7px;
  padding: 4px 8px; min-width: 48px; text-align: center;
}
.esa-search-body { flex: 1; min-width: 0; }
.esa-search-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--cream); }
.esa-search-title mark { background: rgba(201,169,110,0.32); color: #ffe9b8; border-radius: 3px; padding: 0 1px; }
.esa-search-meta {
  display: block; font-size: 11.5px; color: rgba(245,240,230,0.5); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.esa-search-go { flex-shrink: 0; color: rgba(201,169,110,0.6); font-size: 16px; }
.esa-search-foot {
  padding: 9px 16px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px; color: rgba(245,240,230,0.4); font-family: var(--sans);
}
.esa-search-foot kbd {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px; padding: 1px 5px; font-family: var(--sans); font-size: 10px; margin: 0 1px;
}
@media (max-width: 600px) {
  .esa-search-overlay { padding: 6vh 10px 10px; }
}
