/* ==========================================================================
   ezSuiteHub — Modern Enterprise Landing Page Styles
   Aesthetic: Ultra-modern Dark Glassmorphism, Neon Cyan / Teal Accents,
              Clean Typography, State-of-the-Art Micro-Interactions
   ========================================================================== */

:root {
  --bg-primary: #060911;
  --bg-secondary: #0a0f1d;
  --bg-card: rgba(13, 20, 36, 0.7);
  --bg-card-hover: rgba(20, 30, 52, 0.85);
  --bg-surface: #0e172a;
  --bg-input: rgba(15, 23, 42, 0.8);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-active: rgba(20, 184, 166, 0.5);
  --border-focus: rgba(6, 182, 212, 0.8);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-emerald: #10b981;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-sky: #0ea5e9;

  --grad-primary: linear-gradient(135deg, #06b6d4 0%, #14b8a6 50%, #3b82f6 100%);
  --grad-text: linear-gradient(135deg, #ffffff 20%, #38bdf8 65%, #14b8a6 100%);
  --grad-glow: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 14.5px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 70%);
  top: -100px;
  left: -80px;
  animation: floatOrb 22s infinite alternate ease-in-out;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  top: 30%;
  right: -100px;
  animation: floatOrb 26s infinite alternate-reverse ease-in-out;
}

.orb-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, transparent 70%);
  bottom: 0%;
  left: 20%;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.06); }
  100% { transform: translate(-30px, 50px) scale(0.96); }
}

/* Containers & Grid Helpers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-teal { color: var(--accent-teal) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-amber { color: var(--accent-amber) !important; }
.text-rose { color: var(--accent-rose) !important; }

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

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad-primary);
  color: #030a10;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.6);
  filter: brightness(1.06);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 15px 34px;
}

.btn-sm {
  font-size: 0.88rem;
  padding: 9px 20px;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.25s ease;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(6, 9, 17, 0.94);
  border-bottom-color: rgba(20, 184, 166, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060911;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.45);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.nav-contact {
  color: var(--accent-teal);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.lang-pill-btn {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.lang-pill-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lang-pill-btn.active {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
}

.drawer-lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-lang-switcher .lang-pill-btn {
  flex: 1;
  justify-content: center;
  padding: 9px;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-lang-switcher .lang-pill-btn.active {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 165px;
  padding-bottom: 85px;
  position: relative;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.32);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #5eead4;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #14b8a6;
  border-radius: 50%;
  box-shadow: 0 0 10px #14b8a6;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 900px;
  margin-bottom: 20px;
}

.hero-subline {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1140px;
}

.stat-card {
  background: rgba(14, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: var(--shadow-glow);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Module Navigation Pills
   ========================================================================== */
