/* ============================================
   INNOCEPTS SOLAR - Enterprise Design System
   ============================================ */

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

/* === CSS Custom Properties === */
:root {
  /* Primary Palette - Solar Energy Inspired */
  --primary-50: #FFF7ED;
  --primary-100: #FFEDD5;
  --primary-200: #FED7AA;
  --primary-300: #FDBA74;
  --primary-400: #FB923C;
  --primary-500: #F97316;
  --primary-600: #EA580C;
  --primary-700: #C2410C;
  --primary-800: #9A3412;
  --primary-900: #7C2D12;

  /* Accent - Electric Blue/Teal */
  --accent-50: #ECFEFF;
  --accent-100: #CFFAFE;
  --accent-200: #A5F3FC;
  --accent-300: #67E8F9;
  --accent-400: #22D3EE;
  --accent-500: #06B6D4;
  --accent-600: #0891B2;
  --accent-700: #0E7490;
  --accent-800: #155E75;
  --accent-900: #164E63;

  /* Neutral Palette */
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-400: #A3A3A3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-950: #0A0A0A;

  /* Semantic Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* Dark Theme Surfaces */
  --surface-primary: #0F1419;
  --surface-secondary: #151B23;
  --surface-tertiary: #1C2430;
  --surface-elevated: #212B38;
  --surface-card: rgba(21, 27, 35, 0.8);
  --surface-glass: rgba(21, 27, 35, 0.6);

  /* Text */
  --text-primary: #F0F6FC;
  --text-secondary: #8B949E;
  --text-tertiary: #6E7681;
  --text-inverse: #0F1419;

  /* Gradients */
  --gradient-solar: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #DC2626 100%);
  --gradient-energy: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #8B5CF6 100%);
  --gradient-dark: linear-gradient(180deg, #0F1419 0%, #151B23 100%);
  --gradient-hero: linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(21, 27, 35, 0.85) 50%, rgba(28, 36, 48, 0.75) 100%);
  --gradient-card: linear-gradient(145deg, rgba(33, 43, 56, 0.6) 0%, rgba(21, 27, 35, 0.8) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow-primary: 0 0 20px rgba(249, 115, 22, 0.3), 0 0 60px rgba(249, 115, 22, 0.1);
  --shadow-glow-accent: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 60px rgba(6, 182, 212, 0.1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

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

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Container */
  --container-max: 1280px;
  --container-wide: 1440px;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--surface-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--primary-300);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, var(--text-7xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); }
h4 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 75ch;
}

.text-gradient {
  background: var(--gradient-solar);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-16) 0;
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: var(--space-16) 0; }
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
  padding: var(--space-4) 0;
}

.navbar.scrolled {
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-solar);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow-primary);
}

.nav-logo span {
  color: var(--primary-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

.nav-highlight {
  border: 1px solid var(--success);
  color: var(--success) !important;
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3) !important;
  margin: 0 var(--space-2);
}

.nav-highlight:hover {
  background: rgba(16, 185, 129, 0.1) !important;
}

[data-theme="light"] .nav-highlight {
  background: rgba(16, 185, 129, 0.05);
  border-color: #059669;
  color: #059669 !important;
}

[data-theme="light"] .nav-highlight:hover {
  background: rgba(16, 185, 129, 0.15) !important;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: var(--surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary-400);
}

.nav-dropdown-item .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-dropdown-label {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-label small {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.nav-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: var(--space-2) 0;
}

.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--surface-secondary);
  z-index: var(--z-modal);
  padding: var(--space-20) var(--space-8);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-overlay);
}

.mobile-menu-overlay.open {
  display: block;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  color: var(--text-primary);
  font-size: var(--text-2xl);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4) 0;
  color: var(--text-secondary);
  font-size: var(--text-lg);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--primary-400);
}

.mobile-nav-sub {
  padding-left: var(--space-6);
}

.mobile-nav-sub .mobile-nav-link {
  font-size: var(--text-base);
  padding: var(--space-3) 0;
}

/* Hidden by default, shown inside mobile menu via media query */
.mobile-calculator-btn {
  display: none;
}

