@import "tailwindcss";

@layer base {
  :root {
    /* Professional Modern Indigo & Slate Palette */
    --background: 210 40% 98%;
    --foreground: 222 47% 11%;
    
    --card: 0 0% 100%;
    --card-foreground: 222 47% 11%;
    
    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 11%;
    
    /* Primary: Modern Indigo (#4f46e5) */
    --primary: 238.7 76.5% 59%;
    --primary-foreground: 210 40% 98%;
    
    /* Secondary: Soft Slate */
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222 47% 11%;
    
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    
    /* Accent: Sky Blue */
    --accent: 199 89% 48%;
    --accent-foreground: 210 40% 98%;
    
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 238.7 76.5% 59%;
    
    --radius: 1rem;
  }

  * {
    border-color: hsl(var(--border));
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-inter), ui-sans-serif, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-jakarta), ui-sans-serif, system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
  }
}

@layer components {
  .btn-professional {
    @apply bg-indigo-600 text-white px-8 py-3.5 rounded-2xl font-black tracking-tight transition-all hover:bg-indigo-700 hover:shadow-xl hover:shadow-indigo-500/20 active:scale-95 uppercase text-[10px];
  }

  .card-professional {
    @apply bg-white border border-slate-100 rounded-[2rem] p-8 shadow-sm transition-all hover:shadow-2xl hover:shadow-indigo-500/5 hover:-translate-y-1;
  }

  .gradient-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }

/* Selection color */
::selection {
  background-color: #4f46e5;
  color: #ffffff;
}
