/* Wisdom Vault Academy - Custom Style System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  --bg-dark: #131313;
  --bg-near-black: #0d0d0d;
  --bg-card: #141414;
  --border-zinc: #27272a;
  --border-bright: #3f3f46;
  --text-primary: #ffffff;
  --text-muted: #c4c7c8;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Material Symbols Icon helper */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-near-black);
}
::-webkit-scrollbar-thumb {
  background: var(--border-bright);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}

/* Typography Helpers */
.font-display-hero {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .font-display-hero {
    font-size: 36px;
  }
}

.font-headline-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.font-headline-md {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.font-label-caps {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.font-label-sm {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.font-body-base {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.font-body-bold {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* Transitions & Navigation State */
.nav-link {
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background-color: #ffffff;
}

/* Page Section visibility */
.page-view {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-view.active {
  display: block;
}

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

/* MCQ Test Option Card Active States */
.mcq-option {
  transition: all 0.2s ease;
  cursor: pointer;
}

.mcq-option:hover {
  background-color: #1e1e1e;
  border-color: #3f3f46;
}

.mcq-option.selected {
  border-color: #ffffff !important;
  background-color: #1a1a1a;
}

.mcq-option.selected .radio-circle {
  border-color: #ffffff;
  background-color: #ffffff;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

/* Header logo seamless blending & smooth scroll hiding */
header {
  background-color: #000000 !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  will-change: transform;
}

header.-translate-y-full {
  transform: translateY(-100%);
}

header img {
  background-color: #000000;
  mix-blend-mode: lighten;
}

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

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

/* Card Hover & Interactive Effects */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  border-color: #ffffff;
  box-shadow: 0 12px 24px -10px rgba(255, 255, 255, 0.1);
}

