/* ════════════════════════════════════════════════════════════════════════════
   PrismAI — All styles (flattened from individual files to eliminate @import
   waterfall; edit the source files and re-run the concat step to update)
   ════════════════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica');
  ascent-override:  90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.22%;
}
@font-face {
  font-family: 'Tajawal Fallback';
  src: local('Arial'), local('Helvetica');
  ascent-override:  95%;
  descent-override: 25%;
  line-gap-override: 0%;
  size-adjust: 103%;
}

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

:root {
  --navy:      #0B1F3A;
  --blue-900:  #1E3A6E;
  --blue-700:  #1D4ED8;
  --blue-600:  #2563EB;
  --blue-500:  #3B82F6;
  --blue-400:  #60A5FA;
  --blue-100:  #DBEAFE;
  --blue-50:   #EFF6FF;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10B981;
  --green-400: #34D399;
  --green-100: #D1FAE5;
  --green-50:  #ECFDF5;
  --gray-900:  #0F172A;
  --gray-800:  #1E293B;
  --gray-600:  #475569;
  --gray-400:  #94A3B8;
  --gray-200:  #E2E8F0;
  --gray-100:  #F1F5F9;
  --gray-50:   #F8FAFC;
  --white:     #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: 1160px;
  margin: 0 auto; padding: 0 24px;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.badge-blue   { background: var(--blue-100);              color: var(--blue-700);  }
.badge-green  { background: var(--green-100);             color: var(--green-700); }
.badge-orange { background: rgba(245,127,52,.15);         color: #F57F34;          }

.section-label { text-align: center; margin-bottom: 12px; }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; color: var(--navy);
  text-align: center; line-height: 1.2; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--gray-600);
  text-align: center; max-width: 560px; margin: 0 auto 56px;
}

section     { padding: 96px 0; }
section.alt { background: var(--white); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s; border: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white); box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.45); }
.btn-outline  { background: transparent; color: var(--blue-600); border: 1.5px solid var(--blue-600); }
.btn-outline:hover  { background: var(--blue-50); }
.btn-green    { background: linear-gradient(135deg, var(--green-600), var(--green-700)); color: var(--white); box-shadow: 0 4px 14px rgba(5,150,105,.35); }
.btn-green:hover    { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(5,150,105,.45); }
.btn-white    { background: white; color: var(--blue-700); font-weight: 700; }
.btn-white:hover    { background: var(--gray-50); }
.btn-ghost    { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover    { background: rgba(255,255,255,.1); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius-md); }

/* ── Reveal animation ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible  { opacity: 1; transform: translateY(0); }
.reveal-delay-1  { transition-delay: .1s; }
.reveal-delay-2  { transition-delay: .2s; }
.reveal-delay-3  { transition-delay: .3s; }
.reveal-delay-4  { transition-delay: .4s; }
/* ════════════════════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--gray-50);
}
.navbar.scrolled .nav-logo { color: var(--navy); }
.nav-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--green-500));
  display: flex; align-items: center; justify-content: center;
}
.nav-logo .logo-icon svg { width: 20px; height: 20px; }
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-text {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(90deg, #5170ff, #ff66c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-50); transition: color .2s; }
.nav-links a:hover { color: var(--blue-600); }
.navbar.scrolled .nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-600); transition: color .2s; }

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

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--gray-50); border-radius: 2px; transition: all .3s; }
.navbar.scrolled .hamburger span { width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all .3s; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 101;
  background: rgba(11,31,58,.96); backdrop-filter: blur(8px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 700; color: white; }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 28px; color: white; cursor: pointer; background: none; border: none;
}
/* ════════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  background:
    linear-gradient(160deg, rgba(11,31,58,.90) 0%, rgba(30,58,110,.88) 50%, rgba(13,59,46,.92) 100%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&w=1200&q=55') center/cover no-repeat;
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }

.hero-content {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto; padding: 120px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

.hero-text .badge { margin-bottom: 20px; background: rgba(255,255,255,.1); color: #A5F3FC; }

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.hero-title .gradient-text {
  background: linear-gradient(90deg, var(--blue-400), var(--green-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.72);
  line-height: 1.7; margin-bottom: 36px; max-width: 480px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 24px; margin-top: 40px; }
.hero-stat  { text-align: center; }
.hero-stat-num   { font-size: 28px; font-weight: 800; color: var(--white); }
.hero-stat-num span {
  background: linear-gradient(90deg, var(--blue-400), var(--green-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label   { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,.1); }

/* Hero visual card */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 420px; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 20px;
  backdrop-filter: blur(12px);
}
.hero-card-main   { position: relative; z-index: 2; padding: 28px; }
.hero-card-bg1 {
  position: absolute; top: -16px; left: 16px; right: -16px; bottom: 16px;
  z-index: 1; opacity: .5; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}

