:root {
  --background: 213 43% 97%;
  --foreground: 214 65% 14%;
  --card: 0 0% 100%;
  --card-foreground: 214 65% 14%;
  --muted: 213 35% 91%;
  --muted-foreground: 213 20% 50%;
  --primary: 214 65% 14%;
  --primary-foreground: 213 40% 90%;
  --secondary: 213 35% 91%;
  --secondary-foreground: 214 65% 14%;
  --accent: 211 50% 37%;
  --accent-foreground: 213 40% 90%;
  --border: 213 30% 85%;
  --input: 213 30% 85%;
  --destructive: 0 84.2% 60.2%;
  --radius: 0.5rem;

  --vantalect-charcoal: #0B1F3B;
  --vantalect-graphite: #123A63;
  --vantalect-amber: #2F5D8C;
  --vantalect-amber-light: #4A7AAD;
  --vantalect-text-primary: #C9D6E5;
  --vantalect-text-secondary: #8A9BB5;
  --vantalect-surface: #F2F5F8;
  --vantalect-surface-dark: #0B1F3B;
  --vantalect-success: #34C759;
}

.dark {
  --background: 214 65% 14%;
  --foreground: 213 40% 90%;
  --card: 214 54% 23%;
  --card-foreground: 213 40% 90%;
  --muted: 214 40% 28%;
  --muted-foreground: 213 25% 60%;
  --primary: 213 40% 90%;
  --primary-foreground: 214 65% 14%;
  --secondary: 214 40% 28%;
  --secondary-foreground: 213 40% 90%;
  --accent: 211 50% 37%;
  --accent-foreground: 213 40% 90%;
  --border: 213 40% 90% / 0.1;
  --input: 213 40% 90% / 0.1;
  --destructive: 0 62.8% 30.6%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

.text-gradient {
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--accent-foreground)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark .text-gradient {
  background: linear-gradient(135deg, hsl(213 40% 90%) 0%, hsl(211 50% 55%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.bg-gradient-accent {
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(211 50% 50%) 100%);
}

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -2.5rem;
  left: 0;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Card utility */
.as-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}

/* Custom scrollbar for dark mode */
.dark ::-webkit-scrollbar {
  width: 8px;
}
.dark ::-webkit-scrollbar-track {
  background: #0B1F3B;
}
.dark ::-webkit-scrollbar-thumb {
  background: #123A63;
  border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: #2F5D8C;
}

/* Hero animated background */
@keyframes float-orb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.08); }
}
@keyframes float-orb-alt {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(40px) scale(1.1); }
}
@keyframes float-orb-center {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}
@keyframes sweep-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(0); opacity: 0; }
  50% { transform: scale(2.5); opacity: 0.6; }
}

.hero-orb-1 {
  animation: float-orb 8s ease-in-out infinite;
}
.hero-orb-2 {
  animation: float-orb-alt 7s ease-in-out infinite 2s;
}
.hero-orb-3 {
  animation: float-orb-center 6s ease-in-out infinite 1s;
}
.hero-sweep {
  animation: sweep-line 4s linear infinite;
  animation-delay: 2s;
}
.hero-dot {
  animation: pulse-dot 3s ease-in-out infinite;
}