.module-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.pill-btn {
  background: rgba(14, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 11px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.pill-btn:hover {
  color: #fff;
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.pill-btn.active {
  background: var(--grad-primary);
  color: #030a10;
  border-color: transparent;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
  font-weight: 700;
}

/* ==========================================================================
   Module Showcase Cards (Tabbed or Full Flow)
   ========================================================================== */
.module-card-showcase {
  display: none; /* Managed by Tab Controller */
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 48px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 23, 42, 0.85) 0%, rgba(8, 13, 25, 0.95) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.module-card-showcase.active {
  display: grid;
  animation: cardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.module-card-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0.8;
}

.module-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.module-badge.color-teal {
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: #2dd4bf;
}

.module-badge.color-cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #38bdf8;
}

.module-badge.color-indigo {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
}

.module-badge.color-amber {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

.module-badge.color-rose {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
}

.module-badge.color-sky {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.module-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.module-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Feature Bullets List */
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}

.feature-bullets li div {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-bullets li strong {
  color: #f1f5f9;
  font-weight: 600;
}

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

/* ==========================================================================
   Module Visual Windows / App Previews
   ========================================================================== */
.module-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-box {
  background: #080d1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.visual-header {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.visual-header .dot.red { background: #ef4444; }
.visual-header .dot.yellow { background: #f59e0b; }
.visual-header .dot.green { background: #10b981; }

.visual-title {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.visual-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Stream Items (RFID tags / Logs) */
.stream-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.stream-item:hover {
  background: rgba(20, 30, 52, 0.8);
  border-color: rgba(6, 182, 212, 0.25);
}

.stream-item.highlight {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
}

.tag-epc {
  color: #f1f5f9;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag-meta {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.tag-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.tag-badge.status-found {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-badge.status-gate {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Visual Stats Row */
.visual-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.v-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.v-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

/* Ticket Preview (ezCMMS) */
.ticket-preview {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.tp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tp-header strong {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #e2e8f0;
}

.badge-priority.high {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 700;
}

.tp-device {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 8px;
}

.tp-path {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.badge-pill {
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-pill.outsource {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-pill.warranty {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pill.active {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tp-sla {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sla-text {
  font-size: 0.78rem;
  font-weight: 600;
}

.sla-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.sla-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 3px;
}

/* AI Box (ezProcure) */
.ai-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.ai-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: #a5b4fc;
  margin-bottom: 8px;
}

.ai-message {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.6;
  font-style: italic;
}

.po-mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bin Grid (ezLogistics) */
.bin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bin-cell {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.bin-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.bin-item {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Route Item (ezVanSales) */
.route-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ri-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.ri-stats {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.ri-badge {
  align-self: flex-start;
  margin-top: 4px;
}

/* ==========================================================================
   Contact & Live Inquiry Form Section
   ========================================================================== */
.contact-section {
  padding: 90px 0 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 29, 0.95) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(14, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.contact-item:hover {
  background: rgba(20, 30, 52, 0.8);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateX(4px);
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 22px;
  height: 22px;
}

.ci-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.ci-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

a.ci-val:hover {
  color: var(--accent-cyan);
}

.direct-app-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px dashed rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
}

.direct-app-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}

.direct-app-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 23, 42, 0.85);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group label .req {
  color: #f43f5e;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #475569;
}

/* Modules Checkbox Pills */
.modules-checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.checkbox-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: center;
}

.checkbox-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-pill:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.checkbox-pill:has(input:checked) {
  background: rgba(20, 184, 166, 0.15);
  border-color: var(--accent-teal);
  color: #5eead4;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.2);
}

/* Submit Button & Spinner */
.btn-submit {
  margin-top: 8px;
  padding: 15px;
  font-size: 1.05rem;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(3, 10, 16, 0.3);
  border-top-color: #030a10;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Status Banner */
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.form-status.error {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #04060c;
  padding: 70px 0 35px 0;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .brand-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.7;
}

.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 11px;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-sec-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-pill.sec {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 1.95rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .module-card-showcase {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .modules-checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-drawer {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: rgba(6, 9, 17, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-drawer.open {
    display: flex;
  }
  .drawer-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 6px 0;
  }
  .hero-section {
    padding-top: 130px;
  }
  .hero-headline {
    font-size: 1.65rem;
  }
  .hero-subline {
    font-size: 0.92rem;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .modules-checkbox-group {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
}

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

/* ==========================================================================
   RTL & Arabic Typography Support
   ========================================================================== */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-size: 13.5px;
}

html[dir="rtl"] body {
  font-family: 'IBM Plex Sans Arabic', 'Cairo', -apple-system, sans-serif;
  line-height: 1.62;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .section-title,
html[dir="rtl"] .brand-title,
html[dir="rtl"] .btn,
html[dir="rtl"] .hero-headline {
  font-family: 'IBM Plex Sans Arabic', 'Cairo', -apple-system, sans-serif;
  letter-spacing: normal;
}

html[dir="rtl"] .hero-headline {
  font-size: 2.05rem;
  line-height: 1.34;
}

html[dir="rtl"] .section-title {
  font-size: 1.6rem;
  line-height: 1.34;
}

html[dir="rtl"] .contact-heading {
  font-size: 1.6rem;
  line-height: 1.34;
}

html[dir="rtl"] .nav-container,
html[dir="rtl"] .hero-container,
html[dir="rtl"] .footer-container {
  direction: rtl;
}

html[dir="rtl"] .brand-logo {
  gap: 14px;
}

html[dir="rtl"] .btn-arrow {
  transform: rotate(180deg);
}

html[dir="rtl"] .btn:hover .btn-arrow {
  transform: translateX(-4px) rotate(180deg);
}

html[dir="rtl"] .check-icon {
  margin-right: 0;
  margin-left: 14px;
}

html[dir="rtl"] .feature-bullets li {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .contact-item {
  flex-direction: row;
}

html[dir="rtl"] .contact-item .ci-icon {
  margin-right: 0;
  margin-left: 16px;
}

html[dir="rtl"] .visual-header {
  flex-direction: row-reverse;
}

html[dir="rtl"] .stream-item {
  direction: rtl;
}

html[dir="rtl"] .visual-stat-row {
  direction: rtl;
}

html[dir="rtl"] .tp-header {
  direction: rtl;
}

html[dir="rtl"] .ai-box {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .po-mini-row {
  direction: rtl;
}

html[dir="rtl"] .route-item {
  direction: rtl;
}

html[dir="rtl"] .footer-links-col {
  text-align: right;
}

html[dir="rtl"] .footer-desc {
  text-align: right;
}

html[dir="rtl"] .footer-bottom {
  direction: rtl;
}

