@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --text-light: #f9fafb;
  --text-dark: #111827;
  --bg-light: #f9fafb;
  --bg-dark: #0d0d0d;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body.light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

body.dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Accessibility focus styles */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Responsive typography */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}