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

/* --- Design Tokens --- */
/* --- Design Tokens --- */
:root {
  --header-height: 55px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Baseline colors and properties */
  --primary: #2a7ce5;
  --primary-rgb: 42, 124, 229;
  --primary-hover: #1e64bf;
  
  --deep-blue: #003366;
  --deep-blue-rgb: 0, 51, 102;
  
  --light-silver: #d9e4f5;
  --light-silver-rgb: 217, 228, 245;
  
  --coral: #ff5c57;
  --coral-rgb: 255, 92, 87;
  --coral-hover: #e04b46;
  
  --dark-bg: #0b132b;
  --dark-surface: #1c2541;
  --dark-surface-rgb: 28, 37, 65;

  /* Animation and transition settings */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 51, 102, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 51, 102, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary) 100%);
  --grad-accent: linear-gradient(135deg, var(--primary) 0%, var(--coral) 100%);
  --grad-dark: linear-gradient(180deg, var(--dark-bg) 0%, #080d1e 100%);
}

/* --- Theme Declarations --- */
body, body.theme-solution {
  --light-bg: #f7f9fc;
  --light-surface: #ffffff;
  --body-color: #334155;
  --deep-blue: #003366;
  --primary: #2a7ce5;
  --primary-hover: #1e64bf;
  --border-val: rgba(217, 228, 245, 0.5);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --card-shadow: 0 8px 24px rgba(0, 51, 102, 0.08);
  
  --grad-glass: rgba(255, 255, 255, 0.75);
  --glass-border: 1px solid rgba(255, 255, 255, 0.45);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
}

body.theme-motive {
  --light-bg: #050914;
  --light-surface: #0d162d;
  --body-color: #cbd5e1;
  --deep-blue: #ffffff;
  --primary: #2a7ce5;
  --primary-hover: #1e64bf;
  --coral: #ff5c57;
  --coral-hover: #e04b46;
  --border-val: rgba(0, 242, 254, 0.15);
  --nav-bg: rgba(5, 9, 20, 0.85);
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);

  --grad-glass: rgba(13, 22, 45, 0.75);
  --glass-border: 1px solid rgba(0, 242, 254, 0.15);
  --shadow-glass: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.theme-glass {
  --light-bg: #f0f4fa;
  --light-surface: rgba(255, 255, 255, 0.55);
  --body-color: #1e293b;
  --deep-blue: #0f172a;
  --primary: #2a7ce5;
  --primary-hover: #1e64bf;
  --border-val: rgba(255, 255, 255, 0.35);
  --nav-bg: rgba(255, 255, 255, 0.45);
  --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);

  --grad-glass: rgba(255, 255, 255, 0.45);
  --glass-border: 1px solid rgba(255, 255, 255, 0.45);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.06);

  background-image: 
    radial-gradient(circle at 10% 20%, rgba(42, 124, 229, 0.07) 0%, rgba(255,255,255,0) 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 92, 87, 0.06) 0%, rgba(255,255,255,0) 40%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--body-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

section {
  padding: 5rem 0;
  position: relative;
}

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

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

.grid-2 > *, .grid-3 > *, .grid-4 > * {
  min-width: 0;
}

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* Text Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep-blue);
}

body.dark-mode-theme h1, 
body.dark-mode-theme h2, 
body.dark-mode-theme h3, 
body.dark-mode-theme h4 {
  color: #ffffff;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { font-size: 1rem; margin-bottom: 1.25rem; color: #475569; }
body.dark-mode-theme p { color: #cbd5e1; }
.text-center { text-align: center; }
.text-accent { color: var(--primary); }
.text-coral { color: var(--coral); }
.text-muted { color: #64748b; }

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(42, 124, 229, 0.3);
}

.btn-accent {
  background-color: var(--coral);
  color: #ffffff;
}
.btn-accent:hover {
  background-color: var(--coral-hover);
  box-shadow: 0 4px 12px rgba(255, 92, 87, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--light-silver);
  color: var(--deep-blue);
}
.btn-secondary:hover {
  background-color: rgba(42, 124, 229, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}
body.dark-mode-theme .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
body.dark-mode-theme .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
}

/* Accessibility hidden element recipe */
.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

/* --- Glassmorphism Cards --- */
.glass-card {
  background: var(--grad-glass);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal), border var(--transition-normal);
}

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

/* --- Navigation Header --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: padding var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal), border var(--transition-normal);
  padding: 0.8rem 0;
}

.header-nav.shrink {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav .nav-container {
  max-width: 1440px;
}

/* Shared public header: do not let page-specific content stretch its controls. */
#main-nav[data-shared-header] .nav-container {
  gap: 1rem;
}

#main-nav[data-shared-header] .logo-link,
#main-nav[data-shared-header] .nav-actions {
  flex-shrink: 0;
}

#main-nav[data-shared-header] .nav-actions .btn {
  white-space: nowrap;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
}

@media (max-width: 1279px) {
  #main-nav[data-shared-header] .nav-menu {
    display: none;
  }
  #main-nav[data-shared-header] .hamburger-btn {
    display: flex;
  }
  #main-nav[data-shared-header] .nav-actions .btn {
    display: none !important;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  #main-nav[data-shared-header] .logo-link img { max-width: 135px; }
  #main-nav[data-shared-header] .nav-menu { gap: 0.6rem; }
  #main-nav[data-shared-header] .nav-item > a { font-size: 0.85rem; }
  #main-nav[data-shared-header] .nav-actions { gap: 0.5rem; }
  #main-nav[data-shared-header] .nav-actions .btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.82rem !important;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: filter var(--transition-normal);
}

/* In the dark operations theme, add a premium subtle cyan glow to the brand-colored logo */
body.theme-motive .header-nav .logo-link img {
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.45));
}

.logo-link span {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 0.65rem;
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .nav-menu { display: flex; align-items: center; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .header-nav .logo-link img {
    max-width: 135px;
  }
  .nav-menu {
    gap: 0.55rem;
  }
  .nav-item a {
    font-size: 0.82rem;
    padding: 0.4rem 0.15rem;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  .nav-actions .btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.82rem !important;
  }
}

.nav-item a {
  text-decoration: none;
  font-weight: 500;
  color: #475569;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .nav-item a {
    font-size: 0.95rem;
  }
}

body.dark-mode-theme .nav-item a { color: #cbd5e1; }

.nav-item a:hover {
  color: var(--primary);
}

/* Nav Link Underline */
.nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}
.nav-item > a:hover::after,
.nav-item > a.active::after {
  width: 100%;
}
.nav-item > a.active {
  color: var(--primary);
}

/* Dropdown Menu Styles */
.nav-item.has-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform var(--transition-fast);
}

.nav-item.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  min-width: 210px;
  list-style: none;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  margin-top: 0.5rem;
}

/* Hover bridge to bridge empty gap between trigger and dropdown panel */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

body.theme-glass .dropdown-menu {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.65);
}

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

.dropdown-menu li {
  width: 100%;
  position: relative;
}

.dropdown-menu .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  transform: translateX(10px);
  background-color: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  min-width: 220px;
  list-style: none;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  margin-left: 0.25rem;
}

/* Hover bridge for nested side submenus */
.dropdown-menu .submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -20px;
  width: 20px;
  height: calc(100% + 20px);
}

body.theme-glass .dropdown-menu .submenu {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.65);
}

.dropdown-menu li:hover > .submenu,
.dropdown-menu li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown-menu .has-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dropdown-menu .submenu-arrow {
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-right: 5px;
  opacity: 0.7;
}


.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--body-color);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

body.theme-motive .dropdown-menu li a {
  color: #cbd5e1;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
  background-color: var(--light-silver);
  color: var(--primary);
  font-weight: 600;
}

body.theme-motive .dropdown-menu li a:hover,
body.theme-motive .dropdown-menu li a.active {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--primary);
}

.dropdown-menu li a::after {
  display: none !important;
}


.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@media (min-width: 1200px) {
  .nav-actions {
    gap: 0.85rem;
  }
}

.nav-actions .btn {
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  min-height: 38px !important;
  padding: 0.45rem 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.nav-actions .btn-secondary {
  border: 1px solid #dbeafe !important;
  background: #ffffff !important;
  color: #1e3a8a !important;
}

.nav-actions .btn-secondary:hover {
  background: rgba(37, 99, 235, 0.06) !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
}

.nav-actions .btn-primary {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22) !important;
}

.nav-actions .btn-primary:hover {
  background: #1d4ed8 !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32) !important;
  transform: translateY(-1px);
}

.cart-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--deep-blue);
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}
body.dark-mode-theme .cart-icon-btn { color: #ffffff; }
.cart-icon-btn:hover { background-color: rgba(42, 124, 229, 0.08); }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--coral);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform var(--transition-fast);
}
.cart-badge.has-items {
  transform: scale(1);
}

.hamburger-btn {
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .hamburger-btn { display: none; }
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--deep-blue);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
body.dark-mode-theme .hamburger-line { background-color: #ffffff; }

/* Mobile Menu Open Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  background-color: var(--light-surface);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal), top var(--transition-normal), height var(--transition-normal);
  padding: 2rem;
  overflow-y: auto;
  border-bottom: 2px solid var(--light-silver);
}

.header-nav.shrink ~ .mobile-nav-drawer,
.header-nav.shrink + .mobile-nav-drawer {
  top: 56px;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
}

body.dark-mode-theme .mobile-nav-drawer {
  background-color: var(--dark-bg);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 0.25rem;
}
body.dark-mode-theme .mobile-nav-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mobile-nav-item-header,
.mobile-nav-subitem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.mobile-nav-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-blue);
  flex-grow: 1;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}
body.dark-mode-theme .mobile-nav-link {
  color: #ffffff;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--primary);
}

.mobile-nav-link.active,
.mobile-subnav-link.active,
.mobile-grandchild-link.active {
  color: var(--primary);
  font-weight: 700;
}

.mobile-accordion-toggle {
  background: transparent;
  border: none;
  outline: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}
body.dark-mode-theme .mobile-accordion-toggle {
  color: #94a3b8;
}

.mobile-accordion-toggle:hover,
.mobile-accordion-toggle:focus-visible {
  background-color: rgba(42, 124, 229, 0.1);
  color: var(--primary);
}

.mobile-chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-accordion-toggle[aria-expanded="true"] .mobile-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mobile-accordion-content.expanded {
  opacity: 1;
}

/* Sub-list (Level 1 child items) */
.mobile-sub-list {
  list-style: none;
  padding-left: 0.75rem;
  margin: 0.25rem 0 0.5rem 0;
  border-left: 2px solid rgba(42, 124, 229, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-subnav-link {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  flex-grow: 1;
}
body.dark-mode-theme .mobile-subnav-link {
  color: #cbd5e1;
}

.mobile-subnav-link:hover,
.mobile-subnav-link:focus-visible {
  background-color: rgba(42, 124, 229, 0.08);
  color: var(--primary);
}

/* Grandchild list (Level 2 items) */
.mobile-grandchild-list {
  list-style: none;
  padding-left: 0.75rem;
  margin: 0.25rem 0 0.4rem 0;
  border-left: 2px solid rgba(42, 124, 229, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-grandchild-link {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: #64748b;
  display: block;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}
body.dark-mode-theme .mobile-grandchild-link {
  color: #94a3b8;
}

.mobile-grandchild-link:hover,
.mobile-grandchild-link:focus-visible {
  color: var(--primary);
  background-color: rgba(42, 124, 229, 0.06);
}

/* --- Email-First Quick-Check Pricing Feature --- */
.email-check-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 580px;
  margin-top: 1.5rem;
}

.email-check-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--light-surface);
  border: 2px solid var(--light-silver);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.email-check-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 124, 229, 0.15);
}

body.dark-mode-theme .email-check-wrapper {
  background-color: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.15);
}

.email-check-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  color: var(--deep-blue);
  font-family: var(--font-body);
  min-height: 44px;
}
body.dark-mode-theme .email-check-input { color: #ffffff; }

.email-check-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  min-height: 44px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.email-check-btn:hover { background-color: var(--primary-hover); }

.email-check-helper {
  font-size: 0.8rem;
  color: #64748b;
  padding-left: 1rem;
}

@media (min-width: 580px) {
  .email-check-wrapper { flex-direction: row; align-items: center; }
}

/* Multi-Step Quote Lead Capture Styles (quote.html) */
.quote-flow-container {
  max-width: 650px;
  margin: 3rem auto;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--light-silver);
  z-index: 1;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: 3px solid var(--light-bg);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.step-dot.active {
  background-color: var(--primary);
  border-color: var(--light-bg);
}
.step-dot.completed {
  background-color: var(--deep-blue);
}

.quote-step {
  display: none;
  animation: slideIn var(--transition-normal);
}
.quote-step.active {
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--deep-blue);
}
body.dark-mode-theme .form-label { color: #e2e8f0; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--light-silver);
  background-color: var(--light-surface);
  color: #334155;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
body.dark-mode-theme .form-input,
body.dark-mode-theme .form-select,
body.dark-mode-theme .form-textarea {
  background-color: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 124, 229, 0.12);
}

/* --- Interactive Solution Tab Showcase (solutions.html) --- */
.showcase-wrapper {
  border: 1px solid rgba(217, 228, 245, 0.8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--light-surface);
}
body.dark-mode-theme .showcase-wrapper {
  background-color: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

.showcase-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid rgba(217, 228, 245, 0.8);
  background-color: #f1f5f9;
  list-style: none;
}
body.dark-mode-theme .showcase-tabs {
  background-color: rgba(11, 19, 43, 0.4);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.showcase-tab {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 1.25rem 1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: #64748b;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.showcase-tab:hover {
  background-color: rgba(42, 124, 229, 0.04);
  color: var(--primary);
}

.showcase-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background-color: var(--light-surface);
}
body.dark-mode-theme .showcase-tab.active {
  background-color: var(--dark-surface);
}

.showcase-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 480px;
}

@media (min-width: 992px) {
  .showcase-body { grid-template-columns: 4fr 6fr; }
}

.showcase-panel-left {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-panel-right {
  background-color: #0f172a;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.showcase-demo-container {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2.5rem;
  background-color: #f8fafc;
  border-top: 1px solid rgba(217, 228, 245, 0.8);
}
@media (min-width: 768px) {
  .showcase-highlights { grid-template-columns: repeat(3, 1fr); }
}
body.dark-mode-theme .showcase-highlights {
  background-color: rgba(11, 19, 43, 0.2);
  border-top-color: rgba(255, 255, 255, 0.05);
}

.highlight-card {
  background-color: var(--light-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 228, 245, 0.5);
  box-shadow: var(--shadow-sm);
}
body.dark-mode-theme .highlight-card {
  background-color: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.03);
}

/* Custom Live Map Simulation SVG Styles */
.sim-map-route {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 12s linear infinite;
}

.sim-map-marker {
  transform-box: fill-box;
  transform-origin: center;
  offset-path: path("M50 180 Q 150 50, 250 180 T 450 180");
  animation: moveMarker 12s linear infinite;
}

/* --- E-Commerce Checkout Sidebar Drawer --- */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--light-surface);
  z-index: 1100;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}
body.dark-mode-theme .cart-drawer {
  background-color: var(--dark-surface);
}

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

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--light-silver);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.dark-mode-theme .cart-header {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.cart-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--deep-blue);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.dark-mode-theme .cart-close-btn { color: #ffffff; }

.cart-items-container {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-stock-notice {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0 1.5rem 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #edb956;
  border-radius: 12px;
  background: #fff8e8;
  color: #5f430b;
}

.cart-stock-notice[hidden] { display: none; }

.cart-stock-notice-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #ffe5ad;
  color: #855c08;
  font-weight: 800;
}

.cart-stock-notice strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #4b3408;
}

.cart-stock-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

body.dark-mode-theme .cart-stock-notice {
  border-color: #9a6b17;
  background: #382c16;
  color: #f7dfa9;
}

body.dark-mode-theme .cart-stock-notice strong { color: #fff2cf; }

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}
body.dark-mode-theme .cart-item {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--light-bg);
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cart-item-quantity-input {
  width: 42px;
  height: 28px;
  padding: 0 3px;
  border: 1px solid var(--light-silver);
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.cart-item-quantity-input::-webkit-inner-spin-button,
.cart-item-quantity-input::-webkit-outer-spin-button,
.stepper-val::-webkit-inner-spin-button,
.stepper-val::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--light-silver);
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
body.dark-mode-theme .qty-btn {
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--light-silver);
  background-color: #f8fafc;
}
body.dark-mode-theme .cart-footer {
  border-top-color: rgba(255, 255, 255, 0.05);
  background-color: rgba(11, 19, 43, 0.3);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.cart-total-row.grand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deep-blue);
  border-top: 1px dashed var(--light-silver);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}
body.dark-mode-theme .cart-total-row.grand { color: #ffffff; }

/* Backdrop overlay when menu/cart active */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
  backdrop-filter: blur(4px);
}
.drawer-backdrop.active {
  display: block;
}

/* E-Commerce Catalog Layout (devices.html) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 228, 245, 0.8);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
body.dark-mode-theme .product-card {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

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

.product-img-wrapper {
  background-color: #ffffff;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
body.dark-mode-theme .product-img-wrapper {
  background-color: #ffffff;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--deep-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  z-index: 10;
}

.product-info {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-price-section {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem 0;
}

.one-time-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.sub-price {
  font-size: 0.9rem;
  color: #64748b;
}

.product-features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-features-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.15em;
}

.product-features-list li strong {
  color: var(--deep-blue);
  font-weight: 600;
}

.product-features-list li span {
  color: var(--body-color);
  opacity: 0.9;
}

/* Mini Air and Solar Air newsletter-derived product content */
.air-tracker-story {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-val, #e2e8f0);
  background: #ffffff;
}

