/* ==========================================================================
   VEXORA ENTERPRISE PORTAL - MASTER STYLESHEET (v8.0 Multi-Page Edition)
   Covers: Home, Vision, Guard, Hub, NetResilience NOC, Portfolio, Clients,
           Projects, Site Inspection Wizard, and Contact Center.
   Supports: RTL (Arabic) / LTR (English) + Dark Mode & Light Mode
   ========================================================================== */

:root {
  /* Core Dark Theme Palette (Default) */
  --bg-body: #050811;
  --bg-surface: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-solid: #0f172a;
  --bg-card-hover: rgba(22, 33, 58, 0.92);
  --bg-glass: rgba(11, 17, 32, 0.85);
  --bg-input: rgba(7, 11, 22, 0.9);

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-glass: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(56, 189, 248, 0.45);

  /* Brand & Service Accent Colors */
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.22);

  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --indigo: #6366f1;
  --indigo-glow: rgba(99, 102, 241, 0.22);

  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.22);

  --orange: #f97316;
  --orange-light: #fb923c;
  --orange-glow: rgba(249, 115, 22, 0.22);

  --amber: #f59e0b;
  --rose: #f43f5e;
  --purple: #a855f7;

  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
  --shadow-cyan: 0 12px 32px rgba(6, 182, 212, 0.22);
  --shadow-emerald: 0 12px 32px rgba(16, 185, 129, 0.22);
  --shadow-orange: 0 12px 32px rgba(249, 115, 22, 0.22);
  --shadow-indigo: 0 12px 32px rgba(99, 102, 241, 0.24);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-ar: 'Cairo', 'Alexandria', system-ui, -apple-system, sans-serif;
  --font-en: 'Outfit', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Outfit', monospace;
}

/* Light Mode Theme Overrides */
body.light-mode {
  --bg-body: #f8fafc;
  --bg-surface: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-solid: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-input: #ffffff;

  --text-main: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-glass: rgba(15, 23, 42, 0.09);
  --border-subtle: rgba(15, 23, 42, 0.12);
  --border-highlight: rgba(37, 99, 235, 0.45);

  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.09);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-ar);
  line-height: 1.7;
  font-size: 15.5px;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.07), transparent 35%),
    radial-gradient(circle at 85% 25%, rgba(99, 102, 241, 0.07), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.05), transparent 40%);
}

html[lang="en"] body {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s ease;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. STICKY HEADER & MEGA NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.25s ease;
}

.header-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 23px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.header-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.35));
}

.logo-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 55%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-en);
  font-weight: 900;
}

body.light-mode .logo-text {
  background: linear-gradient(135deg, #0f172a 0%, #0284c7 55%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-light);
  background: rgba(6, 182, 212, 0.1);
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
  color: var(--blue-dark);
  background: rgba(37, 99, 235, 0.08);
}

.nav-link-cta {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-dark) 100%) !important;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.28);
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.4);
}

/* Services Dropdown Mega Menu */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  background: transparent;
  border: none;
}

.dropdown-arrow {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.nav-dropdown-wrapper:hover .dropdown-arrow,
.nav-dropdown-wrapper.open .dropdown-arrow {
  transform: rotate(180deg);
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: -80px;
  width: 620px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-highlight);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

html[dir="ltr"] .mega-dropdown {
  right: auto;
  left: -80px;
}

.nav-dropdown-wrapper:hover .mega-dropdown,
.nav-dropdown-wrapper.open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

body.light-mode .mega-item {
  background: #f8fafc;
}

.mega-item:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
}

.mega-item.guard:hover {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
}

.mega-item.hub:hover {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.08);
}

.mega-item.noc:hover {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.08);
}

.mega-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: rgba(6, 182, 212, 0.14);
}

.mega-item.guard .mega-icon { background: rgba(16, 185, 129, 0.14); }
.mega-item.hub .mega-icon { background: rgba(249, 115, 22, 0.14); }
.mega-item.noc .mega-icon { background: rgba(99, 102, 241, 0.14); }

.mega-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.18);
  color: var(--cyan-light);
}

