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

/* ========================================================
   1. DESIGN SYSTEM & EXACT COLOR TOKENS
   ======================================================== */
:root {
  --bg-deep: #0B0F19;
  --bg-surface: #0e1422;
  --bg-card: rgba(14, 20, 33, 0.7);
  --bg-card-hover: rgba(18, 26, 44, 0.85);
  
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(59, 130, 246, 0.45);

  --accent-blue: #2563EB;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10B981;
  --accent-purple: #818cf8;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  --text-main: #FFFFFF;
  --text-dim: #94A3B8;
  --text-muted: #64748B;

  --font-latin: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color-scheme: dark;
}

body {
  background-color: #06080d;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 85% 25%, rgba(99, 102, 241, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 15% 55%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 85%, rgba(14, 165, 233, 0.12) 0%, transparent 55%);
  background-attachment: fixed;
  color: #f8fafc;
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* RTL Arabic Typography */
body[dir="rtl"] {
  font-family: 'Cairo', 'Inter', sans-serif;
}

body[dir="rtl"] * {
  letter-spacing: normal !important;
}

/* Subtle Cybernetic Dot Grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Enterprise Container Constraints */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Dense, Cohesive Enterprise Section Spacing (Zero empty dead space) */
.section {
  padding: 56px 0;
  position: relative;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.valzo-gradient-title {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Luxury Glassmorphic Enterprise Cards */
.enterprise-card,
.glass-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.75) 0%, rgba(10, 14, 24, 0.85) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18); /* Crisp frosted top edge */
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 40px -15px rgba(0, 0, 0, 0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.enterprise-card:hover,
.glass-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  border-top-color: rgba(96, 165, 250, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 25px 50px -12px rgba(37, 99, 235, 0.25);
  transform: translateY(-3px);
}

/* Section Header Standard */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 28px auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Glowing Primary Button */
.btn-primary {
  background: var(--accent-blue);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.45);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.8);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ========================================================
   2. STICKY HEADER & NAVBAR
   ======================================================== */
.sticky-header-wrapper {
  position: sticky;
  top: 12px;
  z-index: 1000;
  padding: 0 20px;
  max-width: 1240px;
  margin: 12px auto 0 auto;
}

.navbar-island {
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 32px rgba(0, 0, 0, 0.6);
  border-radius: 14px;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar-island:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.brand-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen; /* Removes any unwanted black rectangular background */
  filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.5));
  transition: all 0.3s ease;
}
.brand-logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 24px rgba(37, 99, 235, 0.8));
}
.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

/* Hide bulky brand tag in navbar to give clean breathing room like Linear/Vercel */
.navbar-island .brand-tag {
  display: none !important;
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.nav-link:hover {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-cta-btn {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  line-height: 1;
}

/* Language Segmented Toggle [ EN / AR ] */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 5px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.82rem;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
}

/* ========================================================
   3. SECTION 1: HERO & CENTRAL 4-NODE INTERACTIVE FLOW
   ======================================================== */
.hero-section {
  padding: 32px 0 20px 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 12px;
}

.emerald-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.15;
  font-weight: 800;
  max-width: 920px;
  margin: 0 auto 10px auto;
  letter-spacing: -0.025em;
}

body[dir="rtl"] .hero-title {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.25;
}

.hero-subtext {
  font-size: 1.02rem;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 20px auto;
  line-height: 1.55;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

/* Hero Floating Pill (Capability Deck PDF) */
.hero-floating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #38bdf8;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-floating-pill:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

/* Central Node Visualizer Canvas */
.node-canvas-wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 1100px;
  background: rgba(14, 20, 33, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 40px rgba(0, 0, 0, 0.75);
  border-radius: 16px;
  padding: 24px 22px;
}

/* Local Ambient Glow Behind Node Canvas */
.node-canvas-wrapper::before,
.compare-valzo::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 15%;
  right: 15%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.22), transparent 70%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* Arch Canvas Header */
.arch-canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 10px;
}

.arch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.arch-meta-pill {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* 4-Node Interactive Architecture Flow Grid */
.arch-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 6px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}

.arch-node-col {
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  position: relative;
}

