/**
 * Theme 2 - CSS Variables
 * Extracted from Theme2 React app
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Education-themed premium palette - Deep blue with gold/amber accents */
  --background: 222 47% 6%;
  --foreground: 210 40% 98%;

  --card: 222 47% 9%;
  --card-foreground: 210 40% 98%;

  --popover: 222 47% 9%;
  --popover-foreground: 210 40% 98%;

  /* Primary: Scholarly blue */
  --primary: 217 91% 60%;
  --primary-foreground: 222 47% 6%;
  --primary-glow: 217 91% 70%;

  /* Secondary: Deep navy */
  --secondary: 222 47% 12%;
  --secondary-foreground: 210 40% 98%;

  /* Muted: Slate tones */
  --muted: 222 47% 16%;
  --muted-foreground: 215 20% 55%;

  /* Accent: Golden amber for education/achievement */
  --accent: 38 95% 55%;
  --accent-foreground: 222 47% 6%;

  /* Success: Emerald green */
  --success: 152 69% 45%;
  --success-foreground: 210 40% 98%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 222 47% 18%;
  --input: 222 47% 15%;
  --ring: 217 91% 60%;

  --radius: 0.875rem;

  /* Premium education design tokens */
  --gradient-primary: linear-gradient(135deg, hsl(217 91% 60%) 0%, hsl(38 95% 55%) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(222 47% 6%) 0%, hsl(222 60% 10%) 50%, hsl(222 47% 4%) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsl(217 91% 60% / 0.12) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsl(38 95% 55% / 0.08) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsl(217 91% 60% / 0.08) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, hsl(152 69% 45% / 0.06) 0px, transparent 50%),
                   radial-gradient(at 0% 100%, hsl(38 95% 55% / 0.1) 0px, transparent 50%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  --gradient-card: linear-gradient(135deg, hsl(222 47% 11%) 0%, hsl(222 47% 8%) 100%);
  --gradient-border: linear-gradient(135deg, hsl(217 91% 60% / 0.5) 0%, hsl(38 95% 55% / 0.5) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(38 95% 55%) 0%, hsl(28 95% 50%) 100%);
  
  /* Premium shadows */
  --shadow-sm: 0 2px 8px -2px hsl(217 91% 60% / 0.15);
  --shadow-md: 0 8px 24px -8px hsl(217 91% 60% / 0.2);
  --shadow-lg: 0 20px 60px -15px hsl(217 91% 60% / 0.25);
  --shadow-glow: 0 0 80px -20px hsl(217 91% 60% / 0.5);
  --shadow-glow-gold: 0 0 80px -20px hsl(38 95% 55% / 0.5);
  --shadow-card: 0 4px 24px -4px hsl(0 0% 0% / 0.4);
  --shadow-card-hover: 0 20px 60px -10px hsl(217 91% 60% / 0.3);
  --shadow-neon: 0 0 20px hsl(217 91% 60% / 0.4), 0 0 40px hsl(217 91% 60% / 0.2), 0 0 60px hsl(217 91% 60% / 0.1);
  --shadow-neon-gold: 0 0 20px hsl(38 95% 55% / 0.4), 0 0 40px hsl(38 95% 55% / 0.2);

  --sidebar-background: 222 47% 8%;
  --sidebar-foreground: 210 40% 98%;
  --sidebar-primary: 217 91% 60%;
  --sidebar-primary-foreground: 222 47% 6%;
  --sidebar-accent: 222 47% 12%;
  --sidebar-accent-foreground: 210 40% 98%;
  --sidebar-border: 222 47% 18%;
  --sidebar-ring: 217 91% 60%;
}

/* Base Styles */
* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Font Families */
.font-display {
  font-family: 'Sora', system-ui, sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Border Radius */
.rounded-lg {
  border-radius: var(--radius);
}

.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}

.rounded-sm {
  border-radius: calc(var(--radius) - 4px);
}

.rounded-xl {
  border-radius: calc(var(--radius) + 4px);
}

.rounded-2xl {
  border-radius: calc(var(--radius) + 8px);
}

.rounded-3xl {
  border-radius: calc(var(--radius) + 16px);
}

/* Focus States */
*:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: hsl(var(--primary) / 0.3);
  color: hsl(var(--foreground));
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--background));
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(var(--primary) / 0.5), hsl(var(--accent) / 0.5));
  border-radius: 999px;
  border: 2px solid hsl(var(--background));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, hsl(var(--primary) / 0.7), hsl(var(--accent) / 0.7));
}

