/* 
  MojoStudio - Design System & Modern Architecture
  Theme: Deep Space Cyber-Glass / Vanguard IT & AI Agency
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Core Palette */
  --bg-dark: #07080b;
  --bg-surface: #0c0e15;
  --bg-surface-elevated: #111420;
  --bg-card: rgba(16, 20, 31, 0.7);
  --bg-card-inner: rgba(10, 13, 22, 0.85);
  
  /* Accents & Brand Glows */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-magenta: #ec4899;
  --accent-amber: #f59e0b;
  --accent-whatsapp: #25D366;
  --accent-whatsapp-hover: #1ebd5b;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --grad-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  --grad-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Hairlines & Shadows */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.4);
  --shadow-ambient: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow-cyan: 0 0 35px -5px rgba(0, 242, 254, 0.35);
  --shadow-glow-purple: 0 0 35px -5px rgba(139, 92, 246, 0.35);
  
  /* Radii */
  --radius-outer: 24px;
  --radius-inner: 18px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-snappy: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-elastic: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Arabic Mode Typography */
[dir="rtl"] {
  font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
  text-align: right;
}

[dir="rtl"] .font-mono {
  font-family: 'JetBrains Mono', monospace;
  direction: ltr;
  display: inline-block;
}

/* Background Canvas & Ambient Mesh */
#ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.aurora-mesh {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 242, 254, 0.08) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
  filter: blur(80px);
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Container Structure */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 2;
}

.content-wrapper {
  position: relative;
  z-index: 2;
}

/* Section Spacing */
section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}

@media (min-width: 1024px) {
  section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

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

.text-gradient-purple {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.section-desc.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

/* Navigation - Floating Glass Island */
.navbar-wrapper {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1220px;
  height: 56px;
  background: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 0 1rem 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: var(--transition-smooth);
}

[dir="rtl"] .navbar {
  padding: 0 1.25rem 0 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent-cyan);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

@media (min-width: 1080px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: var(--transition-snappy);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Audio FX Toggle */
.audio-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-snappy);
  flex-shrink: 0;
}

.audio-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.audio-toggle-btn.active {
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* Language Switcher */
.lang-btn {
  height: 34px;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-snappy);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
}

/* Primary Button Architecture - Button-in-Button Pattern */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 38px;
  padding: 0 0.4rem 0 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #050b14;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition-snappy);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

[dir="rtl"] .btn-primary {
  padding: 0 1rem 0 0.4rem;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.55);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary .btn-icon-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(5, 11, 20, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-snappy);
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon-bubble {
  transform: scale(1.08) rotate(-10deg);
  background: rgba(5, 11, 20, 0.35);
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: var(--transition-snappy);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* WhatsApp Specialized Button */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  justify-content: center;
}

@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition-snappy);
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-menu-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.mobile-menu-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition-snappy);
}

.mobile-menu-links a:hover {
  color: var(--accent-cyan);
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 9rem;
  padding-bottom: 5rem;
  position: relative;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
  color: #ffffff;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* Hero Telemetry Matrix */
.hero-telemetry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

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

.telemetry-card {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-inner);
  background: rgba(15, 19, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition-snappy);
}

.telemetry-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-3px);
  background: rgba(15, 19, 30, 0.75);
}

.telemetry-val {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  font-family: 'JetBrains Mono', monospace;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.telemetry-label {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* MARQUEE / PARTNERS */
.partners-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(7, 9, 14, 0.6);
  overflow: hidden;
}

.partners-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 2rem;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
  animation: scroll-marquee 30s linear infinite;
}

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

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

[dir="rtl"] @keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

.partner-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-snappy);
}

.partner-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.partner-pill svg {
  width: 22px;
  height: 22px;
}

/* ========================================================
   SECTION 02: DIAGNOSTIC & TRANSFORMATION MATRIX
   ======================================================== */
.diagnostic-matrix-wrapper {
  margin-top: 2.75rem;
}

/* Interactive Filter Bar */
.matrix-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.matrix-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-snappy);
  backdrop-filter: blur(10px);
}