.mega-item.guard .mega-badge { background: rgba(16, 185, 129, 0.18); color: var(--emerald-light); }
.mega-item.hub .mega-badge { background: rgba(249, 115, 22, 0.18); color: var(--orange-light); }
.mega-item.noc .mega-badge { background: rgba(99, 102, 241, 0.2); color: #818cf8; }

.mega-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

/* Header Controls (Theme + Lang + Mobile Toggle) */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle-btn,
.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover,
.lang-selector:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: 0.25s;
}

/* ==========================================================================
   2. TELEMETRY TICKER BAR
   ========================================================================== */
.telemetry-ticker {
  background: rgba(11, 17, 32, 0.9);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 0;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
}

body.light-mode .telemetry-ticker {
  background: #e2e8f0;
}

.ticker-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0 20px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseGlow 1.8s infinite;
}

.pulse-dot.cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.pulse-dot.orange { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.pulse-dot.indigo { background: var(--indigo); box-shadow: 0 0 10px var(--indigo); }

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

/* ==========================================================================
   3. HERO SECTIONS & COMMON TYPOGRAPHY
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan-light);
  margin-bottom: 20px;
}

body.light-mode .hero-badge {
  color: #0369a1;
  background: rgba(2, 132, 199, 0.1);
}

.hero-badge.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald-light);
}
body.light-mode .hero-badge.emerald { color: #047857; }

.hero-badge.orange {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: var(--orange-light);
}
body.light-mode .hero-badge.orange { color: #c2410c; }

.hero-badge.indigo {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}
body.light-mode .hero-badge.indigo { color: #4338ca; }

.hero-title {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text-main);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #fb923c 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-indigo {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 28px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--cyan-light);
}

body.light-mode .stat-value { color: var(--blue-dark); }

.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.36);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
  color: #ffffff;
  box-shadow: var(--shadow-emerald);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.36);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.36);
}

.btn-indigo {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--indigo) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-indigo);
}

.btn-indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.38);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42);
}

/* Visual Frame in Hero */
.hero-visual-box {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  background: #070b14;
  box-shadow: var(--shadow-lg);
}

.hero-visual-box img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-box:hover img {
  transform: scale(1.04);
}

.hero-hud-top {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.hud-pill {
  background: rgba(7, 11, 22, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  padding: 6px 13px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-hud-bottom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  left: 14px;
  background: rgba(7, 11, 22, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 12px 16px;
  color: #f8fafc;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Section Headers */
.section {
  padding: 76px 0;
  position: relative;
}

.section-alt {
  background: rgba(15, 23, 42, 0.38);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

body.light-mode .section-alt {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.28);
  margin-bottom: 12px;
}

body.light-mode .section-tag {
  color: #0369a1;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   4. SERVICE ECOSYSTEM CARDS (HOME PORTAL)
   ========================================================================== */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.ecosystem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.32s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ecosystem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ecosystem-card.vision:hover { border-color: var(--cyan); }
.ecosystem-card.guard:hover { border-color: var(--emerald); }
.ecosystem-card.hub:hover { border-color: var(--orange); }
.ecosystem-card.noc:hover { border-color: var(--indigo); }

.eco-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #070b14;
}

.eco-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ecosystem-card:hover .eco-img-wrap img {
  transform: scale(1.06);
}

.eco-floating-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 13px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 800;
  background: rgba(7, 11, 22, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.eco-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eco-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.eco-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}

.eco-price-pill {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.14);
  color: var(--cyan-light);
  white-space: nowrap;
}

.ecosystem-card.guard .eco-price-pill { background: rgba(16, 185, 129, 0.14); color: var(--emerald-light); }
.ecosystem-card.hub .eco-price-pill { background: rgba(249, 115, 22, 0.14); color: var(--orange-light); }
.ecosystem-card.noc .eco-price-pill { background: rgba(99, 102, 241, 0.16); color: #818cf8; }

body.light-mode .eco-price-pill { color: #0f172a; }

.eco-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.eco-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.eco-features-list li {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.eco-footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. INTERACTIVE TOOLS, FILTERS, SIMULATORS & CALCULATORS ("الدلع")
   ========================================================================== */

/* Category Filter Pills */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-cyan);
  transform: translateY(-2px);
}

/* Alerts & Portfolio Cards Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}

.feature-card-img {
  position: relative;
  height: 200px;
  background: #050811;
  overflow: hidden;
}

.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-img img {
  transform: scale(1.06);
}

.card-badge-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(7, 11, 22, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card-title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Interactive Configurator Layout (2 Columns: Controls + Sticky Quote) */
.configurator-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.config-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.config-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-glass);
}

.config-panel-title {
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.config-option-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.light-mode .config-option-row {
  background: #f8fafc;
}

.config-option-row:hover {
  border-color: var(--cyan);
}

.config-option-row.selected {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.09);
}

.config-option-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.config-option-left input[type="checkbox"],
.config-option-left input[type="radio"] {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.config-opt-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  display: block;
}

.config-opt-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.config-opt-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cyan-light);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.12);
}

