/**
 * CSP-Compliant Font Library
 * 30+ Professional Fonts using System Fonts and Web-Safe Alternatives
 * No external dependencies - fully compliant with Content Security Policy
 */

/* ========================================
   SANS-SERIF FONTS (Modern & Clean)
   ======================================== */

/* 1. Arial - Universal Sans-Serif */
@font-face {
  font-family: 'Arial';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Arial'), local('Arial Regular');
}

/* 2. Helvetica - Classic Sans-Serif */
@font-face {
  font-family: 'Helvetica';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Helvetica Neue'), local('Helvetica'), local('Arial');
}

/* 3. Segoe UI - Modern Windows Font */
@font-face {
  font-family: 'Segoe UI';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Segoe UI'), local('Segoe UI Regular');
}

/* 4. Roboto Alternative - Android-like */
@font-face {
  font-family: 'Roboto Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Segoe UI'), local('Arial'), local('Helvetica Neue');
}

/* 5. Open Sans Alternative */
@font-face {
  font-family: 'Open Sans Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Segoe UI'), local('Helvetica Neue'), local('Arial');
}

/* 6. Lato Alternative - Rounded Sans */
@font-face {
  font-family: 'Lato Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Calibri'), local('Segoe UI'), local('Arial');
}

/* 7. Ubuntu Alternative */
@font-face {
  font-family: 'Ubuntu Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Ubuntu'), local('Segoe UI'), local('Tahoma');
}

/* 8. Calibri - Microsoft Office Font */
@font-face {
  font-family: 'Calibri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Calibri'), local('Calibri Regular');
}

/* 9. Tahoma - Compact Sans-Serif */
@font-face {
  font-family: 'Tahoma';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Tahoma'), local('Tahoma Regular');
}

/* 10. Verdana - High Readability */
@font-face {
  font-family: 'Verdana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Verdana'), local('Verdana Regular');
}

/* 11. Trebuchet MS - Humanist Sans */
@font-face {
  font-family: 'Trebuchet MS';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Trebuchet MS'), local('Trebuchet');
}

/* 12. Gill Sans Alternative */
@font-face {
  font-family: 'Gill Sans Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Gill Sans'), local('Calibri'), local('Trebuchet MS');
}

/* 13. Century Gothic - Geometric Sans */
@font-face {
  font-family: 'Century Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Century Gothic'), local('CenturyGothic');
}

/* 14. Franklin Gothic Alternative */
@font-face {
  font-family: 'Franklin Gothic Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Franklin Gothic Medium'), local('Arial Narrow'), local('Arial');
}

/* 15. Montserrat Alternative - Geometric */
@font-face {
  font-family: 'Montserrat Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Century Gothic'), local('Futura'), local('Arial');
}

/* ========================================
   SERIF FONTS (Classic & Elegant)
   ======================================== */

/* 16. Times New Roman - Classic Serif */
@font-face {
  font-family: 'Times New Roman';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Times New Roman'), local('Times');
}

/* 17. Georgia - Screen-Optimized Serif */
@font-face {
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Georgia'), local('Georgia Regular');
}

/* 18. Palatino - Elegant Serif */
@font-face {
  font-family: 'Palatino';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Palatino Linotype'), local('Palatino'), local('Book Antiqua');
}

/* 19. Garamond - Classic Book Font */
@font-face {
  font-family: 'Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Garamond'), local('Garamond Regular');
}

/* 20. Cambria - Modern Serif */
@font-face {
  font-family: 'Cambria';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Cambria'), local('Cambria Regular');
}

/* 21. Book Antiqua - Traditional Serif */
@font-face {
  font-family: 'Book Antiqua';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Book Antiqua'), local('Palatino Linotype');
}

/* 22. Baskerville Alternative */
@font-face {
  font-family: 'Baskerville Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Baskerville'), local('Garamond'), local('Georgia');
}

/* ========================================
   MONOSPACE FONTS (Code & Technical)
   ======================================== */

/* 23. Courier New - Classic Monospace */
@font-face {
  font-family: 'Courier New';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Courier New'), local('Courier');
}

/* 24. Consolas - Developer Favorite */
@font-face {
  font-family: 'Consolas';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Consolas'), local('Consolas Regular');
}

/* 25. Monaco - macOS Monospace */
@font-face {
  font-family: 'Monaco';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Monaco'), local('Consolas'), local('Courier New');
}

/* 26. Lucida Console - Windows Monospace */
@font-face {
  font-family: 'Lucida Console';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Lucida Console'), local('Monaco'), local('Consolas');
}

/* ========================================
   DISPLAY & DECORATIVE FONTS
   ======================================== */

/* 27. Impact - Bold Display */
@font-face {
  font-family: 'Impact';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Impact'), local('Impact Regular');
}

/* 28. Comic Sans MS - Casual & Friendly */
@font-face {
  font-family: 'Comic Sans MS';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Comic Sans MS'), local('Comic Sans');
}

/* 29. Brush Script Alternative - Handwriting */
@font-face {
  font-family: 'Brush Script Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Brush Script MT'), local('Lucida Handwriting'), local('Comic Sans MS');
}

/* 30. Papyrus - Decorative */
@font-face {
  font-family: 'Papyrus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Papyrus'), local('Papyrus Regular');
}

/* ========================================
   SPECIALIZED FONTS
   ======================================== */

/* 31. OpenDyslexic Alternative - Accessibility */
@font-face {
  font-family: 'OpenDyslexic Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Comic Sans MS'), local('Verdana'), local('Arial');
}

/* 32. Exo 2 Alternative - Modern Geometric */
@font-face {
  font-family: 'Exo 2 Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Century Gothic'), local('Futura'), local('Helvetica Neue');
}

/* 33. Poppins Alternative - Geometric Sans */
@font-face {
  font-family: 'Poppins Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Segoe UI'), local('Calibri'), local('Arial');
}

/* 34. Raleway Alternative - Elegant Sans */
@font-face {
  font-family: 'Raleway Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Gill Sans'), local('Trebuchet MS'), local('Arial');
}

/* 35. Oswald Alternative - Condensed Sans */
@font-face {
  font-family: 'Oswald Alternative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Arial Narrow'), local('Franklin Gothic Medium'), local('Impact');
}

/* ========================================
   BOLD VARIANTS FOR KEY FONTS
   ======================================== */

@font-face {
  font-family: 'Arial';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Arial Bold'), local('Arial-Bold');
}

@font-face {
  font-family: 'Helvetica';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Helvetica Neue Bold'), local('Helvetica Bold'), local('Arial Bold');
}

@font-face {
  font-family: 'Segoe UI';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Segoe UI Bold'), local('Segoe UI Semibold');
}

@font-face {
  font-family: 'Georgia';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Georgia Bold'), local('Georgia-Bold');
}

@font-face {
  font-family: 'Times New Roman';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Times New Roman Bold'), local('Times Bold');
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.font-sans-serif {
  font-family: Arial, Helvetica, 'Segoe UI', sans-serif;
}

.font-serif {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.font-monospace {
  font-family: Consolas, Monaco, 'Courier New', monospace;
}

.font-display {
  font-family: Impact, 'Arial Black', Arial, sans-serif;
}

.font-handwriting {
  font-family: 'Comic Sans MS', 'Brush Script MT', cursive;
}

.font-accessible {
  font-family: 'Comic Sans MS', Verdana, Arial, sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