.matrix-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.matrix-filter-btn.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-cyan { background-color: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.dot-red { background-color: #ef4444; box-shadow: 0 0 8px #ef4444; }
.dot-emerald { background-color: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }

/* Diagnostic Grid: 3 columns on desktop, 2 on tablet, 1 on mobile */
.diagnostic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* Individual Diagnostic Node */
.diagnostic-node {
  padding: 0.4rem;
  border-radius: var(--radius-outer);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.diagnostic-node:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -10px rgba(0, 242, 254, 0.15);
}

.node-inner {
  background: var(--bg-card-inner);
  border-radius: var(--radius-inner);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Node Top Bar */
.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  gap: 0.75rem;
}

.node-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-ai { background: rgba(0, 242, 254, 0.1); color: var(--accent-cyan); border: 1px solid rgba(0, 242, 254, 0.3); }
.badge-hrms { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-erp { background: rgba(56, 189, 248, 0.1); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-re { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-zoho { background: rgba(139, 92, 246, 0.1); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-custom { background: rgba(236, 72, 153, 0.1); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }

.node-metric-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.node-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

/* Dual Chamber Transformation Block */
.node-chambers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Friction Chamber (The Bottleneck) */
.chamber-friction {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 14px;
  padding: 1rem;
  position: relative;
  transition: var(--transition-smooth);
}

.chamber-friction:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.35);
}

.chamber-tag-friction {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f87171;
  margin-bottom: 0.5rem;
}

/* Transformation Vector / Bridge */
.transformation-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  padding: 0.25rem 0;
}

.bridge-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.3), rgba(0, 242, 254, 0.6));
}

.bridge-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Flow Chamber (The Autonomous Mojo Solution) */
.chamber-flow {
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 14px;
  padding: 1rem;
  position: relative;
  transition: var(--transition-smooth);
}

.chamber-flow:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.45);
}

.chamber-tag-flow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.chamber-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Filter States */
.diagnostic-node.view-friction-only .chamber-flow,
.diagnostic-node.view-friction-only .transformation-bridge {
  opacity: 0.2;
  filter: grayscale(80%);
}

.diagnostic-node.view-friction-only .chamber-friction {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.diagnostic-node.view-flow-only .chamber-friction,
.diagnostic-node.view-flow-only .transformation-bridge {
  opacity: 0.2;
  filter: grayscale(80%);
}

.diagnostic-node.view-flow-only .chamber-flow {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.55);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

/* Node Footer Actions */
.node-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0.75rem;
}

.node-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-snappy);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.node-demo-btn:hover {
  color: #fff;
  transform: translateX(3px);
}

[dir="rtl"] .node-demo-btn:hover {
  transform: translateX(-3px);
}

.node-quick-btn {
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-snappy);
  text-decoration: none;
}

.node-quick-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* DOUBLE-BEZEL BENTO CARDS */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

/* The Double-Bezel Architecture */
.double-bezel {
  padding: 0.5rem;
  border-radius: var(--radius-outer);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.double-bezel:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -10px rgba(0, 242, 254, 0.15);
}