body.light-mode .config-opt-price {
  color: var(--blue-dark);
}

/* Sticky Quote Summary Card */
.sticky-quote-card {
  position: sticky;
  top: 98px;
  background: var(--bg-card-solid);
  border: 2px solid var(--emerald);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.quote-price-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
}

.quote-price-num {
  font-size: 36px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--emerald-light);
  line-height: 1.1;
}

body.light-mode .quote-price-num { color: #047857; }

.quote-setup-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 20px;
}

.quote-setup-num {
  font-size: 26px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--cyan-light);
}

body.light-mode .quote-setup-num { color: var(--blue-dark); }

.quote-selected-list {
  max-height: 250px;
  overflow-y: auto;
  margin: 14px 0 20px;
  padding-right: 4px;
}

.quote-selected-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-glass);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Range Slider Styling */
.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.25);
  outline: none;
  accent-color: var(--cyan);
  cursor: pointer;
  margin: 14px 0;
}

/* ==========================================================================
   6. VEXORA GUARD LIVE DASHBOARD SIMULATOR
   ========================================================================== */
.guard-sim-console {
  background: #080d1a;
  border: 2px solid rgba(16, 185, 129, 0.4);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: #f8fafc;
}

.guard-sim-topbar {
  background: #0f172a;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.guard-sim-body {
  padding: 26px;
}

.sim-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.sim-event-card {
  background: #111827;
  border: 1px solid rgba(244, 63, 94, 0.45);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sim-event-card.resolved {
  border-color: rgba(16, 185, 129, 0.45);
  opacity: 0.85;
}

.sim-action-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.sim-btn-whitelist {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}
.sim-btn-whitelist:hover {
  background: #10b981;
  color: #ffffff;
}

.sim-btn-dismiss {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.3);
}
.sim-btn-dismiss:hover {
  background: #475569;
  color: #ffffff;
}

/* ==========================================================================
   7. COMPARISON TABLES, CASE STUDIES & WIZARDS
   ========================================================================== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  text-align: right;
  font-size: 14.5px;
}

html[dir="ltr"] .compare-table th,
html[dir="ltr"] .compare-table td {
  text-align: left;
}

.compare-table th.bad-col {
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
  font-weight: 900;
}

.compare-table th.good-col {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  font-weight: 900;
}

body.light-mode .compare-table th.bad-col { color: #9f1239; }
body.light-mode .compare-table th.good-col { color: #065f46; }

/* Multi-step Wizard (Inspection Page) */
.wizard-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.wizard-steps-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
  position: relative;
  gap: 10px;
}

.wizard-step-pill {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.wizard-step-pill.active {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-cyan);
}

.wizard-step-pill.done {
  border-color: var(--emerald);
  color: var(--emerald-light);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan);
}

/* ==========================================================================
   8. UNIFIED EXECUTIVE FOOTER & FLOATING WHATSAPP
   ========================================================================== */
.site-footer {
  background: #04070f;
  border-top: 1px solid var(--border-glass);
  padding: 64px 0 32px;
  color: #cbd5e1;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--cyan-light);
  padding-right: 4px;
}

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

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55);
}

/* Toast Notification */
.vexora-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid var(--emerald);
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.vexora-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* (Responsive rules consolidated at the bottom of the stylesheet in Section 10) */


/* ==========================================================================
   9. MULTI-PAGE EXTENDED UTILITIES & INTERACTIVE COMPONENTS
   ========================================================================== */
.hero-glow-1,
.hero-glow-2 {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
.hero-glow-1 {
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 70%);
}
.hero-glow-2 {
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16), transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover {
  color: var(--cyan-light);
}
.breadcrumb .current {
  color: var(--cyan-light);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan-light);
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 12px;
}

