/* Skenario Bisnis Academy - Style System */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  /* Color Tokens */
  --bg-base: #030712;
  --bg-surface: #0a0f1d;
  --bg-card: rgba(15, 23, 42, 0.55);
  --bg-card-hover: rgba(30, 41, 59, 0.7);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(147, 51, 234, 0.4);

  --color-primary: #9333ea;
  --color-primary-rgb: 147, 51, 234;
  --color-primary-glow: rgba(147, 51, 234, 0.15);
  --color-primary-hover: #7e22ce;

  --color-accent: #f97316;
  --color-accent-rgb: 249, 115, 22;
  --color-accent-glow: rgba(249, 115, 22, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-light: #f5f7fa;
  --text-muted: #64748b;

  /* Layout Tokens */
  --radius-card: 18px;
  --radius-btn: 10px;
  --radius-badge: 9999px;
  --container-max: 1280px;

  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Beams & Grids */
.beams-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#beams-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  filter: blur(40px);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at top, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black, transparent 70%);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-primary);
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.mobile-nav-actions {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.3s ease;
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--color-primary);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow:
    0 4px 20px rgba(147, 51, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-text {
  color: var(--text-secondary);
  background: transparent;
  padding: 0.75rem 1.25rem;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 2rem 6rem;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.25);
  color: #c084fc;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-badge);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-graphic-wrapper {
  position: relative;
}

.hero-glow-back {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  display: block;
  transition: var(--transition-smooth);
}

.hero-img:hover {
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 30px 60px -10px rgba(147, 51, 234, 0.12),
    0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* Statistics Section */
.stats-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-card);
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px -10px var(--color-primary-glow);
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-card-blue .stat-num {
  color: #c084fc;
  text-shadow: 0 0 15px rgba(96, 165, 250, 0.2);
}
.stat-card-orange .stat-num {
  color: #f97316;
  text-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}
.stat-card-purple .stat-num {
  color: #c084fc;
  text-shadow: 0 0 15px rgba(192, 132, 252, 0.2);
}
.stat-card-green .stat-num {
  color: #34d399;
  text-shadow: 0 0 15px rgba(52, 211, 153, 0.2);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

/* Course Category & Grid Section */
.courses-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  font-size: 1.05rem;
  font-weight: 400;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.filter-tab.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.course-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(147, 51, 234, 0.3);
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.8),
    0 0 25px -5px var(--color-primary-glow);
}

.course-image-wrapper {
  position: relative;
  height: auto;
  overflow: hidden;
}

.course-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.course-card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.course-badge {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.course-badge-accent {
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #ff9d5c;
}

.course-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.course-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* Card Syllabus preview */
.course-syllabus-preview {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.syllabus-title-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.syllabus-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  list-style: none;
}

.syllabus-item {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.syllabus-item svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3;
}

.course-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.course-stat-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fbbf24;
  font-weight: 600;
}

.course-rating svg {
  width: 14px;
  height: 14px;
  fill: #fbbf24;
}

.course-price-container {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 1rem 0 0.5rem 0;
  padding: 0.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.75rem;
}

.course-price-promo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent);
}

.course-price-original {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.course-mentor {
  display: flex;
  flex-direction: column;
}

.mentor-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mentor-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.course-card-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.course-card-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
  z-index: 10;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.75);
}

.faq-item.active {
  border-color: rgba(147, 51, 234, 0.3);
  box-shadow: 0 10px 25px -10px var(--color-primary-glow);
}

.faq-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.faq-item:hover .faq-question {
  color: var(--text-light);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--text-secondary);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 3px;
  left: 9px;
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-icon {
  transform: rotate(135deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background-color: var(--color-primary);
}

.faq-collapse {
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer Section */
.footer {
  background: #02040a;
  border-top: 1px solid var(--border-color);
  padding: 5rem 2rem 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-menu-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-menu-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-menu-link:hover {
  color: var(--text-primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--color-primary-glow);
  border-color: var(--color-primary);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Interactive Syllabus Drawer (Slide-out Panel) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 4, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: -550px;
  width: 520px;
  max-width: 100vw;
  height: 100%;
  background: var(--bg-surface);
  z-index: 210;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  border-left: 1px solid var(--border-color);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  right: 0;
}

.drawer-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.drawer-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.drawer-content {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.drawer-hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.drawer-meta-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.drawer-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 8px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.drawer-pill-orange {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #ffa166;
}

.drawer-syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.drawer-syllabus-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.drawer-syllabus-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
}

.drawer-syllabus-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

.drawer-syllabus-item.bonus-topic svg {
  stroke: var(--color-accent);
}

.drawer-footer {
  padding: 1.75rem 2rem;
  border-top: 1px solid var(--border-color);
  background: rgba(10, 15, 29, 0.95);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-price-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-price-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.drawer-price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.drawer-price-discount {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

/* Skeleton Loading Screens */
#loading-skeleton {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#loading-skeleton.hidden {
  opacity: 0;
  pointer-events: none;
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

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

.skeleton-nav {
  height: 70px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.skeleton-logo {
  width: 180px;
  height: 24px;
  border-radius: 4px;
}

.skeleton-menu {
  display: flex;
  gap: 2rem;
}

.skeleton-menu-item {
  width: 80px;
  height: 16px;
  border-radius: 4px;
}

.skeleton-btn {
  width: 110px;
  height: 38px;
  border-radius: 8px;
}

.skeleton-hero {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

.skeleton-hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skeleton-tag {
  width: 130px;
  height: 26px;
  border-radius: 12px;
}

.skeleton-title {
  width: 90%;
  height: 60px;
  border-radius: 8px;
}

.skeleton-subtitle {
  width: 80%;
  height: 20px;
  border-radius: 4px;
  margin-top: 0.5rem;
}

.skeleton-subtitle-2 {
  width: 70%;
  height: 20px;
  border-radius: 4px;
}

.skeleton-ctas {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.skeleton-cta-1 {
  width: 150px;
  height: 48px;
  border-radius: 10px;
}

.skeleton-cta-2 {
  width: 150px;
  height: 48px;
  border-radius: 10px;
}

.skeleton-hero-right {
  width: 100%;
  height: 380px;
  border-radius: 20px;
}

.skeleton-stats {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.skeleton-stat-card {
  height: 120px;
  border-radius: var(--radius-card);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 8rem;
    text-align: center;
  }

  .badge-tag {
    align-self: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-img {
    max-width: 600px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-contact {
    grid-column: span 2;
  }

  .skeleton-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .skeleton-hero-right {
    max-width: 600px;
    margin: 0 auto;
  }
  .skeleton-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.25rem;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo img {
    height: 38px !important;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(3, 7, 18, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 2rem 3rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
    z-index: 999;
  }

  .nav-menu-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    list-style: none;
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.6rem 1.75rem;
    border-radius: 99px;
    transition: all 0.2s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #ffffff;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: 320px;
  }

  .mobile-nav-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-contact {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .drawer {
    width: 100%;
  }

  .skeleton-menu {
    display: none;
  }
  .skeleton-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