.air-tracker-story .air-story-header {
  max-width: 920px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.air-tracker-story .air-story-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: #1454e8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.air-tracker-story .air-story-header h2 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.air-tracker-story .air-story-header h2 strong {
  color: #1454e8;
}

.air-tracker-story .air-story-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.air-tracker-story .air-story-copy,
.air-tracker-story .air-how-card,
.air-tracker-story .air-platform-card {
  padding: 1.75rem;
  border: 1px solid #dbe5f3;
  border-radius: 18px;
  background: #f8fbff;
}

.air-tracker-story .air-story-copy p,
.air-tracker-story .air-how-card p {
  margin: 0;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.75;
}

.air-tracker-story .air-story-copy p + p,
.air-tracker-story .air-how-card p + p {
  margin-top: 1rem;
}

.air-tracker-story .air-diagram {
  margin: 0 0 3rem;
  padding: 1rem;
  border: 1px solid #dbe5f3;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.air-tracker-story .air-diagram-stack .air-diagram {
  margin-bottom: 1.5rem;
}

.air-tracker-story .air-diagram-stack {
  margin-bottom: 3rem;
}

.air-tracker-story .air-diagram-stack .air-diagram:last-child {
  margin-bottom: 0;
}

.air-tracker-story .air-diagram figcaption {
  padding: 0.85rem 0.5rem 0.1rem;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.air-tracker-story .air-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.air-tracker-story .air-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.air-tracker-story .air-grid-panel {
  padding: 2rem;
  border-radius: 20px;
}

.air-tracker-story .air-grid-panel--blue {
  color: #ffffff;
  background: linear-gradient(135deg, #1454e8 0%, #0d3fc2 100%);
}

.air-tracker-story .air-grid-panel--blue h3 {
  color: #ffffff;
}

.air-tracker-story .air-grid-panel--blue > p {
  color: #eaf2ff;
}

.air-tracker-story .air-grid-panel--light {
  color: #0f172a;
  border: 1px solid #dbe5f3;
  background: #ffffff;
}

.air-tracker-story .air-grid-panel h3,
.air-tracker-story .air-how-card h3,
.air-tracker-story .air-platform-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.air-tracker-story .air-grid-panel > p {
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.air-tracker-story .air-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.air-tracker-story .air-value-item {
  min-height: 112px;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.93);
  color: #0f172a;
}

.air-tracker-story .air-grid-panel--light .air-value-item {
  border: 1px solid #dbe5f3;
  background: #f8fbff;
}

.air-tracker-story .air-value-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #1454e8;
}

.air-tracker-story .air-value-item span {
  display: block;
  font-size: 0.94rem;
  line-height: 1.45;
}

.air-tracker-story .air-how-card {
  margin-bottom: 2.5rem;
  background: #eef4ff;
}

.air-tracker-story .air-platform-card {
  background: #ffffff;
}

.air-tracker-story .air-platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.air-tracker-story .air-platform-item {
  padding: 1rem;
  border-left: 4px solid #1454e8;
  background: #eef4ff;
}

.air-tracker-story .air-platform-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.air-tracker-story .air-platform-item span {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .air-tracker-story .air-story-intro,
  .air-tracker-story .air-story-grid {
    grid-template-columns: 1fr;
  }

  .air-tracker-story .air-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .air-tracker-story {
    padding: 3.25rem 0;
  }

  .air-tracker-story .air-story-header {
    text-align: left;
  }

  .air-tracker-story .air-value-grid,
  .air-tracker-story .air-platform-grid {
    grid-template-columns: 1fr;
  }

  .air-tracker-story .air-story-copy,
  .air-tracker-story .air-how-card,
  .air-tracker-story .air-platform-card,
  .air-tracker-story .air-grid-panel {
    padding: 1.35rem;
  }

  .air-tracker-story .air-diagram {
    padding: 0.5rem;
    border-radius: 14px;
  }
}

/* LoRa overview: keep the detailed Fleet.Net screenshot large enough to read. */
.lora-overview-section {
  padding: 5.5rem 0;
  background: #f8fafc;
}

.lora-overview-header {
  max-width: 900px;
  margin-bottom: 2.25rem;
}

.lora-overview-header .section-title {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.1;
}

.lora-overview-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.lora-overview-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.lora-overview-copy p {
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
}

.lora-tech-card {
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  background: #eef4ff;
}

.lora-tech-card h3 {
  margin: 0 0 0.85rem;
  color: #0f172a;
  font-size: 1rem;
}

.lora-tech-card ul {
  display: flex;
  margin: 0;
  padding-left: 1.25rem;
  flex-direction: column;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.lora-platform-figure {
  margin: 0;
  padding: 1rem;
  border: 1px solid #dbe5f3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.lora-platform-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.lora-platform-figure figcaption {
  padding: 0.85rem 0.5rem 0.25rem;
  color: #64748b;
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 1000px) {
  .lora-overview-copy-grid,
  .lora-overview-copy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .lora-overview-section {
    padding: 4rem 0;
  }

  .lora-platform-figure {
    padding: 0.45rem;
    border-radius: 15px;
  }
}

/* Tool tracking solution hero and opening story */
.tool-tracking-hero .solution-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.tool-tracking-hero .tool-hero-kicker {
  display: block;
  margin-bottom: 0.9rem;
  color: #60a5fa;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-tracking-hero .solution-hero-title strong {
  color: #60a5fa;
}

.tool-hero-product-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 70px rgba(1, 10, 28, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tool-hero-device {
  display: flex;
  min-width: 0;
  min-height: 310px;
  padding: 1.25rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 19px;
  background: #ffffff;
  text-align: center;
  text-decoration: none;
}

.tool-hero-device:hover,
.tool-hero-device:focus {
  text-decoration: none;
  transform: translateY(-3px);
}

.tool-hero-device img {
  width: 100%;
  height: 215px;
  object-fit: contain;
}

.tool-hero-device strong {
  display: block;
  color: #073b73;
  font-size: 1.05rem;
}

.tool-hero-device span {
  display: block;
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.4;
}

.tool-story-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.tool-story-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.tool-story-header .section-title {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.tool-story-lead p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
}

.tool-story-lead p + p {
  margin-top: 0.9rem;
}

.tool-tracking-diagram {
  margin: 0 0 2.5rem;
  padding: 1rem;
  border: 1px solid #dbe5f3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

.tool-tracking-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.tool-story-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tool-story-benefit {
  padding: 1.35rem;
  border: 1px solid #dbe5f3;
  border-radius: 16px;
  background: #f8fbff;
}

.tool-story-benefit strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #1454e8;
}

.tool-story-benefit span {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tool-device-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.tool-device-option {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid #dbe5f3;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.tool-device-option img {
  width: 100%;
  height: 165px;
  object-fit: contain;
}

.tool-device-option h3 {
  margin: 0 0 0.5rem;
  color: #073b73;
}

.tool-device-option p {
  margin: 0 0 0.85rem;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}

.tool-device-option a {
  color: #2563eb;
  font-weight: 700;
}

/* Full Air Tracker commerce cards used on the Tool Tracking solution page. */
.tool-air-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.tool-air-shop-grid .air-shop-card {
  display: grid;
  grid-template-rows: 300px auto;
  position: relative;
  overflow: visible;
  border: 1px solid #dbe5f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

.tool-air-shop-grid .air-shop-card:has(.sub-required-wrapper:hover),
.tool-air-shop-grid .air-shop-card:has(.sub-required-wrapper.active) { z-index: 50; }
.tool-air-shop-grid .air-shop-card-media { display:flex; align-items:center; justify-content:center; padding:1.5rem; border-radius:24px 24px 0 0; background:#f8fbff; }
.tool-air-shop-grid .air-shop-card-media img { width:100%; height:100%; object-fit:contain; }
.tool-air-shop-grid .air-shop-card-body { display:flex; flex-direction:column; padding:2rem; }
.tool-air-shop-grid .air-shop-label { color:#10b981; font-size:.76rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.tool-air-shop-grid .air-shop-card h3 { margin:.35rem 0 .55rem; color:#073b73; font-size:1.75rem; }
.tool-air-shop-grid .air-shop-card p { color:#52647d; line-height:1.6; }
.tool-air-shop-grid .air-shop-features { display:grid; gap:.45rem; margin:1rem 0; color:#334155; font-size:.92rem; }
.tool-air-shop-grid .air-shop-features span::before { content:'✓'; margin-right:.55rem; color:#2563eb; font-weight:800; }
.tool-air-shop-grid .air-shop-price-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:1.25rem 0 1rem; }
.tool-air-shop-grid .air-shop-price strong { display:block; color:#2563eb; font-size:1.65rem; }
.tool-air-shop-grid .air-shop-price span { color:#64748b; font-size:.8rem; }
.tool-air-shop-grid .air-shop-actions { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.tool-air-shop-grid .air-shop-actions .btn { display:flex; align-items:center; justify-content:center; width:100%; min-height:46px; }
.tool-air-shop-grid .air-solar-option { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1rem; color:#334155; font-size:.88rem; font-weight:700; }
.tool-air-shop-grid .air-solar-option select { padding:.5rem .7rem; border:1px solid #dbe5f3; border-radius:9px; background:#fff; }

.tool-air-shop-grid .sub-required-wrapper { position:relative; display:flex; justify-content:center; z-index:60; }
.tool-air-shop-grid .sub-required-badge { display:inline-flex; align-items:center; gap:6px; padding:.42rem .72rem; border:1px solid rgba(16,185,129,.3); border-radius:999px; background:linear-gradient(135deg,rgba(16,185,129,.08),rgba(59,130,246,.08)); color:#047857; font-size:.76rem; font-weight:700; cursor:pointer; }
.tool-air-shop-grid .sub-required-badge:hover,
.tool-air-shop-grid .sub-required-wrapper:hover .sub-required-badge,
.tool-air-shop-grid .sub-required-wrapper.active .sub-required-badge { border-color:rgba(16,185,129,.6); background:linear-gradient(135deg,rgba(16,185,129,.18),rgba(59,130,246,.18)); }
.tool-air-shop-grid .pulse-dot { width:7px; height:7px; border-radius:50%; background:#10b981; }
.tool-air-shop-grid .info-icon { width:14px; height:14px; }
.tool-air-shop-grid .plan-popover-card { position:absolute; right:0; top:calc(100% + 12px); width:330px; max-width:88vw; padding:1.1rem; border:1px solid #e2e8f0; border-radius:16px; background:rgba(255,255,255,.99); box-shadow:0 25px 50px -12px rgba(15,23,42,.25); opacity:0; visibility:hidden; pointer-events:none; transform:translateY(8px) scale(.96); transform-origin:top right; transition:opacity .2s ease,transform .2s ease,visibility .2s; z-index:100; text-align:left; }
.tool-air-shop-grid .sub-required-wrapper:hover .plan-popover-card,
.tool-air-shop-grid .sub-required-wrapper:focus-within .plan-popover-card,
.tool-air-shop-grid .sub-required-wrapper.active .plan-popover-card { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0) scale(1); }
.tool-air-shop-grid .popover-header { margin-bottom:.75rem; padding-bottom:.6rem; border-bottom:1px solid #f1f5f9; }
.tool-air-shop-grid .popover-badge { display:inline-block; margin-bottom:.35rem; padding:.15rem .5rem; border-radius:999px; background:rgba(37,99,235,.1); color:#2563eb; font-size:.68rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.tool-air-shop-grid .tool-solar-plan-badge { background:rgba(245,158,11,.1); color:#d97706; }
.tool-air-shop-grid .popover-title { display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-bottom:.25rem; color:#0f172a; font-size:.98rem; font-weight:700; }
.tool-air-shop-grid .popover-title em { color:#10b981; font-size:.72rem; font-style:normal; white-space:nowrap; }
.tool-air-shop-grid .popover-subtitle { margin:0; color:#64748b; font-size:.76rem; line-height:1.4; }
.tool-air-shop-grid .popover-tabs { display:flex; gap:2px; margin-bottom:.75rem; padding:3px; border-radius:8px; background:#f1f5f9; }
.tool-air-shop-grid .popover-tab { flex:1; padding:.3rem 0; border:0; border-radius:6px; background:transparent; color:#64748b; font-size:.72rem; font-weight:600; cursor:pointer; }
.tool-air-shop-grid .popover-tab.active { background:#fff; color:#0f172a; box-shadow:0 1px 3px rgba(0,0,0,.1); }
.tool-air-shop-grid .popover-table { width:100%; margin-bottom:.65rem; border-collapse:collapse; font-size:.76rem; }
.tool-air-shop-grid .popover-table th { padding:.4rem .5rem; border-bottom:1px solid #e2e8f0; background:#f8fafc; color:#475569; font-size:.69rem; text-align:left; }
.tool-air-shop-grid .popover-table td { padding:.42rem .5rem; border-bottom:1px solid #f1f5f9; color:#334155; }
.tool-air-shop-grid .popover-table .price-cell { color:#2563eb; font-weight:700; text-align:right; }
.tool-air-shop-grid .monthly-equivalent,
.tool-air-shop-grid .billing-total { display:block; white-space:nowrap; }
.tool-air-shop-grid .billing-total { margin-top:2px; color:#64748b; font-size:.62rem; font-weight:500; }
.tool-air-shop-grid .popover-billing-note { margin:0; color:#64748b; font-size:.66rem; line-height:1.4; }

.tool-card-bulk-order { margin-top:1.25rem; padding:1rem; border:1px solid #cfe0f5; border-radius:14px; background:linear-gradient(135deg,#f7fbff 0%,#eef6ff 100%); }
.tool-card-bulk-order strong { display:block; margin-bottom:.2rem; color:#073b73; font-size:.95rem; }
.tool-card-bulk-order p { margin:0 0 .7rem; font-size:.8rem; line-height:1.45; }
.tool-card-bulk-order .email-check-bar { width:100%; max-width:none; margin:0; }
.tool-card-bulk-order .email-check-wrapper { background:#fff; }
.tool-card-bulk-order .email-check-input { min-width:0; }
.tool-card-bulk-order .email-check-btn { white-space:nowrap; }

@media (max-width: 1000px) {
  .tool-tracking-hero .solution-hero-container,
  .tool-story-header {
    grid-template-columns: 1fr;
  }

  .tool-hero-product-showcase {
    max-width: 680px;
  }

  .tool-story-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-device-options {
    grid-template-columns: 1fr;
  }

  .tool-air-shop-grid { grid-template-columns:1fr; max-width:680px; }
}

@media (max-width: 600px) {
  .tool-hero-product-showcase {
    grid-template-columns: 1fr;
  }

  .tool-hero-device {
    min-height: 260px;
  }

  .tool-hero-device img {
    height: 175px;
  }

  .tool-story-section {
    padding: 4rem 0;
  }

  .tool-story-benefits {
    grid-template-columns: 1fr;
  }

  .tool-tracking-diagram {
    padding: 0.5rem;
    border-radius: 15px;
  }

  .tool-device-option {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tool-air-shop-grid .air-shop-card { grid-template-rows:240px auto; }
  .tool-air-shop-grid .air-shop-card-body { padding:1.35rem; }
  .tool-air-shop-grid .air-shop-actions { grid-template-columns:1fr; }
  .tool-air-shop-grid .air-shop-price-row { align-items:flex-start; flex-direction:column; }
  .tool-air-shop-grid .plan-popover-card { right:auto; left:0; transform-origin:top left; }
}

/* Category Tab Styles */
.category-tab {
  background: var(--light-surface);
  border: 1px solid rgba(217, 228, 245, 0.8);
  color: var(--deep-blue);
  cursor: pointer;
  transition: all var(--transition-normal);
}
body.dark-mode-theme .category-tab {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.category-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(42, 124, 229, 0.05);
}
.category-tab.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(42, 124, 229, 0.25);
}
body.dark-mode-theme .category-tab.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

#hardware-search:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(42, 124, 229, 0.15);
}
body.dark-mode-theme #hardware-search {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Footer Section */
.footer {
  background-color: var(--deep-blue);
  color: #ffffff;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--primary);
}

.footer h3, .footer h4 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

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

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}

.footer-copy {
  font-size: 0.9rem;
  color: #94a3b8;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.social-icon {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.social-icon:hover { color: var(--primary); }

/* --- Animations --- */
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes moveMarker {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
}

@media (max-width: 768px) {
  .nav-actions .btn {
    display: none !important;
  }
}

/* --- Premium Motive Theme (Dark Ops AI) Revamp Overrides --- */
body.theme-motive {
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.06) 0%, rgba(11, 19, 43, 0) 50%),
    radial-gradient(circle at 85% 85%, rgba(42, 124, 229, 0.08) 0%, rgba(11, 19, 43, 0) 50%),
    radial-gradient(rgba(255, 255, 255, 0.035) 1.5px, transparent 0);
  background-size: 100% 100%, 100% 100%, 30px 30px;
  background-color: #050914; /* Extra rich deep pitch-dark background */
  color: #cbd5e1;
}

/* Metallic gradient headings with subtle drop shadows */
body.theme-motive h1,
body.theme-motive h2,
body.theme-motive .hero-title {
  background: linear-gradient(135deg, #ffffff 40%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

body.theme-motive h3,
body.theme-motive h4 {
  color: #f1f5f9;
}

body.theme-motive .text-accent {
  background: linear-gradient(135deg, #2a7ce5 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.25));
  font-weight: 800;
}

/* Glassmorphic command-center cards with thin cyan glowing borders */
body.theme-motive .glass-card,
body.theme-motive .product-card,
body.theme-motive .pricing-card {
  background: rgba(13, 23, 47, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

body.theme-motive .glass-card:hover,
body.theme-motive .product-card:hover,
body.theme-motive .pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 16px 45px rgba(0, 242, 254, 0.08), 0 0 30px rgba(0, 242, 254, 0.03);
}

/* Volumetric primary button glow */
body.theme-motive .btn-primary {
  background: linear-gradient(135deg, #2a7ce5 0%, #00f2fe 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
  border: none;
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

body.theme-motive .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.4), 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Futuristic outline buttons */
body.theme-motive .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0 !important;
  transition: all var(--transition-fast);
}

body.theme-motive .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.35);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.03);
}

/* Telematics metrics styles are defined at the end of the file */

/* Navigation adjustment for dark operations theme */
body.theme-motive .header-nav {
  background: rgba(5, 9, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.08);
}

body.theme-motive .nav-item a {
  color: #94a3b8;
}

body.theme-motive .nav-item a:hover {
  color: var(--primary);
}

/* Floating switcher widget refinement */
body.theme-motive #theme-switcher-widget {
  background: rgba(13, 23, 47, 0.9) !important;
  border-color: var(--primary) !important;
  backdrop-filter: blur(8px);
}

body.theme-motive #theme-switcher-widget span {
  color: #ffffff !important;
}

body.theme-motive #theme-switcher-widget select {
  background: rgba(5, 9, 20, 0.9) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Shopping Cart Drawer refinement for Motive */
body.theme-motive .cart-drawer {
  background-color: #0b132b;
  border-left: 1px solid rgba(0, 242, 254, 0.15);
  color: #cbd5e1;
}

body.theme-motive .cart-header h3 {
  color: #ffffff;
}

body.theme-motive .cart-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.theme-motive .cart-item-title {
  color: #ffffff;
}

body.theme-motive .qty-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-motive .qty-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary);
}

body.theme-motive .product-img-wrapper {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 242, 254, 0.08);
}

/* --- Metrics Section & Theme Adaptability --- */
.metrics-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  background-color: var(--deep-blue);
  color: #ffffff;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition-normal), border var(--transition-normal);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--light-silver);
  margin-bottom: 0;
  font-weight: 500;
  opacity: 0.85;
}

/* Glass Theme Adaptation */
body.theme-glass .metrics-section {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}
body.theme-glass .metric-val {
  background: linear-gradient(135deg, var(--deep-blue) 30%, var(--primary) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
body.theme-glass .metric-label {
  color: var(--body-color);
  font-weight: 600;
  opacity: 0.8;
}

/* Motive (Dark Ops) Theme Adaptation */
body.theme-motive .metrics-section {
  background: linear-gradient(180deg, #070b18 0%, #0c1428 100%);
  border-top: 1px solid rgba(0, 242, 254, 0.15);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.03);
}
body.theme-motive .metric-val {
  background: linear-gradient(135deg, #ffffff 40%, #00f2fe 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.45));
}
body.theme-motive .metric-label {
  color: #94a3b8;
}

/* Footer Theme Corrections to avoid white footer in Dark Themes */
body.theme-motive .footer {
  background-color: #050914 !important;
  border-top: 1px solid rgba(0, 242, 254, 0.15);
}
body.theme-motive .footer h3,
body.theme-motive .footer h4 {
  color: #ffffff !important;
}
body.theme-motive .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.theme-glass .footer {
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Product Tag Contrast Corrections in Dark Themes */
body.theme-motive .product-tag {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}
body.theme-glass .product-tag {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

/* --- Wikipedia Style Article Design --- */
.wiki-article {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  color: var(--body-color);
  line-height: 1.6;
}

/* Wikipedia Title Heading */
.wiki-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--deep-blue);
  font-weight: 400;
  text-align: left;
}

body.theme-motive .wiki-title {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.wiki-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

body.theme-motive .wiki-subtitle {
  color: #94a3b8;
}

/* Wikipedia Infobox styling */
.wiki-infobox {
  float: right;
  width: 290px;
  margin: 0 0 1.5rem 1.5rem;
  background: #f8f9fa;
  border: 1px solid #a2a9b1;
  padding: 0.5rem;
  font-size: 0.85rem;
  border-collapse: collapse;
  border-radius: 4px;
}

body.theme-motive .wiki-infobox {
  background: rgba(13, 23, 47, 0.9);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: #cbd5e1;
}

body.theme-glass .wiki-infobox {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
}

.wiki-infobox-header {
  background: #eaecf0;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid #a2a9b1;
}

body.theme-motive .wiki-infobox-header {
  background: rgba(0, 242, 254, 0.12);
  border-bottom-color: rgba(0, 242, 254, 0.2);
  color: #ffffff;
}

body.theme-glass .wiki-infobox-header {
  background: rgba(255, 255, 255, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.wiki-infobox img {
  display: block;
  margin: 0.5rem auto;
  max-width: 100%;
  height: auto;
  background: #ffffff;
  border: 1px solid #c8ccd1;
  padding: 4px;
  border-radius: 4px;
}

body.theme-motive .wiki-infobox img {
  background: rgba(5, 9, 20, 0.6);
  border-color: rgba(0, 242, 254, 0.15);
}

.wiki-infobox table {
  width: 100%;
  border-collapse: collapse;
}

.wiki-infobox th {
  text-align: left;
  font-weight: bold;
  padding: 0.3rem 0.5rem;
  vertical-align: top;
  width: 40%;
  border-bottom: 1px solid #eaecf0;
}

.wiki-infobox td {
  padding: 0.3rem 0.5rem;
  vertical-align: top;
  border-bottom: 1px solid #eaecf0;
}

body.theme-motive .wiki-infobox th,
body.theme-motive .wiki-infobox td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* Wikipedia Table of Contents (TOC) */
.wiki-toc {
  background: #f8f9fa;
  border: 1px solid #a2a9b1;
  padding: 0.75rem 1rem;
  display: inline-block;
  min-width: 220px;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  border-radius: 4px;
}

body.theme-motive .wiki-toc {
  background: rgba(13, 23, 47, 0.6);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: #cbd5e1;
}

body.theme-glass .wiki-toc {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.wiki-toc-title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
}

.wiki-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wiki-toc li {
  margin-bottom: 0.3rem;
}

.wiki-toc a {
  color: var(--primary);
  text-decoration: none;
}

.wiki-toc a:hover {
  text-decoration: underline;
}

.wiki-toc-number {
  color: #54595d;
  margin-right: 0.25rem;
}

body.theme-motive .wiki-toc-number {
  color: #64748b;
}

/* Wikipedia Section Heading */
.wiki-section-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: normal;
  border-bottom: 1px solid #a2a9b1;
  padding-bottom: 0.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--deep-blue);
  text-align: left;
}

body.theme-motive .wiki-section-heading {
  border-bottom-color: rgba(0, 242, 254, 0.25);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 242, 254, 0.05);
}

/* Wikipedia Paragraph styling */
.wiki-p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

div.wiki-p {
  text-align: left;
}

/* Style raw inline SVGs in WordPress generated content to prevent them from blowing up to full-width */
.wiki-p svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}
.wiki-p svg:not([width]) {
  width: 24px;
}
.wiki-p svg:not([height]) {
  height: 24px;
}


/* Wikipedia Inline Citation */
.wiki-citation {
  font-size: 0.75rem;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.1rem;
  color: var(--primary);
  font-weight: bold;
}

/* Wikipedia References Section */
.wiki-references {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 2px solid #eaecf0;
  font-size: 0.85rem;
}

body.theme-motive .wiki-references {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.wiki-references ol {
  padding-left: 1.5rem;
}

.wiki-references li {
  margin-bottom: 0.4rem;
}

/* Wikipedia Categories Box */
.wiki-categories {
  margin-top: 3rem;
  background: #f8f9fa;
  border: 1px solid #a2a9b1;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 4px;
}

body.theme-motive .wiki-categories {
  background: rgba(13, 23, 47, 0.6);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: #cbd5e1;
}

body.theme-glass .wiki-categories {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wiki-categories-title {
  font-weight: bold;
  color: #54595d;
  margin-right: 0.5rem;
}

body.theme-motive .wiki-categories-title {
  color: #94a3b8;
}

.wiki-categories-list {
  display: inline;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wiki-categories-list li {
  display: inline;
}

.wiki-categories-list li + li::before {
  content: " | ";
  color: #c8ccd1;
  padding: 0 0.25rem;
}

.wiki-categories-list a {
  color: var(--primary);
  text-decoration: none;
}

.wiki-categories-list a:hover {
  text-decoration: underline;
}

/* Wikipedia Thumbnail/Inline Image style */
.wiki-thumb {
  border: 1px solid #c8ccd1;
  padding: 3px;
  background: #f8f9fa;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 4px;
  max-width: 240px;
  margin-bottom: 1.25rem;
}

.wiki-thumb.float-right {
  float: right;
  margin-left: 1.25rem;
}

.wiki-thumb.float-left {
  float: left;
  margin-right: 1.25rem;
}

body.theme-motive .wiki-thumb {
  background: rgba(13, 23, 47, 0.7);
  border-color: rgba(0, 242, 254, 0.15);
  color: #94a3b8;
}

.wiki-thumb img {
  max-width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
  border: 1px solid #c8ccd1;
  border-radius: 2px;
}

body.theme-motive .wiki-thumb img {
  background: rgba(5, 9, 20, 0.6);
  border-color: rgba(0, 242, 254, 0.1);
}

.wiki-thumb-caption {
  padding: 0.35rem 0.25rem 0.25rem 0.25rem;
  color: #54595d;
  line-height: 1.3;
}

body.theme-motive .wiki-thumb-caption {
  color: #94a3b8;
}

/* Responsive overrides for Wikipedia Article layouts */
@media (max-width: 1023px) {
  .wiki-article {
    padding: 1.5rem;
  }
  
  .wiki-toc {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  
  .wiki-infobox {
    float: none;
    width: 100% !important;
    margin: 1.5rem 0;
  }
}

.wiki-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
}

.wiki-article table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 0 !important;
}

.wiki-article table th,
.wiki-article table td {
  padding: 8px 12px;
  border: 1px solid var(--border-val);
  white-space: normal;
}

@media (max-width: 480px) {
  .wiki-article {
    padding: 1rem;
  }
  .container {
    padding: 0 1rem;
  }
}

/* --- Hero Section Background Video Styles --- */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 10rem 0 8rem;
  background: var(--light-bg);
  transition: background var(--transition-normal);
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 1 !important;
  pointer-events: none;
  filter: none !important;
  transform: scale(1.03);
  transform-origin: center;
  transition: none;
}

body.theme-motive .hero-video {
  opacity: 1 !important;
  filter: none !important;
}

body.theme-glass .hero-video {
  opacity: 1 !important;
  filter: none !important;
}

.hero-overlay {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(2, 12, 27, 0.42) 0%, rgba(2, 12, 27, 0.62) 100%),
    radial-gradient(circle at center, rgba(3, 20, 43, 0.06) 0%, rgba(3, 20, 43, 0.28) 100%);
}

.hero-section .container > div:first-child {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.theme-motive .hero-section .container > div:first-child {
  background: transparent;
  border: 0;
}

.home-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.home-hero-copy {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.home-hero-copy h1,
body.theme-motive .home-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.45);
}

.home-hero-copy p,
body.theme-motive .home-hero-copy p {
  max-width: 850px;
  margin: 1.5rem auto 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.5;
  font-weight: 500;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.home-hero-copy .home-hero-value,
body.theme-motive .home-hero-copy .home-hero-value {
  max-width: 920px;
  color: #dce7f3;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.home-hero-copy .home-hero-features,
body.theme-motive .home-hero-copy .home-hero-features {
  margin-top: 0.8rem;
  color: #9ed7ff;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 400;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.home-hero-actions .btn {
  min-width: 190px;
  min-height: 54px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.home-hero-primary span {
  margin-left: 0.35rem;
  transition: transform var(--transition-fast);
}

.home-hero-primary:hover span {
  transform: translateX(3px);
}

.home-hero-secondary,
body.theme-motive .home-hero-secondary {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: var(--deep-blue);
}

.home-hero-secondary:hover,
body.theme-motive .home-hero-secondary:hover {
  background: #eef5ff;
  border-color: #eef5ff;
  color: var(--primary-hover);
  transform: translateY(-2px);
}

.home-hero-shop,
body.theme-motive .home-hero-shop {
  background: #16a34a;
  border: 2px solid #16a34a;
  color: #ffffff;
}

.home-hero-shop:hover,
body.theme-motive .home-hero-shop:hover {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
}

.home-pricing-strip {
  position: relative;
  z-index: 4;
  padding: 2.75rem 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.home-pricing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 3.5rem;
  align-items: center;
}

.home-pricing-copy h2 {
  margin: 0 0 0.4rem;
  color: var(--deep-blue);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.home-pricing-copy p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.home-pricing-strip .email-check-bar {
  max-width: none;
  margin-top: 0;
}

.home-pricing-strip + .metrics-section {
  margin-top: 0;
}

.home-capabilities-strip {
  position: relative;
  z-index: 3;
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid #dbe7f5;
}

.home-capabilities-inner {
  text-align: center;
}

.home-capabilities-inner h2 {
  max-width: 1040px;
  margin: 0 auto 1.75rem;
  color: var(--deep-blue);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.home-capabilities-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1080px;
  margin: 0 auto;
}

.home-capabilities-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(42, 124, 229, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 61, 112, 0.06);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.home-capabilities-links a:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(42, 124, 229, 0.14);
}

.home-capabilities-strip + .metrics-section {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero-section {
    min-height: 620px;
    padding: 9rem 0 6rem;
  }

  .home-pricing-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 579px) {
  .hero-section {
    min-height: 660px;
    padding: 8rem 0 4.5rem;
  }

  .hero-video {
    transform: scale(1.01);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(2, 12, 27, 0.42) 0%, rgba(2, 12, 27, 0.72) 100%);
  }

  .home-hero-copy h1,
  body.theme-motive .home-hero-copy h1 {
    font-size: clamp(2.25rem, 10.4vw, 2.75rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .home-hero-copy p,
  body.theme-motive .home-hero-copy p {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .home-hero-actions {
    flex-direction: column;
    margin-top: 1.65rem;
  }

  .home-hero-actions .btn {
    width: min(100%, 310px);
  }

  .home-pricing-strip {
    padding: 2.25rem 0;
  }

  .home-pricing-copy,
  .home-pricing-strip .email-check-helper {
    text-align: center;
  }

  .home-pricing-strip .email-check-helper {
    padding-left: 0;
  }

  .home-capabilities-strip {
    padding: 2.75rem 0;
  }

  .home-capabilities-inner h2 {
    margin-bottom: 1.4rem;
  }

  .home-capabilities-links {
    gap: 0.6rem;
  }

  .home-capabilities-links a {
    width: 100%;
    justify-content: center;
  }
}

/* --- Motive Dark Theme overrides for inline background styles and light grey sections --- */
body.theme-motive section[style*="linear-gradient"],
body.theme-motive section[style*="background: linear-gradient"],
body.theme-motive section[style*="background:linear-gradient"] {
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-surface) 100%) !important;
}

body.theme-motive section[style*="background-color: white"],
body.theme-motive section[style*="background-color:white"],
body.theme-motive section[style*="background-color: #ffffff"],
body.theme-motive section[style*="background-color:#ffffff"] {
  background-color: var(--light-bg) !important;
}

body.theme-motive div[style*="background: white"],
body.theme-motive div[style*="background:white"],
body.theme-motive div[style*="background-color: white"],
body.theme-motive div[style*="background-color:white"],
body.theme-motive div[style*="background: #ffffff"],
body.theme-motive div[style*="background:#ffffff"] {
  background: var(--light-surface) !important;
  color: var(--body-color) !important;
}

body.theme-motive div[style*="background: #f1f5f9"],
body.theme-motive div[style*="background:#f1f5f9"],
body.theme-motive div[style*="background-color: #f1f5f9"],
body.theme-motive div[style*="background-color:#f1f5f9"],
body.theme-motive div[style*="background: #f8fafc"],
body.theme-motive div[style*="background:#f8fafc"],
body.theme-motive div[style*="background-color: #f8fafc"],
body.theme-motive div[style*="background-color:#f8fafc"] {
  background: var(--light-bg) !important;
  color: var(--body-color) !important;
}

/* Form Input & Element Overrides for Motive Theme */
body.theme-motive .form-input,
body.theme-motive .form-select,
body.theme-motive .form-textarea {
  background-color: var(--light-surface) !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
  color: #ffffff !important;
}

body.theme-motive .form-input:focus,
body.theme-motive .form-select:focus,
body.theme-motive .form-textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.12) !important;
}

body.theme-motive ::placeholder {
  color: #64748b !important;
}

/* --- Staging Password Lock Screen Styles --- */
#lock-screen-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: radial-gradient(circle at 50% 50%, #0c1428 0%, #050914 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.lock-card {
  background: rgba(13, 22, 45, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: lockFadeIn 0.5s ease-out;
}

.lock-logo-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.lock-icon-svg {
  width: 54px;
  height: 54px;
  color: #00f2fe;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
}

.lock-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.lock-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.lock-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lock-input {
  background: rgba(5, 9, 20, 0.6) !important;
  border: 1.5px solid rgba(0, 242, 254, 0.25) !important;
  color: #ffffff !important;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
  outline: none;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.lock-input:focus {
  border-color: #00f2fe !important;
  box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.15);
}

.lock-btn {
  background: linear-gradient(135deg, #2a7ce5 0%, #00f2fe 100%);
  border: none;
  color: white;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.lock-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.3);
}

.lock-error {
  color: #ff5c57;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

@keyframes lockFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shakeCard {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* --- Defer Rendering below-the-fold content for performance --- */
.deferred-heavy-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
/* --- Redesigned Solution and Product Pages Custom Styles --- */
@media (min-width: 1024px) {
  .grid-2.sidebar-layout {
    grid-template-columns: 2.2fr 1fr;
    gap: 3.5rem;
  }
}

.solutions-hero {
  background: var(--grad-primary);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem 0 !important;
}

.solutions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(42, 124, 229, 0.15) 0%, rgba(0,0,0,0) 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 92, 87, 0.12) 0%, rgba(0,0,0,0) 40%);
  pointer-events: none;
  z-index: 1;
}

.solutions-hero .container {
  position: relative;
  z-index: 2;
}

.solutions-tag {
  background-color: var(--coral);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(255, 92, 87, 0.25);
}

.solutions-hero h1 {
  color: white !important;
  font-size: 2.85rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.solutions-hero p {
  color: #cbd5e1 !important;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 800px;
}

/* Sidebar layout custom rules */
.sidebar-cta-card {
  position: sticky;
  top: 120px;
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.sidebar-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

body.dark-mode-theme .sidebar-cta-card {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Redesigned content sections */
.solutions-layout {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.solutions-content-section {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.solutions-content-section:hover {
  box-shadow: var(--shadow-md);
}

body.dark-mode-theme .solutions-content-section {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

.solutions-content-section h2 {
  font-size: 1.85rem;
  color: var(--deep-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.solutions-content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.solutions-content-section h3 {
  font-size: 1.35rem;
  color: var(--deep-blue);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.solutions-content-section p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

body.dark-mode-theme .solutions-content-section p {
  color: #cbd5e1;
}

/* Premium styled lists */
.solutions-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .solutions-features-list.cols-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.solutions-features-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
}

body.dark-mode-theme .solutions-features-list li {
  color: #cbd5e1;
}

.solutions-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: #10b981;
  font-weight: 800;
  font-size: 1.2rem;
}

/* Styled Images */
.solutions-image-container {
  margin: 2.5rem 0;
  text-align: center;
}

.solutions-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition-normal);
}

.solutions-image:hover {
  transform: scale(1.015);
}

/* Accordion Details/Summary styling */
.faq-section {
  margin-top: 4rem;
  border-top: 1px dashed rgba(217, 228, 245, 0.8);
  padding-top: 3.5rem;
}

details.faq-item {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.75rem;
  transition: all var(--transition-fast);
}

details.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  background: var(--light-surface);
}

body.dark-mode-theme details.faq-item {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

details.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
  user-select: none;
}

body.dark-mode-theme details.faq-item summary {
  color: #ffffff;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

details.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

details.faq-item p {
  margin-top: 1rem;
  margin-bottom: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
}

body.dark-mode-theme details.faq-item p {
  color: #cbd5e1;
}

/* --- RTL (Right to Left) overrides for Arabic pages --- */
[dir="rtl"] .grid-2.sidebar-layout {
  direction: rtl;
}
[dir="rtl"] .solutions-features-list {
  padding-right: 0;
}
[dir="rtl"] .solutions-features-list li {
  padding-left: 0;
  padding-right: 2.25rem;
}
[dir="rtl"] .solutions-features-list li::before {
  left: auto;
  right: 0.25rem;
}
[dir="rtl"] .sidebar-cta-card {
  border-left: none;
  border-right: 5px solid var(--primary);
}
[dir="rtl"] details.faq-item summary::after {
  content: '+';
}
[dir="rtl"] details.faq-item[open] summary::after {
  content: '−';
}
[dir="rtl"] .solutions-content-section h2::after {
  left: auto;
  right: 0;
}
[dir="rtl"] .sidebar-cta-card div {
  text-align: center;
}

/* Premium Product Feature Card Grid */
.features-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .features-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

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

body.dark-mode-theme .feature-card {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0;
}

body.dark-mode-theme .feature-card-title {
  color: #ffffff;
}

.feature-card-desc {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

body.dark-mode-theme .feature-card-desc {
  color: #cbd5e1;
}

[dir="rtl"] .feature-card {
  border-top: 4px solid var(--primary);
  text-align: right;
}

/* --- Premium Solution Layout Styles --- */

.solution-hero-section {
  background: linear-gradient(135deg, #070b15 0%, #111a30 60%, #070b15 100%);
  color: #ffffff;
  padding: 10rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.solution-hero-container--single {
  max-width: 920px;
}

.solution-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 20%, rgba(42, 124, 229, 0.35) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(circle at 85% 75%, rgba(0, 242, 254, 0.22) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(135deg, rgba(7, 11, 21, 0.78) 0%, rgba(17, 26, 48, 0.68) 60%, rgba(7, 11, 21, 0.82) 100%);
  pointer-events: none;
  z-index: 2;
}

.solution-hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  margin-bottom: 1.5rem;
}

.solution-hero-title span {
  background: linear-gradient(to right, #60a5fa, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.solution-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.solution-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  transition: background var(--transition-fast);
}

.solution-badge:hover {
  background: rgba(255, 255, 255, 0.08);
}

.solution-badge svg {
  width: 14px;
  height: 14px;
  fill: #00f2fe;
}

/* Sticky subnav */
.samsara-subnav,
.solution-subnav,
.sticky-subnav,
.subnav-sticky-bar {
  position: sticky;
  top: calc(var(--header-height, 55px) - 1px);
  z-index: 99;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border-val);
  transition: top 0.2s ease, background var(--transition-fast), border-color var(--transition-fast);
}

body.dark-mode-theme .samsara-subnav,
body.dark-mode-theme .solution-subnav,
body.dark-mode-theme .sticky-subnav,
body.dark-mode-theme .subnav-sticky-bar {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.05);
}

.samsara-subnav-container,
.solution-subnav-container,
.subnav-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.15rem 0;
  flex-wrap: wrap;
}

.samsara-subnav-link,
.solution-subnav-link,
.subnav-link,
.subnav-item {
  color: #64748b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
  cursor: pointer;
}

body.dark-mode-theme .samsara-subnav-link,
body.dark-mode-theme .solution-subnav-link,
body.dark-mode-theme .subnav-link,
body.dark-mode-theme .subnav-item {
  color: #94a3b8;
}

.samsara-subnav-link:hover, .samsara-subnav-link.active,
.solution-subnav-link:hover, .solution-subnav-link.active,
.subnav-link:hover, .subnav-link.active,
.subnav-item:hover, .subnav-item.active {
  color: var(--primary);
}

.samsara-subnav-link.active::after,
.solution-subnav-link.active::after,
.subnav-link.active::after,
.subnav-item.active::after {
  content: '';
  position: absolute;
  bottom: -1.15rem;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 9999px;
}


/* Capability Grid */
.solution-capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .solution-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .solution-capability-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-capability-card {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.solution-capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42, 124, 229, 0.25);
}

body.dark-mode-theme .solution-capability-card {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

.solution-capability-icon {
  background: rgba(42, 124, 229, 0.08);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

body.dark-mode-theme .solution-capability-icon {
  background: rgba(42, 124, 229, 0.15);
  color: #60a5fa;
}

.solution-capability-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.solution-capability-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0;
}

body.dark-mode-theme .solution-capability-card h3 {
  color: #ffffff;
}

.solution-capability-card p {
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

body.dark-mode-theme .solution-capability-card p {
  color: #cbd5e1;
}

/* Testimonial Block */
.solution-testimonial-block {
  background: rgba(42, 124, 229, 0.03);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 3rem;
  margin: 4rem auto;
  max-width: 900px;
  text-align: left;
}

body.dark-mode-theme .solution-testimonial-block {
  background: rgba(42, 124, 229, 0.05);
}

.solution-testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--deep-blue);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

body.dark-mode-theme .solution-testimonial-quote {
  color: #ffffff;
}

.solution-testimonial-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}

body.dark-mode-theme .solution-testimonial-author {
  color: #94a3b8;
}

.solution-testimonial-author span {
  color: var(--primary);
  font-weight: bold;
}

.solution-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .solution-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.solution-testimonials-grid .solution-testimonial-block {
  margin: 0;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Solution audience strip */
.solution-brand-grid-container {
  background-color: var(--light-bg);
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-val);
  transition: background-color var(--transition-normal);
}

.solution-brand-grid-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

body.dark-mode-theme .solution-brand-grid-title,
body.theme-motive .solution-brand-grid-title {
  color: #94a3b8;
}

.solution-brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
}

.solution-brand-logo-svg {
  fill: #64748b;
  opacity: 0.82;
  cursor: default;
}

.solution-brand-logo-svg text {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.solution-brand-logo-svg:hover {
  opacity: 0.82;
  fill: #64748b;
}

body.dark-mode-theme .solution-brand-logo-svg,
body.theme-motive .solution-brand-logo-svg {
  fill: #cbd5e1;
}

body.dark-mode-theme .solution-brand-logo-svg:hover,
body.theme-motive .solution-brand-logo-svg:hover {
  fill: #cbd5e1;
}

/* Hardware Showcase */
.solution-hardware-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .solution-hardware-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .solution-hardware-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-hardware-card {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.solution-hardware-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 124, 229, 0.2);
}

body.dark-mode-theme .solution-hardware-card {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}

.solution-hardware-img-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-hardware-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.solution-hardware-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 0.5rem;
}

body.dark-mode-theme .solution-hardware-info h3 {
  color: #ffffff;
}

.solution-hardware-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

body.dark-mode-theme .solution-hardware-info p {
  color: #cbd5e1;
}

.solution-hardware-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

body.dark-mode-theme .solution-hardware-bullets {
  color: #cbd5e1;
}

.solution-hardware-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.solution-hardware-bullets li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
}

/* High Impact CTA Banner */
.solution-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-premium);
  padding: 4.5rem 3.5rem;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  margin: 5rem auto 2rem auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.solution-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(42, 124, 229, 0.1) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
}

.solution-cta-banner h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff !important;
}

.solution-cta-banner p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* Overview Section (Alternating Columns) */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.overview-visual {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-premium);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
}

body.dark-mode-theme .overview-visual {
  background: var(--dark-surface);
  border-color: rgba(255,255,255,0.05);
}

/* Fleet.Net screens contain operational detail that is lost in a narrow column. */
.overview-grid.platform-overview-wide {
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.platform-overview-wide .overview-text {
  width: 100%;
  max-width: 1100px;
}

.platform-overview-wide .overview-visual {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  padding: 1rem !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1) !important;
}

.platform-overview-wide .overview-visual > div {
  width: 100%;
}

.platform-overview-wide .overview-visual img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 15px;
  filter: none !important;
}

@media (max-width: 600px) {
  .overview-grid.platform-overview-wide {
    gap: 1.75rem;
  }

  .platform-overview-wide .overview-visual {
    padding: 0.45rem !important;
    border-radius: 15px !important;
  }

  .platform-overview-wide .overview-visual img {
    border-radius: 10px;
  }
}

/* ========================================================================== 
   Blog Live Demo & Contact Form Styling (.wiki-article form)
   ========================================================================== */

/* Center form headings and subtext for better layout flow */
.wiki-article h2[id*="demo"],
.wiki-article h2[id*="quote"] {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.wiki-article h2[id*="demo"] + p,
.wiki-article h2[id*="quote"] + p {
  text-align: center;
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.wiki-article form,
form[id^="form_"],
form[action*="capsulecrm"] {
  margin-top: 1rem;
  margin-bottom: 3.5rem;
}

/* Enforce robust selectors for fieldsets */
.wiki-article form fieldset,
form[id^="form_"] fieldset,
form[action*="capsulecrm"] fieldset {
  display: block; /* Stack fields vertically while keeping submit/loader inline */
  border: 1px solid var(--border-val);
  padding: 2.5rem;
  margin: 0 auto;
  max-width: 650px;
  background-color: var(--light-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

/* Hover effect on form card */
.wiki-article form fieldset:hover,
form[id^="form_"] fieldset:hover,
form[action*="capsulecrm"] fieldset:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 51, 102, 0.12);
  border-color: rgba(var(--primary-rgb), 0.25);
}

/* Gestalt Proximity: labels close to their inputs, space between groups */
.wiki-article form label,
form[id^="form_"] label,
form[action*="capsulecrm"] label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--deep-blue);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.wiki-article form label:first-of-type,
form[id^="form_"] label:first-of-type,
form[action*="capsulecrm"] label:first-of-type {
  margin-top: 0;
}

/* Required asterisk coloring */
.form-required-asterisk {
  color: var(--coral) !important;
  margin-left: 0.25rem;
  font-weight: 700;
}

/* Hide spam protection honeypot fields and empty labels from human view */
.wiki-article form input[name="frm_verify"],
.wiki-article form label[for^="frm_verify"],
.wiki-article form label[for^="frm_email"],
.wiki-article form label[id="field_n9qv_label"],
form[id^="form_"] input[name="frm_verify"],
form[id^="form_"] label[for^="frm_verify"],
form[id^="form_"] label[for^="frm_email"],
form[id^="form_"] label[id="field_n9qv_label"] {
  display: none !important;
}

/* General form fields styling */
.wiki-article form input[type="text"],
.wiki-article form input[type="email"],
.wiki-article form input[type="tel"],
.wiki-article form select,
.wiki-article form textarea,
form[id^="form_"] input[type="text"],
form[id^="form_"] input[type="email"],
form[id^="form_"] input[type="tel"],
form[id^="form_"] select,
form[id^="form_"] textarea,
form[action*="capsulecrm"] input[type="text"],
form[action*="capsulecrm"] input[type="email"],
form[action*="capsulecrm"] input[type="tel"],
form[action*="capsulecrm"] select,
form[action*="capsulecrm"] textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--light-silver);
  background-color: var(--light-bg);
  color: var(--body-color);
  border-radius: var(--radius-md);
  outline: none;
  box-sizing: border-box;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

/* Custom premium select dropdown arrow styling */
.wiki-article form select,
form[id^="form_"] select,
form[action*="capsulecrm"] select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
  cursor: pointer;
}

/* Hover states on fields */
.wiki-article form input[type="text"]:hover,
.wiki-article form input[type="email"]:hover,
.wiki-article form input[type="tel"]:hover,
.wiki-article form select:hover,
.wiki-article form textarea:hover,
form[id^="form_"] input[type="text"]:hover,
form[id^="form_"] input[type="email"]:hover,
form[id^="form_"] input[type="tel"]:hover,
form[id^="form_"] select:hover,
form[id^="form_"] textarea:hover,
form[action*="capsulecrm"] input[type="text"]:hover,
form[action*="capsulecrm"] input[type="email"]:hover,
form[action*="capsulecrm"] input[type="tel"]:hover,
form[action*="capsulecrm"] select:hover,
form[action*="capsulecrm"] textarea:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
}

/* Focus states with glowing rings */
.wiki-article form input[type="text"]:focus,
.wiki-article form input[type="email"]:focus,
.wiki-article form input[type="tel"]:focus,
.wiki-article form select:focus,
.wiki-article form textarea:focus,
form[id^="form_"] input[type="text"]:focus,
form[id^="form_"] input[type="email"]:focus,
form[id^="form_"] input[type="tel"]:focus,
form[id^="form_"] select:focus,
form[id^="form_"] textarea:focus,
form[action*="capsulecrm"] input[type="text"]:focus,
form[action*="capsulecrm"] input[type="email"]:focus,
form[action*="capsulecrm"] input[type="tel"]:focus,
form[action*="capsulecrm"] select:focus,
form[action*="capsulecrm"] textarea:focus {
  border-color: var(--primary);
  background-color: var(--light-surface);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

/* Submit Button */
.wiki-article form input[type="submit"],
form[id^="form_"] input[type="submit"],
form[action*="capsulecrm"] input[type="submit"] {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary) 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2.75rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-top: 1.75rem;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wiki-article form input[type="submit"]:hover,
form[id^="form_"] input[type="submit"]:hover,
form[action*="capsulecrm"] input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.45);
}

.wiki-article form input[type="submit"]:active,
form[id^="form_"] input[type="submit"]:active,
form[action*="capsulecrm"] input[type="submit"]:active {
  transform: translateY(0);
}

.wiki-article form img[alt="Sending"],
form[id^="form_"] img[alt="Sending"] {
  display: inline-block;
  vertical-align: middle;
  margin-left: 1.25rem;
  margin-top: 1.75rem;
}

/* Dark Mode Theme overrides */
body.dark-mode-theme .wiki-article form label,
body.dark-mode-theme form[id^="form_"] label,
body.dark-mode-theme form[action*="capsulecrm"] label {
  color: #cbd5e1;
}

body.dark-mode-theme .wiki-article form input[type="text"],
body.dark-mode-theme .wiki-article form input[type="email"],
body.dark-mode-theme .wiki-article form input[type="tel"],
body.dark-mode-theme .wiki-article form select,
body.dark-mode-theme .wiki-article form textarea,
body.dark-mode-theme form[id^="form_"] input[type="text"],
body.dark-mode-theme form[id^="form_"] input[type="email"],
body.dark-mode-theme form[id^="form_"] input[type="tel"],
body.dark-mode-theme form[id^="form_"] select,
body.dark-mode-theme form[id^="form_"] textarea,
body.dark-mode-theme form[action*="capsulecrm"] input[type="text"],
body.dark-mode-theme form[action*="capsulecrm"] input[type="email"],
body.dark-mode-theme form[action*="capsulecrm"] input[type="tel"],
body.dark-mode-theme form[action*="capsulecrm"] select,
body.dark-mode-theme form[action*="capsulecrm"] textarea {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.dark-mode-theme .wiki-article form select,
body.dark-mode-theme form[id^="form_"] select,
body.dark-mode-theme form[action*="capsulecrm"] select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

body.dark-mode-theme .wiki-article form input[type="text"]:focus,
body.dark-mode-theme .wiki-article form input[type="email"]:focus,
body.dark-mode-theme .wiki-article form input[type="tel"]:focus,
body.dark-mode-theme .wiki-article form select:focus,
body.dark-mode-theme .wiki-article form textarea:focus,
body.dark-mode-theme form[id^="form_"] input[type="text"]:focus,
body.dark-mode-theme form[id^="form_"] input[type="email"]:focus,
body.dark-mode-theme form[id^="form_"] input[type="tel"]:focus,
body.dark-mode-theme form[id^="form_"] select:focus,
body.dark-mode-theme form[id^="form_"] textarea:focus,
body.dark-mode-theme form[action*="capsulecrm"] input[type="text"]:focus,
body.dark-mode-theme form[action*="capsulecrm"] input[type="email"]:focus,
body.dark-mode-theme form[action*="capsulecrm"] input[type="tel"]:focus,
body.dark-mode-theme form[action*="capsulecrm"] select:focus,
body.dark-mode-theme form[action*="capsulecrm"] textarea:focus {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.25);
}

/* Motive Theme (Dark mode theme override) compatibility */
body.theme-motive .wiki-article form label,
body.theme-motive form[id^="form_"] label,
body.theme-motive form[action*="capsulecrm"] label {
  color: #cbd5e1;
}

body.theme-motive .wiki-article form input[type="text"],
body.theme-motive .wiki-article form input[type="email"],
body.theme-motive .wiki-article form input[type="tel"],
body.theme-motive .wiki-article form select,
body.theme-motive .wiki-article form textarea,
body.theme-motive form[id^="form_"] input[type="text"],
body.theme-motive form[id^="form_"] input[type="email"],
body.theme-motive form[id^="form_"] input[type="tel"],
body.theme-motive form[id^="form_"] select,
body.theme-motive form[id^="form_"] textarea,
body.theme-motive form[action*="capsulecrm"] input[type="text"],
body.theme-motive form[action*="capsulecrm"] input[type="email"],
body.theme-motive form[action*="capsulecrm"] input[type="tel"],
body.theme-motive form[action*="capsulecrm"] select,
body.theme-motive form[action*="capsulecrm"] textarea {
  background-color: var(--light-surface);
  border-color: var(--border-val);
  color: var(--body-color);
}

body.theme-motive .wiki-article form select,
body.theme-motive form[id^="form_"] select,
body.theme-motive form[action*="capsulecrm"] select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Mobile responsive styles for product details */
@media (max-width: 768px) {
  .product-detail-grid {
    gap: 2rem !important;
  }
  
  .product-image-card {
    min-height: 280px !important;
    padding: 1.5rem !important;
  }
  
  #product-title {
    font-size: 1.85rem !important;
    line-height: 1.25;
  }
  
  .product-price-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    margin: 1rem 0 !important;
  }
  
  #price-primary {
    font-size: 1.6rem !important;
    line-height: 1.1;
  }
  
  #price-secondary {
    font-size: 0.95rem !important;
    margin-left: 0 !important;
  }
}

/* --- Language Selector --- */
.lang-selector-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-trigger {
  background: transparent;
  border: 1px solid var(--border-val, rgba(148, 163, 184, 0.12));
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary, inherit);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-color, #334155);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  cursor: pointer;
  transition: background-color var(--transition-fast, 0.2s), color var(--transition-fast, 0.2s), border-color var(--transition-fast, 0.2s);
}

body.dark-mode-theme .lang-trigger {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.lang-trigger:hover {
  background-color: rgba(42, 124, 229, 0.08);
  border-color: var(--primary, #2563eb);
  color: var(--primary, #2563eb);
}

body.dark-mode-theme .lang-trigger:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--primary, #2563eb);
  color: #ffffff;
}

.lang-trigger .globe-icon {
  flex-shrink: 0;
  opacity: 0.8;
}

.lang-trigger .dropdown-arrow {
  transition: transform var(--transition-fast, 0.2s);
  opacity: 0.7;
}

.lang-selector-dropdown:hover .lang-trigger .dropdown-arrow,
.lang-selector-dropdown.open .lang-trigger .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--light-surface, #ffffff);
  border: 1px solid var(--border-val, rgba(148, 163, 184, 0.12));
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0,0,0,0.1));
  padding: 0.4rem 0;
  min-width: 120px;
  list-style: none;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition-fast, 0.2s), transform var(--transition-fast, 0.2s), visibility var(--transition-fast, 0.2s);
  margin-top: 0.5rem;
}

.lang-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

body.dark-mode-theme .lang-dropdown-menu {
  background-color: var(--dark-surface, #1e293b);
  border-color: rgba(255, 255, 255, 0.1);
}

.lang-selector-dropdown:hover .lang-dropdown-menu,
.lang-selector-dropdown:focus-within .lang-dropdown-menu,
.lang-selector-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-dropdown-menu li {
  width: 100%;
}

.lang-dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--body-color, #334155);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--transition-fast, 0.2s), color var(--transition-fast, 0.2s);
}

body.dark-mode-theme .lang-dropdown-menu li a {
  color: #cbd5e1;
}

.lang-dropdown-menu li a:hover {
  background-color: rgba(42, 124, 229, 0.08);
  color: var(--primary, #2563eb);
}

body.dark-mode-theme .lang-dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--primary, #2563eb);
}

.lang-dropdown-menu li a.active {
  background-color: rgba(42, 124, 229, 0.12);
  color: var(--primary, #2563eb);
  font-weight: 700;
}

/* --- Mobile Language Switcher --- */
.mobile-lang-selector {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-val, rgba(148, 163, 184, 0.12));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.dark-mode-theme .mobile-lang-selector {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.mobile-lang-title {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.dark-mode-theme .mobile-lang-title {
  color: #94a3b8;
}

.mobile-lang-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mobile-lang-link {
  padding: 0.4rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--border-val, rgba(148, 163, 184, 0.12));
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-color, #334155);
  text-decoration: none;
  transition: background-color var(--transition-fast, 0.2s), color var(--transition-fast, 0.2s), border-color var(--transition-fast, 0.2s);
}

body.dark-mode-theme .mobile-lang-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.mobile-lang-link:hover:not(.active) {
  background-color: rgba(42, 124, 229, 0.08);
  color: var(--primary, #2563eb);
  border-color: var(--primary, #2563eb);
}

.mobile-lang-link.active {
  background-color: var(--primary, #2563eb);
  color: #ffffff;
  border-color: var(--primary, #2563eb);
}

/* --- Global Mobile Overrides for Technical Specs & Calculator --- */
@media (max-width: 768px) {
  /* 1. Technical Specs Table & Tab Header Mobile Fixes */
  body .specs-board {
    padding: 1.25rem !important;
    border-radius: 16px !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  body .specs-tab-header {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.5rem !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid var(--border-light, rgba(148, 163, 184, 0.12)) !important;
    scrollbar-width: none !important; /* Hide scrollbar for Firefox */
  }
  
  body .specs-tab-header::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar for Chrome/Safari */
  }
  
  body .tab-trigger {
    flex-shrink: 0 !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }
  
  body .specs-sheet tr {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
  }
  
  body.dark-mode-theme .specs-sheet tr {
    border-color: rgba(255, 255, 255, 0.05) !important;
  }
  
  body .specs-sheet tr:last-child {
    border-bottom: none !important;
  }
  
  body .specs-sheet td {
    display: block !important;
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  
  body .specs-sheet td.spec-param {
    font-size: 0.95rem !important;
    color: var(--deep-blue) !important;
    margin-bottom: 0.15rem !important;
  }
  
  body .specs-sheet td.spec-desc {
    font-size: 0.9rem !important;
    color: var(--body-color) !important;
    opacity: 0.85 !important;
  }
  
  /* 2. Volume Pricing Calculator Mobile Fixes */
  body .calculator-block {
    padding: 2rem 1.25rem !important;
    gap: 2rem !important;
    border-radius: 16px !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  body .calc-interactive {
    padding: 1.25rem !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  body .calc-info {
    width: 100% !important;
  }
  
  /* Align checklist checkmarks to top-left and prevent shrinking */
  body .calc-info div > div {
    align-items: flex-start !important;
  }
  
  body .calc-info div > div > span:first-child {
    flex-shrink: 0 !important;
    margin-top: 0.15em !important;
  }

  body .discount-ribbon {
    font-size: 0.8rem !important;
    padding: 0.35rem 0.95rem !important;
  }
}


/* =============================================
   Tabbed Feature Showcase Component
   ============================================= */
.tabbed-features {
  padding: 5rem 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--light-silver);
}

.tabbed-features__heading {
  text-align: center;
  font-size: 2.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 2.5rem;
  line-height: 1.2;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.tabbed-features__nav {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabbed-features__nav::-webkit-scrollbar {
  display: none;
}

.tabbed-features__tab {
  position: relative;
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  outline: none;
}

.tabbed-features__tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.tabbed-features__tab:hover {
  color: var(--deep-blue);
}

.tabbed-features__tab.active {
  color: var(--deep-blue);
  font-weight: 600;
}

.tabbed-features__tab.active::after {
  transform: scaleX(1);
}

.tabbed-features__panel {
  display: none;
  padding: 3rem 0;
  animation: tabbedFadeIn 0.45s ease-out;
}

.tabbed-features__panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@keyframes tabbedFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabbed-features__text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.tabbed-features__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 0;
}

.tabbed-features__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 51, 102, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.tabbed-features__img--product {
  box-sizing: border-box;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.tabbed-features__img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 51, 102, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 991px) {
  .tabbed-features__panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tabbed-features__heading {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .tabbed-features__nav {
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .tabbed-features__text {
    order: 1;
  }

  .tabbed-features__img-wrapper {
    order: 2;
  }
}

@media (max-width: 575px) {
  .tabbed-features {
    padding: 3rem 0;
  }

  .tabbed-features__heading {
    font-size: 1.5rem;
  }

  .tabbed-features__tab {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .tabbed-features__panel {
    padding: 2rem 0;
  }
}

/* --- Unified View Widget Section --- */
.unified-view-section {
  padding: 6rem 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-val);
  border-bottom: 1px solid var(--border-val);
}

.unified-view-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.unified-view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.unified-view-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: transparent;
}

.unified-view-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
}

.unified-view-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
  display: block;
}

.unified-view-card:hover .unified-view-img {
  transform: scale(1.04);
}

/* Translucent HUD Overlays */
.unified-view-hud {
  position: absolute;
  left: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: white;
  font-family: var(--font-body);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Card 1: Top HUD Placement */
.unified-view-hud:not(.hud-bottom):not(.hud-center) {
  top: 1rem;
  bottom: auto;
}

/* Card 2 & 3: Bottom HUD Placement */
.unified-view-hud.hud-bottom {
  bottom: 1rem;
  top: auto;
}

/* Card 4: Center HUD Placement */
.unified-view-hud.hud-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
}

.hud-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}

.hud-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.4rem;
}

.hud-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.hud-icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex-shrink: 0;
  color: var(--primary);
}

.hud-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
}

.hud-stats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.5rem;
}

.hud-stat-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.hud-stat-label {
  color: rgba(255, 255, 255, 0.5);
}

.hud-stat-value {
  font-weight: 600;
  font-family: monospace;
}

.hud-stat-value.status-on {
  color: #10b981;
}

.hud-stat-value.status-off {
  color: rgba(255, 255, 255, 0.5);
}

.hud-network-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  display: inline-block;
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--primary);
}

.unified-view-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.unified-view-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.unified-view-info p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* Animations */
@keyframes pulseBlue {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .unified-view-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .unified-view-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .unified-view-section {
    padding: 4rem 0;
  }
}

/* --- High-Fidelity Multi-Step Quote Funnel Layout --- */
.quote-funnel-body {
  margin: 0;
  padding: 0;
  background-color: var(--light-bg);
  color: var(--body-color);
  font-family: var(--font-body);
  height: 100vh;
  overflow: hidden;
}

.quote-funnel-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.quote-funnel-layout-success {
  grid-template-columns: 1fr;
}

.quote-funnel-layout-success .quote-funnel-info-side[hidden] {
  display: none !important;
}

.quote-funnel-form-side {
  background-color: #ffffff;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow-y: auto;
  position: relative;
}

.quote-funnel-info-side {
  background-color: #0b132b;
  color: #ffffff;
  padding: 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Close Exit button */
.quote-funnel-exit {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  cursor: pointer;
  z-index: 100;
  transition: color var(--transition-fast), transform var(--transition-fast);
  line-height: 1;
}
.quote-funnel-exit:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.quote-funnel-exit-mobile {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #64748b;
  font-size: 2rem;
  cursor: pointer;
  z-index: 100;
  transition: color var(--transition-fast);
  line-height: 1;
}
.quote-funnel-exit-mobile:hover {
  color: var(--deep-blue);
}

/* Form Container and Header */
.quote-funnel-form-container {
  max-width: 560px;
  width: 100%;
  margin: auto;
}

/* Checkout mode: focused two-column purchase funnel */
.quote-funnel-body.checkout-mode {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  background: #ffffff;
}

.checkout-mode .quote-funnel-layout {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100vh;
  overflow: visible;
}

.checkout-mode .quote-funnel-form-side {
  min-height: 100vh;
  height: auto;
  overflow: visible;
  padding: 0;
  display: block;
  background: #ffffff;
}

.checkout-mode .quote-funnel-form-container {
  max-width: none;
  margin: 0;
}

.checkout-mode .quote-funnel-info-side,
.checkout-mode .quote-funnel-exit-mobile {
  display: none !important;
}

.checkout-brandbar {
  min-height: 72px;
  padding: 1rem max(2rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff;
}

.checkout-brand {
  display: inline-flex;
  align-items: center;
}

.checkout-brand img {
  width: 160px;
  height: 32px;
  object-fit: contain;
}

.checkout-secure-label {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

.checkout-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: stretch;
  min-height: calc(100vh - 72px);
}

.checkout-delivery-panel {
  padding: 3.25rem clamp(2rem, 5vw, 5rem) 4rem 1.25rem;
}

.checkout-summary-panel {
  padding: 3.25rem 1.25rem 4rem clamp(2rem, 4vw, 4rem);
  background: #f8fafc;
  border-left: 1px solid #e2e8f0;
}

.checkout-section-heading {
  margin-bottom: 2rem;
}

.checkout-eyebrow {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-section-heading h1,
.checkout-summary-panel h2 {
  margin: 0;
  color: var(--deep-blue);
  font-family: var(--font-heading);
  font-weight: 700;
}

.checkout-section-heading h1 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.checkout-section-heading p:last-child {
  margin: 0.55rem 0 0;
  color: #64748b;
  line-height: 1.6;
}

.checkout-summary-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.checkout-mode #checkout-form .quote-funnel-input {
  min-height: 50px;
  padding: 0.78rem 0.95rem !important;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
}

.checkout-mode #checkout-form .quote-funnel-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.checkout-shipping-block {
  margin: 1.75rem 0 1.25rem;
}

.checkout-shipping-block > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--deep-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.checkout-shipping-method {
  min-height: 58px;
  padding: 0.9rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.035);
  color: var(--deep-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-shipping-method span {
  color: #475569;
  font-size: 0.9rem;
  text-align: right;
}

.checkout-payment-button {
  width: 100%;
  min-height: 54px;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.checkout-payment-note {
  margin: 0.75rem 0 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.checkout-items-summary {
  color: #475569;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.checkout-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
}

.checkout-item-image-wrap {
  width: 64px;
  height: 64px;
  position: relative;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.checkout-item-image-wrap img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.checkout-item-quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: #334155;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.checkout-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checkout-item-copy strong {
  color: var(--deep-blue);
  line-height: 1.35;
}

.checkout-item-copy small {
  color: #64748b;
  line-height: 1.35;
}

.checkout-item-price {
  color: var(--deep-blue);
  font-weight: 700;
}

.checkout-summary-lines {
  padding-top: 1.25rem;
}

.checkout-summary-line,
.checkout-summary-total,
.checkout-recurring-line {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
}

.checkout-summary-line {
  padding: 0.38rem 0;
  color: #475569;
  font-size: 0.9rem;
}

.checkout-tax-line {
  color: #64748b;
  font-size: 0.82rem;
}

.checkout-summary-total {
  margin-top: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid #dbe3ee;
  align-items: baseline;
  color: var(--deep-blue);
  font-size: 1.08rem;
  font-weight: 700;
}

.checkout-summary-total span:last-child {
  color: var(--deep-blue);
  font-size: 1.35rem;
}

.checkout-summary-total small {
  margin-right: 0.25rem;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 500;
}

.checkout-recurring-line {
  margin-top: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .checkout-brandbar {
    padding-inline: 1.25rem;
  }

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

  .checkout-delivery-panel,
  .checkout-summary-panel {
    padding: 2.25rem 1.25rem 2.75rem;
  }

  .checkout-summary-panel {
    grid-row: 1;
    border-left: 0;
    border-bottom: 1px solid #e2e8f0;
  }
}

@media (max-width: 560px) {
  .checkout-secure-label {
    font-size: 0;
  }

  .checkout-secure-label::after {
    content: 'Secure';
    font-size: 0.8rem;
  }

  .checkout-item {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 0.7rem;
  }

  .checkout-item-image-wrap {
    width: 56px;
    height: 56px;
  }

  .checkout-item-image-wrap img {
    width: 48px;
    height: 48px;
  }
}

.quote-funnel-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--deep-blue);
  text-align: center;
  margin-bottom: 2rem;
}

/* Progress bar container */
.quote-funnel-progress-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quote-funnel-progress-percent {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  min-width: 35px;
}

.quote-funnel-progress-bg {
  flex-grow: 1;
  height: 6px;
  background-color: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quote-funnel-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Questions and content */
.quote-funnel-question {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 2rem;
  text-align: center;
}

/* Option cards vertical (Step 1) */
.quote-funnel-option-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.quote-funnel-option-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: #334155;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.quote-funnel-option-card:hover {
  border-color: var(--primary);
  background-color: rgba(42, 124, 229, 0.02);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quote-funnel-option-card.selected {
  border-color: var(--primary);
  background-color: rgba(42, 124, 229, 0.04);
  color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

/* Option Grid (Step 2) */
.quote-funnel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.quote-funnel-grid-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.quote-funnel-grid-card:hover {
  border-color: var(--primary);
  background-color: rgba(42, 124, 229, 0.02);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quote-funnel-grid-card.selected {
  border-color: var(--primary);
  background-color: rgba(42, 124, 229, 0.04);
  box-shadow: 0 0 0 1px var(--primary);
}

.quote-funnel-grid-card svg {
  width: 32px;
  height: 32px;
  color: #64748b;
  transition: color var(--transition-fast);
}

.quote-funnel-grid-card.selected svg {
  color: var(--primary);
}

.quote-funnel-grid-card-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: #334155;
  transition: color var(--transition-fast);
}

.quote-funnel-grid-card.selected .quote-funnel-grid-card-label {
  color: var(--primary);
}

/* Input Fields & Validation Elements (Step 3 & 4) */
.quote-funnel-field-label {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--deep-blue);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}

.quote-funnel-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1.25rem;
}

.quote-funnel-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: #ffffff;
  color: #0f172a;
}

.quote-funnel-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 124, 229, 0.15);
}

.quote-funnel-input-validation-badge {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.quote-funnel-input-wrapper.valid .quote-funnel-input-validation-badge {
  opacity: 1;
}

.quote-funnel-input-wrapper.valid .quote-funnel-input {
  border-color: var(--primary);
}

/* Phone input container with custom prefix */
.quote-funnel-phone-container {
  display: flex;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  overflow: visible;
  position: relative;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quote-funnel-phone-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 124, 229, 0.15);
}

.quote-funnel-phone-container.valid {
  border-color: var(--primary);
}

/* Country Selector */
.quote-funnel-country-selector {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-right: 1px solid #e2e8f0;
  cursor: pointer;
  user-select: none;
  background-color: #f8fafc;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.quote-funnel-country-selector:hover {
  background-color: #f1f5f9;
}

.quote-funnel-selected-flag {
  font-size: 1.35rem;
  margin-right: 0.5rem;
}

.quote-funnel-selected-code {
  font-weight: 600;
  color: #475569;
  font-size: 0.95rem;
  margin-right: 0.25rem;
}

.quote-funnel-country-arrow {
  color: #64748b;
  font-size: 0.8rem;
  display: inline-block;
  transition: transform var(--transition-fast);
}
.quote-funnel-country-selector.open .quote-funnel-country-arrow {
  transform: rotate(180deg);
}

.quote-funnel-country-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 280px;
  max-height: 250px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
  padding: 0.5rem 0;
}

.quote-funnel-country-dropdown.open {
  display: block;
}

.quote-funnel-country-option {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}
.quote-funnel-country-option:hover {
  background-color: #f1f5f9;
}

.quote-funnel-option-flag {
  font-size: 1.35rem;
  margin-right: 0.75rem;
}

.quote-funnel-option-name {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #1e293b;
}

.quote-funnel-option-code {
  font-weight: 600;
  font-size: 0.9rem;
  color: #64748b;
}

.quote-funnel-phone-input {
  flex-grow: 1;
  border: none;
  outline: none;
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
  color: #0f172a;
  background-color: transparent;
  width: 100%;
}

/* Consent Text & Checkbox (Step 4) */
.quote-funnel-consent-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
  text-align: left;
}

.quote-funnel-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.quote-funnel-consent-item input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.quote-funnel-consent-text a {
  color: var(--primary);
  text-decoration: underline;
}

/* Success Step (Step 5) */
.quote-funnel-success {
  text-align: center;
  padding: 2rem 1rem;
  animation: scaleIn var(--transition-normal);
}

.quote-funnel-success-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.quote-funnel-success-icon-wrapper svg {
  width: 40px;
  height: 40px;
}

.quote-funnel-success-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--deep-blue);
  margin-bottom: 1rem;
}

.quote-funnel-success-text {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* Paid checkout confirmation and optional preactivation campaign */
.quote-funnel-layout-success .quote-funnel-form-side { justify-content:center; background:#f3f6fa; }
.checkout-success-shell { width:100%; max-width:1040px; display:grid; grid-template-columns:1fr; gap:1.35rem; align-items:stretch; }
.checkout-success-shell.has-preactivation { grid-template-columns:minmax(0,1fr) minmax(340px,.78fr); }
.checkout-confirmation-card { display:flex; min-height:430px; align-items:center; justify-content:center; flex-direction:column; padding:2.5rem; border:1px solid #e2e8f0; border-radius:22px; background:#fff; box-shadow:0 18px 48px rgba(15,23,42,.08); }
.checkout-preactivation-card { position:relative; overflow:hidden; padding:2.2rem; border:1px solid #c8dcf4; border-radius:22px; background:linear-gradient(145deg,#f8fbff 0%,#eaf3ff 100%); box-shadow:0 18px 48px rgba(30,86,150,.13); animation:scaleIn .4s ease; }
.checkout-preactivation-card[hidden] { display:none!important; }
.checkout-preactivation-card::after { position:absolute; width:210px; height:210px; right:-80px; top:-90px; border-radius:50%; background:rgba(47,128,237,.1); content:''; }
.checkout-preactivation-eyebrow { position:relative; z-index:1; display:block; color:#1769ba; font-size:.76rem; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.checkout-preactivation-icon { position:relative; z-index:1; width:56px; height:56px; display:grid; place-items:center; margin:1.3rem 0; border-radius:16px; color:#1769ba; background:#d8eaff; }
.checkout-preactivation-icon svg { width:31px; height:31px; }
.checkout-preactivation-card h2 { position:relative; z-index:1; margin:0; color:#073768; font:700 1.7rem/1.25 var(--font-heading); }
.checkout-preactivation-card>p { position:relative; z-index:1; margin:.85rem 0 1.2rem; color:#52657d; font-size:1rem; line-height:1.65; }
.checkout-preactivation-discount { position:relative; z-index:1; margin-bottom:1rem; padding:.7rem .85rem; border:1px solid #a8d8be; border-radius:10px; background:#eefaf3; color:#176b49; font-size:.82rem; font-weight:750; }
.checkout-preactivation-button { position:relative; z-index:1; display:flex; min-height:50px; align-items:center; justify-content:center; padding:.8rem 1.2rem; border-radius:11px; background:linear-gradient(135deg,#2f80ed,#1769ba); color:#fff!important; font-family:var(--font-heading); font-weight:750; text-decoration:none; box-shadow:0 10px 22px rgba(47,128,237,.25); transition:transform .18s ease,box-shadow .18s ease; }
.checkout-preactivation-button:hover { transform:translateY(-2px); box-shadow:0 14px 28px rgba(47,128,237,.32); }
.checkout-preactivation-card>small { position:relative; z-index:1; display:block; margin-top:.85rem; color:#718096; font-size:.73rem; line-height:1.45; text-align:center; }
@media(max-width:860px){.checkout-success-shell.has-preactivation{grid-template-columns:1fr}.checkout-confirmation-card{min-height:auto}.quote-funnel-body{height:auto;min-height:100vh;overflow:auto}.quote-funnel-layout,.quote-funnel-layout-success{height:auto;min-height:100vh}.quote-funnel-form-side{min-height:100vh;height:auto;padding:4.5rem 1rem 2rem}}

/* Footer buttons */
.quote-funnel-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.quote-funnel-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.8rem 2.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.quote-funnel-btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(42, 124, 229, 0.3);
}

.quote-funnel-btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42, 124, 229, 0.4);
}

.quote-funnel-btn-primary:disabled {
  background-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.quote-funnel-btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.quote-funnel-btn-secondary:hover {
  background-color: rgba(42, 124, 229, 0.03);
  transform: translateY(-1px);
}

/* Info Side factual quote information slider */
.quote-funnel-info-side h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.quote-funnel-carousel {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.quote-funnel-carousel-track {
  position: relative;
  width: 100%;
  flex-grow: 1;
}

.quote-funnel-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(20px);
}

.quote-funnel-carousel-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.quote-funnel-info-kicker {
  margin: 0 0 0.65rem;
  color: #67b7ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-funnel-info-title {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.12;
}

.quote-funnel-info-copy {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.55;
}

.quote-funnel-info-visual {
  margin: 1.25rem 0 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0.8rem;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.24);
}

.quote-funnel-info-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: top left;
}

.quote-funnel-info-visual figcaption {
  padding: 0.65rem 0.75rem;
  color: #42526b;
  font-size: 0.72rem;
  line-height: 1.4;
}

.quote-funnel-process-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-funnel-process-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  gap: 0.75rem;
}

.quote-funnel-step-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(103, 183, 255, 0.55);
  border-radius: 50%;
  color: #67b7ff;
  font-weight: 800;
}

.quote-funnel-process-list strong,
.quote-funnel-process-list small {
  display: block;
}

.quote-funnel-process-list strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.quote-funnel-process-list small {
  margin-top: 0.08rem;
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.35;
}

.quote-funnel-hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.quote-funnel-hardware-tile {
  display: grid;
  min-height: 7.75rem;
  padding: 0.55rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.quote-funnel-hardware-tile img {
  width: 100%;
  height: 5.2rem;
  object-fit: contain;
  border-radius: 0.45rem;
  background: #ffffff;
}

.quote-funnel-hardware-tile span {
  margin-top: 0.45rem;
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
}

.quote-funnel-capability-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dbeafe;
  font-size: 0.84rem;
}

.quote-funnel-capability-list li {
  position: relative;
  padding-left: 1.3rem;
}

.quote-funnel-capability-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #38d39f;
  font-weight: 900;
}

.quote-funnel-info-note {
  margin: 1rem 0 0;
  padding: 0.75rem 0.85rem;
  border-left: 3px solid #38d39f;
  border-radius: 0 0.4rem 0.4rem 0;
  background: rgba(56, 211, 159, 0.08);
  color: #cbd5e1;
  font-size: 0.76rem;
  line-height: 1.45;
}

/* Carousel Controls */
.quote-funnel-carousel-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  z-index: 10;
}

.quote-funnel-carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.quote-funnel-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.quote-funnel-carousel-dot.active {
  width: 1.6rem;
  border-radius: 999px;
  background: #67b7ff;
}

.quote-funnel-carousel-dot:focus-visible,
.quote-funnel-carousel-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.quote-funnel-carousel-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.quote-funnel-carousel-btn:hover {
  color: #ffffff;
}

.quote-funnel-carousel-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.quote-funnel-carousel-btn:active {
  transform: scale(0.9);
}

.quote-funnel-carousel-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Animations */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .quote-funnel-body {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto;
  }

  .quote-funnel-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }
  
  .quote-funnel-info-side {
    display: none; /* Hide supporting information on mobile and focus on the form */
  }
  
  .quote-funnel-form-side {
    padding: 3.5rem 1.25rem 2rem;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    justify-content: flex-start;
    gap: 1.5rem;
  }
  
  .quote-funnel-exit-mobile {
    display: block;
    top: 1rem;
    right: 1rem;
  }
  
  .quote-funnel-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
  
  .quote-funnel-question {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .quote-funnel-progress-container {
    margin-bottom: 1.5rem;
  }
  
  .quote-funnel-grid {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .quote-funnel-option-list {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .quote-funnel-option-card {
    padding: 1rem;
    font-size: 1rem;
  }

  .quote-funnel-input-wrapper {
    margin-bottom: 1.5rem;
  }

  .quote-funnel-input,
  .quote-funnel-phone-input {
    padding: 0.85rem 1.25rem;
    font-size: 1rem; /* Prevents auto-zoom on iOS Safari */
  }

  .quote-funnel-consent-container {
    margin-bottom: 1.5rem;
    gap: 0.6rem;
  }

  .quote-funnel-country-dropdown {
    max-width: calc(100vw - 3rem);
  }
}

/* --- Unified View Widget Links --- */
.unified-view-card a {
  text-decoration: none;
  color: inherit;
}

.unified-view-info h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.unified-view-info h3 a:hover {
  color: var(--primary);
}

/* --- Solutions Checkboxes Styles --- */
.quote-funnel-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.quote-funnel-checkbox-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  user-select: none;
  position: relative;
}

.quote-funnel-checkbox-card:hover {
  border-color: var(--primary);
  background-color: rgba(42, 124, 229, 0.02);
  transform: translateY(-1px);
}

.quote-funnel-checkbox-card.selected {
  border-color: var(--primary);
  background-color: rgba(42, 124, 229, 0.04);
  box-shadow: 0 0 0 1px var(--primary);
}

.quote-funnel-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.quote-funnel-checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all var(--transition-fast);
  background-color: #ffffff;
  flex-shrink: 0;
}

.quote-funnel-checkbox-card.selected .quote-funnel-checkbox-custom {
  border-color: var(--primary);
  background-color: var(--primary);
}

.quote-funnel-checkbox-card.selected .quote-funnel-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.quote-funnel-checkbox-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: #334155;
  transition: color var(--transition-fast);
  line-height: 1.2;
}

.quote-funnel-checkbox-card.selected .quote-funnel-checkbox-label {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .quote-funnel-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .quote-funnel-checkbox-card {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .quote-funnel-checkbox-label {
    font-size: 0.8rem;
  }
}

/* --- Premium Product Details Redesign Styles --- */
.product-back-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  transition: transform var(--transition-fast);
}

.product-back-link:hover {
  transform: translateX(-4px);
}

.product-hero-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.product-gallery-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.premium-image-card {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.premium-image-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.04) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.premium-image-card:hover {
  box-shadow: var(--shadow-lg);
}

.premium-image-card img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.06));
  transition: transform var(--transition-slow);
}

.premium-image-card:hover img {
  transform: scale(1.04);
}

.trust-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem;
  background: rgba(var(--primary-rgb), 0.03);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
}

.trust-badge-item svg {
  color: var(--primary);
  margin-bottom: 0.35rem;
  flex-shrink: 0;
}

.trust-badge-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--deep-blue);
}

.product-buy-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.rating-stars {
  color: #ffb703;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

body.dark-mode-theme .rating-count {
  color: #cbd5e1;
}

.verified-buyer-badge {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-buy-column h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.pricing-block-premium {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-block-premium .primary-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.pricing-block-premium .secondary-price {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

body.dark-mode-theme .pricing-block-premium .secondary-price {
  color: #cbd5e1;
}

.product-plan-required {
  position: relative;
  width: fit-content;
  margin-top: 0.45rem;
  z-index: 60;
}

.product-plan-required-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.08));
  color: #047857;
  font: 700 0.78rem/1.15 var(--font-body);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-plan-required-badge:hover,
.product-plan-required:focus-within .product-plan-required-badge,
.product-plan-required.active .product-plan-required-badge {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.68);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.22);
}

.product-plan-required-badge svg {
  width: 14px;
  height: 14px;
}

.product-plan-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: product-plan-pulse 2s infinite;
}

@keyframes product-plan-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.product-plan-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(440px, 88vw);
  max-height: min(480px, 70vh);
  overflow: auto;
  padding: 1.15rem;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.99);
  color: #0f172a;
  text-align: left;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.product-plan-required:hover .product-plan-popover,
.product-plan-required:focus-within .product-plan-popover,
.product-plan-required.active .product-plan-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.product-plan-popover-kicker {
  display: block;
  margin-bottom: 0.3rem;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-plan-popover h3 {
  margin: 0 0 0.4rem;
  color: #0f172a;
  font-size: 1.05rem;
}

.product-plan-popover > p {
  margin: 0 0 0.85rem;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.product-plan-price-list {
  display: grid;
  gap: 0.5rem;
}

.product-plan-price-row {
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.product-plan-price-row > strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #0f3f76;
  font-size: 0.82rem;
}

.product-plan-price-row > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 0.7rem;
}

.product-plan-price-row span {
  color: #047857;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-plan-price-row span b {
  display: block;
  margin-bottom: 0.08rem;
  color: #64748b;
  font-size: 0.65rem;
  font-weight: 600;
}

.product-bulk-order-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #cfe0f5;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
}

.product-bulk-order-callout strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #073b73;
  font-size: 1.05rem;
}