.double-bezel .inner-core {
  background: var(--bg-card-inner);
  border-radius: var(--radius-inner);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.col-span-12 { grid-column: span 12 / span 12; }
.col-span-8 { grid-column: span 12 / span 12; }
.col-span-7 { grid-column: span 12 / span 12; }
.col-span-5 { grid-column: span 12 / span 12; }
.col-span-4 { grid-column: span 12 / span 12; }
.col-span-6 { grid-column: span 12 / span 12; }

@media (min-width: 768px) {
  .col-span-8 { grid-column: span 8 / span 12; }
  .col-span-7 { grid-column: span 7 / span 12; }
  .col-span-5 { grid-column: span 5 / span 12; }
  .col-span-4 { grid-column: span 4 / span 12; }
  .col-span-6 { grid-column: span 6 / span 12; }
}

.card-icon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.badge-pill {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cyan { background: rgba(0, 242, 254, 0.12); color: var(--accent-cyan); border: 1px solid rgba(0, 242, 254, 0.3); }
.badge-purple { background: rgba(139, 92, 246, 0.12); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-emerald { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.tag-item {
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-link {
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-snappy);
}

.card-link:hover {
  color: #fff;
  gap: 0.65rem;
}

/* LIVE DEMO STATION (Interactive Playground) */
.demo-station-container {
  background: rgba(12, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-outer);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(0, 242, 254, 0.15);
}

.demo-header-bar {
  background: rgba(16, 21, 35, 0.9);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

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

.demo-tab-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(5, 8, 14, 0.5);
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-tab-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-snappy);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.demo-tab-btn:hover {
  color: #fff;
}

.demo-tab-btn.active {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.demo-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-family: 'JetBrains Mono', monospace;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.demo-content-body {
  padding: 1.5rem;
  min-height: 480px;
}

@media (min-width: 768px) {
  .demo-content-body {
    padding: 2.25rem;
  }
}

.demo-panel {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.demo-panel.active {
  display: block;
}

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

/* DEMO TAB 1: REAL ESTATE AI AGENT SIMULATOR */
.chat-simulator-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .chat-simulator-container {
    grid-template-columns: 320px 1fr;
  }
}

.chat-sidebar {
  background: rgba(8, 11, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  padding: 1.25rem;
}

.sidebar-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.prompt-suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prompt-chip {
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: var(--transition-snappy);
  line-height: 1.4;
}

[dir="rtl"] .prompt-chip {
  text-align: right;
}

.prompt-chip:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.35);
  color: #fff;
  transform: translateX(4px);
}

[dir="rtl"] .prompt-chip:hover {
  transform: translateX(-4px);
}

.chat-window {
  background: rgba(8, 11, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  display: flex;
  flex-direction: column;
  height: 480px;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 82%;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  position: relative;
  animation: slideBubble 0.3s ease-out;
}

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

.bubble-ai {
  align-self: flex-start;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
}

[dir="rtl"] .bubble-ai {
  align-self: flex-start;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 4px;
}

.bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}

[dir="rtl"] .bubble-user {
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 4px;
}

.property-preview-card {
  margin-top: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.property-preview-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.property-preview-info {
  flex-grow: 1;
}

.property-preview-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.property-preview-price {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8125rem;
}

.chat-input-bar {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: rgba(12, 16, 26, 0.9);
  border-bottom-left-radius: var(--radius-inner);
  border-bottom-right-radius: var(--radius-inner);
}

.chat-input-field {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition-snappy);
}

.chat-input-field:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: none;
  color: #050b14;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-snappy);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.08);
}

/* DEMO TAB 2: INTERACTIVE WORKFLOW PIPELINE SIMULATOR */
.workflow-simulator {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workflow-canvas {
  background: rgba(6, 8, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  padding: 2rem 1.5rem;
  position: relative;
  overflow-x: auto;
}

.pipeline-nodes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 680px;
  position: relative;
}

.pipeline-node {
  background: rgba(16, 21, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  width: 140px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-snappy);
}

.pipeline-node.active-node {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
  transform: translateY(-4px) scale(1.04);
}

.pipeline-node-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  color: var(--accent-cyan);
}

.pipeline-node-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pipeline-node-status {
  font-size: 0.6875rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.pipeline-connector {
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  margin: 0 0.5rem;
}

.pipeline-connector .pulse-tracer {
  position: absolute;
  top: -2px;
  left: 0;
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent-cyan);
  opacity: 0;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.pipeline-connector.animating .pulse-tracer {
  opacity: 1;
  animation: traceLine 0.8s ease-in-out infinite;
}

@keyframes traceLine {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.workflow-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.terminal-box {
  background: #040508;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  padding: 1rem 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: #a5b4fc;
  height: 120px;
  overflow-y: auto;
  line-height: 1.6;
}

.terminal-line {
  margin-bottom: 0.25rem;
}

.terminal-line span.success { color: #34d399; }
.terminal-line span.warn { color: #fbbf24; }
.terminal-line span.info { color: #38bdf8; }

/* DEMO TAB 3: ZOHO ECOSYSTEM SYNC */
.zoho-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.zoho-module-card {
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.zoho-module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.zoho-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.zoho-crm-bg { background: rgba(225, 29, 72, 0.15); color: #fb7185; border: 1px solid rgba(225, 29, 72, 0.3); }
.zoho-books-bg { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.zoho-desk-bg { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }

.zoho-data-item {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  border-left: 3px solid var(--accent-cyan);
}

[dir="rtl"] .zoho-data-item {
  border-left: none;
  border-right: 3px solid var(--accent-cyan);
}

/* DEMO TAB 4: ERP & HRMS PORTAL */
.erp-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.erp-stat-widget {
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  padding: 1.5rem;
  text-align: center;
}

.erp-stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  margin: 0.5rem 0;
}

/* VIDEO SHOWCASE SECTION ("وفيديوز وكدا") */
.video-theater-card {
  position: relative;
  border-radius: var(--radius-outer);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #040508;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(79, 172, 254, 0.2);
}

.video-screen-mock {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at center, #111827 0%, #06080d 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-screen-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
}

.video-glow-backdrop {
  position: absolute;
  width: 80%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 80%);
  filter: blur(60px);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

.video-center-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.play-action-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: none;
  color: #050b14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
  transition: var(--transition-elastic);
}

.play-action-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.85);
}

.video-title-overlay {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.video-sub-overlay {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Video Control Bar */
.video-control-bar {
  background: rgba(10, 13, 20, 0.95);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.video-timeline {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.video-timeline-fill {
  height: 100%;
  width: 42%;
  background: var(--grad-primary);
  border-radius: 2px;
  position: relative;
}

.video-playlist-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

.playlist-card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: var(--transition-snappy);
}

.playlist-card:hover, .playlist-card.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-2px);
}

.playlist-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* PORTFOLIO & PROJECTS SECTION */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-snappy);
}

.filter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-btn.active {
  background: var(--accent-cyan);
  color: #050b14;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

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

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

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

.project-card {
  border-radius: var(--radius-outer);
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.15);
}

.project-visual {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.project-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 18, 28, 1) 0%, rgba(14, 18, 28, 0.2) 60%, transparent 100%);
}

.project-badge-float {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

[dir="rtl"] .project-badge-float {
  left: auto;
  right: 1rem;
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-metrics-row {
  display: flex;
  gap: 1rem;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item {
  flex: 1;
  text-align: center;
}

.metric-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
}

.metric-label {
  font-size: 0.6875rem;
  color: var(--text-dim);
}

/* CLIENTS & TESTIMONIALS SECTION */
.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-outer);
  background: rgba(14, 18, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-snappy);
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.quote-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.quote-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.client-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.client-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
}

.client-role {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* PROJECT ESTIMATOR / SCOPE CALCULATOR */
.estimator-card {
  background: linear-gradient(135deg, rgba(16, 22, 36, 0.9) 0%, rgba(9, 12, 20, 0.9) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-outer);
  padding: 2.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.15);
}

.step-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.estimator-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.option-select-btn {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-snappy);
  text-align: center;
}

.option-select-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.option-select-btn.selected {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

/* CONTACT & FOOTER */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  padding: 2.25rem;
  border-radius: var(--radius-outer);
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #e2e8f0;
  transition: var(--transition-snappy);
}

.channel-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

[dir="rtl"] .channel-item:hover {
  transform: translateX(-4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9375rem;
  outline: none;
  transition: var(--transition-snappy);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* FLOATING WHATSAPP BUTTON & DRAWER */
.floating-whatsapp-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  border: none;
  transition: var(--transition-elastic);
}

[dir="rtl"] .floating-whatsapp-trigger {
  right: auto;
  left: 2rem;
}

.floating-whatsapp-trigger:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.65);
}

.whatsapp-ping-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #07080b;
}

/* WhatsApp Quick Drawer */
.whatsapp-quick-drawer {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 320px;
  background: rgba(14, 18, 28, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-inner);
  box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 30px rgba(37, 211, 102, 0.25);
  z-index: 91;
  padding: 1.25rem;
  display: none;
  animation: slideDrawer 0.3s ease-out;
}

[dir="rtl"] .whatsapp-quick-drawer {
  right: auto;
  left: 2rem;
}

.whatsapp-quick-drawer.open {
  display: block;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-action-btn {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-snappy);
}

.drawer-action-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #fff;
}

