export interface AcademyLesson {
  id: string;
  moduleNumber: number;
  title: string;
  subtitle: string;
  description: string;
  tesaOutfit: string;
  tesaQuote: string;
  duration: string;
  difficulty: 'beginner' | 'intermediate' | 'advanced';
  prerequisites: string[];
  learningObjectives: string[];
  sections: LessonSection[];
  quiz: QuizQuestion[];
  furtherReading: { title: string; url: string }[];
}

export interface LessonSection {
  id: string;
  title: string;
  content: string; // Markdown
  codeExample?: {
    language: string;
    code: string;
    caption: string;
  };
  diagram?: string; // ASCII art or description
  tesaNote?: string; // Tesa's personal commentary
}

export interface QuizQuestion {
  id: string;
  question: string;
  options: string[];
  correctIndex: number;
  explanation: string;
  tesaReaction: { correct: string; incorrect: string };
}

export interface StudentProgress {
  lessonId: string;
  sectionsCompleted: string[];
  quizScore: number | null;
  quizAttempts: number;
  completedAt: string | null;
  startedAt: string;
}
