/* ==========================================================================
   AQUADROP PURIFIER - UI COMPONENTS
   Header, Navigation, Cards, Calculators, Visualizers, Modals & CTAs
   ========================================================================== */

/* ==========================================================================
   1. NAVIGATION & STICKY HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 68px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-glass-hover);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-drop-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-brand);
  border-radius: 10px 0 10px 10px;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--accent-glow);
  position: relative;
  flex-shrink: 0;
}

.logo-drop-icon svg {
  transform: rotate(45deg);
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  line-height: 1;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-title span {
  color: var(--accent-cyan);
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.675rem;
  color: var(--text-secondary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Clean Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-card);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-glow);
}

.theme-toggle-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-primary);
}

[data-theme="dark"] .theme-toggle-btn svg {
  fill: #ffffff;
}

[data-theme="dark"] .theme-icon-sun,
:not([data-theme="dark"]) .theme-icon-moon {
  display: none;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  padding: 5.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   2. BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Primary Brand Button */
.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 6px 26px var(--accent-glow-strong);
  transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 4px 18px var(--accent-glow);
  transform: translateY(-2px);
}

/* Emerald Call / Instant Action Button */
.btn-emerald {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px var(--accent-emerald-glow);
}

.btn-emerald:hover {
  box-shadow: 0 6px 25px rgba(5, 150, 105, 0.35);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--gradient-brand-subtle);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.15rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.95rem;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 1.35rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-emerald);
  animation: pulse-ring 2s infinite ease-out;
}

