/* ==========================================================================
   Velocity - Igniting Innovation | Corporate Style Sheet
   ========================================================================== */

/* --- CSS CUSTOM PROPERTIES (THEME) --- */
:root {
  /* Fonts */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, monospace;

  /* Color Palette - Premium Crisp light slate & deep corporate blue / hyper cyan accents */
  --bg-dark-base: #F8FAFC;      /* Primary Light Background (Slate 50) */
  --bg-dark-surface: #FFFFFF;   /* Card / Elevated Background (White) */
  --bg-dark-card: #F1F5F9;      /* Secondary Card Hover (Slate 100) */
  
  --accent-blue: #1D4ED8;       /* Deep Vibrant Royal Blue */
  --accent-cyan: #0E7490;       /* Cyan */
  --accent-emerald: #047857;    /* Status Green */
  --accent-amber: #B45309;      /* Warning Amber */
  
  --text-primary: #0F172A;      /* Deep Slate 900 */
  --text-secondary: #334155;    /* Slate 700 */
  --text-muted: #64748B;        /* Slate 500 */
  --text-dark: #FFFFFF;         /* Contrast Text when background is dark */

  --border-light: rgba(15, 23, 42, 0.08); /* Sophisticated subtle dark borders */
  --border-focus: rgba(29, 78, 216, 0.4);

  --gradient-brand: linear-gradient(135deg, #1D4ED8 0%, #0E7490 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(29, 78, 216, 0.08) 0%, transparent 60%);

  /* Design System Specs */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 10px 30px rgba(29, 78, 216, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: 2.75rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

/* --- SELECTION & SCROLLBAR --- */
::selection {
  background-color: var(--accent-blue);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-dark-surface);
  border: 2px solid var(--bg-dark-base);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bg-dark-card);
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-6 { gap: 3rem; }

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.relative { position: relative; }
.absolute { position: absolute; }
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }

.overflow-hidden { overflow: hidden; }

.w-full { width: 100%; }
.h-full { height: 100%; }
