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

:root {
  /* Brand Colors */
  --color-primary:       #1B2A4A;
  --color-primary-light: #2C3E6B;
  --color-secondary:     #00B4D8;
  --color-secondary-dark:#0096B7;
  --color-accent:        #90E0EF;

  /* Neutrals */
  --color-white:  #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100:#F1F5F9;
  --color-gray-200:#E2E8F0;
  --color-gray-300:#CBD5E1;
  --color-gray-400:#94A3B8;
  --color-gray-500:#64748B;
  --color-gray-600:#475569;
  --color-gray-700:#334155;
  --color-gray-800:#1E293B;
  --color-gray-900:#0F172A;

  /* Semantic */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error:   #EF4444;

  /* Light Theme (default) */
  --bg-primary:   #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card:      #FFFFFF;
  --text-primary: #1B2A4A;
  --text-secondary:#64748B;
  --text-muted:   #94A3B8;
  --border-color: #E2E8F0;
  --shadow-color: rgba(27,42,74,0.08);
  --nav-bg:       rgba(255,255,255,0.95);

  /* Typography */
  --font-family: 'Poppins', system-ui, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm:  0.375rem;
  --radius-md:  0.5rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-2xl: 1.5rem;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(27,42,74,0.10);
  --shadow-lg:  0 10px 30px rgba(27,42,74,0.12);
  --shadow-xl:  0 20px 50px rgba(27,42,74,0.16);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4,0,0.2,1);
  --transition-normal: 300ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow:   500ms cubic-bezier(0.4,0,0.2,1);

  /* Layout */
  --container-max: 1200px;
  --nav-height:    72px;
}

[data-theme="dark"] {
  --bg-primary:   #0D1B2A;
  --bg-secondary: #1B2A4A;
  --bg-card:      #1E3050;
  --text-primary: #F0F6FF;
  --text-secondary:#94A3B8;
  --text-muted:   #64748B;
  --border-color: #2C3E6B;
  --shadow-color: rgba(0,0,0,0.3);
  --nav-bg:       rgba(13,27,42,0.95);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-primary:   #0D1B2A;
    --bg-secondary: #1B2A4A;
    --bg-card:      #1E3050;
    --text-primary: #F0F6FF;
    --text-secondary:#94A3B8;
    --text-muted:   #64748B;
    --border-color: #2C3E6B;
    --shadow-color: rgba(0,0,0,0.3);
    --nav-bg:       rgba(13,27,42,0.95);
  }
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-family); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-4); }
}