.status-text {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-emerald);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.35rem, 4.2vw + 0.5rem, 3.75rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hotline-callout {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.hotline-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hotline-details {
  display: flex;
  flex-direction: column;
}

.hotline-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.hotline-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Trust Stats Strip in Hero */
.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-number span {
  color: var(--accent-cyan);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual & Glass Cards */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.hero-image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 0.75rem 1.15rem;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: float 4s infinite ease-in-out;
}

.badge-pos-1 {
  top: 8%;
  left: -20px;
  animation-delay: 0s;
}

.badge-pos-2 {
  bottom: 10%;
  right: -15px;
  animation-delay: 2s;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.badge-text-top {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-text-main {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   4. TRUST VALUE BAR (4 PILLARS)
   ========================================================================== */
.trust-pillars-section {
  padding: 2.25rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.pillar-title {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   5. INTERACTIVE RO TROUBLESHOOTER & PROBLEM DIAGNOSER
   ========================================================================== */
.diagnoser-section {
  background: var(--bg-surface-subtle);
}

.diagnoser-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.problem-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  justify-content: center;
}

.problem-chip {
  padding: 0.65rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: var(--shadow-sm);
}

.problem-chip:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.problem-chip.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.diagnosis-result-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.diagnosis-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-brand);
}

.diag-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.diag-title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.diag-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.diag-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.diag-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.diag-check-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-emerald);
  flex-shrink: 0;
}

.diag-action-pane {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diag-est-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.diag-est-price .price-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: block;
  margin-top: 0.2rem;
}

/* ==========================================================================
   6. INTERACTIVE TDS & WATER QUALITY CALCULATOR
   ========================================================================== */
.calculator-section {
  position: relative;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.calc-input-pane {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
}

.calc-group-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.water-source-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.source-opt-btn {
  padding: 0.9rem 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.source-opt-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.source-opt-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.source-opt-btn.active {
  background: var(--gradient-brand-subtle);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-glow);
}

.tds-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tds-value-display {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.tds-unit {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.custom-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, #10b981 0%, #0284c7 35%, #f59e0b 65%, #f43f5e 100%);
  outline: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-pane {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.purity-meter-card {
  text-align: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.purity-badge {
  display: inline-flex;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.purity-badge.safe {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.purity-badge.warning {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.purity-badge.critical {
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.25);
}

.purity-commentary {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.rec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

.rec-title {
  color: var(--text-primary);
  font-weight: 600;
}

.rec-val {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   7. 6-STAGE PURIFICATION VISUALIZER
   ========================================================================== */
.stages-visualizer-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.stage-nav-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
}

.stage-tab-btn {
  padding: 0.85rem 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.825rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.stage-num-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stage-tab-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.stage-tab-btn.active {
  background: var(--gradient-brand-subtle);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px var(--accent-glow);
}

.stage-tab-btn.active .stage-num-badge {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: transparent;
}

.stage-display-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.stage-visual-container {
  height: 100%;
  min-height: 320px;
  background: var(--bg-surface-subtle);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stage-visual-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-info-content {
  padding: 2.25rem 2.25rem 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.stage-name {
  font-size: 1.65rem;
  color: var(--text-primary);
}

.stage-explanation {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.filter-specs-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.spec-pill {
  padding: 0.3rem 0.8rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ==========================================================================
   8. MULTI-BRAND COMPATIBILITY GRID
   ========================================================================== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.15rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md), 0 0 18px var(--accent-glow);
  background: var(--bg-card-hover);
}

.brand-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-service-tag {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   9. SERVICES CATALOG & PRICING
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg);
}

.service-card-top {
  margin-bottom: 1.35rem;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-brand-subtle);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.service-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.service-card-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.service-feature-item svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-emerald);
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

.rec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.service-price-wrap {
  display: flex;
  flex-direction: column;
}

.price-tag-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-tag-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

/* ==========================================================================
   10. AMC PLANS
   ========================================================================== */
.amc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
  align-items: center;
}

.amc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.35rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.amc-card.featured {
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.04) 0%, #ffffff 100%);
  border-color: var(--accent-cyan);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}

.amc-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.95rem;
  background: var(--gradient-brand);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.amc-plan-name {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.amc-plan-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.amc-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.amc-currency {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.amc-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.amc-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.amc-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
  flex-grow: 1;
}

.amc-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.amc-perk-item svg {
  width: 17px;
  height: 17px;
  fill: var(--accent-emerald);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   11. GURUGRAM COVERAGE & AREA LOOKUP
   ========================================================================== */
.coverage-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.coverage-search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.6rem 0.35rem 1.15rem;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.coverage-search-bar input {
  background: transparent;
  color: var(--text-primary);
  flex-grow: 1;
  font-size: 0.95rem;
}

.coverage-search-bar input::placeholder {
  color: var(--text-muted);
}

.popular-sectors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.sector-tag {
  padding: 0.4rem 0.8rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.sector-tag:hover, .sector-tag.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--gradient-brand-subtle);
}

.hub-locations-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hub-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hub-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hub-pin-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gradient-brand-subtle);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-pin-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.hub-details h5 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.hub-details p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   12. REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.reviewer-locality {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.google-icon-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stars-rating {
  display: flex;
  gap: 0.2rem;
  color: #f59e0b;
  margin-bottom: 0.85rem;
}

.stars-rating svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.review-comment {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-search-box {
  margin-bottom: 1.75rem;
}

.faq-search-input {
  width: 100%;
  padding: 0.9rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.faq-search-input::placeholder {
  color: var(--text-muted);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--border-glass-hover);
}

.faq-item.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.faq-trigger {
  width: 100%;
  padding: 1.2rem 1.35rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon-cross {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-icon-cross svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.faq-item.active .faq-icon-cross {
  transform: rotate(45deg);
  background: var(--accent-cyan);
  color: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 1.35rem;
}

.faq-item.active .faq-content {
  padding: 0 1.35rem 1.35rem 1.35rem;
}

.faq-content p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   14. BOOKING MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-rose);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.modal-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1.05rem;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-glow);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* Floating Action Speed Dial */
.floating-action-bar {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-bounce);
}

.fab-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.fab-whatsapp {
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.fab-call {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.fab-btn:hover {
  transform: scale(1.12);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-surface);
  border: 1px solid var(--accent-cyan);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 3000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
}

.footer-brand-pane {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-brand-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  color: var(--text-primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-link:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.footer-contact-item svg {
  width: 17px;
  height: 17px;
  fill: var(--accent-cyan);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom-bar {
  padding-top: 1.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.disclaimer-text {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.35rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (COMPONENTS)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-description {
    max-width: 100%;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-metrics {
    justify-content: center;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid, .amc-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .amc-card.featured {
    transform: none;
  }
  .calc-grid, .coverage-box, .diagnosis-result-card, .stage-display-card {
    grid-template-columns: 1fr;
  }
  .stage-info-content {
    padding: 1.85rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid, .amc-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .stage-nav-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .hotline-callout {
    width: 100%;
    justify-content: center;
  }
  .floating-badge {
    display: none;
  }
  .floating-action-bar {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .calc-grid, .diagnoser-box, .coverage-box {
    padding: 1.5rem;
  }
  .header-actions .btn-primary {
    display: none; /* Hide header booking button on mobile to save space */
  }
}

/* Mobile & Tablet Devices */
@media (max-width: 768px) {
  .calc-grid, .diagnoser-box, .coverage-box {
    padding: 1.15rem;
  }
  .water-source-options {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .source-opt-btn {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem;
  }
  .stage-nav-tabs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