.product-bulk-order-callout p {
  margin: 0;
  color: #52647d;
}

/* Keep the volume-pricing conversion form inside the direct-purchase panel. */
.product-buy-column > .product-bulk-order-callout {
  align-items: stretch;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem;
}

.product-buy-column > .product-bulk-order-callout .email-check-bar {
  flex: none;
  width: 100%;
  max-width: none;
}

.product-buy-column > .product-bulk-order-callout p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-bulk-order-callout .email-check-bar,
.bulk-order-callout .email-check-bar,
.air-bulk-quote .email-check-bar {
  flex: 0 1 500px;
  max-width: 500px;
  margin-top: 0;
}

.product-bulk-order-callout .email-check-wrapper,
.bulk-order-callout .email-check-wrapper,
.air-bulk-quote .email-check-wrapper {
  background: #fff;
}

.air-bulk-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #cfe0f5;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
}

.air-bulk-quote strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #073b73;
  font-size: 1.35rem;
  line-height: 1.25;
}

.air-bulk-quote p {
  margin: 0;
  color: #52647d;
  font-size: 1.05rem;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .product-plan-popover {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(350px, calc(100vw - 2rem));
    max-height: calc(100vh - 7rem);
    transform: translate(-50%, -48%) scale(0.98);
    transform-origin: center;
    z-index: 1000001;
  }

  .product-plan-required:hover .product-plan-popover,
  .product-plan-required:focus-within .product-plan-popover,
  .product-plan-required.active .product-plan-popover {
    transform: translate(-50%, -50%) scale(1);
  }

  .product-plan-price-row > div {
    grid-template-columns: 1fr;
  }

  .product-bulk-order-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .product-bulk-order-callout .email-check-bar,
  .bulk-order-callout .email-check-bar,
  .air-bulk-quote .email-check-bar {
    flex-basis: auto;
    max-width: none;
  }

  .air-bulk-quote {
    align-items: stretch;
    flex-direction: column;
  }
}