.arch-node-col:hover,
.arch-node-col.active {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 28px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.arch-engine-col {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(10, 14, 26, 0.96) 100%);
  border-color: rgba(59, 130, 246, 0.35);
}

.arch-node-header {
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

body[dir="rtl"] .arch-node-header {
  text-align: right;
}

.arch-stage-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.arch-stage-tag.tag-engine {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
}

.arch-node-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.arch-chips-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  justify-content: space-around;
}

.arch-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  transition: all 0.2s ease;
}

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

.arch-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.arch-chip-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-chip-icon svg {
  width: 16px;
  height: 16px;
}

.arch-chip-title {
  font-size: 0.74rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.2;
}

.arch-chip-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-top: 1px;
}

/* Engine Box for Node 02 */
.arch-engine-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  justify-content: center;
}

.arch-engine-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 10px;
  padding: 9px 10px;
  text-align: left;
}

body[dir="rtl"] .arch-engine-brand {
  text-align: right;
}

.arch-engine-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.arch-engine-spec {
  font-size: 0.68rem;
  color: #fdba74;
  font-family: var(--font-mono);
}

.arch-engine-bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

body[dir="rtl"] .arch-engine-bullets {
  text-align: right;
}

.engine-bullet {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.02);
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Flow Connectors */
.arch-connector-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
}

.arch-connector-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.arch-pulse-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseAcross 2.2s infinite ease-in-out;
}

.arch-pulse-dot.dot-2 {
  animation-delay: 0.6s;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}

.arch-pulse-dot.dot-3 {
  animation-delay: 1.2s;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

@keyframes pulseAcross {
  0% { left: 0%; opacity: 0.2; }
  50% { left: 50%; opacity: 1; transform: scale(1.3); }
  100% { left: 100%; opacity: 0.2; }
}

/* Terminal Bar & Latency */
.terminal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  color: #64748b;
}

.terminal-latency {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* 4 Interconnected Node Flow Columns (Horizontal Desktop Monitor Layout - Legacy Fallback) */
.node-canvas-grid {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.nodes-col-stacked {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ========================================================
   FRAMELESS FLOATING NODE ICONS & NODE CARDS
   ======================================================== */
.diagram-node-card,
.node-box,
.node-item {
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.diagram-node-card:hover,
.diagram-node-card.active,
.node-box:hover,
.node-box.active,
.node-item:hover,
.node-item.active {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 28px -6px rgba(0, 0, 0, 0.7), 0 0 24px rgba(37, 99, 235, 0.22);
  transform: translateY(-2px);
}

/* 1. Remove Icon Bounding Boxes */
.node-icon-container,
.node-icon-sq,
.node-box .node-icon-sq,
.node-item .node-icon-sq,
.diagram-node-card .node-icon-sq {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  flex-shrink: 0;
}

/* Ultra-subtle, transparent glass ambient ring */
.node-icon-container::after,
.node-icon-sq::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  transition: all 0.3s ease;
}

.diagram-node-card:hover .node-icon-container::after,
.diagram-node-card.active .node-icon-container::after,
.node-box:hover .node-icon-container::after,
.node-box.active .node-icon-container::after,
.node-item:hover .node-icon-container::after,
.node-item.active .node-icon-container::after {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

/* 2. Frameless Floating Icon Styling (Vector & Glow) */
.node-icon-container svg,
.node-icon-container img,
.node-icon-sq svg,
.node-icon-sq img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Specific Ambient Glows Per Platform */
/* Meta (Electric Blue Glow) */
.icon-meta svg,
.icon-meta img,
.meta-icon svg,
.node-icon-sq.meta-icon svg {
  color: #2563eb;
  fill: currentColor;
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.6));
}

/* WhatsApp (Emerald Green Glow) */
.icon-whatsapp svg,
.icon-whatsapp img,
.wa-icon svg,
.node-icon-sq.wa-icon svg {
  color: #10b981;
  fill: currentColor;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.6));
}

/* PostgreSQL / Database (Cyan Glow) */
.icon-postgres svg,
.icon-postgres img,
.postgres-icon svg,
.node-icon-sq.postgres-icon svg {
  color: #06b6d4;
  fill: currentColor;
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.6));
}

