/* ==========================================================================
   ZIRA DIGITAL - CORE DESIGN SYSTEM & FOUNDATION
   Aesthetic: Minimalist Luxury / Premium Technology Consultancy
   ========================================================================== */

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

:root {
  /* Brand Colors from Zira Digital Identity */
  --navy-950: #040914;
  --navy-900: #08132B; /* Primary Deep Navy */
  --navy-850: #0C1A38;
  --navy-800: #12224A;
  --navy-700: #1B3163;
  
  --blue-600: #004BE6;
  --blue-500: #0052FF; /* Primary Electric Blue */
  --blue-400: #256DFC;
  --blue-100: #EBF2FF;
  --blue-50:  #F4F7FF;

  /* Neutrals & Surfaces */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-elevated: #FFFFFF;

  --text-primary: #08132B;
  --text-secondary: #475569;
  --text-tertiary: #64748B;
  --text-inverse: #FFFFFF;
  --text-inverse-muted: #94A3B8;

  --border-light: #F1F5F9;
  --border-base: #E2E8F0;
  --border-dark: #CBD5E1;
  --border-focus: #0052FF;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --container-max: 1240px;
  --container-narrow: 920px;
  --section-py: 110px;
  --section-py-sm: 70px;

  /* Elevation & Shadows (Refined luxury, non-muddy) */
  --shadow-sm: 0 1px 2px rgba(8, 19, 43, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(8, 19, 43, 0.05), 0 2px 6px -1px rgba(8, 19, 43, 0.02);
  --shadow-lg: 0 12px 36px -4px rgba(8, 19, 43, 0.08), 0 4px 12px -2px rgba(8, 19, 43, 0.03);
  --shadow-hover: 0 20px 48px -6px rgba(0, 82, 255, 0.09), 0 8px 16px -2px rgba(8, 19, 43, 0.04);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms ease;
  --transition-base: 250ms var(--ease-smooth);
  --transition-slow: 400ms var(--ease-smooth);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.display-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy-900);
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}

.subsection-title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--blue-500);
}

.lead-text {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

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

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background-color: var(--navy-900);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-inverse);
}

.section-dark p {
  color: var(--text-inverse-muted);
}

.section-header {
  margin-bottom: 3.75rem;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .lead-text {
  margin-left: auto;
  margin-right: auto;
}

.section-header.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--navy-900);
  color: var(--text-inverse);
  border: 1px solid var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--blue-500);
  border-color: var(--blue-500);
  color: var(--text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.28);
}

.btn-blue {
  background-color: var(--blue-500);
  color: var(--text-inverse);
  border: 1px solid var(--blue-500);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.22);
}

.btn-blue:hover {
  background-color: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 82, 255, 0.35);
}

.btn-secondary {
  background-color: var(--bg-primary);
  color: var(--navy-900);
  border: 1px solid var(--border-base);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--navy-900);
  background-color: var(--bg-secondary);
  color: var(--navy-900);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--bg-primary);
  color: var(--navy-900);
  border: 1px solid var(--bg-primary);
}

.btn-white:hover {
  background-color: var(--blue-50);
  color: var(--blue-500);
  border-color: var(--blue-50);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  border-color: var(--text-inverse);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
}

.btn-arrow svg {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow svg {
  transform: translateX(3px);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue-500);
  transition: gap var(--transition-fast);
}

.inline-link:hover {
  gap: 10px;
  color: var(--blue-600);
}

/* ==========================================================================
   Dividers & Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: var(--bg-tertiary);
  color: var(--navy-800);
}

.badge-blue {
  background-color: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid rgba(0, 82, 255, 0.12);
}

.hairline {
  height: 1px;
  background-color: var(--border-base);
  width: 100%;
  margin: 0;
  border: none;
}

/* ==========================================================================
   Subtle Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsive utility */
@media (max-width: 991px) {
  :root {
    --section-py: 80px;
  }
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --section-py: 64px;
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .btn {
    width: 100%;
  }
  .btn-group-responsive {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
}