.product-short-desc {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--body-color);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.variant-selectors-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(var(--primary-rgb), 0.02);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
}

.variant-select-group-pill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.variant-label-premium {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.option-pill-btn {
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  color: var(--body-color);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  flex: 1;
  min-width: 130px;
}

.option-pill-btn:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.03);
}

.option-pill-btn.active {
  border-color: var(--primary);
  border-width: 2px;
  background: rgba(var(--primary-rgb), 0.06);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.08);
  padding: 0.6rem 1.1rem; /* Adjust padding for thicker border */
}

/* Quantity and Buy Row */
.purchase-actions-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.qty-label-premium {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-blue);
  margin-right: 0.5rem;
}

.premium-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-val);
  border-radius: 8px;
  background: var(--light-surface);
  overflow: hidden;
  height: 46px;
}

.stepper-btn {
  border: none;
  background: transparent;
  width: 38px;
  height: 100%;
  color: var(--body-color);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.stepper-btn:hover {
  background-color: rgba(var(--primary-rgb), 0.05);
}

.stepper-val {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--body-color);
  border: none;
  background: transparent;
  -moz-appearance: textfield;
}

.btn-buy-premium-action {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  height: 46px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  max-width: 280px;
}

.btn-buy-premium-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, #12c98c 0%, #05a775 100%);
}