/* FOOTER */
footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-hairline);
  background: rgba(4, 5, 8, 0.95);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-snappy);
}

.social-circle:hover {
  background: var(--accent-cyan);
  color: #050b14;
  transform: translateY(-3px);
}

/* VIDEO MODAL WINDOW */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(25px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal-backdrop.open {
  display: flex;
}

.video-modal-box {
  width: 100%;
  max-width: 900px;
  background: #090c14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-outer);
  overflow: hidden;
  position: relative;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 242, 254, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-snappy);
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* ========================================================
   FUTURISTIC MINIMALIST 3D HERO & THE MOJO ENGINE
   ======================================================== */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  text-align: right;
}

[dir="ltr"] .hero-split-grid {
  text-align: left;
}

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

.hero-3d-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

#three-hero-container {
  width: 100%;
  max-width: 480px;
  height: 480px;
  cursor: grab;
  position: relative;
  z-index: 2;
}

#three-hero-container:active {
  cursor: grabbing;
}

.three-hud-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  z-index: 3;
}

.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(5, 11, 20, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hud-bracket-top-left {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--accent-cyan);
  border-left: 2px solid var(--accent-cyan);
}

.hud-bracket-bottom-right {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--accent-purple);
  border-right: 2px solid var(--accent-purple);
}

/* ========================================================
   SECTION 02: "WHAT IF YOUR BUSINESS RAN ITSELF?"
   INNOVATIVE DIAGNOSTIC MATRIX (FRICTION VS FLOW)
   ======================================================== */
