/**
 * Guru Calakan — Premium Brand Design System
 * Public-facing pages (index.php, diklat.php)
 * Light theme, premium ed-tech, mobile-first.
 */

/* =========================================================
   Font
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* =========================================================
   Tokens
   ========================================================= */
:root {
  /* Primary — deep midnight navy */
  --gc-navy: #0f1f3d;
  --gc-navy-light: #1a3055;
  --gc-navy-dark: #0a1628;

  /* Accent — antique gold */
  --gc-gold: #c9a227;
  --gc-gold-hover: #b08d1f;
  --gc-gold-muted: #f5edd8;

  /* Functional */
  --gc-blue: #2563eb;
  --gc-blue-light: #eff6ff;
  --gc-green: #059669;
  --gc-green-light: #ecfdf5;
  --gc-red: #dc2626;
  --gc-red-light: #fef2f2;
  --gc-purple: #7c3aed;
  --gc-purple-light: #f5f3ff;

  /* Neutrals */
  --gc-bg: #faf9f7;
  --gc-surface: #ffffff;
  --gc-text: #1a1a1a;
  --gc-text-secondary: #6b6b6b;
  --gc-text-tertiary: #9a9a9a;
  --gc-border: #e8e6e1;
  --gc-border-light: #f2f0ec;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 31, 61, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 31, 61, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 31, 61, 0.10);
  --shadow-xl: 0 24px 64px rgba(15, 31, 61, 0.14);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   Base
   ========================================================= */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--gc-bg);
  color: var(--gc-text);
  line-height: 1.6;
  font-size: var(--text-base);
}

::selection {
  background-color: var(--gc-gold-muted);
  color: var(--gc-navy);
}

:focus-visible {
  outline: 3px solid var(--gc-gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gc-text);
  letter-spacing: -0.02em;
}

.display-5 {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.display-6 {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  font-size: var(--text-xl);
  color: var(--gc-text-secondary);
  line-height: 1.7;
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar-gc {
  background-color: var(--gc-surface);
  border-bottom: 1px solid var(--gc-border);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.navbar-gc .navbar-brand {
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--gc-navy);
  letter-spacing: -0.02em;
}

.navbar-gc .nav-link {
  color: var(--gc-text-secondary);
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  position: relative;
  transition: color 0.2s var(--ease-out);
}

.navbar-gc .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background-color: var(--gc-gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out-expo);
  border-radius: var(--radius-full);
}

.navbar-gc .nav-link:hover,
.navbar-gc .nav-link:focus { color: var(--gc-navy); }

.navbar-gc .nav-link:hover::after,
.navbar-gc .nav-link:focus::after { transform: scaleX(1); }

.navbar-gc .nav-link.active {
  color: var(--gc-navy);
  font-weight: 600;
}

.navbar-gc .nav-link.active::after { transform: scaleX(1); }

.navbar-gc .navbar-toggler {
  border-color: var(--gc-border);
  padding: var(--space-2) var(--space-3);
}

/* =========================================================
   Hero
   ========================================================= */
.hero-section {
  background-color: var(--gc-navy);
  color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding-top: 12vh;
  padding-bottom: 40px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  color: #f0f0f0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.hero-logo {
  max-height: 320px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #f0f0f0;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-5);
}

.hero-text {
  color: rgba(240, 240, 240, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 4px 8px rgba(0, 0, 0, 0.4);
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.hero-illustration {
  position: relative;
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
}
.hero-illustration::before {
  content: '';
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle at 50% 55%,
              rgba(201, 162, 39, 0.28) 0%,
              rgba(201, 162, 39, 0.10) 40%,
              transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero-illustration-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (max-width: 991.98px) {
  .hero-illustration { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-illustration-img { animation: none; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(240, 240, 240, 0.6);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: scroll-bounce 2s infinite;
  pointer-events: none;
  z-index: 2;
}

.hero-scroll-indicator i {
  font-size: 1.25rem;
}

@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

@media (max-width: 991.98px) {
  .hero-scroll-indicator { display: none; }
  .hero-section { padding-bottom: 0; }
}

/* =========================================================
   Stat strip
   ========================================================= */
.stat-strip {
  background-color: var(--gc-surface);
  border-bottom: 1px solid var(--gc-border);
  padding: var(--space-10) 0;
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gc-navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--gc-text-secondary);
  font-weight: 500;
  margin-top: var(--space-2);
}

/* =========================================================
   Section headers
   ========================================================= */
.section-header {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gc-gold-hover);
  background: #fff8e1;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.section-heading {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gc-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* =========================================================
   Feature rows
   ========================================================= */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--gc-border);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-row:first-of-type { padding-top: 0; }
.feature-row:last-child { border-bottom: none; }

.feature-number {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--gc-gold);
  opacity: 0.35;
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  min-width: 80px;
}

.feature-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gc-navy);
  margin-bottom: var(--space-3);
}

.feature-text {
  color: var(--gc-text-secondary);
  line-height: 1.75;
  max-width: 65ch;
  margin-bottom: 0;
}

/* =========================================================
   Video thumbnail
   ========================================================= */
.video-thumbnail {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.video-thumb-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.video-thumbnail:hover .video-thumb-img {
  transform: scale(1.03);
}

.video-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 61, 0.25);
  transition: background 0.3s var(--ease-out);
}