.btn-buy-premium-action:active {
  transform: translateY(0);
}

.btn-buy-premium-action svg {
  transition: transform var(--transition-fast);
}

.btn-buy-premium-action:hover svg {
  transform: scale(1.1);
}

/* Below the Fold Specs Section */
.product-specs-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-val);
  background-color: rgba(var(--primary-rgb), 0.015);
}

.specs-container-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.specs-overview-block h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.specs-overview-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--body-color);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.specs-table-block h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.premium-specs-table-el {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--light-surface);
  border: 1px solid var(--border-val);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.premium-specs-table-el tr {
  border-bottom: 1px solid var(--border-val);
  transition: background-color var(--transition-fast);
}

.premium-specs-table-el tr:last-child {
  border-bottom: none;
}

.premium-specs-table-el tr:hover {
  background-color: rgba(var(--primary-rgb), 0.01);
}

.premium-specs-table-el td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.premium-specs-table-el td.spec-key-cell {
  font-weight: 600;
  color: var(--deep-blue);
  width: 40%;
  border-right: 1px solid var(--border-val);
  background: rgba(var(--primary-rgb), 0.005);
}

.premium-specs-table-el td.spec-val-cell {
  color: var(--body-color);
}

/* Mobile Responsiveness for Redesigned Product Pages */
@media (max-width: 1024px) {
  .product-hero-section {
    gap: 2.5rem;
  }
  .specs-container-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 6.25rem !important;
    padding-bottom: 1.5rem !important;
  }

  .product-back-link {
    margin-bottom: 0.75rem !important;
    font-size: 0.85rem !important;
  }

  .product-hero-section {
    grid-template-columns: 1fr;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .premium-image-card {
    min-height: 240px !important;
    height: auto !important;
    padding: 1.25rem !important;
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .premium-image-card img {
    max-height: 220px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  
  .product-rating-row {
    margin-bottom: 0.35rem !important;
    gap: 6px !important;
  }
  
  .verified-buyer-badge {
    display: none !important;
  }
  
  .product-buy-column h1 {
    font-size: 1.75rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.2 !important;
  }
  
  .pricing-block-premium {
    margin-bottom: 0.75rem !important;
    gap: 2px !important;
  }

  .pricing-block-premium .primary-price {
    font-size: 1.8rem !important;
  }

  .pricing-block-premium .secondary-price {
    font-size: 0.85rem !important;
  }
  
  .product-short-desc {
    display: block !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }

  .variant-selectors-container {
    padding: 0.75rem !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .variant-select-group-pill {
    gap: 4px !important;
  }

  .variant-label-premium {
    font-size: 0.8rem !important;
  }

  .pill-container {
    gap: 6px !important;
  }

  .option-pill-btn {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.8rem !important;
    min-width: 100px !important;
    border-radius: 6px !important;
  }

  .qty-label-premium {
    display: none !important;
  }

  .purchase-actions-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .premium-qty-stepper {
    height: 40px !important;
  }

  .stepper-btn {
    width: 32px !important;
  }

  .stepper-val {
    width: 28px !important;
    font-size: 0.9rem !important;
  }

  .btn-buy-premium-action {
    height: 40px !important;
    font-size: 0.95rem !important;
    padding: 0 1rem !important;
    max-width: none !important;
    flex: 1 !important;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2) !important;
  }
  
  .specs-container-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}


@media (max-width: 480px) {
  .quote-funnel-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }
  .quote-funnel-checkbox-card {
    padding: 0.6rem 0.5rem;
    gap: 0.4rem;
  }
  .quote-funnel-checkbox-label {
    font-size: 0.8rem;
  }
}

/* --- Premium Redesign Custom Widgets (Antigravity Rebuild) --- */

/* Outline Features Grid (Image 2 style) */
.outline-features-section {
  padding: 5rem 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.dark-mode-theme .outline-features-section {
  background: var(--dark-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.outline-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.outline-features-item {
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outline-features-item:last-child {
  border-right: none;
}
body.dark-mode-theme .outline-features-item {
  border-right-color: rgba(255, 255, 255, 0.08);
}
.outline-features-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.outline-features-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}
.outline-features-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0;
}
body.dark-mode-theme .outline-features-title {
  color: #ffffff;
}
.outline-features-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
body.dark-mode-theme .outline-features-desc {
  color: #cbd5e1;
}

@media (max-width: 991px) {
  .outline-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outline-features-item:nth-child(2) {
    border-right: none;
  }
  .outline-features-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
  }
  body.dark-mode-theme .outline-features-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  .outline-features-item:nth-child(3),
  .outline-features-item:nth-child(4) {
    border-bottom: none;
  }
}
@media (max-width: 575px) {
  .outline-features-grid {
    grid-template-columns: 1fr;
  }
  .outline-features-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  body.dark-mode-theme .outline-features-item {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }
  .outline-features-item:last-child {
    border-bottom: none !important;
  }
}

/* Telemetry HUD Card Grid (Image 3 style) */
.hud-grid-section {
  padding: 6rem 0;
  background: #f8fafc;
}
body.dark-mode-theme .hud-grid-section {
  background: #080d1e;
}
.hud-grid-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(42, 124, 229, 0.08);
  color: var(--primary);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.hud-grid-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 3.5rem;
  line-height: 1.2;
}
body.dark-mode-theme .hud-grid-heading {
  color: #ffffff;
}
.hud-aspect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.hud-aspect-card {
  position: relative;
  aspect-ratio: 4 / 5.2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: #0f172a;
}
.hud-aspect-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.hud-aspect-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform var(--transition-slow);
}
.hud-aspect-card:hover .hud-aspect-img {
  transform: scale(1.05);
}
.hud-overlay-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 11, 21, 0.95) 0%, rgba(7, 11, 21, 0.65) 70%, rgba(7, 11, 21, 0) 100%);
  padding: 2.25rem 1.5rem 1.5rem 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hud-overlay-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.hud-overlay-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.hud-overlay-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}