.metric-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-pill strong {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-en);
}
.metric-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.hero-visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  background: #070b14;
  box-shadow: var(--shadow-lg);
}
.hero-visual-frame img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
}
.hero-visual-overlay {
  position: absolute;
  bottom: 14px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.live-hud-chip {
  background: rgba(7, 11, 22, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-hud-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.section-padding {
  padding: 72px 0;
  position: relative;
}

.section-header h2 {
  font-size: clamp(24px, 3.1vw, 36px);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-header p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.glass-card,
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  padding: 24px;
  transition: all 0.28s ease;
  box-shadow: var(--shadow-sm);
}
.glass-card:hover,
.feature-box:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--shadow-lg);
}

.feature-box .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-box h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}
.feature-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.badge-pill {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding-right: 22px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.check-list li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--emerald-light);
  font-weight: 900;
}
html[dir="ltr"] .check-list li {
  padding-right: 0;
  padding-left: 22px;
}
html[dir="ltr"] .check-list li::before {
  right: auto;
  left: 0;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.24s ease;
  border: 1px solid transparent;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}

/* Configurator Controls & Quote Card Aliases */
.configurator-controls {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.hub-tier-option.active,
.hub-tier-option.selected {
  border-color: #8b5cf6 !important;
  background: rgba(139, 92, 246, 0.12) !important;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.check-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.92rem;
}
.check-option-row:hover {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.05);
}
.check-option-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--emerald);
  cursor: pointer;
  flex-shrink: 0;
}

.quote-summary-card {
  position: sticky;
  top: 98px;
  background: var(--bg-card-solid);
  border: 2px solid var(--border-highlight);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.quote-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}
.quote-price-value {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-en);
  margin: 6px 0;
}
.quote-items-list {
  display: grid;
  gap: 8px;
}
.quote-items-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-glass);
}