.friction-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.friction-flow-toggle {
  display: inline-flex;
  background: rgba(12, 16, 26, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.flow-toggle-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-snappy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.flow-toggle-btn:hover {
  color: #fff;
}

.flow-toggle-btn.active {
  background: rgba(0, 242, 254, 0.15);
  color: #fff;
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.diagnostic-matrix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1100px) {
  .diagnostic-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.matrix-card {
  border-radius: var(--radius-outer);
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.matrix-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.15);
}

.matrix-card-inner {
  background: #090c15;
  border-radius: var(--radius-inner);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.matrix-system-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.matrix-stage-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Red Friction Block */
.friction-box {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  transition: var(--transition-snappy);
}

.friction-box-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.friction-box-desc {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Green/Cyan Flow Block */
.flow-box {
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  transition: var(--transition-snappy);
}

.flow-box-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.flow-box-desc {
  font-size: 0.84rem;
  color: #f1f5f9;
  line-height: 1.6;
}

/* Matrix Footer Bar */
.matrix-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.matrix-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.matrix-demo-link {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-snappy);
}

.matrix-card:hover .matrix-demo-link {
  color: #fff;
  gap: 0.6rem;
}

/* ========================================================
   SYSTEM DIAGRAM MINI-FLOWS (INSIDE SYSTEMS CARDS)
   ======================================================== */
.system-diagram-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.diagram-node {
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: #e2e8f0;
  white-space: nowrap;
}

.diagram-node.highlight {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.diagram-sep {
  color: var(--text-dim);
}

/* ========================================================
   SECTION 05: "HOW MOJO THINKS" (PIPELINE STORYTELLING)
   ======================================================== */
.how-mojo-pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

@media (min-width: 900px) {
  .how-mojo-pipeline {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pipeline-step-card {
  background: rgba(14, 18, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  padding: 1.75rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pipeline-step-card:hover {
  background: rgba(16, 22, 36, 0.9);
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 242, 254, 0.1);
}

.pipeline-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pipeline-step-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
}

.pipeline-step-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================================
   MONOCHROME PARTNER & CLIENT LOGOS (SMOOTH HOVER)
   ======================================================== */
.client-logo-monochrome {
  filter: grayscale(100%) opacity(50%);
  transition: var(--transition-snappy);
}

.client-logo-monochrome:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

/* ========================================================
   FUTURISTIC 3D CYBER CURSOR
   ======================================================== */
@media (hover: hover) and (pointer: fine) {
  .cyber-cursor-dot {
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    box-shadow: 0 0 12px var(--accent-cyan);
    will-change: transform;
  }

  .cyber-cursor-ring {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(0, 242, 254, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    will-change: transform;
  }

  .cyber-cursor-ring.cursor-hover {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    border-color: rgba(139, 92, 246, 0.9);
    background: rgba(139, 92, 246, 0.08);
  }

  .cyber-cursor-ring.cursor-clicking {
    transform: scale(0.85);
    background: rgba(0, 242, 254, 0.2);
  }
}

/* ========================================================
   NAVBAR AUDIO EQUALIZER BARS (GEN Z SFX HUD)
   ======================================================== */
.audio-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.25s ease;
}

.audio-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: #fff;
  background: rgba(0, 242, 254, 0.08);
}

.audio-toggle-btn.active {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.audio-visualizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  width: 14px;
}

.audio-bar {
  width: 2px;
  height: 3px;
  background: currentColor;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.audio-toggle-btn.active .audio-bar:nth-child(1) {
  animation: eqPulse1 0.7s infinite ease-in-out alternate;
}
.audio-toggle-btn.active .audio-bar:nth-child(2) {
  animation: eqPulse2 0.5s infinite ease-in-out alternate 0.15s;
}
.audio-toggle-btn.active .audio-bar:nth-child(3) {
  animation: eqPulse3 0.8s infinite ease-in-out alternate 0.05s;
}
.audio-toggle-btn.active .audio-bar:nth-child(4) {
  animation: eqPulse4 0.6s infinite ease-in-out alternate 0.2s;
}

@keyframes eqPulse1 { 0% { height: 3px; } 100% { height: 13px; } }
@keyframes eqPulse2 { 0% { height: 5px; } 100% { height: 14px; } }
@keyframes eqPulse3 { 0% { height: 4px; } 100% { height: 11px; } }
@keyframes eqPulse4 { 0% { height: 2px; } 100% { height: 12px; } }

/* ========================================================
   CYBERPUNK LIVE TELEMETRY STREAM RIBBON (MARQUEE)
   ======================================================== */
.live-pulse-ribbon {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 242, 254, 0.18);
  border-bottom: 1px solid rgba(0, 242, 254, 0.18);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 0.85rem 0;
  z-index: 20;
}

.pulse-ribbon-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marqueeStream 45s linear infinite;
  white-space: nowrap;
}

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

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

[dir="rtl"] .pulse-ribbon-track {
  animation: marqueeStreamRtl 45s linear infinite;
}

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

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--text-dim);
  letter-spacing: -0.01em;
}

.ribbon-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
}

.ribbon-radar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: radarBlink 1.5s infinite ease-in-out;
}

