@tailwind base;
@tailwind components;
@tailwind utilities;
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255;
  --primary-color: #291075;
  --secondary-color: #3d1a8a;
  --tertiary-color: #1a0a4a;
  --accent-color: #4c1d95;
  --light-primary: #5b21b6;
  --gradient-primary: linear-gradient(135deg, #291075 0%, #3d1a8a 100%);
  --gradient-secondary: linear-gradient(135deg, #3d1a8a 0%, #4c1d95 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground-rgb: 255, 255, 255;
    --background-start-rgb: 0, 0, 0;
    --background-end-rgb: 0, 0, 0;
  }
}

body {
  background: white;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1f2937;
}

main {
  min-height: 100vh;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
  
  .gradient-primary {
    background: var(--gradient-primary);
  }
  
  .gradient-secondary {
    background: var(--gradient-secondary);
  }
  
  .font-heading {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
  }
  
  .font-body {
    font-family: "Inter", sans-serif;
  }
}