/* Comparison Tables */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-glass);
  text-align: right;
  font-size: 0.93rem;
}
html[dir="ltr"] .comparison-table th,
html[dir="ltr"] .comparison-table td {
  text-align: left;
}
.comparison-table thead th {
  background: rgba(15, 23, 42, 0.9);
  font-weight: 900;
  color: var(--text-main);
}
body.light-mode .comparison-table thead th {
  background: #e2e8f0;
}
.comparison-table .bad-cell {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.05);
}
.comparison-table .good-cell {
  color: #6ee7b7;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.06);
}
body.light-mode .comparison-table .bad-cell { color: #be123c; }
body.light-mode .comparison-table .good-cell { color: #047857; }

/* Filter Bar & Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.filter-pill {
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}
.filter-pill:hover,
.filter-pill.active {
  background: linear-gradient(135deg, var(--cyan), var(--blue-dark));
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-cyan);
}

/* Wizard Container & Panes */
.wizard-container {
  max-width: 940px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.wizard-step-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wizard-step-pill .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.wizard-pane {
  display: none;
}
.wizard-pane.active {
  display: block;
}

/* ==========================================================================
   10. COMPREHENSIVE MOBILE & TABLET RESPONSIVE ENGINE
   ========================================================================== */
@media (max-width: 1080px) {
  .header-container {
    height: 66px;
    padding: 0 14px;
    gap: 8px;
  }

  .logo-sub {
    display: none !important;
  }

  .header-logo-icon {
    width: 34px;
    height: 34px;
  }

  .logo-text {
    font-size: 20px;
  }

  .theme-btn-text {
    display: none !important;
  }

  .theme-toggle-btn,
  .lang-selector {
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 10px;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 9px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--bg-card-solid);
    border-bottom: 2px solid var(--border-highlight);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 6px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75);
    display: none;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    z-index: 1200;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link,
  .nav-dropdown-trigger {
    padding: 12px 14px;
    font-size: 14.5px;
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-wrapper:hover .mega-dropdown {
    display: none;
  }

  .mega-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    grid-template-columns: 1fr;
    margin-top: 6px;
    padding: 10px;
    box-shadow: none;
    display: none;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 14px;
  }

  .nav-dropdown-wrapper.open .mega-dropdown {
    display: grid !important;
  }

  .hero-grid,
  .service-hero-split,
  .configurator-layout,
  .services-bento-grid,
  .bento-grid-2,
  .bento-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .sticky-quote-card,
  .quote-summary-card {
    position: static !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Single-line swipeable telemetry ticker on mobile */
  .telemetry-ticker {
    padding: 7px 0;
    font-size: 11.5px;
  }
  .ticker-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    gap: 16px;
    padding: 0 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ticker-track::-webkit-scrollbar {
    display: none;
  }

  /* Compact Hero & Section Spacing */
  .page-hero {
    padding: 24px 0 34px;
  }
  .section,
  .section-padding {
    padding: 42px 0;
  }
  .section-header {
    margin-bottom: 26px;
  }

  .hero-title,
  .page-hero h1 {
    font-size: clamp(22px, 6.2vw, 28px) !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }

  .section-title,
  .section-header h2 {
    font-size: clamp(20px, 5.4vw, 25px) !important;
    line-height: 1.35 !important;
  }

  .hero-desc,
  .page-hero p,
  .section-desc,
  .section-header p {
    font-size: 14px !important;
    line-height: 1.72 !important;
    margin-bottom: 18px !important;
  }

  .hero-badge,
  .hero-eyebrow {
    font-size: 11px !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
    max-width: 100%;
    white-space: normal;
  }

  .breadcrumb {
    font-size: 11.5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }

  /* 2x2 Metric Grid on Mobile */
  .hero-stats-grid,
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
  }
  .stat-card,
  .metric-pill {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
  .stat-value,
  .metric-pill strong {
    font-size: 18px !important;
  }
  .stat-label,
  .metric-pill span {
    font-size: 11px !important;
  }

  /* Hero Visual Box & Overlays */
  .hero-visual-box,
  .hero-visual-frame {
    border-radius: 18px;
  }
  .hero-visual-box img,
  .hero-visual-frame img {
    height: 220px !important;
  }
  .hero-hud-top {
    top: 10px;
    right: 10px;
    left: 10px;
    gap: 6px;
  }
  .hud-pill,
  .live-hud-chip {
    font-size: 10.5px !important;
    padding: 4px 10px !important;
  }
  .hero-hud-bottom {
    bottom: 10px;
    right: 10px;
    left: 10px;
    padding: 8px 12px;
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-radius: 12px;
  }
  .hero-visual-overlay {
    bottom: 10px;
    right: 10px;
    left: 10px;
    gap: 6px;
  }

  /* Full-Width Touch Buttons on Mobile */
  .hero-actions,
  .eco-footer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn,
  .eco-footer-actions .btn,
  .page-hero .btn-primary,
  .page-hero .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
  }

  /* All Multi-Column Cards & Grids -> Clean 1 Column */
  .cards-grid-3,
  .cards-grid-4,
  .sim-event-grid,
  .eco-features-list {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .eco-img-wrap,
  .feature-card-img {
    height: 190px !important;
  }

  .config-panel,
  .configurator-controls,
  .glass-card,
  .feature-box,
  .eco-body,
  .wizard-box,
  .wizard-container,
  .guard-sim-body,
  .sticky-quote-card,
  .quote-summary-card {
    padding: 18px 15px !important;
    border-radius: 18px !important;
  }

  .config-panel-header,
  .eco-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .check-option-row,
  .config-option-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
  }

  .hub-tier-option {
    padding: 14px !important;
  }
  .hub-tier-option > div {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .hub-tier-option p {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  /* Horizontal Swipeable Category Filters */
  .filter-tabs,
  .filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar,
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn,
  .filter-pill {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* 2x2 Step Bar on Mobile Wizard */
  .wizard-steps-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 22px;
  }
  .wizard-step-pill {
    font-size: 11.5px;
    padding: 9px 8px;
  }

  /* Footer & Floating WhatsApp Button */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .site-footer {
    padding: 40px 0 88px;
  }
  .floating-wa-btn {
    bottom: 14px;
    left: 14px;
    padding: 10px 15px;
    font-size: 12.5px;
    max-width: calc(100vw - 28px);
  }
  .vexora-toast {
    left: 14px;
    right: 14px;
    bottom: 70px;
    font-size: 13px;
    padding: 12px 16px;
  }
}