.video-thumbnail:hover::after {
  background: rgba(15, 31, 61, 0.35);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--gc-surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gc-navy);
  box-shadow: var(--shadow-xl);
  z-index: 2;
  transition: transform 0.2s var(--ease-out), background 0.2s;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gc-gold);
  color: var(--gc-navy);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================================
   Section navy (Calakan meaning)
   ========================================================= */
.section-navy {
  background-color: var(--gc-navy);
  color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
  letter-spacing: 0.01em;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.btn-kuning {
  background-color: var(--gc-gold);
  color: var(--gc-navy);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-kuning:hover,
.btn-kuning:focus {
  background-color: var(--gc-gold-hover);
  color: var(--gc-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-kuning {
  border: 2px solid var(--gc-gold);
  color: var(--gc-gold);
  background: transparent;
}

.btn-outline-kuning:hover,
.btn-outline-kuning:focus {
  background-color: var(--gc-gold);
  color: var(--gc-navy);
}

.btn-primary {
  background-color: var(--gc-navy);
  border-color: var(--gc-navy);
  color: #f0f0f0;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--gc-navy-light);
  border-color: var(--gc-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  color: var(--gc-navy);
  border-color: var(--gc-navy);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--gc-navy);
  border-color: var(--gc-navy);
  color: #f0f0f0;
  transform: translateY(-2px);
}

/* =========================================================
   Diklat cards
   ========================================================= */
.diklat-card {
  border: none;
  border-radius: var(--radius-lg);
  background-color: var(--gc-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.diklat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.diklat-card .card-img-top {
  height: 220px;
  object-fit: cover;
  background-color: var(--gc-bg);
}

.diklat-card .card-body {
  padding: var(--space-6);
}

.diklat-title {
  color: var(--gc-navy);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   Badges
   ========================================================= */
.badge {
  font-weight: 600;
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-daring { background-color: var(--gc-blue-light); color: var(--gc-blue); }
.badge-luring { background-color: var(--gc-green-light); color: var(--gc-green); }
.badge-webinar { background-color: var(--gc-purple-light); color: var(--gc-purple); }
.badge-workshop { background-color: var(--gc-gold-muted); color: var(--gc-gold-hover); }

.badge.bg-light {
  background-color: var(--gc-bg) !important;
  color: var(--gc-text-secondary) !important;
  border: 1px solid var(--gc-border);
}

.badge.bg-success {
  background-color: var(--gc-green-light) !important;
  color: var(--gc-green) !important;
}

.badge.bg-danger {
  background-color: var(--gc-red-light) !important;
  color: var(--gc-red) !important;
}

/* =========================================================
   Progress
   ========================================================= */
.progress {
  background-color: var(--gc-border-light);
  border-radius: var(--radius-full);
  height: 6px;
  overflow: hidden;
}

.progress-bar {
  transition: width 0.5s var(--ease-out-expo);
}

.progress-bar.bg-success { background-color: var(--gc-green) !important; }
.progress-bar.bg-danger { background-color: var(--gc-red) !important; }

/* =========================================================
   Filter bar
   ========================================================= */
.filter-bar {
  background-color: var(--gc-surface);
  border-bottom: 1px solid var(--gc-border);
  padding: var(--space-6) 0;
}

.filter-bar .form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gc-text-secondary);
  margin-bottom: var(--space-2);
}

.filter-bar .form-control,
.filter-bar .form-select {
  border-color: var(--gc-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--gc-text);
  background-color: var(--gc-surface);
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
  border-color: var(--gc-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

/* =========================================================
   Search box
   ========================================================= */
.search-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.search-box .search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--gc-text-tertiary);
  font-size: var(--text-lg);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-10);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-family: inherit;
  background-color: var(--gc-surface);
  color: var(--gc-text);
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.2s var(--ease-out);
}

.search-box input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.3), var(--shadow-lg);
}

.search-box input::placeholder { color: var(--gc-text-tertiary); }

/* =========================================================
   Icon circles
   ========================================================= */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--gc-gold-muted);
  color: var(--gc-gold-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.icon-circle-lg {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--gc-gold-muted);
  color: var(--gc-gold-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

/* =========================================================
   Empty state
   ========================================================= */
.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  color: var(--gc-text-secondary);
}

.empty-state-icon {
  font-size: 3.5rem;
  color: var(--gc-border);
  margin-bottom: var(--space-4);
}

/* =========================================================
   Skeleton
   ========================================================= */
.skeleton {
  background: linear-gradient(90deg, var(--gc-border-light) 25%, #f5f4f2 50%, var(--gc-border-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s infinite;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; background: var(--gc-border-light); }
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer-gc {
  background-color: var(--gc-navy-dark);
  color: rgba(240, 240, 240, 0.7);
}

.footer-gc h6 {
  color: #f0f0f0;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.footer-gc a {
  color: rgba(240, 240, 240, 0.65);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
  font-size: var(--text-sm);
}

.footer-gc a:hover,
.footer-gc a:focus { color: var(--gc-gold); }

.footer-gc hr { border-color: rgba(240, 240, 240, 0.08); }

/* =========================================================
   Utilities
   ========================================================= */
.text-kuning { color: var(--gc-gold) !important; }
.text-navy { color: var(--gc-navy) !important; }
.text-putih { color: var(--gc-surface) !important; }
.bg-navy { background-color: var(--gc-navy) !important; }
.section-title { color: var(--gc-navy); font-weight: 700; }

.section-padding { padding: var(--space-16) 0; }
.section-padding-lg { padding: var(--space-24) 0; }
.section-padding-sm { padding: var(--space-10) 0; }

.hero-diklat {
  background-color: var(--gc-navy);
  padding: var(--space-20) 0 var(--space-10);
  color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.hero-diklat::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  pointer-events: none;
}

/* =========================================================
   Form controls
   ========================================================= */
.form-control:focus,
.form-select:focus {
  border-color: var(--gc-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

/* =========================================================
   Calakan highlight
   ========================================================= */
.calakan-highlight {
  color: var(--gc-gold);
  font-weight: 700;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991.98px) {
  .hero-section { min-height: auto; align-items: center; padding: var(--space-16) 0 var(--space-12); }
  .hero-section h1 { font-size: var(--text-4xl); }
  .hero-diklat { padding: var(--space-12) 0 var(--space-10); }
  .display-5 { font-size: var(--text-4xl); }
  .feature-row { gap: var(--space-5); }
  .feature-number { font-size: var(--text-4xl); min-width: 60px; }
}

@media (max-width: 767.98px) {
  .hero-section { min-height: auto; align-items: center; padding: var(--space-12) 0 var(--space-10); }
  .hero-section h1 { font-size: var(--text-3xl); }
  .hero-diklat h1 { font-size: var(--text-3xl); }
  .hero-logo { max-height: 140px; }
  .display-5 { font-size: var(--text-3xl); }
  .display-6 { font-size: var(--text-2xl); }
  .section-heading { font-size: var(--text-2xl); }
  .stat-number { font-size: var(--text-3xl); }
  .feature-row {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6) 0;
  }
  .feature-number { font-size: var(--text-3xl); }
  .section-padding { padding: var(--space-12) 0; }
  .section-padding-lg { padding: var(--space-16) 0; }
  .video-play-btn { width: 64px; height: 64px; font-size: 1.5rem; }
  .calakan-letters { gap: 3vw; }
}

@media (max-width: 575.98px) {
  .hero-logo { max-height: 120px; }
  .btn-lg { padding: var(--space-3) var(--space-6); font-size: var(--text-sm); }
}

/* =========================================================
   Hero Badge
   ========================================================= */
.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gc-gold);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(201, 162, 39, 0.3);
  margin-bottom: var(--space-5);
}

/* =========================================================
   Peta Kompetensi
   ========================================================= */
.komp-nav-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.komp-nav {
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-wrap: nowrap !important;
  border-bottom: 1.5px solid var(--gc-border);
  justify-content: center;
}

.komp-nav::-webkit-scrollbar {
  display: none;
}

.komp-scroll-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gc-border);
  border-radius: var(--radius-full);
  background: var(--gc-surface);
  color: var(--gc-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  font-size: 0.85rem;
  padding: 0;
}

.komp-scroll-btn:hover:not(:disabled) {
  background: var(--gc-navy);
  color: #fff;
  border-color: var(--gc-navy);
}

.komp-scroll-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.komp-nav .nav-link {
  color: var(--gc-text-secondary);
  font-weight: 600;
  font-size: var(--text-sm);
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0;
  padding: var(--space-3) var(--space-4);
  margin-right: var(--space-2);
  margin-bottom: -1.5px;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.komp-nav .nav-link:hover {
  color: var(--gc-navy);
  background: transparent !important;
}

.komp-nav .nav-link.active {
  color: var(--gc-navy) !important;
  background: transparent !important;
  border-bottom-color: var(--gc-gold) !important;
}

.komp-card {
  border: 1.5px solid var(--gc-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--gc-surface);
  text-align: center;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  height: 100%;
}

.komp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.komp-card--active {
  border-color: var(--gc-gold);
  background: #fffbef;
}

.komp-badge-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  display: block;
}

.komp-level-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-gold-hover);
  margin-bottom: var(--space-1);
}

.komp-level-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gc-navy);
  margin-bottom: var(--space-3);
}