/* n8n / Central Router (Orange/Amber Glow) */
.icon-n8n svg,
.icon-n8n img,
.n8n-icon svg,
.node-icon-sq.n8n-icon svg {
  color: #f97316;
  fill: currentColor;
  filter: drop-shadow(0 0 14px rgba(249, 115, 22, 0.7));
}

/* Hover & Active Scaling Transformations */
.node-box:hover .node-icon-container svg,
.node-box:hover .node-icon-container img,
.diagram-node-card:hover .node-icon-container svg,
.diagram-node-card:hover .node-icon-container img,
.node-item:hover .node-icon-container svg,
.node-item:hover .node-icon-container img,
.node-box:hover .node-icon-sq svg,
.diagram-node-card:hover .node-icon-sq svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 18px currentColor);
}

.diagram-node-card.active .node-icon-container svg,
.diagram-node-card.active .node-icon-container img,
.node-box.active .node-icon-container svg,
.node-box.active .node-icon-container img,
.diagram-node-card.active .node-icon-sq svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 20px currentColor);
}

.node-info-block {
  text-align: left;
}

body[dir="rtl"] .node-info-block {
  text-align: right;
}

.node-title-main {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.node-sub-tag {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* Center Core Card (n8n Router) */
.core-router-card {
  background: rgba(15, 22, 38, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(37, 99, 235, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.core-router-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 4px;
}

.core-router-card:hover .core-router-header-row .node-icon-container svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 20px #f97316);
}

.core-router-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 8px;
}

.core-router-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0;
}

.core-router-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Real-Time JSON Micro-Terminal */
.diagram-terminal {
  margin-top: 12px;
  background: #060910;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7dd3fc;
  text-align: left;
  line-height: 1.4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  direction: ltr;
}

.terminal-blink {
  display: inline-block;
  width: 6px;
  height: 11px;
  background: var(--accent-emerald);
  margin-left: 4px;
  animation: cursorBlink 0.8s infinite;
  vertical-align: middle;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.conduit-overlay-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ========================================================
   4. SECTION 2: SOCIAL PROOF & INTEGRATIONS (7 PARTNERS)
   ======================================================== */
.ticker-section {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(14, 20, 33, 0.3);
}

.ticker-section-title {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.ticker-mask-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  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);
}

.ticker-infinite-track {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: tickerSlide 28s linear infinite;
  align-items: center;
}

.ticker-infinite-track:hover {
  animation-play-state: paused;
}

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

body[dir="rtl"] .ticker-infinite-track {
  animation: tickerSlideRTL 28s linear infinite;
}

body[dir="rtl"] .ticker-infinite-track:hover {
  animation-play-state: paused;
}

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

.ticker-partner-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: all 0.25s ease;
  user-select: none;
  cursor: default;
}

.ticker-partner-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-1px);
}

.partner-logo-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.partner-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ========================================================
   5. SECTION 3: PROBLEM VS SOLUTION (SPLIT-SCREEN FROSTED)
   ======================================================== */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.compare-card {
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card 1: The Manual Drag */
.compare-drag {
  border-top: 2px solid rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.25);
}

.compare-drag:hover {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.12);
}

.compare-pill-drag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  margin-bottom: 12px;
}

.broken-nodes-diagram {
  margin: 14px 0;
  background: rgba(11, 15, 25, 0.8);
  border: 1px dashed rgba(239, 68, 68, 0.35);
  border-radius: 9px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.broken-step-pill {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #fca5a5;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.broken-arrow {
  color: #ef4444;
  font-size: 0.78rem;
}

/* Card 2: The Valzo Flow */
.compare-valzo {
  border-top: 2px solid rgba(16, 185, 129, 0.85);
  border-color: rgba(16, 185, 129, 0.25);
}

.compare-valzo:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

.compare-pill-flow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  margin-bottom: 12px;
}

.flow-nodes-diagram {
  margin: 14px 0;
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  box-shadow: inset 0 0 15px rgba(16, 185, 129, 0.08);
}

.flow-step-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #6ee7b7;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.flow-arrow {
  color: #10b981;
  font-size: 0.78rem;
}

