@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  --background: #f8fafc;
  --foreground: #0f172a;
  
  --card-bg: rgba(255, 255, 255, 0.65);
  --card-border: rgba(226, 232, 240, 0.7);
  --card-hover-bg: rgba(255, 255, 255, 0.85);
  --card-hover-border: rgba(14, 165, 233, 0.4);
  
  --accent: #0ea5e9;
  --accent-rgb: 14, 165, 233;
  --accent-hover: #0284c7;
  
  --primary: #0f172a;
  --secondary: #475569;
  --muted: #64748b;
  --border: rgba(226, 232, 240, 0.8);
  
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: rgba(15, 23, 42, 0.04);

  --nav-bg: rgba(248, 250, 252, 0.75);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.08), 0 8px 24px -4px rgba(0, 0, 0, 0.06);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme='dark'] {
  --background: #060913;
  --foreground: #f1f5f9;
  
  --card-bg: rgba(15, 23, 42, 0.5);
  --card-border: rgba(30, 41, 59, 0.6);
  --card-hover-bg: rgba(15, 23, 42, 0.7);
  --card-hover-border: rgba(14, 165, 233, 0.6);
  
  --primary: #f8fafc;
  --secondary: #cbd5e1;
  --muted: #94a3b8;
  --border: rgba(30, 41, 59, 0.7);
  
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(30, 41, 59, 0.5);
  --glass-shadow: rgba(0, 0, 0, 0.25);

  --nav-bg: rgba(6, 9, 19, 0.75);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.35), 0 2px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.45), 0 4px 12px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.55), 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100vh;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

/* Background glowing lights for premium design */
body::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  top: 40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, rgba(139, 92, 246, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

input, button, select, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* Global utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme='dark'] .gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