@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .mobile-toggle { display: flex; }
  .mobile-menu { display: block; }

  /* Center logo in mobile navbar */
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  /* Theme toggle + hamburger stay on the right via flex-end */
  .theme-toggle {
    margin-left: 0;
    position: relative;
    z-index: 2;
  }

  .mobile-toggle {
    margin-left: var(--space-2);
    position: relative;
    z-index: 2;
  }

  /* Mobile Solar Calculator button inside the mobile menu */
  .mobile-calculator-btn {
    display: block;
    margin-top: var(--space-4);
    margin-bottom: var(--space-4);
    text-align: center;
    padding: var(--space-3) var(--space-6);
    border: 1px solid var(--primary-500);
    border-radius: var(--radius-md);
    color: var(--primary-400);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    text-decoration: none;
  }

  .mobile-calculator-btn:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-300);
  }
}



/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-solar);
  color: white;
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.4), 0 0 80px rgba(249, 115, 22, 0.15);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-accent {
  background: var(--gradient-energy);
  color: white;
  box-shadow: var(--shadow-glow-accent);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.4), 0 0 80px rgba(6, 182, 212, 0.15);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-400);
  border: 1px solid var(--primary-500);
}

.btn-outline:hover {
  background: rgba(249, 115, 22, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* === Cards === */
.card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: var(--shadow-xl);
}

.card:hover::before {
  opacity: 1;
}

.card-glass {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.card-icon.accent {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
}

.card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.card p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  flex: 1;
}

.hero-quick-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 320px;
  z-index: 2;
  position: relative;
}

.quick-link-box {
  display: flex;
  align-items: center;
  padding: 16px 28px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--success);
  backdrop-filter: blur(8px);
  transform: skewX(-12deg);
  text-decoration: none;
  transition: all var(--transition-fast);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

.quick-link-box .ql-content {
  transform: skewX(12deg); /* Un-skew the text */
  margin: 0;
}

.quick-link-box:hover {
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  transform: skewX(-12deg) scale(1.05); /* keep the skew, grow slightly */
  color: var(--success);
}

@media (max-width: 1024px) {
  .hero-split {
    flex-direction: column;
    justify-content: center;
    gap: var(--space-6);
  }
  .hero-quick-links {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .quick-link-box {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary-400);
  margin-bottom: var(--space-6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-500);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  text-align: left;
}

.hero-stat .value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.hero-stat .value span {
  color: var(--primary-400);
}

.hero-stat .label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Animated particles background */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary-500);
  opacity: 0.3;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* === Section Headings === */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-400);
  margin-bottom: var(--space-4);
}

.section-header .overline::before,
.section-header .overline::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--primary-500);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* === Products Section === */
.product-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.25);
  box-shadow: var(--shadow-xl), var(--shadow-glow-primary);
}

.product-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image {
  transform: scale(1.05);
}

.product-card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.product-card-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--gradient-solar);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: white;
  z-index: 2;
}

.product-card-body {
  padding: var(--space-6);
}

.product-card-category {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-400);
  margin-bottom: var(--space-2);
}

.product-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.product-card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

.product-card-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-item .spec-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--primary-400);
}

.spec-item .spec-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* === Benefits / Features === */
.benefit-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
  transition: opacity var(--transition-base);
  opacity: 0;
}

.benefit-card:hover {
  border-color: rgba(249, 115, 22, 0.15);
  transform: translateY(-4px);
}

.benefit-card:hover::after {
  opacity: 1;
}

.benefit-number {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 900;
  color: rgba(249, 115, 22, 0.08);
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  line-height: 1;
}

/* === Solutions Grid === */
.solution-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: var(--shadow-lg);
}

.solution-card .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.solution-card h4 {
  font-size: var(--text-lg);
  font-weight: 600;
}

.solution-card p {
  font-size: var(--text-sm);
}

.solution-card .arrow {
  color: var(--accent-400);
  font-size: var(--text-lg);
  transition: transform var(--transition-fast);
}

.solution-card:hover .arrow {
  transform: translateX(4px);
}

/* === Testimonials === */
.testimonial-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}

.testimonial-card .stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--warning);
  font-size: var(--text-lg);
}

.testimonial-card blockquote {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-solar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: var(--text-sm);
}

.testimonial-card .author-info .name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.testimonial-card .author-info .source {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* === Contact Section === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--surface-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.form-input::placeholder {
  color: var(--text-tertiary);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.contact-info-card {
  padding: var(--space-8);
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item .info-content h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact-info-item .info-content p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* === Footer === */
.footer {
  background: var(--surface-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  text-decoration: none;
}

.footer-brand .logo span {
  color: var(--primary-400);
}

.footer-brand p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.footer-social a:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--primary-400);
  transform: translateY(-2px);
}

.footer-column h5 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.footer-column ul li {
  margin-bottom: var(--space-3);
}

.footer-column a {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--primary-400);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--primary-400);
}

