/* ═══════════════════════════════════════════════════════════════
   VECTORY Design System — Obsidian × Neon
   Premium Dark Mode | AI Lab Aesthetic
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* ── Colors ─────────────────────────────── */
  --bg-primary:    #06060B;
  --bg-secondary:  #0D0D14;
  --bg-card:       #111118;
  --bg-elevated:   #16161F;
  --bg-glass:      rgba(17, 17, 24, 0.72);

  --text-primary:  #F0F0F5;
  --text-secondary:#9B9BB0;
  --text-muted:    #5E5E78;
  --text-heading:  #FFFFFF;

  --accent-cyan:   #00D4FF;
  --accent-violet: #8B5CF6;
  --accent-pink:   #EC4899;
  --accent-amber:  #F59E0B;
  --accent-green:  #10B981;
  --accent-blue:   #3B82F6;

  --glow-cyan:     0 0 20px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
  --glow-violet:   0 0 20px rgba(139, 92, 246, 0.3), 0 0 60px rgba(139, 92, 246, 0.1);
  --glow-pink:     0 0 20px rgba(236, 72, 153, 0.3);
  --glow-amber:    0 0 20px rgba(245, 158, 11, 0.3);

  --gradient-hero: linear-gradient(135deg, #06060B 0%, #0D0D1A 40%, #120D20 100%);
  --gradient-card: linear-gradient(145deg, rgba(17,17,24,0.9) 0%, rgba(13,13,20,0.95) 100%);
  --gradient-cta:  linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  --gradient-border: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet), var(--accent-pink));

  /* ── Typography ────────────────────────── */
  --font-display:  'Outfit', 'Inter', sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  /* ── Spacing ───────────────────────────── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* ── Radii ─────────────────────────────── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows ───────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);

  /* ── Transitions ───────────────────────── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-cyan); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--accent-violet); }
ul, ol { list-style: none; }

/* ═══ Typography ══════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-secondary); margin-bottom: 1em; max-width: 65ch; }

.mono { font-family: var(--font-mono); }
.text-gradient {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ Layout ══════════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section__label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
}

.section__title {
  margin-bottom: var(--space-lg);
}

.section__description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-3xl);
}

/* ═══ Grid Systems ════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

/* ═══ Utility ═════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ═══ Responsive ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding-left: var(--space-md); padding-right: var(--space-md); }
  .section { padding: var(--space-3xl) 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .container { padding-left: var(--space-md); padding-right: var(--space-md); }
  h1 { font-size: 1.8rem; }
}