.hud-overlay-stats {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hud-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: monospace;
}
.hud-stat-label {
  color: #94a3b8;
}
.hud-stat-val {
  color: #ffffff;
  font-weight: bold;
}
.hud-stat-val.status-active {
  color: #10b981;
}

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

/* Diagnostics Inbox Widget (Image 5 style) */
.inbox-widget-section {
  padding: 6rem 0;
  background: #ffffff;
}
body.dark-mode-theme .inbox-widget-section {
  background: var(--dark-bg);
}
.inbox-widget-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #ffffff;
  border: 1px solid var(--border-val);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 520px;
}
body.dark-mode-theme .inbox-widget-container {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}
.inbox-sidebar {
  background: #f8fafc;
  border-right: 1px solid var(--border-val);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body.dark-mode-theme .inbox-sidebar {
  background: rgba(8, 13, 25, 0.4);
  border-right-color: rgba(255, 255, 255, 0.05);
}
.inbox-sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}
.inbox-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}
body.dark-mode-theme .inbox-menu-btn {
  color: #cbd5e1;
}
.inbox-menu-btn:hover {
  background: rgba(42, 124, 229, 0.05);
  color: var(--primary);
}
.inbox-menu-btn.active {
  background: var(--primary);
  color: #ffffff !important;
}
.inbox-badge {
  font-size: 0.7rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.06);
  color: #475569;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-family: monospace;
}
.inbox-menu-btn.active .inbox-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.inbox-content-pane {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: tabbedFadeIn 0.35s ease-out;
}
.inbox-pane-header {
  margin-bottom: 0.5rem;
}
.inbox-pane-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 0.5rem 0;
}
body.dark-mode-theme .inbox-pane-title {
  color: #ffffff;
}
.inbox-pane-desc {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}
body.dark-mode-theme .inbox-pane-desc {
  color: #cbd5e1;
}
.inbox-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.inbox-feed-card {
  background: #ffffff;
  border: 1px solid var(--border-val);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: border-color var(--transition-fast);
}
body.dark-mode-theme .inbox-feed-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
}
.inbox-feed-card:hover {
  border-color: rgba(42, 124, 229, 0.2);
}
.inbox-feed-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.inbox-feed-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.inbox-feed-alert-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.badge-critical {
  background: rgba(255, 92, 87, 0.1);
  color: var(--coral);
}
.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}
.badge-normal {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.inbox-feed-asset {
  font-family: monospace;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: bold;
}
body.dark-mode-theme .inbox-feed-asset {
  color: #94a3b8;
}
.inbox-feed-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0;
}
body.dark-mode-theme .inbox-feed-title {
  color: #ffffff;
}
.inbox-feed-desc {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
}
body.dark-mode-theme .inbox-feed-desc {
  color: #cbd5e1;
}
.inbox-feed-timestamp {
  font-size: 0.75rem;
  color: #94a3b8;
}
.btn-inbox-action {
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  background: #f1f5f9;
  color: #475569 !important;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
  min-height: auto;
  transition: all var(--transition-fast);
}
body.dark-mode-theme .btn-inbox-action {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1 !important;
  border-color: rgba(255, 255, 255, 0.1);
}
.btn-inbox-action:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .inbox-widget-container {
    grid-template-columns: 1fr;
  }
  .inbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-val);
    flex-direction: row;
    overflow-x: auto;
  }
  .inbox-sidebar-title {
    display: none;
  }
}

