/* ==========================================================================
   Dhilli Ads - Premium Light Theme Design System
   ========================================================================== */

:root {
  /* Color Palette - Light Mode */
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(255, 87, 34, 0.35);

  --primary-orange: #ff5722;
  --primary-orange-hover: #e64a19;
  --accent-red: #ff3b00;
  --accent-blue: #0284c7;
  --accent-gradient: linear-gradient(135deg, #ff5722 0%, #ff3b00 50%, #e11d48 100%);
  --glow-gradient: radial-gradient(circle, rgba(255, 87, 34, 0.08) 0%, rgba(248, 250, 252, 0) 70%);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-orange: 0 10px 25px -5px rgba(255, 87, 34, 0.35);

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* -------------------------------------------------------------------------- */
/* WebGL Interactive Fluid Canvas & Cursor Follower                           */
/* -------------------------------------------------------------------------- */
.banner_canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.theBall-outer {
  width: 20px;
  height: 20px;
  position: fixed;
  top: -20px;
  left: -20px;
  z-index: 999999;
  pointer-events: none !important;
}

.theBall {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 87, 34, 0.5);
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
  transform-origin: center center;
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.3);
}

.zooming.theBall {
  background-color: #ff5722;
  transform: scale(2.2);
  box-shadow: 0 0 25px rgba(255, 87, 34, 0.6);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255, 87, 34, 0.08);
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary-orange);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-orange);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px -5px rgba(255, 87, 34, 0.5);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #ff3b00 0%, #ff5722 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-fast);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.btn-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -5px rgba(37, 211, 102, 0.5);
}

/* Glassmorphism Cards */
.glass-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
}

.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(255, 87, 34, 0.15);
}

.glass-card:not(.pricing-card)::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.03), transparent);
  transition: 0.6s ease;
  pointer-events: none;
}

.glass-card:not(.pricing-card):hover::after {
  left: 100%;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.6rem 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.header.scrolled {
  padding: 0.4rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  width: 100%;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.5rem;
  font-weight: 800;
}

.nav-logo-img {
  height: 68px;
  max-height: 75px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  border-radius: var(--radius-sm);
}

.logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.footer-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--primary-orange);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0.25rem 0.5rem;
}

.mobile-cta-item {
  display: none !important;
}

.nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(255, 87, 34, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
}

.hero-glow-1 {
  position: absolute;
  top: -10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-dashboard-preview {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  position: relative;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 1.25rem;
}

.dashboard-dots {
  display: flex;
  gap: 0.4rem;
}

.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}
.dash-dot:nth-child(2) { background: #ffbd2e; }
.dash-dot:nth-child(3) { background: #27c93f; }

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dash-metric-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.dash-metric-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.dash-metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.dash-metric-growth {
  font-size: 0.8rem;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.floating-badge-1 {
  position: absolute;
  top: -20px; right: -20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-glow);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  animation: float-slow 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-badge-2 {
  position: absolute;
  bottom: -25px; left: -25px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(2, 132, 199, 0.3);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  animation: float-slow 5s ease-in-out infinite 1s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: waPulse 2.5s infinite;
  border-radius: 50%;
}

.floating-whatsapp-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(37, 211, 102, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.14);
}

.floating-whatsapp:hover .floating-whatsapp-img {
  filter: drop-shadow(0 12px 28px rgba(37, 211, 102, 0.7));
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-5px);
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Stats Section */
.stats-section {
  padding: 3rem 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Services Section & Interactive Tabs */
.services-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 2;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-muted);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
  border-color: rgba(15, 23, 42, 0.25);
  background: #f8fafc;
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-orange);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 56px; height: 56px;
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.feature-check {
  color: var(--primary-orange);
  font-weight: bold;
}

/* Why Choose Us Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   PRICING PLANS & CUSTOM ESTIMATOR WIDGET HOVER FIXES
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(255, 87, 34, 0.2);
  border-color: var(--primary-orange);
}

.pricing-card.popular {
  border: 2px solid var(--primary-orange);
  box-shadow: 0 15px 35px rgba(255, 87, 34, 0.2);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 25px 45px rgba(255, 87, 34, 0.3);
}

.popular-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.35rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-orange);
  z-index: 10;
  white-space: nowrap;
}

/* Pricing Carousel Navigation Controls */
.pricing-carousel-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.pricing-nav-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pricing-nav-btn:hover, .pricing-nav-btn:active {
  background: var(--primary-orange);
  color: #ffffff;
  border-color: var(--primary-orange);
  transform: scale(1.1);
  box-shadow: var(--shadow-orange);
}

.pricing-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.18);
  transition: all 0.3s ease;
  cursor: pointer;
}

