/* ============================================================
   C-Fritts Power — Ultra-Modern Clean-Tech Design System
   Primary Theme: Emerald Energy (#059669) & Solar Gold (#F59E0B)
   Typography: Plus Jakarta Sans + Inter + DM Serif Display
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Brand Green / Emerald */
  --green-50: #ecfdf5;
  --green-100: #d1fae5;
  --green-200: #a7f3d0;
  --green-300: #6ee7b7;
  --green-400: #34d399;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;
  --green-800: #065f46;
  --green-900: #064e3b;
  --green-950: #022c22;

  /* Solar Amber / Orange Accent */
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --orange-500: #ff6a00;
  --orange-600: #e55d00;

  /* Neutrals & Titanium Slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #080d1a;

  /* Brand shortcuts */
  --brand-green: #059669;
  --brand-green-light: #10b981;
  --brand-green-dark: #047857;
  --brand-orange: #f59e0b;
  --brand-orange-hover: #d97706;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.14);
  --shadow-2xl: 0 32px 64px -16px rgba(15, 23, 42, 0.22);
  --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.35);
  --shadow-glow-amber: 0 0 30px rgba(245, 158, 11, 0.35);
  --shadow-card-hover: 0 20px 40px -15px rgba(5, 150, 105, 0.18);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Base Reset & Typography ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-800);
  background: var(--slate-50);
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
  line-height: 1.6;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Ensure clean desktop container bounds without full-width stretching */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1360px;
  }
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.font-serif-display {
  font-family: 'DM Serif Display', Georgia, serif;
}

/* ── Keyframe Animations ─────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}

@keyframes pulseGlowGreen {
  0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.25); }
  50% { box-shadow: 0 0 35px rgba(16, 185, 129, 0.6); }
}

@keyframes shimmerGlow {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes ripplePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ── Animation Classes ───────────────────────────────────── */
.animate-fade-in-up {
  animation: fadeInUp 0.8s var(--ease-premium) forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.7s var(--ease-premium) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s var(--ease-premium) forwards;
}

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

.animate-pulse-glow {
  animation: pulseGlowGreen 3.5s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
  background-size: 200% 100%;
  animation: shimmerGlow 3s infinite;
}

/* Scroll reveal triggers */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-premium), transform 0.85s var(--ease-premium);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll.reveal-left {
  transform: translateX(-35px);
}
.reveal-on-scroll.reveal-left.revealed {
  transform: translateX(0);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(35px);
}
.reveal-on-scroll.reveal-right.revealed {
  transform: translateX(0);
}

.reveal-on-scroll.reveal-scale {
  transform: scale(0.94);
}
.reveal-on-scroll.reveal-scale.revealed {
  transform: scale(1);
}

/* Stagger delay */
.stagger-children > *:nth-child(1) { transition-delay: 0.06s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.18s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.30s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.36s; }

/* ── Glassmorphism & Modern Surfaces ─────────────────────── */
.glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-green {
  background: rgba(4, 120, 87, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

.dark-glass-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

/* ── Modern Buttons ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  box-shadow: 0 4px 18px rgba(5, 150, 105, 0.35);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.5);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.35);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.85rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background: transparent;
  color: #059669;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  border: 2px solid #059669;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  text-decoration: none;
}

.btn-outline-green:hover {
  background: #059669;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

/* ── Premium Cards ───────────────────────────────────────── */
.premium-card {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-premium);
  border: 1px solid rgba(226, 232, 240, 0.85);
  position: relative;
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green-300);
}

.premium-feature-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.4s var(--ease-premium);
  position: relative;
}

.premium-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.15);
  border-color: var(--green-200);
}

.premium-card-gradient-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #f59e0b);
}

/* ── Section Header Badges ───────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  background: linear-gradient(135deg, var(--green-50) 0%, #e6fcf5 100%);
  color: var(--green-800);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--green-300);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.section-badge-amber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  background: var(--amber-50);
  color: var(--amber-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--amber-300);
}

.section-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 680px;
}

/* ── Gradients ───────────────────────────────────────────── */
.gradient-green {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.gradient-green-radial {
  background: radial-gradient(circle at top right, #059669, #064e3b 80%);
}

.gradient-dark {
  background: linear-gradient(135deg, #0f172a 0%, #080d1a 100%);
}

.gradient-hero-overlay {
  background: linear-gradient(180deg, rgba(2, 44, 34, 0.82) 0%, rgba(8, 13, 26, 0.88) 100%);
}

.gradient-footer {
  background: linear-gradient(160deg, #043d2c 0%, #0a1428 60%, #032b1e 100%);
}

/* ── Top Header Utility Bar ──────────────────────────────── */
.top-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Sticky Nav ──────────────────────────────────────────── */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.35s var(--ease-premium);
}

.nav-sticky.scrolled {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
  background: rgba(4, 120, 87, 0.98);
}

/* ── Dropdown Mega Menu ──────────────────────────────────── */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: all 0.25s var(--ease-premium);
  pointer-events: none;
}

.group:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-xl);
  transition: all 0.2s var(--ease-premium);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--green-50);
  transform: translateX(4px);
}

/* ── Stat Card in Dark Sections ──────────────────────────── */
.stat-card-luxury {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.5rem;
  transition: all 0.35s var(--ease-premium);
  position: relative;
  overflow: hidden;
}

.stat-card-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #34d399, #fbbf24);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card-luxury:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

.stat-card-luxury:hover::before {
  opacity: 1;
}