/* Device Carousel (Image 4 style) */
.carousel-widget-section {
  padding: 6rem 0;
  background: #f8fafc;
  overflow: hidden;
}
body.dark-mode-theme .carousel-widget-section {
  background: #080d1e;
}
.carousel-outer-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.carousel-window {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform var(--transition-normal);
  width: 100%;
}
.carousel-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: #ffffff;
  border: 1px solid var(--border-val);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
body.dark-mode-theme .carousel-card {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.05);
}
.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 124, 229, 0.2);
}
.carousel-img-box {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(42, 124, 229, 0.02);
  border-radius: 12px;
}
.carousel-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.06));
}
.carousel-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 0.75rem;
}
body.dark-mode-theme .carousel-title {
  color: #ffffff;
}
.carousel-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 1.5rem;
  flex: 1;
}
body.dark-mode-theme .carousel-desc {
  color: #cbd5e1;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-val);
  color: var(--deep-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: all var(--transition-fast);
}
body.dark-mode-theme .carousel-arrow {
  background: var(--dark-surface);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.carousel-arrow:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.carousel-arrow-left {
  left: -22px;
}
.carousel-arrow-right {
  right: -22px;
}

@media (max-width: 991px) {
  .carousel-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
@media (max-width: 575px) {
  .carousel-card {
    flex: 0 0 100%;
  }
  .carousel-arrow-left {
    left: 5px;
  }
  .carousel-arrow-right {
    right: 5px;
  }
}

/* Key Features Interactive Console */
.features-console-section {
  padding: 6rem 0;
  background-color: #0f172a; /* Sleek dark mode background for premium contrast */
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.features-console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.features-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.feature-select-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-select-btn:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.15);
  color: #ffffff;
}
.feature-select-btn.active {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}
.feature-select-icon {
  width: 32px;
  height: 32px;
  color: currentColor;
  transition: color var(--transition-normal);
}
.feature-select-btn.active .feature-select-icon {
  color: #60a5fa;
}
.feature-select-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
}
.console-display-panel {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.console-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}
.console-channel-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  font-weight: 700;
}
.console-asset-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0.25rem 0 0.5rem 0;
  color: #ffffff;
}
.console-body-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.console-readouts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1rem;
  font-family: monospace;
}
.console-readout-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.console-readout-label {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
}
.console-readout-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #10b981;
}

@media (max-width: 991px) {
  .features-console-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Background Video styling */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.70;
  pointer-events: none;
}
.solution-hero-section::before {
  z-index: 2; /* Gradient overlays above video */
}
.solution-hero-section > .container {
  position: relative;
  z-index: 3; /* Content above video and overlay */
}

/* Interactive Features Tab Showcase */
.features-tabs-section {
  padding: 6rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-val);
  border-bottom: 1px solid var(--border-val);
}
.features-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-val);
  padding-bottom: 1rem;
}
.feature-tab-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #64748b;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-normal);
}
.feature-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform var(--transition-normal);
}
.feature-tab-btn:hover {
  color: #0f172a;
}
.feature-tab-btn.active {
  color: var(--primary);
}
.feature-tab-btn.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.feature-tab-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.feature-tab-panel.active {
  display: grid;
  animation: fadeIn 0.5s ease-in-out;
}
.feature-tab-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #0f172a;
}
.feature-tab-text p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-tab-image-wrapper {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-premium);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-tab-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
  .feature-tab-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-tabs-nav {
    flex-wrap: wrap;
  }
}

/* Interactive Hardware Finder Quiz Widget */
.finder-widget-section {
  padding: 6rem 0;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-val);
  border-bottom: 1px solid var(--border-val);
}
.finder-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}
.finder-controls-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.finder-question-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.finder-question-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}
.finder-option-btn {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.finder-option-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.finder-option-btn.active {
  background: rgba(37, 99, 235, 0.04);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}
.finder-option-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}
.finder-option-btn.active .finder-option-indicator {
  border-color: var(--primary);
  background: var(--primary);
}
.finder-option-btn.active .finder-option-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}
.finder-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.finder-option-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}
.finder-option-desc {
  font-size: 0.85rem;
  color: #64748b;
}

