/* SolarSquare CSS Design System & Theme Styles - Electric Blue Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #2563EB;
  --primary-blue-hover: #1D4ED8;
  --primary-blue-light: #EFF6FF;
  --dark-slate: #0F172A;
  --slate-card: #1E293B;
  --slate-border: #334155;
  --accent-cyan: #0EA5E9;
  --accent-gold: #F59E0B;
  --soft-slate: #F8FAFC;
  --body-font: 'Inter', sans-serif;
  --heading-font: 'Outfit', sans-serif;
}

body {
  font-family: var(--body-font);
  background-color: #F8FAFC;
  color: #0F172A;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--heading-font);
}

/* Glassmorphism Header & Components */
.glass-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.dark-glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Animations */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spin-slow 18s linear infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(37, 99, 235, 0.4); }
  50% { box-shadow: 0 0 30px rgba(14, 165, 233, 0.8); }
}

.animate-glow {
  animation: pulse-glow 3s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Solar Ray Gradient & Backgrounds */
.bg-solar-gradient {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #0C4A6E 100%);
}

.bg-blue-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #0284C7 100%);
}

.bg-cyan-badge {
  background: linear-gradient(90deg, #0EA5E9 0%, #0284C7 100%);
}

/* Range Input Styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563EB;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
  border: 3px solid #FFFFFF;
  transition: transform 0.15s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Accordion Smooth Expand */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.active {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0F172A;
}
::-webkit-scrollbar-thumb {
  background: #2563EB;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1D4ED8;
}

/* Card Hover Elevation */
.hover-lift {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
}
