/* =====================================================================
   INTRO ACADEMY - DESIGN SYSTEM & THEME
   Warna Utama: Official Logo Palette
   - Vibrant Emerald Tosca (#00B4A0) - Simbol Segitiga Play Logo
   - Deep Oceanic Slate (#104151) - Tipografi Wordmark "intro academy"
   - Soft Pearl Platinum (#E0E1E3 & #F0FDFA) - Aksen & Background
   ===================================================================== */

:root {
  /* Kunci Warna Resmi Logo */
  --brand-emerald: #00b4a0;
  --brand-navy:    #104151;
  --brand-pearl:   #e0e1e3;

  --tosca-50:  #f0fdfa;
  --tosca-100: #e0f9f5;
  --tosca-200: #bbf2ea;
  --tosca-300: #7ee5d5;
  --tosca-400: #38d1be;
  --tosca-500: #00b4a0; /* Aksen Utama Logo */
  --tosca-600: #009d8b; /* Aksi Utama */
  --tosca-700: #008173; /* Hover State */
  --tosca-800: #05665b;
  --tosca-900: #104151; /* Dark Teal Navy Logo */
  
  --bg-main: #fbfdff;
  --text-main: #104151;
  --text-muted: #5a737f;
  
  --gradient-tosca: linear-gradient(135deg, #00b4a0 0%, #009d8b 50%, #008173 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 180, 160, 0.12) 0%, rgba(16, 65, 81, 0.04) 50%, rgba(251, 253, 255, 1) 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f9fdfc 100%);
  
  --shadow-sm: 0 1px 3px rgba(16, 65, 81, 0.05), 0 1px 2px rgba(16, 65, 81, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(16, 65, 81, 0.08), 0 2px 6px -2px rgba(16, 65, 81, 0.04);
  --shadow-lg: 0 14px 25px -4px rgba(16, 65, 81, 0.10), 0 4px 10px -4px rgba(16, 65, 81, 0.05);
  --shadow-tosca: 0 10px 25px -5px rgba(0, 180, 160, 0.38);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

#beranda, #kategori, #katalog, #benefit, #testimoni, #tentang {
  scroll-margin-top: 5.5rem;
}

body {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: 
    radial-gradient(ellipse 100% 50% at 50% -5%, rgba(0, 180, 160, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 80% 45% at 95% 35%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 5% 65%, rgba(0, 180, 160, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 98%, rgba(16, 65, 81, 0.10) 0%, transparent 70%),
    linear-gradient(180deg, #f0fdfa 0%, #f5fbf9 20%, #edf9f6 45%, #f1f9fd 70%, #edf8f6 90%, #e8f5f2 100%) !important;
  background-attachment: fixed !important;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* =====================================================================
   EDHASZ.COM & SECTOR VISUAL FOUNDATION:
   Aurora Blobs, Film Grain Noise, Masked Tech Grid, Magnetic Spring
   ===================================================================== */

/* 1. Ambient Aurora Mesh Blobs (Morphing 3D Glow) */
.ambient-aurora-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -10;
  transform-style: preserve-3d;
  perspective: 1200px;
}

@keyframes auroraMorph {
  0%, 100% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  33% {
    transform: translate(35px, -45px) scale(1.08) rotate(50deg);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 55%;
  }
  66% {
    transform: translate(-25px, 30px) scale(0.95) rotate(-35deg);
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
}

.aurora-blob {
  position: absolute;
  filter: blur(85px);
  opacity: 0.55;
  animation: auroraMorph 18s ease-in-out infinite;
  will-change: transform, border-radius;
}

.blob-indigo, .blob-teal {
  top: -15%;
  left: -8%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(0, 180, 160, 0.35) 0%, rgba(0, 157, 139, 0.12) 70%, transparent 100%);
}

.blob-sky {
  top: 18%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, rgba(14, 165, 233, 0.10) 70%, transparent 100%);
  animation-delay: -6s;
}

.blob-fuchsia, .blob-mint {
  bottom: -15%;
  left: 20%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.32) 0%, rgba(16, 65, 81, 0.08) 70%, transparent 100%);
  animation-delay: -11s;
}

/* 2. Film Grain / Subtle Noise Overlay */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 3. Tech Grid Pattern with Radial Ellipse Mask */
.bg-grid-theme {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(0, 180, 160, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 180, 160, 0.07) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  z-index: 0;
}

/* 4. 3D Matte & Silver Text Depth */
.text-3d-matte {
  color: var(--brand-navy);
  text-shadow: 0 10px 30px rgba(16, 65, 81, 0.12), 0 2px 4px rgba(16, 65, 81, 0.05);
}

.gradient-text-sector {
  background: linear-gradient(135deg, #00b4a0 0%, #009d8b 50%, #008173 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 6px 14px rgba(0, 180, 160, 0.25));
}

/* =====================================================================
   SECTOR NGEDIT INSPIRED UI/UX STYLES
   ===================================================================== */

/* Floating Island Top Navbar (Sector Ngedit Capsule Style) */
.navbar-island-wrapper {
  position: sticky;
  top: 0.75rem;
  z-index: 1040;
  padding: 0 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-island {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  box-shadow: 0 12px 35px -8px rgba(16, 65, 81, 0.08), 0 2px 8px -2px rgba(0, 180, 160, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-island-wrapper.is-scrolled .navbar-island {
  padding: 0.42rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(0, 180, 160, 0.25);
  box-shadow: 0 18px 45px -10px rgba(16, 65, 81, 0.14), 0 4px 12px -2px rgba(0, 180, 160, 0.08);
}

.nav-center-pill-box {
  background: rgba(0, 180, 160, 0.05);
  border: 1px solid rgba(0, 180, 160, 0.12);
  border-radius: 9999px;
  padding: 0.25rem 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-pill-item {
  color: #475569;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.42rem 1.15rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-pill-item:hover {
  color: #008173;
  background: rgba(0, 180, 160, 0.09);
}

.nav-pill-item.active {
  background: linear-gradient(135deg, #00b4a0 0%, #008173 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 180, 160, 0.35);
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.3rem 0.85rem 0.3rem 0.35rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.user-profile-pill:hover {
  border-color: #bbf2ea;
  box-shadow: var(--shadow-md);
  color: #00b4a0;
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Hero Section (Sector Ngedit Style) */
.hero-sector {
  padding: 3.5rem 0 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-badge-sector {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(224, 249, 245, 0.9);
  border: 1px solid rgba(153, 246, 228, 0.9);
  color: #008173;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.hero-title-sector {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--brand-navy);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-desc-sector {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Primary Action Buttons */
.btn-sector-primary {
  background: linear-gradient(135deg, #00b4a0 0%, #008173 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
  border-radius: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px -4px rgba(0, 180, 160, 0.42);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-sector-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #00c4ae 0%, #009686 100%);
  box-shadow: 0 14px 28px -4px rgba(0, 180, 160, 0.52);
  color: #ffffff;
}

.btn-sector-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--brand-navy) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-sector-secondary:hover {
  background: #ffffff;
  border-color: var(--tosca-300);
  color: #00b4a0 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 180, 160, 0.1);
}

/* Mascot Float Animation */
@keyframes floatMascot {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

.mascot-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-image {
  max-width: 100%;
  width: 100%;
  max-width: 260px;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  animation: floatMascot 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 25px rgba(16, 65, 81, 0.16)) drop-shadow(0 6px 15px rgba(0, 180, 160, 0.2));
  transition: transform 0.3s ease;
}

.mascot-image:hover {
  transform: scale(1.02);
}

.mascot-glow-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 160, 0.22) 0%, rgba(153, 246, 228, 0.08) 60%, transparent 80%);
  filter: blur(28px);
  z-index: -1;
}

/* --- Brand Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

/* --- Brand Buttons --- */
.btn-tosca {
  background: var(--gradient-tosca);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.4rem;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.22);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tosca:hover {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-tosca);
}

.btn-outline-tosca {
  background: transparent;
  color: var(--tosca-600) !important;
  font-weight: 600;
  border: 1.5px solid var(--tosca-600);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.35rem;
  transition: all 0.25s ease-in-out;
}

.btn-outline-tosca:hover {
  background: var(--tosca-50);
  color: var(--tosca-700) !important;
  border-color: var(--tosca-700);
  transform: translateY(-1px);
}

/* --- Cards & Panels --- */
.card-custom {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card-custom:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 20px 40px -10px rgba(16, 65, 81, 0.12), 0 6px 16px -3px rgba(0, 180, 160, 0.08);
  border-color: rgba(0, 180, 160, 0.28);
}

/* --- Bottom CTA Banner (High Contrast Vibrant Gradient) --- */
.cta-banner-box {
  background: linear-gradient(135deg, #00b4a0 0%, #009d8b 45%, #104151 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 180, 160, 0.45), 0 8px 20px -6px rgba(16, 65, 81, 0.3) !important;
  border-radius: 28px !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}
.cta-banner-box h2 {
  color: #ffffff !important;
  font-weight: 800 !important;
}
.cta-banner-box p,
.cta-banner-box .lead {
  color: rgba(255, 255, 255, 0.95) !important;
}
.cta-banner-box .btn-cta-primary {
  background: #ffffff !important;
  color: #104151 !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 9999px;
  padding: 0.8rem 2.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
  text-decoration: none;
}
.cta-banner-box .btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  background: #f0fdfa !important;
  color: #008173 !important;
}
.cta-banner-box .btn-cta-secondary {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 9999px;
  padding: 0.8rem 2.2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  text-decoration: none;
}
.cta-banner-box .btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* --- Course Card Styling --- */
.course-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 20px 40px -10px rgba(16, 65, 81, 0.12), 0 6px 16px -3px rgba(0, 180, 160, 0.08);
  border-color: rgba(0, 180, 160, 0.28);
}

.course-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  overflow: hidden;
}

.course-thumbnail-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-thumbnail-img {
  transform: scale(1.05);
}

.course-thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
}

.badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.badge-category {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background-color: var(--tosca-100);
  color: var(--tosca-800);
  display: inline-block;
}

/* --- Form Controls --- */
.form-control, .form-select {
  border-radius: var(--radius-md);
  border: 1.5px solid #cbd5e1;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
  border-color: var(--tosca-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.input-group-text {
  border-radius: var(--radius-md);
  background-color: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: var(--text-muted);
}

/* --- Brand Navbar --- */
.navbar-brand-logo {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--tosca-700) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.navbar-brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-logo-icon {
  height: 34px;
  width: 34px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 32px;
    max-width: 155px;
  }
  .mascot-image {
    max-width: 200px !important;
    max-height: 200px !important;
  }
  .mascot-glow-bg {
    width: 150px;
    height: 150px;
  }
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-tosca);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

/* --- Hero Section Composition --- */
.hero-wrapper {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--tosca-200);
  color: var(--tosca-700);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* --- Sticky Sidebar Details --- */
.sticky-course-box {
  position: sticky;
  top: 90px;
  z-index: 10;
}

/* --- Curriculum Accordion --- */
.curriculum-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.curriculum-accordion .accordion-button {
  background-color: #ffffff;
  font-weight: 600;
  color: #0f172a;
  padding: 1rem 1.25rem;
  box-shadow: none;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
  background-color: var(--tosca-50);
  color: var(--tosca-700);
}

.lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

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

.lesson-item:hover {
  background-color: #f8fafc;
}

/* --- Filter Pills in Catalog --- */
.filter-pill {
  display: inline-block;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--tosca-400);
  color: var(--tosca-700);
  background-color: var(--tosca-50);
}

.filter-pill.active {
  background: var(--gradient-tosca);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

/* --- Testimonial Card --- */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--tosca-200);
}

/* =====================================================================
   VIDEO PLAYER & HARDENING SECURITY STYLES (TAHAP 4)
   ===================================================================== */
.video-security-container {
  background-color: #000000;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

/* Dynamic Floating Watermark */
.dynamic-watermark {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.45);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transition: all 1.2s ease-in-out;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Mask to cover external YouTube title / share link */
.youtube-click-mask {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 60px;
  z-index: 5;
  background: transparent;
}

.active-lesson {
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.08) 100%) !important;
  border-left: 3px solid var(--tosca-400) !important;
}

.player-curriculum-scroll {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.player-curriculum-scroll::-webkit-scrollbar {
  width: 5px;
}

.player-curriculum-scroll::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

/* =====================================================================
   AUTHENTICATION PAGES (Login, Register, Forgot Password)
   ===================================================================== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  background: radial-gradient(circle at 50% 15%, rgba(0, 180, 160, 0.08) 0%, transparent 60%), #f8fcfa;
  position: relative;
  overflow-x: hidden;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  box-shadow: 
    0 20px 45px -12px rgba(16, 65, 81, 0.12),
    0 8px 24px -4px rgba(0, 180, 160, 0.08);
  position: relative;
  z-index: 10;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-card:hover {
  box-shadow: 
    0 25px 55px -12px rgba(16, 65, 81, 0.15),
    0 12px 30px -4px rgba(0, 180, 160, 0.12);
}

.auth-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: inline-block;
  transition: transform 0.2s ease;
}

.auth-logo-img:hover {
  transform: scale(1.03);
}

.auth-card .form-control,
.auth-card .form-select {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  font-size: 0.925rem;
  background-color: #fbfdfe;
}

.auth-card .form-control:focus,
.auth-card .form-select:focus {
  background-color: #ffffff;
  border-color: var(--tosca-500);
  box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.15);
}

.auth-card .input-group-text {
  border-radius: 12px 0 0 12px;
  border: 1.5px solid #e2e8f0;
  border-right: none;
  background-color: #f8fafc;
  color: var(--text-muted);
}

.auth-card .input-group .form-control {
  border-radius: 0 12px 12px 0;
  border-left: none;
}

.auth-card .input-group .btn-outline-secondary {
  border: 1.5px solid #e2e8f0;
  border-left: none;
  border-radius: 0 12px 12px 0;
  background-color: #fbfdfe;
  color: var(--text-muted);
}

.auth-card .btn-tosca {
  border-radius: 14px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  background: var(--gradient-tosca);
  box-shadow: 0 10px 25px -4px rgba(0, 180, 160, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-card .btn-tosca:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(0, 180, 160, 0.45);
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-top: 1.75rem;
  transition: color 0.2s ease;
  z-index: 10;
}

.auth-back-link:hover {
  color: var(--tosca-600);
}

@media (max-width: 576px) {
  .auth-wrapper {
    padding: 2rem 1rem;
    justify-content: flex-start;
  }
  .auth-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
  }
}

/* --- Micro-Interactions & Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
  }
}

/* =====================================================================
   DARK MODE SYSTEM (EDUHASZ & SECTOR UI/UX STYLE)
   ===================================================================== */
[data-bs-theme="dark"],
[data-theme="dark"] {
  --bg-main: #0b1317;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --gradient-card: linear-gradient(180deg, #131f26 0%, #0e171c 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 14px 25px -4px rgba(0, 0, 0, 0.5);

  background-color: #0b1317 !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] body,
[data-theme="dark"] body {
  background-color: #0b1317 !important;
  color: #f1f5f9 !important;
}

/* Island Navbar Dark Mode */
[data-bs-theme="dark"] .nav-center-pill-box,
[data-theme="dark"] .nav-center-pill-box {
  background: rgba(19, 31, 38, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .nav-pill-item,
[data-theme="dark"] .nav-pill-item {
  color: #94a3b8;
}

[data-bs-theme="dark"] .nav-pill-item:hover,
[data-theme="dark"] .nav-pill-item:hover {
  color: #38d1be;
}

[data-bs-theme="dark"] .user-profile-pill,
[data-theme="dark"] .user-profile-pill {
  background: #131f26;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

[data-bs-theme="dark"] #themeToggleBtn,
[data-theme="dark"] #themeToggleBtn {
  background: #131f26 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #facc15 !important;
}

/* Hero Section Dark Mode */
[data-bs-theme="dark"] .hero-sector,
[data-theme="dark"] .hero-sector {
  background: radial-gradient(circle at 50% 15%, rgba(0, 180, 160, 0.15) 0%, rgba(11, 19, 23, 0) 70%), #0b1317;
}

[data-bs-theme="dark"] .bg-grid-theme,
[data-theme="dark"] .bg-grid-theme {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

[data-bs-theme="dark"] .hero-title-sector,
[data-theme="dark"] .hero-title-sector {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .hero-desc-sector,
[data-theme="dark"] .hero-desc-sector {
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .btn-sector-secondary,
[data-theme="dark"] .btn-sector-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

[data-bs-theme="dark"] .btn-sector-secondary:hover,
[data-theme="dark"] .btn-sector-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Cards & Sections in Dark Mode */
[data-bs-theme="dark"] .card-custom:not(.cta-banner-box),
[data-theme="dark"] .card-custom:not(.cta-banner-box) {
  background-color: #131f26 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9;
}

[data-bs-theme="dark"] .cta-banner-box,
[data-theme="dark"] .cta-banner-box {
  background: linear-gradient(135deg, rgba(0, 180, 160, 0.45) 0%, rgba(16, 65, 81, 0.88) 50%, rgba(7, 16, 20, 0.96) 100%) !important;
  border-color: rgba(0, 180, 160, 0.35) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 180, 160, 0.2) !important;
}

[data-bs-theme="dark"] .card-course,
[data-theme="dark"] .card-course {
  background-color: #131f26 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .card-course-body {
  color: #f1f5f9;
}

[data-bs-theme="dark"] .testimonial-card,
[data-theme="dark"] .testimonial-card {
  background-color: #131f26 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .testimonial-card p,
[data-theme="dark"] .testimonial-card p {
  color: #e2e8f0 !important;
}

[data-bs-theme="dark"] #benefit,
[data-theme="dark"] #benefit {
  background-color: #0e171c !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .bg-white,
[data-theme="dark"] .bg-white {
  background-color: #131f26 !important;
}

[data-bs-theme="dark"] .bg-light,
[data-theme="dark"] .bg-light {
  background-color: #0b1317 !important;
}

[data-bs-theme="dark"] .text-dark,
[data-theme="dark"] .text-dark {
  color: #f8fafc !important;
}

[data-bs-theme="dark"] .text-muted,
[data-theme="dark"] .text-muted {
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .border-slate-200\/60,
[data-theme="dark"] .border-slate-200\/60 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer in Dark Mode */
[data-bs-theme="dark"] footer,
[data-theme="dark"] footer {
  background-color: #070c0e !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* Modals & Dropdowns in Dark Mode */
[data-bs-theme="dark"] .modal-content,
[data-theme="dark"] .modal-content {
  background-color: #131f26;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

[data-bs-theme="dark"] .dropdown-menu,
[data-theme="dark"] .dropdown-menu {
  background-color: #131f26;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

[data-bs-theme="dark"] .dropdown-item,
[data-theme="dark"] .dropdown-item {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:hover {
  background-color: #1a2a33;
  color: #ffffff;
}

/* Catalog Filter Pills in Dark Mode */
[data-bs-theme="dark"] .filter-pill,
[data-theme="dark"] .filter-pill {
  background-color: #131f26;
  border-color: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

[data-bs-theme="dark"] .filter-pill:hover,
[data-theme="dark"] .filter-pill:hover {
  border-color: var(--tosca-400);
  color: #38d1be;
  background-color: rgba(0, 180, 160, 0.12);
}

[data-bs-theme="dark"] .filter-pill.active,
[data-theme="dark"] .filter-pill.active {
  background: var(--gradient-tosca);
  color: #ffffff !important;
}