.pricing-dots .dot.active {
  width: 24px;
  border-radius: 12px;
  background: var(--primary-orange);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.plan-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-target {
  font-size: 0.875rem;
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-feature-item svg {
  color: var(--primary-orange);
  flex-shrink: 0;
}

/* Custom Estimator Widget */
.estimator-box {
  background: #ffffff;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 2;
}

.estimator-header {
  text-align: center;
  margin-bottom: 2rem;
}

.estimator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.checkbox-option {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  user-select: none;
  position: relative;
  z-index: 2;
}

.checkbox-option:hover {
  border-color: var(--primary-orange);
  background: rgba(255, 87, 34, 0.06);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -5px rgba(255, 87, 34, 0.18);
}

.checkbox-option.selected {
  border-color: var(--primary-orange);
  background: rgba(255, 87, 34, 0.08);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.12);
}

.custom-chk {
  width: 22px; height: 22px;
  border: 2px solid var(--text-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.checkbox-option.selected .custom-chk {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #fff;
}

.chk-title {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  color: var(--text-main);
}

.chk-price {
  font-size: 0.85rem;
  color: var(--primary-orange);
  font-weight: 700;
}

.estimator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.total-display {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.total-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.total-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-orange);
}

/* Process Timeline Section */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 3rem;
  z-index: 2;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  width: 52px; height: 52px;
  background: #ffffff;
  border: 2px solid var(--primary-orange);
  color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.2);
  transition: var(--transition-smooth);
}

.process-step:hover .process-num {
  background: var(--accent-gradient);
  color: #fff;
  transform: scale(1.15);
}

.process-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.process-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tools Infinite Marquee */
.marquee-container {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 25s linear infinite;
}

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

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

.tool-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.industry-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.industry-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
  background: rgba(255, 87, 34, 0.05);
}

.industry-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  display: block;
}

.industry-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Contact & Dark Premium Footer */
.footer {
  background: #0f172a;
  color: #f8fafc;
  padding-top: 5rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-orange);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-item svg {
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: scale(0.9);
  transition: var(--transition-bounce);
}

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

.modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: rgba(15, 23, 42, 0.05);
  border: none;
  color: var(--text-muted);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 87, 34, 0.15);
  color: var(--primary-orange);
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.required-star {
  color: var(--primary-orange, #FF5722);
  font-weight: 800;
  margin-left: 0.2rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 12px rgba(255, 87, 34, 0.25);
  background: #ffffff;
}

/* Form Shaking Animation Validation for Invalid Required Inputs */

.form-input.input-invalid,
.form-select.input-invalid,
.form-textarea.input-invalid {
  border-color: var(--primary-orange, #FF5722) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.22), 0 6px 20px rgba(255, 87, 34, 0.18) !important;
  animation: inputShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  12.5% { transform: translateX(-8px); }
  25% { transform: translateX(8px); }
  37.5% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  62.5% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* Scroll Animation Utilities (GPU-Accelerated) */
.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Comprehensive Mobile & Responsive Layout Enhancements
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-container {
    flex-wrap: nowrap !important;
  }
  .header {
    padding: 0.5rem 0;
  }
  .nav-logo-img {
    height: 52px;
    max-height: 56px;
  }
  .nav-actions-desktop {
    display: none !important;
  }
  
  .mobile-toggle { 
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .mobile-cta-item {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 85%; max-width: 320px; 
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow-y: auto;
    gap: 0.5rem;
  }
  
  .nav-menu.open { 
    right: 0; 
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  }

  .hero-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 3rem; 
  }
  .hero-subtitle { 
    margin-left: auto; 
    margin-right: auto; 
  }
  .hero-actions { 
    justify-content: center; 
  }
  .stats-grid { 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem;
  }
  .stat-item {
    padding: 1.5rem 0.5rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .services-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
  }
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .pricing-carousel-controls {
    display: flex;
  }
  .pricing-grid { 
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.25rem;
    padding: 1.5rem 0.5rem 0.75rem 0.5rem;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar {
    display: none;
  }
  .pricing-card {
    flex: 0 0 86%;
    max-width: 360px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .pricing-card.popular { 
    transform: none; 
  }
  .pricing-card.popular:hover { 
    transform: translateY(-5px); 
  }
  .estimator-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .process-timeline { 
    grid-template-columns: repeat(3, 1fr); 
    row-gap: 2rem; 
  }
  .industries-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
  .footer-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 768px) {
  .section-padding { 
    padding: 3.5rem 0; 
  }
  
  .header {
    padding: 0.5rem 0;
  }
  .nav-logo-img {
    height: 52px;
    max-height: 56px;
  }
  
  .mobile-toggle { 
    display: block;
    font-size: 1.6rem;
    padding: 0.25rem 0.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 85%; max-width: 320px; 
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem 2rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-menu.open { 
    right: 0; 
  }

  .nav-actions-desktop {
    display: none !important;
  }

  .mobile-cta-item {
    display: block !important;
    width: 100%;
    margin-top: 1.25rem;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    white-space: normal;
  }

  .hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-title { 
    font-size: 2.1rem; 
    line-height: 1.25;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-badge-1, .floating-badge-2 {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    animation: none;
  }

  .stats-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.75rem; 
  }
  .stat-item { 
    padding: 0.85rem 0.35rem; 
  }
  .stat-number { 
    font-size: 1.65rem; 
    margin-bottom: 0.25rem;
  }
  .stat-label { 
    font-size: 0.75rem; 
    line-height: 1.25;
  }

  .services-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .services-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    min-width: max-content;
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    white-space: nowrap;
    line-height: 1.2;
  }

  .services-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }

  .estimator-box {
    padding: 1.5rem;
  }

  .estimator-grid { 
    grid-template-columns: 1fr; 
  }

  .estimator-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .total-display {
    justify-content: center;
  }

  .estimator-footer .btn {
    width: 100%;
  }

  .process-timeline { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }

  .industries-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.85rem;
  }

  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 2rem;
  }

  .footer {
    padding-top: 3.5rem;
  }

  .floating-whatsapp { 
    bottom: 1.25rem; 
    right: 1.25rem; 
    width: 54px; 
    height: 54px; 
  }

  .floating-whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }
  .hero-title { font-size: 1.85rem; }
  .section-title { font-size: 1.85rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; width: 100%; }
  .stat-item { padding: 0.85rem 0.25rem; }
  .stat-number { font-size: 1.6rem; margin-bottom: 0.25rem; }
  .stat-label { font-size: 0.74rem; line-height: 1.2; font-weight: 600; }
  .services-tabs { gap: 0.45rem; width: 100%; max-width: 100%; box-sizing: border-box; }
  .tab-btn { font-size: 0.75rem; padding: 0.55rem 0.75rem; box-sizing: border-box; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; width: 100%; max-width: 100%; box-sizing: border-box; }
  .service-card { padding: 1.5rem 1rem; border-radius: var(--radius-lg); width: 100%; box-sizing: border-box; }
  .service-icon { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 1rem; }
  .service-icon svg { width: 24px; height: 24px; }
  .service-title { font-size: 1.2rem; margin-bottom: 0.6rem; }
  .service-desc { font-size: 0.9rem; line-height: 1.45; margin-bottom: 1rem; }
  .service-features { font-size: 0.825rem; }
  .service-feature-item { font-size: 0.825rem; }
  .service-card .btn { padding: 0.75rem 1rem; font-size: 0.875rem; width: 100%; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%; }
  .why-us-grid .glass-card { padding: 1.1rem 0.75rem; width: 100%; box-sizing: border-box; }
  .dash-metrics-grid { grid-template-columns: 1fr; width: 100%; }
  .modal-content { width: 92% !important; max-width: 480px !important; padding: 1.75rem 1.25rem !important; box-sizing: border-box !important; }
}
