/* ============================================================
   CodeSniff — Premium Light Theme
   Brand palette: Navy #1e3a5f · Green #4caf50 · Lime #6cc644 · White
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --navy: #1e3a5f;
  --navy-deep: #152d4a;
  --navy-light: #2a4f7a;
  --green: #4caf50;
  --green-light: #6cc644;
  --lime: #8bd650;
  --teal: #3db89a;

  /* Surfaces */
  --bg: #f4f8fc;
  --bg-alt: #eaf1f9;
  --surface: #ffffff;
  --surface-alt: #f8fbff;

  /* Text */
  --text: #1a2b42;
  --text-secondary: #5a6a80;
  --text-muted: #8494a7;

  /* Borders & Shadows */
  --border: #dfe8f1;
  --border-hover: #c4d4e6;
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 16px 48px rgba(30, 58, 95, 0.10);
  --shadow-glow: 0 8px 32px rgba(76, 175, 80, 0.15);

  /* Misc */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  --grad-green: linear-gradient(135deg, var(--green) 0%, var(--lime) 100%);
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}

/* ---------- Container ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Keyframes ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@keyframes blob-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: fadeInUp 0.4s ease-out;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden {
  display: none !important;
}

.muted {
  color: var(--text-muted);
}