/* ── Solar Savings & Subsidy Calculator ──────────────────── */
.calc-card {
  background: white;
  border-radius: var(--radius-3xl);
  box-shadow: 0 25px 60px -15px rgba(5, 150, 105, 0.15), 0 0 0 1px rgba(5, 150, 105, 0.1);
  overflow: hidden;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #10b981 0%, #e2e8f0 100%);
  outline: none;
  transition: all 0.2s;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #059669;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.5);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #10b981;
}

.calc-result-box {
  background: linear-gradient(145deg, #064e3b 0%, #0f172a 100%);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(52, 211, 153, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* ── Interactive Flip / Service Card ─────────────────────── */
.flip-card {
  perspective: 1200px;
  height: 320px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-premium);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.75rem;
}

.flip-card-front {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-md);
  transition: border-color 0.3s;
}

.flip-card-front:hover {
  border-color: var(--green-300);
}

.flip-card-back {
  background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
  transform: rotateY(180deg);
  box-shadow: var(--shadow-xl);
  color: white;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

/* ── Infinite Brand Marquee ──────────────────────────────── */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 0.6rem 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrollMarquee 32s linear infinite;
  will-change: transform;
  align-items: center;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ── Interactive FAQ Accordion ───────────────────────────── */
.faq-item {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  transition: all 0.3s var(--ease-premium);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--green-400);
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.1);
}

.faq-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--slate-800);
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-item.active .faq-btn {
  color: var(--green-700);
}

.faq-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  transition: all 0.3s var(--ease-premium);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--green-600);
  color: white;
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-premium), padding 0.4s var(--ease-premium);
  padding: 0 1.5rem;
}

.faq-item.active .faq-content {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ── Filter Tabs ─────────────────────────────────────────── */
.filter-tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-600);
  background: white;
  border: 1px solid var(--slate-200);
  transition: all 0.25s var(--ease-premium);
  cursor: pointer;
}

.filter-tab-btn:hover {
  border-color: var(--green-400);
  color: var(--green-700);
}

.filter-tab-btn.active {
  background: #059669;
  color: white;
  border-color: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

/* ── Floating Action Bar (WhatsApp & Call) ───────────────── */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 90;
}

.floating-btn-whatsapp {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.3s var(--ease-bounce);
  text-decoration: none;
  position: relative;
}

.floating-btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25d366;
  animation: ripplePulse 2.5s infinite;
  z-index: -1;
}

.floating-btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-btn-call {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #059669;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
  transition: all 0.3s var(--ease-bounce);
  text-decoration: none;
}

.floating-btn-call:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.6);
}

/* ── Timeline ────────────────────────────────────────────── */
.timeline-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #10b981 0%, #059669 50%, rgba(5, 150, 105, 0.2) 100%);
  border-radius: 2px;
}

.timeline-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
  transition: all 0.3s var(--ease-premium);
}

.timeline-icon:hover {
  transform: scale(1.12);
}

/* ── Footer Link ─────────────────────────────────────────── */
.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--ease-premium);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: #34d399;
  transform: translateX(3px);
}

/* ── Custom Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--slate-100);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #10b981, #059669);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ── Form Inputs ─────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--slate-800);
  background: white;
  transition: all 0.25s var(--ease-premium);
  outline: none;
}

.form-input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

.form-input::placeholder {
  color: var(--slate-400);
}

/* ── Mobile Drawer ───────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-premium);
  overflow-y: auto;
}

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

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium);
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Selection ───────────────────────────────────────────── */
::selection {
  background: #d1fae5;
  color: #064e3b;
}

:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   APP-LIKE MOBILE EXPERIENCE & BOTTOM TAB BAR
   ═══════════════════════════════════════════════════════════ */
* {
  -webkit-tap-highlight-color: transparent;
}

/* App-Like Mobile Bottom Navigation Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -6px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px)) 0.5rem;
  z-index: 95;
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-xl);
  transition: all 0.2s var(--ease-premium);
  position: relative;
  min-width: 54px;
}

.mobile-nav-btn:active {
  transform: scale(0.92);
}

.mobile-nav-btn.active,
.mobile-nav-btn:hover {
  color: #059669;
}

.mobile-nav-btn.active::before {
  content: '';
  position: absolute;
  top: -2px;
  width: 22px;
  height: 3px;
  background: #059669;
  border-radius: 99px;
}

.mobile-nav-btn i {
  font-size: 1.15rem;
  transition: transform 0.2s;
}

.mobile-nav-btn.active i {
  transform: translateY(-1px);
  color: #059669;
}

/* Center Highlighted Action Button (Solar Calculator) */
.mobile-nav-center-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -1.35rem;
  text-decoration: none;
}

.mobile-nav-center-circle {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.45);
  border: 3.5px solid white;
  transition: all 0.25s var(--ease-bounce);
  position: relative;
}

.mobile-nav-center-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.35);
  z-index: -1;
  animation: ripplePulse 2.5s infinite;
}

.mobile-nav-center-circle:active {
  transform: scale(0.88);
}

.mobile-nav-center-label {
  font-size: 0.625rem;
  font-weight: 800;
  color: #047857;
  margin-top: 0.2rem;
}

/* Mobile Responsive Body & Floating Button Offsets */
@media (max-width: 1023px) {
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  .floating-actions {
    bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 0.85rem !important;
    gap: 0.5rem !important;
  }
  .floating-btn-whatsapp,
  .floating-btn-call {
    width: 2.85rem !important;
    height: 2.85rem !important;
    font-size: 1.15rem !important;
  }
  .section-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }
}

@media (min-width: 1024px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}