.komp-diklat-label {
  font-size: var(--text-xs);
  color: var(--gc-text-tertiary);
  margin-bottom: var(--space-2);
}

.komp-chip {
  display: inline-block;
  background: var(--gc-blue-light);
  color: var(--gc-blue);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  margin: 2px;
}

/* Level Guru Calakan — intro strip (page-2 framework) */
.level-intro {
  background: linear-gradient(135deg, #fffaec 0%, #fff4d3 100%);
  border: 1.5px solid #f3e5b2;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}
.level-intro-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-weight: 700;
  color: var(--gc-navy);
  font-size: var(--text-sm);
}
.level-intro-head .badge-row {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.level-intro-head .badge-row span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}
.level-intro-head .bronze-dot { background: #cd7f32; }
.level-intro-head .silver-dot { background: #a8a9ad; }
.level-intro-head .gold-dot   { background: var(--gc-gold); }
.tier-mini {
  background: var(--gc-surface);
  border: 1.5px solid var(--gc-border);
  border-left: 5px solid var(--gc-gold);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  height: 100%;
}
.tier-mini.l1 { border-left-color: #cd7f32; }
.tier-mini.l2 { border-left-color: #a8a9ad; }
.tier-mini.l3 { border-left-color: var(--gc-gold); }
.tier-mini .tier-lbl {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gc-gold-hover);
  margin-bottom: 2px;
}
.tier-mini h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gc-navy);
}
.tier-mini p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gc-text-secondary);
}

