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

:root {
  --color-coal: #111827; /* gray-900 */
  --color-coal-light: #1f2937; /* gray-800 */
  --color-steel: #374151; /* gray-700 */
  --color-steel-light: #4b5563; /* gray-600 */
  --color-accent: #f59e0b; /* amber-500 */
  --color-accent-hover: #d97706; /* amber-600 */
}

/* Base resets & typography */
html {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: #0b0f17;
  color: #f3f4f6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

/* Lenis Smooth Scroll settings */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
  border: 2px solid #0f172a;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel-hover:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
}

/* Grid background helper */
.grid-bg {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Custom utility for split screen hero height */
.hero-height {
  height: 100vh;
  height: 100dvh;
}

/* Hide navigation on scroll down, show on scroll up */
.header-sticky {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
}
.header-hidden {
  transform: translateY(-100%);
}

/* Custom timeline bullet pulse */
.pulse-amber {
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* Split-screen panels */
.split-panel {
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

/* Spec tables */
.spec-table th {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.spec-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