.flow-badges-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.flow-emerald-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vs-divider {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(11, 15, 25, 0.95);
  border: 1px solid var(--card-border);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.badge-x {
  color: #ef4444;
  font-weight: 700;
}

.badge-check {
  color: #10b981;
  font-weight: 700;
}

/* ========================================================
   6. SECTION 4: BENTO GRID SERVICES & PERFORMANCE METRICS
   ======================================================== */
.top-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-banner-card {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-big-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
}

.stat-sub-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 4px;
}

.stat-sparkline {
  width: 90px;
  height: 30px;
}

/* ========================================================
   6. SECTION 4: 8-SERVICE BENTO GRID & DIVERSE LUXURY VISUALS
   ======================================================== */
.bento-grid-8,
.bento-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-cell {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.bento-cell-content {
  margin-bottom: 20px;
}

.bento-top-meta {
  margin-bottom: 14px;
}

.bento-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid;
}

.badge-cyan {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.25);
}

.badge-emerald {
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

.badge-indigo {
  color: #818cf8;
  background: rgba(129, 140, 248, 0.1);
  border-color: rgba(129, 140, 248, 0.25);
}

.badge-amber {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.badge-pink {
  color: #ec4899;
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.25);
}

.badge-purple {
  color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.25);
}

.badge-blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
}