.chat-bubble-group { display: flex; flex-direction: column; gap: 12px; }
.chat-bubble       { display: flex; gap: 10px; align-items: flex-start; }
.chat-bubble.right { flex-direction: row-reverse; }

.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.avatar-ai   { background: linear-gradient(135deg, var(--blue-500), var(--green-500)); color: white; }
.avatar-user { background: rgba(255,255,255,.15); color: white; }

.bubble-text { max-width: 75%; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.bubble-ai   { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border-radius: 4px 14px 14px 14px; }
.bubble-user { background: var(--blue-600); color: white; border-radius: 14px 4px 14px 14px; }

.chat-status {
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 11px; color: rgba(255,255,255,.5);
}
.dot-typing span {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-400); margin: 0 2px;
  animation: typing 1.2s infinite;
}
.dot-typing span:nth-child(2) { animation-delay: .2s; }
.dot-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typing {
  0%,60%,100% { opacity:.3; transform:translateY(0); }
  30%          { opacity:1;  transform:translateY(-4px); }
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 12px;
  padding: 10px 14px; display: flex; align-items: center; gap: 8px;
  color: white; font-size: 12px; font-weight: 600;
  animation: float 4s ease-in-out infinite; z-index: 3;
}
.float-badge-1 { top: -20px; right: 20px; animation-delay: 0s; }
.float-badge-2 { bottom: -30px; left: -20px; animation-delay: 2s; }

.float-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: var(--green-400); box-shadow: 0 0 6px var(--green-400); }
.dot-blue  { background: var(--blue-400);  box-shadow: 0 0 6px var(--blue-400); }

@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
/* ════════════════════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all .3s; cursor: pointer; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-card-img {
  height: 165px;
  margin: -32px -32px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--gray-100);
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  filter: saturate(.9);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px;
}
.icon-blue   { background: var(--blue-50);  }
.icon-green  { background: var(--green-50); }
.icon-teal   { background: #F0FDFA; }
.icon-purple { background: #F5F3FF; }

.service-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-desc  { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.service-tags  { display: flex; flex-wrap: wrap; gap: 6px; }

.tag        { padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; background: var(--gray-100); color: var(--gray-600); }
.tag-blue   { background: var(--blue-50);  color: var(--blue-700);  }
.tag-green  { background: var(--green-50); color: var(--green-700); }
/* ════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════════════════════ */
.how-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; position: relative;
}
.how-grid::before {
  content: ""; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, #BFDBFE, #A7F3D0); z-index: 0;
}
.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 20px; position: relative; z-index: 1;
}
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: white;
  margin-bottom: 20px; box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-desc  { font-size: 13px; color: var(--gray-600); line-height: 1.6; }
/* ════════════════════════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy), var(--blue-900));
  padding: 64px 0;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center;
}
.stat-item { padding: 20px; position: relative; }
.stat-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.1);
}
.stat-num   { font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--white); }
.stat-num span {
  background: linear-gradient(90deg, var(--blue-400), var(--green-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 6px; font-weight: 500; }
/* ════════════════════════════════════════════════════════════════════════════
   SOLUTIONS (TABS)
   ════════════════════════════════════════════════════════════════════════════ */
.solutions-tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px;
}
.tab-btn {
  padding: 10px 22px; border-radius: 99px; border: 1.5px solid var(--gray-200);
  font-size: 13px; font-weight: 600; cursor: pointer; background: var(--white);
  color: var(--gray-600); transition: all .2s;
}
.tab-btn.active,
.tab-btn:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

.solution-panel                 { display: none; }
.solution-panel.active          { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: panelIn .35s ease forwards; }
.solution-panel.exiting         { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: panelOut .2s ease forwards; pointer-events: none; }

@keyframes panelIn  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panelOut { from { opacity: 1; transform: translateY(0);    } to { opacity: 0; transform: translateY(-8px); } }

.solution-text h3               { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.solution-text p                { font-size: 15px; color: var(--gray-600); line-height: 1.75; margin-bottom: 24px; }

.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; }
.feature-item svg { color: var(--green-600); flex-shrink: 0; margin-top: 2px; }

