/* BeBetter custom styles */
:root {
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

/* Smooth card hover */
.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

/* Lesson content typography */
.lesson-content h2 {
  @apply text-2xl font-bold mt-8 mb-4 text-white;
}
.lesson-content h3 {
  @apply text-xl font-semibold mt-6 mb-3 text-brand-300;
}
.lesson-content p {
  @apply text-slate-300 leading-relaxed mb-4;
}
.lesson-content ul {
  @apply list-disc list-inside space-y-2 text-slate-300 mb-6;
}
.lesson-content .story {
  @apply bg-brand-500/10 border-l-4 border-brand-400 pl-4 py-3 my-6 rounded-r-xl;
}
.lesson-content .main-point {
  @apply bg-surface-800 border border-white/10 rounded-2xl p-5 my-6;
}
.lesson-content .action {
  @apply bg-emerald-500/10 border border-emerald-500/20 rounded-2xl p-5 my-6;
}

/* Progress animation */
#progressBar {
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}