@keyframes radarBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.ribbon-event-text {
  color: #f1f5f9;
}

.ribbon-event-text strong {
  color: var(--accent-cyan);
}

.ribbon-holo-tag {
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.15), rgba(0, 242, 254, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #fff;
}

/* ========================================================
   HOLOGRAPHIC STICKERS & BADGES (GEN Z DRIP)
   ======================================================== */
.holo-sticker {
  position: absolute;
  top: 14px;
  left: 20px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(255, 0, 128, 0.25), rgba(121, 40, 202, 0.25), rgba(0, 242, 254, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  transform: rotate(-3deg);
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 10;
  transition: transform 0.3s ease;
}

[dir="rtl"] .holo-sticker {
  left: auto;
  right: 20px;
  transform: rotate(3deg);
}

.diagnostic-node:hover .holo-sticker {
  transform: rotate(0deg) scale(1.08);
}

/* Dynamic Cursor Spotlight Effect on Cards */
.diagnostic-node,
.roi-calc-card,
.service-card-new {
  position: relative;
}

.diagnostic-node::before,
.roi-calc-card::before,
.service-card-new::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 242, 254, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.diagnostic-node:hover::before,
.roi-calc-card:hover::before,
.service-card-new:hover::before {
  opacity: 1;
}

/* ========================================================
   INTERACTIVE COMPUTATIONAL ROI CALCULATOR CARD
   ======================================================== */
.roi-calc-section {
  padding: 4rem 0 6rem 0;
  position: relative;
}

.roi-calc-card {
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.06), transparent 50%), #07090e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.roi-calc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
}

.roi-controls-col {
  position: relative;
  z-index: 2;
}

.roi-slider-group {
  margin-bottom: 2rem;
}

.roi-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.roi-slider-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
}

.roi-val-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 3px 12px;
  border-radius: 999px;
  min-width: 60px;
  text-align: center;
}

/* Custom Cyber Range Input */
.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.roi-slider:hover {
  background: rgba(255, 255, 255, 0.15);
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan), inset 0 0 4px #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  box-shadow: 0 0 25px var(--accent-cyan), inset 0 0 6px #fff;
}

.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: none;
  box-shadow: 0 0 15px var(--accent-cyan);
  cursor: pointer;
}

/* Right HUD: Results Dashboard */
.roi-hud-col {
  position: relative;
  z-index: 2;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.roi-headline-display {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.roi-stat-main-label {
  font-size: 0.875rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.roi-stat-main-num {
  font-size: 3.25rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.roi-stat-annual-tag {
  font-size: 0.8125rem;
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 0.4rem;
}

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

.roi-metric-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
}

.roi-chip-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.roi-chip-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.3;
}

.roi-cta-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-primary);
  color: #050b14;
  font-weight: 800;
  font-size: 1rem;
  padding: 1.1rem 1.75rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.35);
  transition: all 0.25s ease;
}

.roi-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.55);
}

.roi-cta-subtext {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 0.85rem;
}

/* ========================================================
   GEN Z FLOATING CYBER STATUS HUB (HUD BADGE)
   ======================================================== */
.cyber-status-hub {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 9, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 242, 254, 0.1);
  transition: all 0.25s ease;
}

[dir="rtl"] .cyber-status-hub {
  left: auto;
  right: 24px;
  padding: 6px 10px 6px 14px;
}

.cyber-status-hub:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.25);
  transform: translateY(-2px);
}

.hub-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: radarBlink 1.5s infinite ease-in-out;
}

.hub-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.hub-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 991px) {
  .roi-calc-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .cyber-status-hub {
    display: none; /* keep mobile clean */
  }
}

@media (max-width: 640px) {
  .roi-stat-main-num {
    font-size: 2.5rem;
  }
  .roi-metrics-trio {
    grid-template-columns: 1fr;
  }
}