.solution-visual {
  background: var(--gray-50); border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200); overflow: hidden;
}
.sol-header {
  padding: 14px 20px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 8px; background: var(--white);
}
.dot-row { display: flex; gap: 6px; }
.dot-row span { width: 10px; height: 10px; border-radius: 50%; }
.dot-red       { background: #FCA5A5; }
.dot-yellow    { background: #FCD34D; }
.dot-green-lt  { background: #6EE7B7; }
.sol-title { font-size: 12px; font-weight: 600; color: var(--gray-400); margin-left: 8px; }
.sol-body  { padding: 20px; }

/* Chat previews inside solution panels */
.wa-message     { display: flex; gap: 10px; margin-bottom: 12px; }
.wa-message.out { flex-direction: row-reverse; }

.wa-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.wa-bot  { background: linear-gradient(135deg, var(--green-500), var(--blue-500)); color: white; }
.wa-user { background: var(--gray-200); color: var(--gray-600); }

.wa-bubble      { max-width: 80%; padding: 9px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; }
.wa-bot-b       { background: white; border: 1px solid var(--gray-200); color: var(--gray-800); border-radius: 4px 12px 12px 12px; }
.wa-user-b      { background: #DCF8C6; color: var(--gray-800); border-radius: 12px 4px 12px 12px; }
.wa-time        { font-size: 10px; color: var(--gray-400); margin-top: 3px; text-align: right; }
/* ════════════════════════════════════════════════════════════════════════════
   WHY PRISMAI
   ════════════════════════════════════════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.why-visual {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
  padding: 40px; min-height: 400px;
  display: flex; flex-direction: column; gap: 16px; justify-content: center;
}
.feature-pill {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-md); transition: transform .3s;
}
.feature-pill:hover { transform: translateX(6px); }
.pill-icon  { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.pill-title { font-size: 14px; font-weight: 600; color: var(--navy); }
.pill-sub   { font-size: 12px; color: var(--gray-600); margin-top: 2px; }

.why-content { display: flex; flex-direction: column; gap: 28px; }
.why-item    { display: flex; gap: 16px; }
.why-check {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 700;
}
.why-item-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.why-item-desc  { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* Title alignment fix */
.why-section-title { text-align: left; margin-top: 12px; margin-bottom: 0; }
/* ════════════════════════════════════════════════════════════════════════════
   INDUSTRIES
   ════════════════════════════════════════════════════════════════════════════ */
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px;
}
.industry-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 28px 16px;
  text-align: center; transition: all .25s; cursor: default;
}
.industry-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.industry-emoji { font-size: 32px; margin-bottom: 10px; }
.industry-name  { font-size: 13px; font-weight: 600; color: var(--navy); }
/* ════════════════════════════════════════════════════════════════════════════
   BAB PARTNER
   ════════════════════════════════════════════════════════════════════════════ */
#bab-partner {
  background: linear-gradient(160deg, #07111f 0%, #0D1337 55%, #091a14 100%);
  position: relative; overflow: hidden;
}
#bab-partner::before {
  content: "";
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,127,52,.06) 0%, transparent 70%);
  pointer-events: none;
}
#bab-partner .section-title { color: white; }
#bab-partner .section-sub   { color: rgba(255,255,255,.55); }

/* Glow animation */
@keyframes babGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(245,127,52,.15), 0 32px 80px rgba(13,19,55,.6); }
  50%       { box-shadow: 0 0 0 1px rgba(245,127,52,.4),  0 32px 80px rgba(245,127,52,.15); }
}

.bab-card {
  background: linear-gradient(135deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 260px 1px 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
  animation: babGlow 3.5s ease-in-out infinite;
}
.bab-card::before {
  content: "";
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,127,52,.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Brand column */
.bab-brand {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center;
}
.bab-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 210px;
}
.bab-logo-wrap img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.5)) drop-shadow(0 0 3px rgba(255,255,255,.5));
}
.bab-tagline { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; }
.bab-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 99px;
  font-size: 12px; font-weight: 700; color: #F57F34;
  border: 1.5px solid rgba(245,127,52,.4);
  background: rgba(245,127,52,.08);
  transition: all .2s;
}
.bab-link:hover { background: rgba(245,127,52,.2); border-color: #F57F34; transform: translateY(-1px); }

/* Divider */
.bab-divider { background: rgba(255,255,255,.08); height: 100%; min-height: 200px; }

/* Content column */
.bab-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #F57F34; margin-bottom: 10px;
}
.bab-heading {
  font-size: clamp(22px, 2.5vw, 32px); font-weight: 800;
  color: white; line-height: 1.2; margin-bottom: 16px;
}
.bab-desc {
  font-size: 15px; color: rgba(255,255,255,.65);
  line-height: 1.75; margin-bottom: 28px; max-width: 560px;
}
.bab-features { display: flex; flex-direction: column; gap: 13px; }
.bab-feat     { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.8); }
.bab-feat-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #F57F34; box-shadow: 0 0 10px rgba(245,127,52,.7);
}

/* Responsive */
@media (max-width: 900px) {
  .bab-card {
    grid-template-columns: 1fr;
    gap: 32px; padding: 40px 28px;
    text-align: center;
  }
  .bab-divider { display: none; }
  .bab-brand   { align-items: center; }
  .bab-logo-wrap { max-width: 160px; }
  .bab-desc    { margin-left: auto; margin-right: auto; }
  .bab-feat    { justify-content: center; }
}