/* =========================================================
   Katalog Teaser
   ========================================================= */
.katalog-teaser {
  background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
  border: 1.5px solid #e0e7ff;
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
}

.kat-cat-card {
  background: var(--gc-surface);
  border: 1.5px solid var(--gc-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.kat-cat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gc-gold);
}

.kat-cat-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  display: block;
}

.kat-cat-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gc-navy);
  margin-bottom: var(--space-1);
}

.kat-cat-count {
  font-size: var(--text-sm);
  color: var(--gc-text-secondary);
}

/* =========================================================
   Testimoni
   ========================================================= */
.testi-card {
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  height: 100%;
  transition: box-shadow 0.2s var(--ease-out);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
}

.testi-quote {
  font-size: var(--text-sm);
  color: var(--gc-text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-5);
}

.testi-quote::before {
  content: '\201C';
  font-size: var(--text-2xl);
  color: var(--gc-gold);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 2px;
}

.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gc-blue-light);
  color: var(--gc-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gc-navy);
}

.testi-role {
  font-size: var(--text-xs);
  color: var(--gc-text-tertiary);
}

/* Testimoni slider */
.testi-slider-wrap { position: relative; }
.testi-slider {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--space-2);
}
.testi-slider::-webkit-scrollbar { display: none; }
.testi-slide {
  flex: 0 0 calc((100% - var(--space-4) * 2) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
@media (max-width: 991px) {
  .testi-slide { flex-basis: calc((100% - var(--space-4)) / 2); }
}
@media (max-width: 575px) {
  .testi-slide { flex-basis: 100%; }
}
.testi-rating { color: var(--gc-gold); font-size: 0.85rem; letter-spacing: 1px; }
.testi-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.testi-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gc-surface);
  border: 1.5px solid var(--gc-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gc-navy);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.testi-arrow:hover:not(:disabled) {
  background: #fff8e1;
  border-color: var(--gc-gold);
}
.testi-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.testi-dots { display: flex; gap: 6px; align-items: center; }
.testi-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gc-border);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.testi-dot.active { background: var(--gc-gold); width: 22px; border-radius: 4px; }

