/* Critical CSS for above-the-fold content */

/* Base styles */
:root {
  --primary: #1E40AF;
  --secondary: #0EA5E9;
  --accent: #10B981;
  --white: #FFFFFF;
  --gradient-energy: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 50%, #10B981 100%);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--white);
  color: var(--primary);
  overflow-x: hidden;
}

/* Navbar styles */
.fixed {
  position: fixed;
}

.w-full {
  width: 100%;
}

.z-50 {
  z-index: 50;
}

.bg-white\/90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-200 {
  border-color: rgb(229, 231, 235);
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.h-20 {
  height: 5rem;
}

.items-center {
  align-items: center;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.h-12 {
  height: 3rem;
}

.w-auto {
  width: auto;
}

.hidden {
  display: none;
}

.text-gray-700 {
  color: rgb(55, 65, 81);
}

.hover\:text-blue-600:hover {
  color: rgb(37, 99, 235);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.bg-blue-600 {
  background-color: rgb(37, 99, 235);
}

.text-white {
  color: rgb(255, 255, 255);
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.hover\:bg-blue-700:hover {
  background-color: rgb(29, 78, 216);
}

/* Hero section styles - Energy sector focused */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 50%, #10B981 100%);
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.gradient-bg {
  background: linear-gradient(135deg, #1E40AF 0%, #0EA5E9 50%, #10B981 100%);
  position: absolute;
  inset: 0;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.text-center {
  text-align: center;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.font-bold {
  font-weight: 700;
}

.text-white {
  color: rgb(255, 255, 255);
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-gray-300 {
  color: rgb(209, 213, 219);
}

.mb-8 {
  margin-bottom: 2rem;
}

.flex-col {
  flex-direction: column;
}

.gap-4 {
  gap: 1rem;
}

.justify-center {
  justify-content: center;
}

.w-full {
  width: 100%;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.hero-button.primary {
  background-color: var(--secondary);
  color: white;
}

.hero-button.primary:hover {
  background-color: #0081cc;
}

.hero-button.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.mt-8 {
  margin-top: 2rem;
}

.floating-dashboard {
  position: relative;
  transition: transform 0.5s ease;
  animation: floatDashboard 6s ease-in-out infinite;
}

.dashboard-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 163, 255, 0.3), transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.play-button-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.floating-dashboard:hover .play-button-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-button i {
  font-size: 2rem;
  color: white;
}

.play-text {
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
}

/* Media queries for mobile */
@media (max-width: 768px) {
  .md\:hidden {
    display: flex;
  }
  
  .md\:flex {
    display: none;
  }
  
  .hero-section {
    padding-top: 4rem;
  }
  
  .text-3xl {
    font-size: 1.5rem;
  }
  
  .floating-dashboard {
    max-width: 90%;
    margin: 0 auto;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-button i {
    font-size: 1.5rem;
  }
  
  .play-text {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes floatDashboard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
} 