/* Sree Mithra Ravi Solar Solutions - Design System & Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Color Tokens */
  --solar-navy-900: #0a192f;
  --solar-navy-800: #0d254c;
  --solar-navy-700: #13386e;
  --solar-blue-600: #1d4ed8;
  --solar-blue-500: #2563eb;
  --solar-cyan-500: #06b6d4;
  --solar-emerald-500: #10b981;
  --solar-emerald-600: #059669;
  --solar-gold-500: #f59e0b;
  --solar-gold-400: #fbbf24;

  /* Neutral Shades */
  --bg-dark: #070d19;
  --bg-slate: #0f172a;
  --bg-card-light: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  --shadow-emerald-glow: 0 0 25px rgba(16, 185, 129, 0.3);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: #f8fafc;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: var(--solar-navy-700);
  border-radius: 4px;
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
}

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

@keyframes shineEffect {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Glassmorphism Styles */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-lg);
}

.dark-glass {
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Gradient Utilities */
.hero-gradient {
  background: radial-gradient(circle at 80% 20%, #1e3a8a 0%, #0d254c 50%, #070d19 100%);
}

.gradient-text-solar {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Interactive Sliders */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #cbd5e1;
  border-radius: 4px;
}

input[type=range]::-webkit-slider-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: var(--solar-blue-600);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  border: 2px solid #ffffff;
}

/* Tab Navigation */
.tab-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn.active {
  background-color: var(--solar-navy-800);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

/* Badge Styles */
.badge-mnre {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
}

.badge-subsidy {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: white;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

/* Floating Action Bar */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-whatsapp-float {
  background: #25d366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
}

.btn-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

.btn-call-float {
  background: var(--solar-navy-800);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.4);
  transition: all 0.3s ease;
}

.btn-call-float:hover {
  transform: scale(1.1);
}