.bento-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bento-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-cyan { color: #38bdf8; }
.icon-emerald { color: #10B981; }
.icon-indigo { color: #818cf8; }
.icon-amber { color: #f59e0b; }
.icon-pink { color: #ec4899; }
.icon-purple { color: #a855f7; }
.icon-blue { color: #3b82f6; }

.bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.bento-desc {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Micro-UI Base Shell */
.bento-micro-ui {
  margin-top: auto;
  background: rgba(6, 9, 16, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 1. VISUAL NODE CONNECTOR (Business Automation & Workflows) */
.vis-node-flow-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vis-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.vis-pulse-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
}

.pulse-radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseRadarDot 1.6s infinite ease-in-out;
}

@keyframes pulseRadarDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #38bdf8; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.vis-status-label {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e2e8f0;
}

.vis-mono-chip {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 5px;
  padding: 2px 7px;
  font-weight: 700;
}

.node-connector-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  gap: 6px;
}

.diagram-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 90px;
  text-align: center;
}

.node-inbound {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.05);
}

.node-router {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(129, 140, 248, 0.06);
}

.node-type-tag {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.node-title-main {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
}

.node-sub-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #94a3b8;
}

.diagram-conduit-wrap {
  width: 44px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conduit-svg-line {
  width: 100%;
  height: 100%;
}

.diagram-targets-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.diagram-node-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.dot-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.dot-status.green { background: #10B981; box-shadow: 0 0 6px #10B981; }
.dot-status.blue { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

/* 2. DUAL-METRIC SPEED METER (Web Engineering & E-Commerce) */
.vis-dual-gauge-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gauge-split-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.glowing-circle-gauge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #10B981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.gauge-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: #10B981;
  line-height: 1;
}

.gauge-caption {
  font-size: 0.46rem;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 1px;
}

.gauge-titles {
  display: flex;
  flex-direction: column;
}

.gauge-title-main {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.gauge-grade {
  font-size: 0.7rem;
  color: #10B981;
  font-weight: 600;
}

.gauge-split-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.ttfb-latency-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.ttfb-bolt { color: #38bdf8; font-size: 0.75rem; }
.ttfb-val { color: #ffffff; font-weight: 700; }
.ttfb-label { color: #94a3b8; font-size: 0.62rem; }

.salla-commerce-pill {
  font-size: 0.64rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
}

.vitals-micro-row {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #94a3b8;
}

.vitals-micro-row strong { color: #ffffff; }

/* 3. RELATIONAL ARCHITECTURE SCHEMA (CRM & ERP) */
.vis-relational-schema-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schema-entities-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}

.schema-entity-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 82px;
  text-align: center;
}

.schema-entity-card.highlight-core {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
}

.entity-hdr {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.entity-body {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
}

.entity-ftr {
  font-size: 0.58rem;
  color: #94a3b8;
}

.schema-bidir-conduit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #818cf8;
}

.bidir-symbol {
  font-size: 1rem;
  line-height: 1;
  color: #818cf8;
}

.bidir-label {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--text-dim);
}

.schema-bottom-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
  color: var(--text-dim);
}

.rbac-chip {
  background: rgba(129, 140, 248, 0.1);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--font-mono);
}

.schema-status-chip {
  color: #10B981;
  font-weight: 600;
}

/* 4. BI SLEEK AREA CHART & LIVE KPI (Data Analytics & BI) */
.vis-bi-chart-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bi-kpi-counter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.bi-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--font-mono);
}

.green-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.bi-counter-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.bi-area-chart-wrap {
  width: 100%;
  height: 48px;
  overflow: hidden;
}

.bi-area-svg {
  width: 100%;
  height: 48px;
  display: block;
}

.bi-chart-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.bi-chart-meta-row strong { color: #ffffff; }

/* 5. MULTI-THREADED STREAMING INGESTION (Data Engineering & Real-Time) */
.vis-throughput-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.throughput-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.throughput-rate-metric {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.rate-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #06b6d4;
  font-family: var(--font-mono);
  line-height: 1;
}

.rate-unit {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
}

.kafka-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 4px;
  padding: 2px 7px;
  font-weight: 700;
}

.kafka-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 6px #06b6d4;
}

.threads-progress-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.thread-item {
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.thread-name { color: var(--text-dim); }

.thread-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.thread-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6, #06b6d4);
  background-size: 200% 100%;
  animation: streamFlow 2s linear infinite;
}

@keyframes streamFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.thread-val {
  color: #06b6d4;
  text-align: right;
  font-weight: 700;
}

.throughput-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* 6. AI PREDICTIVE CONFIDENCE GAUGE (Data Science & ML) */
.vis-predictive-gauge-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.predictive-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  color: #ec4899;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.25);
  padding: 5px 9px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

.pred-icon { font-size: 0.8rem; color: #ec4899; }
.pred-text strong { color: #ffffff; }

.probability-track-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.prob-labels-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.prob-gradient-bar {
  position: relative;
  height: 8px;
  width: 100%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.prob-gradient-fill {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 70%, #10B981 100%);
}

.prob-pin-cursor {
  position: absolute;
  top: -4px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-head {
  width: 12px;
  height: 16px;
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.8);
}

.pred-metrics-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.pred-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.pred-chip strong { color: #ffffff; }

/* 7. AGENT MULTI-STEP REASONING PIPELINE (Agentic AI & Custom Agents) */
.vis-agent-pipeline-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agent-reasoning-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  gap: 4px;
}

.agent-step-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 68px;
  text-align: center;
}

.agent-step-box.highlight-step {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 800;
  color: #a855f7;
}

.step-name {
  font-size: 0.64rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.step-meta {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: #94a3b8;
  white-space: nowrap;
}

.agent-step-arrow {
  color: #a855f7;
  font-size: 0.8rem;
}

.agent-pipeline-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.66rem;
}

.rag-chip {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--font-mono);
}

.exec-latency {
  color: #10B981;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* 8. 24/7 OPERATIONS & ECG HEARTBEAT (Digital Web Operations & Retainers) */
.vis-ecg-heartbeat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ecg-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ecg-health-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #10B981;
}

.ecg-health-badge strong { color: #ffffff; }

.ecg-ping-radar {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseRadarDot 1.5s infinite ease-in-out;
}

.sre-watch-tag {
  font-size: 0.64rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.ecg-waveform-canvas {
  width: 100%;
  height: 48px;
  background: #04060a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}

.ecg-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.heartbeat-path {
  stroke: #10B981;
  stroke-width: 2.2;
  fill: none;
  stroke-dasharray: 420;
  animation: ecgPulse 2.8s linear infinite;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

@keyframes ecgPulse {
  0% { stroke-dashoffset: 420; }
  100% { stroke-dashoffset: 0; }
}

.ecg-metrics-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.ecg-stat strong { color: #ffffff; }

/* Founders footer styling */
.footer-founders-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.founder-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.founder-footer-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.founder-role-badge {
  font-size: 0.64rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.footer-dot-divider {
  color: var(--text-muted);
}

.footer-bottom-bar {
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 100%;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================================
   7. SECTION 5: WORKFLOW PIPELINE & BOOKING WIZARD
   ======================================================== */
.linear-pipeline-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.pipeline-step-item {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num-circle {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #38bdf8;
  flex-shrink: 0;
}

.step-text-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.step-text-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* ========================================================
   SECTION 6: INSTITUTIONAL ENGAGEMENT & EXECUTIVE ADVISORY
   ======================================================== */
.engagement-section {
  padding: 56px 0;
  position: relative;
}

/* 3 Corporate Pillars Grid */
.protocol-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.protocol-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.protocol-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 24px rgba(37, 99, 235, 0.15);
}

.protocol-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.protocol-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
}

.protocol-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.35;
}

.protocol-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Executive Leadership & Direct Communication Hub (Pure Showcase) */
.executive-hub-card {
  padding: 36px 32px;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(14, 20, 33, 0.72);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}

.hub-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 6px;
}

.hub-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hub-sub {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.hub-availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
}

/* Founders Showcase Grid */
.founders-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.founder-profile-card {
  background: rgba(8, 12, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
}

.founder-profile-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

.founder-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.founder-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-initials {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  color: #38bdf8;
}

.founder-card-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.founder-role {
  font-size: 0.78rem;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 600;
}

.founder-bio {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.founder-contact-actions {
  margin-top: auto;
}

.btn-direct-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25d366;
  padding: 11px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-direct-chat:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.2);
  transform: translateY(-1px);
}

/* Executive Console & Inquiries Grid */
.executive-console-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.executive-console-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.console-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  text-align: left;
}

body[dir="rtl"] .console-card-header {
  text-align: right;
}

.console-tag-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.console-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.console-ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: #10b981;
  font-family: var(--font-mono);
}

.console-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.console-sub {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Executive Form */
.executive-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

body[dir="rtl"] .form-field {
  text-align: right;
}

.corporate-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.corporate-input,
.corporate-textarea {
  background: rgba(6, 9, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 0.84rem;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.corporate-input:focus,
.corporate-textarea:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(10, 15, 28, 0.95);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.corporate-textarea {
  resize: vertical;
  min-height: 75px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-rfp-submit {
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-sla-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.rfp-status-box {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
}

body[dir="rtl"] .rfp-status-box {
  text-align: right;
}

/* Executive Partners Card (Right Column) */
.executive-partners-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founders-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.partner-dual-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pill-whatsapp,
.pill-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pill-whatsapp {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.pill-whatsapp:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.6);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.pill-phone {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
}

.pill-phone:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

@media (max-width: 992px) {
  .arch-flow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .arch-connector-col {
    display: none;
  }
  .executive-console-grid {
    grid-template-columns: 1fr;
  }
  .protocol-pillars-grid {
    grid-template-columns: 1fr;
  }
  .founders-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .arch-flow-grid {
    grid-template-columns: 1fr;
  }
  .form-row-dual {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   8. MINIMALIST FOOTER
   ======================================================== */
.minimalist-footer {
  padding: 32px 0 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #080c14;
}

.footer-content-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-tech-tag {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.footer-nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.15s ease;
}

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

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f1622;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  transform: translateY(140%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

body[dir="rtl"] .toast-notice {
  right: auto;
  left: 24px;
}

.toast-notice.show {
  transform: translateY(0);
}

.toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* ========================================================
   9. RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 992px) {
  .node-canvas-grid {
    grid-template-columns: 1fr;
  }
  .conduit-overlay-svg {
    display: none;
  }
  .comparison-container {
    grid-template-columns: 1fr;
  }
  .vs-divider {
    margin: 6px auto;
  }
  .top-stats-row {
    grid-template-columns: 1fr;
  }
  .bento-grid-8,
  .bento-grid-4 {
    grid-template-columns: 1fr;
  }
  .linear-pipeline-bar {
    grid-template-columns: 1fr;
  }
  .systems-grid-pills {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottlenecks-grid-cards {
    grid-template-columns: 1fr;
  }
  .consultation-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .sticky-header-wrapper {
    top: 6px;
    padding: 0 12px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .systems-grid-pills {
    grid-template-columns: 1fr;
  }
  .consultation-card {
    padding: 22px 16px;
  }
  .footer-content-flex {
    flex-direction: column;
    text-align: center;
  }
}