/* =========================================================
   Karya Peserta
   ========================================================= */
.karya-chip {
  background: var(--gc-bg);
  border: 1px solid var(--gc-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gc-text-secondary);
  font-weight: 500;
}

.karya-chip-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-2);
}

/* =========================================================
   Berita & Artikel
   ========================================================= */
.berita-card {
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.berita-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.berita-img {
  height: 160px;
  background: linear-gradient(135deg, var(--gc-border-light) 0%, var(--gc-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc-text-tertiary);
  font-size: var(--text-sm);
  overflow: hidden;
}

.berita-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.berita-body {
  padding: var(--space-5);
}

.berita-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gc-gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.berita-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gc-navy);
  line-height: 1.4;
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.berita-date {
  font-size: var(--text-xs);
  color: var(--gc-text-tertiary);
}

/* =========================================================
   Navbar brand update
   ========================================================= */
.navbar-mc-brand {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gc-navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.navbar-mc-brand small {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--gc-text-tertiary);
}

/* =========================================================
   Filter chips
   ========================================================= */
.filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.filter-chips-row:last-child { margin-bottom: 0; }

.filter-chips-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gc-text-tertiary);
  white-space: nowrap;
  margin-right: var(--space-1);
}

.filter-chip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gc-border);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gc-text-secondary);
  background-color: var(--gc-surface);
  text-decoration: none;
  transition: all 0.15s var(--ease-out);
  white-space: nowrap;
  line-height: 1.4;
}

.filter-chip:hover {
  border-color: var(--gc-navy);
  color: var(--gc-navy);
  background-color: var(--gc-border-light);
  text-decoration: none;
}

.filter-chip.active {
  background-color: var(--gc-navy);
  border-color: var(--gc-navy);
  color: #f0f0f0;
  font-weight: 600;
}

.filter-chip--green.active {
  background-color: var(--gc-green);
  border-color: var(--gc-green);
  color: #fff;
}

.filter-chip--red.active {
  background-color: var(--gc-red);
  border-color: var(--gc-red);
  color: #fff;
}

.filter-chip--gold.active {
  background-color: var(--gc-gold);
  border-color: var(--gc-gold);
  color: #fff;
}

.filter-chip--reset {
  color: var(--gc-text-tertiary);
  border-color: var(--gc-border-light);
}

.filter-chip--reset:hover {
  color: var(--gc-red);
  border-color: var(--gc-red);
  background-color: var(--gc-red-light);
}

.filter-chips-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background-color: var(--gc-border);
  margin: 0 var(--space-1);
  vertical-align: middle;
  flex-shrink: 0;
}

.sort-select {
  border: 1.5px solid var(--gc-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gc-text-secondary);
  background-color: var(--gc-surface);
  padding: 5px var(--space-4) 5px var(--space-3);
  cursor: pointer;
  font-family: inherit;
}

.sort-select:focus {
  border-color: var(--gc-gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
  outline: none;
}