.finder-result-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0f172a;
  color: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 45px rgba(15,23,42,0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.finder-result-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #60a5fa;
  letter-spacing: 0.1em;
  background: rgba(96,165,250,0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  align-self: flex-start;
  margin-bottom: 1.5rem;
}
.finder-result-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #ffffff;
}
.finder-result-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.finder-products-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}
.finder-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.finder-product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition-normal);
}
.finder-product-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.finder-product-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.25rem;
  flex-shrink: 0;
}
.finder-product-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.finder-product-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}
.finder-product-link {
  font-size: 0.8rem;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.finder-product-link:hover {
  text-decoration: underline;
}

/* GPS Asset Tracking — visual hardware matchmaker carousel */
.asset-matchmaker {
  max-width: 1180px;
  margin: 0 auto;
}
.asset-matchmaker-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  padding: 0.65rem;
  margin-bottom: 1rem;
  background: #ffffff;
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(15, 45, 82, 0.07);
}
.asset-matchmaker-tab {
  min-height: 50px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #5d708d;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.asset-matchmaker-tab:hover {
  color: #0a4380;
  background: #f2f7ff;
}
.asset-matchmaker-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1266d7 0%, #2a7ce5 100%);
  box-shadow: 0 8px 22px rgba(37, 124, 229, 0.28);
}
.asset-matchmaker-tab:focus-visible,
.asset-matchmaker-arrow:focus-visible,
.asset-matchmaker-progress button:focus-visible,
.asset-matchmaker-product:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.65);
  outline-offset: 3px;
}
.asset-matchmaker-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  min-height: 500px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 74% 20%, rgba(43, 124, 229, 0.28), transparent 31%),
    radial-gradient(circle at 12% 95%, rgba(0, 199, 190, 0.13), transparent 32%),
    linear-gradient(135deg, #07162d 0%, #0d2748 62%, #0b3151 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(7, 22, 45, 0.24);
  isolation: isolate;
}
.asset-matchmaker-stage::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  top: -230px;
  right: -80px;
  border: 1px solid rgba(125, 188, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(125, 188, 255, 0.035), 0 0 0 140px rgba(125, 188, 255, 0.025);
  pointer-events: none;
  z-index: -1;
}
.asset-matchmaker-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.25rem 2rem 4.25rem 4.75rem;
}
.asset-matchmaker-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.asset-matchmaker-index {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.55;
}
.asset-matchmaker .finder-result-badge {
  margin: 0;
  color: #83c1ff;
  background: rgba(96, 165, 250, 0.13);
  border: 1px solid rgba(125, 188, 255, 0.16);
}
.asset-matchmaker .finder-result-title {
  max-width: 520px;
  margin-bottom: 1.15rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
}
.asset-matchmaker .finder-result-desc {
  max-width: 535px;
  margin-bottom: 2rem;
  color: #c7d5e8;
  font-size: 1rem;
  line-height: 1.72;
}
.asset-matchmaker-asset-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 1rem;
  border-left: 3px solid #3fa7ff;
}
.asset-matchmaker-asset-label span {
  color: #7fa0c4;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.asset-matchmaker-asset-label strong {
  max-width: 470px;
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.45;
}
.asset-matchmaker-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: center;
  padding: 3rem 4.75rem 3rem 1.25rem;
}
.asset-matchmaker-products[data-products='3'] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-right: 3.5rem;
}
.asset-matchmaker-products[data-products='3'] .asset-matchmaker-product {
  min-height: 410px;
}
.asset-matchmaker-products[data-products='3'] .asset-matchmaker-product-image {
  height: 165px;
}
.asset-matchmaker-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 368px;
  padding: 0.8rem 0.8rem 1.2rem;
  overflow: hidden;
  color: #0a3263;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 10, 31, 0.2);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.asset-matchmaker-product:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 60px rgba(0, 10, 31, 0.3);
}
.asset-matchmaker-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 215px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: linear-gradient(150deg, #f7faff 0%, #eef5ff 100%);
  border-radius: 16px;
}
.asset-matchmaker-product-image img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(9, 38, 76, 0.14));
  transition: transform 250ms ease;
}
.asset-matchmaker-product:hover .asset-matchmaker-product-image img {
  transform: scale(1.055);
}
.asset-matchmaker-product-type {
  margin: 0 0.35rem 0.38rem;
  overflow: hidden;
  color: #2a7ce5;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.asset-matchmaker-product-name {
  margin: 0 0.35rem 0.75rem;
  color: #082f5d;
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.25;
}
.asset-matchmaker-product-description {
  margin: 0 0.35rem 0.75rem;
  color: #5b708b;
  font-size: 0.75rem;
  line-height: 1.45;
}
.asset-matchmaker-product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto 0.35rem 0;
  color: #55708f;
  font-size: 0.78rem;
  font-weight: 700;
}
.asset-matchmaker-product-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #ffffff;
  background: #2a7ce5;
  border-radius: 50%;
}
.asset-matchmaker-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.asset-matchmaker-arrow:hover {
  background: #2a7ce5;
  border-color: #5ba5f4;
  transform: translateY(-50%) scale(1.06);
}
.asset-matchmaker-arrow svg {
  width: 20px;
  height: 20px;
}
.asset-matchmaker-arrow-prev { left: 1rem; }
.asset-matchmaker-arrow-next { right: 1rem; }
.asset-matchmaker-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 52px;
}
.asset-matchmaker-progress {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.asset-matchmaker-progress button {
  width: 8px;
  height: 8px;
  min-height: 0;
  padding: 0;
  background: #b9c7d9;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}
.asset-matchmaker-progress button.active {
  width: 30px;
  background: #2a7ce5;
}
.asset-matchmaker-count {
  color: #8494a9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.asset-matchmaker-stage.is-changing .asset-matchmaker-copy,
.asset-matchmaker-stage.is-changing .asset-matchmaker-products {
  animation: assetMatchmakerReveal 320ms ease both;
}
@keyframes assetMatchmakerReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .asset-matchmaker-stage {
    grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  }
  .asset-matchmaker-copy {
    padding-left: 4rem;
  }
  .asset-matchmaker-products {
    padding-right: 4rem;
  }
  .asset-matchmaker-product {
    min-height: 340px;
  }
  .asset-matchmaker-product-image {
    height: 190px;
  }
}

@media (max-width: 900px) {
  .asset-matchmaker-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .asset-matchmaker-tab {
    flex: 0 0 auto;
    min-width: 185px;
    scroll-snap-align: start;
  }
  .asset-matchmaker-stage {
    grid-template-columns: 1fr;
  }
  .asset-matchmaker-copy {
    padding: 3.5rem 4rem 1.75rem;
  }
  .asset-matchmaker-products,
  .asset-matchmaker-products[data-products='3'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 4rem 3.5rem;
  }
  .asset-matchmaker-products[data-products='3'] .asset-matchmaker-product:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.5rem);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .asset-matchmaker-stage {
    border-radius: 22px;
  }
  .asset-matchmaker-copy {
    padding: 3.25rem 2.1rem 1.5rem;
  }
  .asset-matchmaker .finder-result-title {
    font-size: 2rem;
  }
  .asset-matchmaker-products,
  .asset-matchmaker-products[data-products='3'] {
    display: flex;
    gap: 0.85rem;
    padding: 0 2.1rem 3.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .asset-matchmaker-product,
  .asset-matchmaker-products[data-products='3'] .asset-matchmaker-product:last-child {
    flex: 0 0 82%;
    width: auto;
    min-height: 330px;
    scroll-snap-align: center;
  }
  .asset-matchmaker-arrow {
    top: auto;
    bottom: 0.8rem;
    width: 38px;
    height: 38px;
  }
  .asset-matchmaker-arrow-prev { left: 1rem; }
  .asset-matchmaker-arrow-next { right: 1rem; }
}

@media (max-width: 991px) {
  .finder-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .finder-products-grid {
    grid-template-columns: 1fr;
  }

  /* Finder Mobile Padding & Spacing */
  .finder-controls-panel {
    padding: 1.5rem;
  }
  .finder-option-btn {
    padding: 1rem;
    gap: 0.75rem;
  }
  .finder-result-panel {
    padding: 1.5rem;
  }
  .finder-product-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  /* Capabilities Hub Console Mobile Styles */
  .console-display-panel {
    padding: 1.5rem;
    min-height: auto;
  }
  .feature-select-btn {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  /* Brand Logos Spacing Fix */
  .solution-brand-logos {
    gap: 1.5rem;
  }
  .solution-brand-logo-svg {
    width: 120px;
    height: 20px;
  }

  /* Sticky Subnavigation 2x2 Pill Grid */
  .solution-subnav {
    overflow: visible;
  }
  .solution-subnav-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    padding: 0.65rem 1rem !important;
    width: 100% !important;
    flex-wrap: wrap !important;
  }
  .solution-subnav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 9999px !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-align: center !important;
    transition: all var(--transition-normal) !important;
    flex-shrink: 0;
  }
  body.dark-mode-theme .solution-subnav-link {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
  }
  .solution-subnav-link:hover {
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
  }
  body.dark-mode-theme .solution-subnav-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
  }
  .solution-subnav-link.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2) !important;
  }
  body.dark-mode-theme .solution-subnav-link.active {
    color: #ffffff !important;
  }
  .solution-subnav-link.active::after {
    display: none !important;
  }

  /* Operational Benefits 2x2 Pill Grid */
  .features-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 0 1rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 2rem !important;
    flex-wrap: wrap !important;
  }
  .feature-tab-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 9999px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-align: center !important;
    transition: all var(--transition-normal) !important;
    flex-shrink: 0;
  }
  body.dark-mode-theme .feature-tab-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
  }
  .feature-tab-btn:hover {
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
  }
  body.dark-mode-theme .feature-tab-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
  }
  .feature-tab-btn.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
  }
  .feature-tab-btn::after {
    display: none !important;
  }
  .feature-tab-text h3 {
    font-size: 1.4rem;
  }

  /* Pricing Card Mobile Layout Fix */
  .pricing-industries-section .glass-card div[style*="font-size: 3rem"] {
    flex-wrap: wrap !important;
    align-items: center !important;
    white-space: nowrap !important;
  }
  .pricing-industries-section .glass-card div[style*="font-size: 3rem"] span[style*="font-size: 1rem"] {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
    text-align: center !important;
  }
}

@media (max-width: 575px) {
  /* Stacking Capabilities Hub Console Readouts on mobile */
  .console-readouts-grid {
    grid-template-columns: 1fr;
  }
}

/* Remove default focus ring box outlines on click/tap but keep for keyboard navigation */
.feature-tab-btn:focus,
.feature-select-btn:focus,
.finder-option-btn:focus {
  outline: none;
}
.feature-tab-btn:focus-visible,
.feature-select-btn:focus-visible,
.finder-option-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High Impact Full-Width Bottom CTA Banner */
.cta-banner-full {
  background: linear-gradient(135deg, #070b15 0%, #0d162d 100%);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.12) 0%, rgba(0,0,0,0) 65%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
}

.cta-banner-inner h2 {
  color: white !important;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.cta-banner-inner p {
  color: #94a3b8 !important;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

/* Responsive Image & Table Enhancements for Product Pages */
.premium-image-card img,
.gallery-thumb-item,
#product-highlights-container img {
  object-fit: contain !important;
  max-width: 100% !important;
  height: auto !important;
}

.gallery-thumb-item {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.2s, border-color 0.2s;
}

.gallery-thumb-item:hover {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .product-extra-section {
    padding: 2.25rem 0 !important;
  }
  
  .product-extra-section h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .product-extra-section table {
    font-size: 0.85rem !important;
  }
  
  .product-extra-section th,
  .product-extra-section td {
    padding: 0.65rem 0.75rem !important;
  }
  
  .gallery-thumb-item {
    width: 52px !important;
    height: 52px !important;
    padding: 3px !important;
  }
}
/* Platform child-page opening: copy first, then a wide, unobstructed product view. */
.platform-showcase-hero .container.grid-2 { display: block; max-width: 1600px; }
.platform-showcase-hero .container.grid-2 > div:first-child { max-width: 920px; }
.platform-showcase-hero .container.grid-2 > div:last-child { margin-top: 3.5rem; }
.platform-showcase-hero .container.grid-2 > div:last-child > div {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.platform-showcase-hero .container.grid-2 > div:last-child img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
  object-fit: contain !important;
}
.platform-showcase-hero .container.grid-2 > .platform-portrait-visual img {
  width: auto !important;
  max-width: min(100%, 560px) !important;
  max-height: 760px !important;
}
@media (max-width: 767px) {
  .platform-showcase-hero .container.grid-2 > div:last-child { margin-top: 2.25rem; }
}

/* Mobile header navigation actions */
@media (max-width: 768px) {
  .header-nav .nav-actions .btn {
    display: none !important;
  }

  .header-nav .nav-actions {
    min-width: 0 !important;
    gap: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
  }

  .header-nav .nav-actions .lang-selector-dropdown {
    display: flex !important;
  }

  .header-nav .nav-actions .lang-trigger {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    gap: 4px;
    height: 36px;
  }

  .header-nav .nav-actions .lang-trigger .globe-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .header-nav .logo-link img {
    max-height: 28px;
    max-width: 125px;
  }

  .header-nav .nav-actions {
    gap: 0.35rem !important;
  }

  .header-nav .nav-actions .lang-trigger {
    padding: 0.3rem 0.55rem;
    font-size: 0.75rem;
    gap: 3px;
    height: 34px;
  }

  .header-nav .nav-actions .cart-icon-btn,
  .header-nav .nav-actions .hamburger-btn {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
}

/* ==========================================================================
   Arabic (RTL) Localization & Layout Styles
   ========================================================================== */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .logo-link img {
  margin-right: 0 !important;
  margin-left: 8px !important;
}

html[dir="rtl"] .nav-menu {
  flex-direction: row;
}

html[dir="rtl"] .nav-actions {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
  text-align: right;
}

html[dir="rtl"] .dropdown-menu {
  right: 0;
  left: auto;
  text-align: right;
}

html[dir="rtl"] .dropdown-menu .submenu {
  left: auto;
  right: 100%;
  text-align: right;
}

html[dir="rtl"] .submenu-arrow {
  margin-left: 0;
  margin-right: auto;
  transform: rotate(180deg);
}

html[dir="rtl"] .has-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

html[dir="rtl"] .text-left {
  text-align: right !important;
}

html[dir="rtl"] .text-right {
  text-align: left !important;
}

html[dir="rtl"] .grid-2,
html[dir="rtl"] .grid-3,
html[dir="rtl"] .grid-4 {
  direction: rtl;
}

html[dir="rtl"] .faq-trigger {
  text-align: right;
}

html[dir="rtl"] .btn svg,
html[dir="rtl"] a svg {
  margin-right: 0;
}

html[dir="rtl"] .hero-proof-list span {
  direction: rtl;
}

html[dir="rtl"] .pill-badge svg {
  margin-right: 0;
  margin-left: 0.35rem;
}

html[dir="rtl"] .home-hero-primary span {
  margin-left: 0;
  margin-right: 0.35rem;
}

html[dir="rtl"] .home-hero-primary:hover span {
  transform: translateX(-3px);
}

/* ==========================================================================
   Resource Library & Brochures Page Responsive Styles
   ========================================================================== */
.resource-hero-section {
  background: linear-gradient(180deg, var(--light-bg, #f8fafc) 0%, #ffffff 100%);
  padding-top: 8rem;
  padding-bottom: 3.5rem;
}

.resource-hero-title {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--deep-blue, #0f172a);
  line-height: 1.2;
}

.resource-hero-desc {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.resource-search-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  max-width: 650px;
  width: 100%;
  margin: 0 auto 1.5rem auto;
  padding: 0 0.5rem;
}

.resource-search-box {
  position: relative;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.resource-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.95rem;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

.resource-search-input:focus {
  border-color: var(--primary-color, #0284c7);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

html[dir="rtl"] .resource-search-input {
  padding: 0.75rem 2.6rem 0.75rem 1rem;
}

.resource-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

html[dir="rtl"] .resource-search-icon {
  left: auto;
  right: 0.9rem;
}

.resource-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 0.5rem;
}

.filter-pill {
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  color: #475569;
  transition: all 0.2s;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.filter-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.filter-pill.active {
  background: var(--primary-color, #0284c7) !important;
  color: #ffffff !important;
  border-color: var(--primary-color, #0284c7) !important;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.resource-card-img-wrap {
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.resource-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
}

html[dir="rtl"] .resource-card-badge {
  right: auto;
  left: 0.75rem;
}

.resource-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-card-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  min-height: 44px;
  box-sizing: border-box;
  text-decoration: none;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .resource-hero-section {
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .resource-card-img-wrap {
    height: 160px;
  }
  .resource-card-body {
    padding: 1.1rem;
  }
  .filter-pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    min-height: 36px;
  }
}

@media (max-width: 480px) {
  .resource-hero-section {
    padding-top: 5rem;
    padding-bottom: 1.5rem;
  }
  .resource-search-wrapper {
    margin-bottom: 1rem;
  }
  .resource-filter-pills {
    gap: 0.35rem;
  }
  .resource-card-body {
    padding: 1rem;
  }
}
.air-logistics-feature {
  overflow: hidden;
  margin: 2.5rem 0 3rem;
  border: 1px solid #d8e5f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(7, 59, 115, 0.12);
}

.air-logistics-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.air-logistics-feature figcaption {
  padding: 0.9rem 1.25rem 1rem;
  color: #52647d;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

/* Shared product application diagram viewer */
.application-lightbox-trigger {
  cursor: zoom-in;
}

.application-lightbox-trigger:focus-visible {
  outline: 4px solid rgba(47, 128, 237, 0.5);
  outline-offset: -4px;
}

.application-card--zoomable {
  position: relative;
}

.application-card--zoomable::after {
  content: "Click to enlarge";
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 42, 82, 0.88);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.application-card--zoomable:hover::after,
.application-card--zoomable:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.application-lightbox[hidden] {
  display: none;
}

.application-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(3, 18, 38, 0.88);
  backdrop-filter: blur(8px);
}

.application-lightbox__content {
  width: min(94vw, 1600px);
  max-height: 92vh;
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.application-lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 84vh;
  object-fit: contain;
}

.application-lightbox__caption {
  margin: 0;
  padding: 0.8rem 1.25rem 1rem;
  color: #52647d;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.application-lightbox__close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: #fff;
  color: #073b73;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.application-lightbox__close:focus-visible {
  outline: 4px solid #58a6ff;
  outline-offset: 3px;
}

body.application-lightbox-open {
  overflow: hidden;
}

@media (hover: none) {
  .application-card--zoomable::after {
    opacity: 1;
    transform: none;
  }
}