/* RTL */
[dir="rtl"] .bab-card::before   { right: auto; left: -80px; }
[dir="rtl"] .bab-features        { align-items: flex-end; direction: ltr;}
[dir="rtl"] .bab-feat           { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .bab-eyebrow,
[dir="rtl"] .bab-heading,
[dir="rtl"] .bab-desc           { text-align: right; }
/* ════════════════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }

.contact-map {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

.contact-info  { display: flex; flex-direction: column; gap: 28px; }
.contact-title { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.contact-sub   { font-size: 15px; color: var(--gray-600); line-height: 1.7; }
.contact-item  { display: flex; gap: 14px; align-items: flex-start; }

.c-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.c-blue  { background: var(--blue-50);  }
.c-green { background: var(--green-50); }
.c-label { font-size: 12px; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; }
.c-value { font-size: 15px; font-weight: 600; color: var(--navy); margin-top: 2px; }

.contact-form {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-md);
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
label       { font-size: 13px; font-weight: 600; color: #374151; }

input, textarea, select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--gray-800);
  background: var(--gray-50); outline: none;
  transition: border-color .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue-500); background: var(--white);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
textarea { resize: vertical; min-height: 110px; }

/* Responsive */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
/* ════════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════════ */
footer {
  background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-col h4  { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; }

.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; font-size: 14px;
}
.social-btn:hover { background: rgba(255,255,255,.16); }

.footer-logo { color: white; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.footer-logo .logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-600), var(--green-500));
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-img { height: 32px; width: auto; }
.footer-logo-text {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(90deg, #5170ff, #ff66c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}
/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — global layout breakpoints
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-content                  { grid-template-columns: 1fr; text-align: center; }
  .hero-sub                      { margin: 0 auto 36px; }
  .hero-ctas, .hero-stats        { justify-content: center; }
  .hero-visual                   { display: none; }
  .why-grid                      { grid-template-columns: 1fr; }
  .solution-panel.active         { grid-template-columns: 1fr; }
  .stats-inner                   { grid-template-columns: 1fr 1fr; }
  .how-grid::before              { display: none; }
  .nav-links, .nav-cta, .nav-actions { display: none; }
  .hamburger                     { display: flex; }
}

@media (max-width: 560px) {
  section                        { padding: 64px 0; }
  .stats-inner                   { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2n)::after{ display: none; }
}
/* ════════════════════════════════════════════════════════════════════════════
   LANGUAGE TOGGLE & RTL OVERRIDES
   ════════════════════════════════════════════════════════════════════════════ */
.lang-toggle {
  display: flex; align-items: center;
  padding: 6px 16px; border-radius: 99px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  background: rgba(255,255,255,.1); color: white;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: all .2s; letter-spacing: .02em;
}
.lang-toggle:hover { background: rgba(255,255,255,.2); }
.navbar.scrolled .lang-toggle {
  background: var(--blue-50); color: var(--blue-700);
  border-color: var(--blue-100);
}
.navbar.scrolled .lang-toggle:hover { background: var(--blue-100); }
.lang-toggle-mobile {
  font-size: 16px; padding: 10px 28px;
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3);
}

/* ── RTL Overrides ───────────────────────────────────────────────────────── */
[dir="rtl"] {
  font-family: 'Tajawal', 'Tajawal Fallback', system-ui, sans-serif;
}

/* Navbar */
[dir="rtl"] .nav-actions          { flex-direction: row-reverse; }

/* Hero */
[dir="rtl"] .hero-title           { text-align: right; }
[dir="rtl"] .hero-sub             { text-align: right; }
[dir="rtl"] .hero-card-bg1        { left: -16px; right: 16px; }
[dir="rtl"] .float-badge-1        { right: auto; left: 20px; }
[dir="rtl"] .float-badge-2        { left: auto; right: -20px; }
[dir="rtl"] .bubble-ai            { border-radius: 14px 4px 14px 14px; }
[dir="rtl"] .bubble-user          { border-radius: 4px 14px 14px 14px; }
[dir="rtl"] .chat-bubble.right    { flex-direction: row; }

/* Services */
[dir="rtl"] .service-card::before { transform-origin: right; }

/* How it works */
[dir="rtl"] .how-grid::before     { display: none; }

/* Feature pills */
[dir="rtl"] .feature-pill:hover   { transform: translateX(-6px); }

/* Why section */
[dir="rtl"] .why-section-title    { text-align: right; }
[dir="rtl"] .why-item             { flex-direction: row-reverse; text-align: right; }

/* Footer */
[dir="rtl"] .footer-brand p       { text-align: right; }

/* Mobile hero on RTL */
@media (max-width: 900px) {
  [dir="rtl"] .hero-title         { text-align: center; }
  [dir="rtl"] .hero-sub           { text-align: center; }
}