/* === Scroll Animations === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* === Counter Animation === */
.counter {
  display: inline-block;
}

/* === CTA Banner === */
.cta-banner {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
  animation: rotate-bg 20s linear infinite;
}

@keyframes rotate-bg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-banner h2 {
  position: relative;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  position: relative;
  margin: 0 auto var(--space-8);
  font-size: var(--text-lg);
}

.cta-banner .btn {
  position: relative;
}

/* === Page Hero (Inner Pages) === */
.page-hero {
  padding: var(--space-32) 0 var(--space-16);
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.page-hero .breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  color: var(--primary-400);
}

.page-hero .breadcrumb .separator {
  color: var(--text-tertiary);
  opacity: 0.5;
}

.page-hero h1 {
  margin-bottom: var(--space-6);
  position: relative;
}

.page-hero p {
  margin: 0 auto;
  max-width: 600px;
  font-size: var(--text-lg);
  position: relative;
}

/* === About Section === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.about-image-wrapper .experience-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--gradient-solar);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.experience-badge .years {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: white;
  line-height: 1;
}

.experience-badge .text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.about-content .overline {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-400);
  margin-bottom: var(--space-4);
}

.about-content h2 {
  margin-bottom: var(--space-6);
}

.about-content > p {
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.about-feature-item .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.about-feature-item span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

/* === Solar Systems Comparison === */
.solar-system-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.solar-system-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: var(--shadow-xl);
}

.solar-system-card .system-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.solar-system-card h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.solar-system-card p {
  font-size: var(--text-sm);
  margin: 0 auto var(--space-6);
}

.solar-system-card .components {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.solar-system-card .components span {
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
}

/* === Blog Cards === */
.blog-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--space-6);
}

.blog-card-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.blog-card-meta .category {
  color: var(--accent-400);
  font-weight: 600;
}

.blog-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--primary-400);
}

.blog-card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-400);
  text-decoration: none;
}

.blog-card .read-more:hover {
  gap: var(--space-3);
}

/* === Partners === */
.partners-section {
  background: var(--surface-secondary);
  padding: var(--space-12) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.partners-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.partner-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text-tertiary);
  opacity: 0.5;
  transition: all var(--transition-base);
  cursor: default;
}

.partner-logo:hover {
  opacity: 0.9;
  color: var(--text-secondary);
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-solar);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-sticky);
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-primary);
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* === Decorative Elements === */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-orb.primary {
  background: rgba(249, 115, 22, 0.12);
}

.glow-orb.accent {
  background: rgba(6, 182, 212, 0.08);
}

/* Grid Lines Background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* === Page Content === */
.page-content {
  padding: var(--space-16) 0 var(--space-24);
}

.page-content .content-block {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-5);
  font-size: var(--text-3xl);
}

.page-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
}

.page-content p {
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  max-width: none;
}

.page-content ul {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.page-content ul li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-500);
}

/* === Projects Gallery === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.project-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card-body {
  padding: var(--space-6);
}

.project-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.project-card .project-location {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Loading Animation */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--surface-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, background-color 0.4s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(249, 115, 22, 0.15);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === Floating Social Widget === */
.social-widget {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
  background: var(--surface-primary);
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 12px 6px;
  box-shadow: -4px 0 15px rgba(0,0,0,0.15);
  transition: all var(--transition-base);
}

.social-widget a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--surface-secondary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.social-widget a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-widget a:hover {
  transform: scale(1.15) translateX(-4px);
  color: #fff;
}

.social-widget .sw-fb:hover { background: #1877f2; }
.social-widget .sw-ig:hover { background: #e4405f; }
.social-widget .sw-in:hover { background: #0a66c2; }
.social-widget .sw-x:hover { background: #000; }
.social-widget .sw-yt:hover { background: #ff0000; }
.social-widget .sw-wa:hover { background: #25D366; }

[data-theme="light"] .social-widget .sw-x:hover { background: #000; color: #fff; }

@media (max-width: 768px) {
  .social-widget {
    top: auto;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 6px 12px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
  }
  .social-widget a:hover {
    transform: scale(1.1) translateY(-4px);
  }
}


/* ========================================================= */
/* === COMPREHENSIVE MOBILE RESPONSIVENESS CAPABILITIES ==== */
/* ========================================================= */
@media (max-width: 768px) {
  /* Global Resets */
  .container, .container-wide {
    padding: 0 16px !important;
  }
  
  .section {
    padding: 60px 0 !important;
  }
  
  .section-sm {
    padding: 40px 0 !important;
  }
  
  /* Typography Scaling */
  h1 { font-size: 2.2rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.8rem !important; line-height: 1.3 !important; }
  h3 { font-size: 1.4rem !important; }
  p { font-size: 0.95rem !important; }
  
  .lead { font-size: 1.05rem !important; }
  
  /* Buttons */
  .btn {
    width: 100%;
    margin-bottom: 12px;
    justify-content: center;
  }
  .flex-center.gap-4 {
    flex-direction: column;
    width: 100%;
    gap: 0 !important;
  }
  
  /* Grid Breakdowns */
  .grid-2, .grid-3, .grid-4, .about-grid, .calculator-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Hero Section Alignments */
  .hero {
    padding-top: 100px !important;
    min-height: auto !important;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-badge {
    margin: 0 auto 24px auto !important;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
  }
  
  .hero-stat {
    width: 40%;
    text-align: center;
  }
  
  /* The new hero boxes on the right */
  .hero-split {
    flex-direction: column !important;
    gap: 40px !important;
  }
  
  .hero-quick-links {
    width: 100% !important;
    transform: none !important;
    gap: 12px !important;
  }
  
  .quick-link-box {
    transform: none !important;
    border-radius: var(--radius-md) !important;
    justify-content: center !important;
    padding: 16px !important;
  }
  
  .quick-link-box .ql-content {
    transform: none !important;
  }

  /* Page Heros (PM Kusum, Open Access, etc.) */
  .page-hero {
    padding: 120px 0 60px !important;
  }
  
  .page-hero h1 {
    font-size: 2.2rem !important;
  }

  /* Features & Services layout */
  .features-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer Layout */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  /* Calculator Overrides */
  .calc-results-panel {
    position: static !important;
    width: 100% !important;
    margin-top: 32px;
  }
  
  /* CTA Banner */
  .cta-banner {
    padding: 32px 20px !important;
    text-align: center;
  }
  
  /* General Spacing Overrides */
  .mb-12 { margin-bottom: 40px !important; }
  .mt-12 { margin-top: 40px !important; }
}

@media (max-width: 480px) {
  /* Extra small devices */
  .hero-split {
    padding: 0 8px !important;
  }
  h1 { font-size: 1.8rem !important; }
  h2 { font-size: 1.5rem !important; }
  .hero-stat { width: 100%; }
}


/* === Theme Toggle Button === */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-base);
  margin-left: var(--space-3);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: absolute;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Logo Images */
.nav-logo-img {
  height: 38px;
  width: auto;
  transition: opacity 0.3s ease;
}

.nav-logo-img.logo-dark { display: block; }
.nav-logo-img.logo-light { display: none; }

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-logo-img.logo-dark { display: block; }
.footer-logo-img.logo-light { display: none; }

/* ============================================
   LIGHT MODE THEME
   ============================================ */
[data-theme="light"] {
  /* Surfaces */
  --surface-primary: #FAFBFD;
  --surface-secondary: #F0F2F5;
  --surface-tertiary: #E8EBF0;
  --surface-elevated: #FFFFFF;
  --surface-card: rgba(255, 255, 255, 0.9);
  --surface-glass: rgba(255, 255, 255, 0.75);

  /* Text */
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
  --text-tertiary: #718096;
  --text-inverse: #F0F6FC;

  /* Adjusted gradients for light */
  --gradient-hero: linear-gradient(135deg, rgba(250, 251, 253, 0.93) 0%, rgba(240, 242, 245, 0.88) 50%, rgba(232, 235, 240, 0.80) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);

  /* Shadows (lighter for light mode) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-glow-primary: 0 4px 20px rgba(249, 115, 22, 0.15), 0 0 40px rgba(249, 115, 22, 0.05);
  --shadow-glow-accent: 0 4px 20px rgba(6, 182, 212, 0.15), 0 0 40px rgba(6, 182, 212, 0.05);
}

/* Light mode - toggle button */
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.08);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* Light mode - logo swap */
[data-theme="light"] .nav-logo-img.logo-dark { display: none; }
[data-theme="light"] .nav-logo-img.logo-light { display: block; }
[data-theme="light"] .footer-logo-img.logo-dark { display: none; }
[data-theme="light"] .footer-logo-img.logo-light { display: block; }

/* Light mode - Navbar */
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-dropdown-menu {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(249, 115, 22, 0.06);
}

[data-theme="light"] .nav-dropdown-item .icon {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-dropdown-divider {
  background: rgba(0, 0, 0, 0.06);
}

/* Light mode - Mobile */
[data-theme="light"] .mobile-toggle span {
  background: var(--text-primary);
}

[data-theme="light"] .mobile-menu {
  background: #FFFFFF;
}

[data-theme="light"] .mobile-nav-link {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-menu-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Light mode - Buttons */
[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text-primary);
}

/* Light mode - Cards */
[data-theme="light"] .card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.15);
}

[data-theme="light"] .card-icon {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.15);
}

[data-theme="light"] .card-icon.accent {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.15);
}

/* Light mode - Product Cards */
[data-theme="light"] .product-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .product-card:hover {
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .product-card-specs {
  background: rgba(0, 0, 0, 0.02);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Light mode - Hero */
[data-theme="light"] .hero-badge {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.15);
}

[data-theme="light"] .hero-stats {
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* Light mode - Section backgrounds */
[data-theme="light"] .benefit-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .benefit-card:hover {
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .benefit-number {
  color: rgba(0, 0, 0, 0.05);
}

/* Light mode - Solar System Cards */
[data-theme="light"] .solar-system-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .solar-system-card .components span {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
}

/* Light mode - Solution Cards */
[data-theme="light"] .solution-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .solution-card:hover {
  border-color: rgba(249, 115, 22, 0.2);
}

/* Light mode - Testimonials */
[data-theme="light"] .testimonial-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .author-avatar {
  background: rgba(249, 115, 22, 0.08);
  color: var(--primary-600);
}

/* Light mode - Blog Cards */
[data-theme="light"] .blog-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .blog-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Light mode - CTA Banner */
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #F0F6FC;
}

[data-theme="light"] .cta-banner h2 {
  color: #F0F6FC;
}

[data-theme="light"] .cta-banner p {
  color: #CBD5E1;
}

[data-theme="light"] .cta-banner .cta-inner-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #F0F6FC;
}

[data-theme="light"] .cta-banner .cta-inner-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

/* Light mode - Partners */
[data-theme="light"] .partners-section {
  background: var(--surface-secondary);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

[data-theme="light"] .partner-logo {
  color: var(--text-tertiary);
}

/* Light mode - Footer */
[data-theme="light"] .footer {
  background: #1E293B;
  color: #F0F6FC;
}

[data-theme="light"] .footer h5 {
  color: #F0F6FC;
}

[data-theme="light"] .footer a {
  color: #94A3B8;
}

[data-theme="light"] .footer a:hover {
  color: #F0F6FC;
}

[data-theme="light"] .footer p {
  color: #94A3B8;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Light mode - force dark logos in dark footer */
[data-theme="light"] .footer-logo-img.logo-dark { display: block; }
[data-theme="light"] .footer-logo-img.logo-light { display: none; }

/* Light mode - Page Hero */
[data-theme="light"] .page-hero {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

[data-theme="light"] .page-hero h1 {
  color: #F0F6FC;
}

[data-theme="light"] .page-hero p {
  color: #94A3B8;
}

[data-theme="light"] .breadcrumb a {
  color: #94A3B8;
}

[data-theme="light"] .breadcrumb span:last-child {
  color: #CBD5E1;
}

/* Light mode - About section */
[data-theme="light"] .experience-badge {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

[data-theme="light"] .about-feature-item .check {
  background: rgba(249, 115, 22, 0.1);
}

/* Light mode - Back to top */
[data-theme="light"] .back-to-top {
  background: var(--primary-500);
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
}

/* Light mode - Grid bg & Glows */
[data-theme="light"] .grid-bg {
  opacity: 0.03;
}

[data-theme="light"] .glow-orb {
  opacity: 0.08;
}

/* Light mode - Loading screen */
[data-theme="light"] .loading-screen {
  background: #FAFBFD;
}

/* Light mode - Forms */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
  background: #FFFFFF;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Light mode - smooth transition on everything */
body, .navbar, .card, .product-card, .blog-card, .testimonial-card,
.benefit-card, .solar-system-card, .solution-card, .footer,
.btn-secondary, .hero-stats, .theme-toggle, .page-hero,
.loading-screen, .mobile-menu {
  transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* === Print Styles === */
@media print {
  .navbar, .footer, .back-to-top, .mobile-menu, .theme-toggle { display: none; }
  body { background: white; color: black; }
  .hero { min-height: auto; padding: 40px 0; }
}
