/* ============================================================
   AreazHub – Complete Website Styles
   Brand: Navy #0A1929 | Teal #00B8D9 | Blue #0052FF | Gold #FFD700
   Gray #5A6874 | Light Gray #F5F7FA
   Fonts: Poppins (headings) | Inter (body)
   ============================================================ */

/* ===================== CSS VARIABLES ===================== */
:root {
  --navy: #0A1929;
  --navy-light: #0d2138;
  --navy-mid: #112240;
  --teal: #00B8D9;
  --teal-dark: #0099b8;
  --electric-blue: #0052FF;
  --blue-light: #3375FF;
  --gold: #FFD700;
  --gold-dark: #e6c200;
  --gray: #5A6874;
  --light-gray: #F5F7FA;
  --white: #ffffff;
  --text-primary: #0A1929;
  --text-secondary: #5A6874;
  --text-light: #8a97a4;
  --border: #e1e8ed;
  --shadow-sm: 0 2px 8px rgba(10,25,41,0.08);
  --shadow-md: 0 8px 24px rgba(10,25,41,0.12);
  --shadow-lg: 0 16px 48px rgba(10,25,41,0.16);
  --shadow-teal: 0 8px 24px rgba(0,184,217,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ===================== RTL SUPPORT ===================== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .nav-list { flex-direction: row-reverse; }
[dir="rtl"] .header-logo { margin-right: 0; margin-left: auto; }
[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero-grid { direction: rtl; }
[dir="rtl"] .main-nav { margin-right: auto; margin-left: 0; }
[dir="rtl"] .dropdown { left: auto; right: 0; }
[dir="rtl"] .step-connector { transform: rotate(180deg); }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .faq-q i { margin-left: 0; margin-right: auto; }
[dir="rtl"] .chat-window { right: auto; left: 20px; }
[dir="rtl"] .ai-widget { right: auto; left: 24px; }
[dir="rtl"] .feature-link::after { content: "←"; }
[dir="rtl"] .back-to-top { right: auto; left: 24px; }

/* ===================== LAYOUT ===================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.full-width { width: 100%; }

/* ===================== TYPOGRAPHY ===================== */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
.gradient-text {
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-teal { color: var(--teal); }
.section-badge {
  display: inline-block;
  background: rgba(0,184,217,0.12);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 16px auto 48px;
  max-width: 600px;
}

/* ===================== ZOOM HOVER EFFECT ===================== */
.zoom-hover {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
}
.zoom-hover:hover { transform: scale(1.05); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0,184,217,0.4);
}
.btn-outline {
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px) scale(1.03);
}
.btn-demo {
  background: var(--teal);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.btn-demo:hover { background: var(--teal-dark); transform: scale(1.05); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-xl { padding: 20px 48px; font-size: 1.2rem; border-radius: 12px; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10,25,41,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(10,25,41,0.98);
  box-shadow: var(--shadow-lg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.header-logo .logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Real logo image */
.header-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,184,217,0.3));
  transition: var(--transition);
}
.header-logo-img:hover { filter: drop-shadow(0 4px 16px rgba(0,184,217,0.5)); transform: scale(1.05); }
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-tagline {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
}
/* Hub center logo */
.hub-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0,184,217,0.4));
  animation: logo-float 3s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
/* Command center logo */
.cc-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.4));
}
/* Footer logo */
.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,184,217,0.25));
  flex-shrink: 0;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}
/* Legacy icon (fallback) */
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: white; }
.logo-accent { color: var(--teal); }

/* Navigation */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--teal); background: rgba(0,184,217,0.1); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  border-radius: 6px;
}
.dropdown li a:hover { background: rgba(0,184,217,0.15); color: var(--teal); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-wrap { display: flex; align-items: center; background: rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; }
.search-input {
  background: none; border: none; color: white; padding: 8px 12px; font-size: 0.85rem; width: 160px; outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,0.4); }
.search-btn { background: none; border: none; color: rgba(255,255,255,0.6); padding: 8px 10px; cursor: pointer; }
.search-btn:hover { color: var(--teal); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }
.lang-en, .lang-ar { cursor: pointer; transition: var(--transition); }
.lang-en.active, .lang-ar.active { color: var(--teal); }
.lang-sep { color: rgba(255,255,255,0.3); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================== HERO SECTION ===================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-network { position: absolute; inset: 0; z-index: 0; }
#networkCanvas { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,184,217,0.15);
  border: 1px solid rgba(0,184,217,0.3);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-h1 {
  color: white;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--teal); }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hub Visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hub-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-center {
  position: absolute;
  width: 130px; height: 130px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(0,184,217,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 40px rgba(0,184,217,0.3), inset 0 0 20px rgba(0,184,217,0.05);
  backdrop-filter: blur(8px);
}
.hub-logo { text-align: center; color: white; font-size: 0.65rem; font-weight: 700; }
.hub-logo i { font-size: 1.4rem; display: block; margin-bottom: 2px; }
.hub-ring {
  position: absolute;
  width: 100%; height: 100%;
  border: 1px dashed rgba(0,184,217,0.25);
  border-radius: 50%;
  animation: spin-slow 30s linear infinite;
}
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hub-orbit-item {
  position: absolute;
  width: 56px;
  height: 56px;
  top: 50%;
  left: 50%;
  margin: -28px;
  transform: rotate(var(--angle)) translateX(160px) rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  animation: counter-spin 30s linear infinite;
}
@keyframes counter-spin { from { transform: rotate(var(--angle)) translateX(160px) rotate(calc(-1 * var(--angle))); } to { transform: rotate(calc(var(--angle) + 360deg)) translateX(160px) rotate(calc(-1 * (var(--angle) + 360deg))); } }
.orbit-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.orbit-icon.teal { background: var(--teal); }
.orbit-icon.blue { background: var(--electric-blue); }
.orbit-icon.gold { background: var(--gold); color: var(--navy); }
.orbit-label { font-size: 0.6rem; color: rgba(255,255,255,0.7); font-weight: 600; text-align: center; }
.hub-orbit-item:hover .orbit-icon { transform: scale(1.2); box-shadow: var(--shadow-teal); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator a {
  width: 40px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ===================== PROBLEM SECTION ===================== */
.problem-section { background: var(--white); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem-text h2 { margin-bottom: 32px; }
.problem-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--light-gray);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}
[dir="rtl"] .problem-item { border-left: none; border-right: 3px solid var(--teal); }
.problem-icon {
  width: 40px; height: 40px;
  background: rgba(0,184,217,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.problem-tag {
  display: inline-block;
  background: rgba(255,183,0,0.15);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
.problem-tag.danger { background: rgba(255,70,70,0.12); color: #d43f3f; }
.problem-transition {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px;
  background: rgba(0,184,217,0.08);
  border-radius: var(--radius);
}

/* Chaos Illustration */
.chaos-illustration {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.chaos-title { font-size: 0.85rem; font-weight: 600; color: var(--gray); text-align: center; margin-bottom: 16px; }
.chaos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.chaos-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: white;
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--gray);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.chaos-item:hover { transform: scale(1.05); }
.chaos-item i { font-size: 1.3rem; }
.chaos-item.whatsapp i { color: #25D366; }
.chaos-item.excel i { color: #217346; }
.chaos-item.email i { color: var(--electric-blue); }
.chaos-item.sticky i { color: var(--gold); }
.chaos-item.phone i { color: var(--teal); }
.chaos-item.file i { color: var(--gray); }
.chaos-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}
.chaos-badge.error { background: #ff4444; color: white; }
.chaos-badge.warning { background: #ff9900; color: white; }
.chaos-vs {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray);
  margin: 8px 0;
}
.chaos-solution {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,184,217,0.12), rgba(0,82,255,0.1));
  border: 1px solid rgba(0,184,217,0.3);
  border-radius: var(--radius);
  padding: 14px;
  font-weight: 600;
  color: var(--teal);
}
.sol-icon { font-size: 1.3rem; }
.chaos-solution .fa-check-circle { color: #2ecc71; margin-left: auto; }

/* ===================== SOLUTION / COMMAND CENTER ===================== */
.solution-section {
  background: var(--navy);
  color: white;
}
.solution-section h2 { color: white; margin-bottom: 12px; }
.solution-section .section-sub { color: rgba(255,255,255,0.65); }
.command-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}
.cc-core {
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(0,184,217,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 60px rgba(0,184,217,0.3), inset 0 0 30px rgba(0,184,217,0.05);
  flex-shrink: 0;
  position: relative;
  backdrop-filter: blur(8px);
}
.cc-pulse {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 2px solid rgba(0,184,217,0.3);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.cc-logo { text-align: center; color: white; font-size: 0.75rem; font-weight: 700; }
.cc-logo i { font-size: 1.8rem; display: block; margin-bottom: 4px; }
.cc-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  flex: 1;
  max-width: 900px;
}
.cc-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}
.cc-mod-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.cc-module span { font-size: 0.68rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.cc-module:hover .cc-mod-icon { transform: scale(1.15); box-shadow: var(--shadow-teal); }

/* Tooltip */
.cc-module::after, .hub-orbit-item::after {
  content: attr(data-tip-en);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-light);
  color: white;
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 10;
}
.cc-module:hover::after, .hub-orbit-item:hover::after { opacity: 1; }
[dir="rtl"] .cc-module::after { content: attr(data-tip-ar); }

/* ===================== FEATURES SECTION ===================== */
.features-section { background: var(--light-gray); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--electric-blue));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(0,184,217,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-icon.teal { background: rgba(0,184,217,0.12); color: var(--teal); }
.feature-icon.blue { background: rgba(0,82,255,0.1); color: var(--electric-blue); }
.feature-icon.gold { background: rgba(255,215,0,0.15); color: var(--gold-dark); }
.feature-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; }
.feature-link { color: var(--teal); font-weight: 600; font-size: 0.88rem; }
.feature-link:hover { color: var(--electric-blue); }

/* ===================== HOW IT WORKS ===================== */
.how-section { background: white; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.step-card:hover { background: white; box-shadow: var(--shadow-lg); border-color: var(--teal); }
.step-num {
  position: absolute;
  top: -16px;
  left: 28px;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}
.step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(0,184,217,0.12), rgba(0,82,255,0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--teal);
  margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.step-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }
.step-connector {
  position: absolute;
  right: -24px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.2rem;
  z-index: 1;
}

/* ===================== DASHBOARD SECTION ===================== */
.dashboard-section { background: var(--navy); overflow: hidden; }
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.dashboard-text { color: white; }
.dashboard-text h2 { color: white; margin-bottom: 12px; }
.dashboard-text p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.dashboard-features { margin-bottom: 32px; }
.dashboard-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dashboard-features li i { color: var(--teal); font-size: 1rem; flex-shrink: 0; }
.fa-whatsapp.teal { color: #25D366; }

/* Dashboard Mockup */
.mockup-window {
  background: #1a2a3a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}
.mockup-titlebar {
  background: #0d1f2d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-url { background: rgba(255,255,255,0.08); border-radius: 4px; padding: 3px 10px; font-size: 0.72rem; color: rgba(255,255,255,0.4); flex: 1; }
.mockup-body { display: flex; height: 340px; }
.mockup-sidebar {
  width: 50px;
  background: #0d1f2d;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 12px;
}
.mock-nav-item {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  cursor: pointer;
}
.mock-nav-item.active { background: rgba(0,184,217,0.2); color: var(--teal); }
.mockup-main { flex: 1; padding: 16px; overflow: hidden; }
.mock-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mock-title { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.mock-actions { display: flex; gap: 6px; }
.mock-btn { width: 60px; height: 22px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.mock-btn.teal { background: rgba(0,184,217,0.3); }
.mock-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-stat {
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}
.mock-stat-num { font-size: 0.85rem; font-weight: 700; }
.mock-stat-num.teal { color: var(--teal); }
.mock-stat-num.gold { color: var(--gold); }
.mock-stat-num.blue { color: #60a5fa; }
.mock-stat-lbl { font-size: 0.6rem; color: rgba(255,255,255,0.4); }
.mock-chart-area { display: flex; align-items: flex-end; gap: 4px; height: 80px; margin-bottom: 12px; }
.mock-chart-bar {
  flex: 1;
  background: rgba(0,184,217,0.25);
  border-radius: 3px 3px 0 0;
  transition: var(--transition);
}
.mock-chart-bar.active { background: var(--teal); }
.mock-table { font-size: 0.72rem; }
.mock-row { display: grid; grid-template-columns: 1fr 80px 70px; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); align-items: center; }
.mock-row.header { color: rgba(255,255,255,0.3); font-size: 0.65rem; font-weight: 600; }
.mock-tag { font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; font-weight: 600; text-align: center; }
.mock-tag.green { background: rgba(46,204,113,0.15); color: #2ecc71; }
.mock-tag.gold { background: rgba(255,215,0,0.15); color: var(--gold); }
.mock-tag.blue { background: rgba(96,165,250,0.15); color: #60a5fa; }

/* ===================== AI SECTION ===================== */
.ai-section { background: var(--light-gray); }
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ai-text h2 { margin-bottom: 12px; }
.ai-text p { color: var(--text-secondary); margin-bottom: 24px; }
.ai-features { margin-bottom: 28px; }
.ai-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.ai-features li i { color: var(--teal); font-size: 1rem; flex-shrink: 0; }
.ai-visual { display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* Robot */
.robot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.robot-head {
  width: 80px; height: 72px;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.robot-face { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.robot-eyes { display: flex; gap: 12px; }
.robot-eye {
  width: 12px; height: 12px;
  background: white;
  border-radius: 50%;
  position: relative;
  animation: blink 3s infinite;
}
@keyframes blink { 0%,95%,100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }
.robot-mouth {
  width: 28px; height: 6px;
  background: white;
  border-radius: 3px;
}
.robot-antenna {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 18px;
  background: var(--teal);
}
.robot-antenna-tip {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: -3px;
  animation: glow 1.5s ease-in-out infinite;
}
@keyframes glow { 0%,100% { box-shadow: 0 0 4px var(--gold); } 50% { box-shadow: 0 0 12px var(--gold); } }
.robot-body {
  width: 60px; height: 48px;
  background: linear-gradient(135deg, var(--electric-blue), var(--navy));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.robot-chest { color: var(--teal); font-size: 1.1rem; }

/* AI Chat Preview */
.ai-chat-preview {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  margin-bottom: 10px;
  max-width: 85%;
  line-height: 1.5;
}
.chat-bubble.bot { background: var(--light-gray); color: var(--text-primary); border-bottom-left-radius: 4px; }
.chat-bubble.user {
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-bubble.typing::after { content: '▌'; animation: blink-cursor 0.8s infinite; }
@keyframes blink-cursor { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.chat-available { font-size: 0.76rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.pulse-green { color: #2ecc71; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===================== PRICING SECTION ===================== */
.pricing-section { background: white; }
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  font-weight: 600;
  color: var(--text-secondary);
}
.toggle-switch { position: relative; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  left: 3px; top: 3px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked + .toggle-slider { background: var(--teal); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }
.save-badge {
  background: rgba(0,184,217,0.12);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid transparent;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { background: white; box-shadow: var(--shadow-lg); border-color: var(--teal); }
.pricing-card.popular {
  background: var(--navy);
  color: white;
  border-color: var(--gold);
  transform: scale(1.04);
}
.pricing-card.popular:hover { transform: scale(1.07); }
.popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.plan-icon.teal { background: rgba(0,184,217,0.12); color: var(--teal); }
.plan-icon.gold { background: rgba(255,215,0,0.15); color: var(--gold-dark); }
.plan-icon.blue { background: rgba(0,82,255,0.1); color: var(--electric-blue); }
.popular .plan-icon { background: rgba(255,215,0,0.15); color: var(--gold); }
.pricing-card h3 { margin-bottom: 16px; font-size: 1.3rem; }
.popular h3 { color: white; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.price-currency { font-size: 1.3rem; font-weight: 700; color: var(--teal); }
.popular .price-currency { color: var(--gold); }
.price-num { font-size: 2.8rem; font-weight: 900; font-family: var(--font-head); color: var(--text-primary); }
.popular .price-num { color: white; }
.price-period { font-size: 0.9rem; color: var(--text-secondary); }
.popular .price-period { color: rgba(255,255,255,0.6); }
.plan-annual-note { font-size: 0.8rem; color: var(--teal); font-weight: 600; margin-bottom: 24px; }
.plan-features { margin-bottom: 28px; margin-top: 20px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.popular .plan-features li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.plan-features li i { font-size: 0.85rem; flex-shrink: 0; }
.plan-features li i.fa-check { color: #2ecc71; }
.plan-features li.disabled { opacity: 0.45; }
.plan-features li.disabled i { color: var(--gray); }
.pricing-note { text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-top: 28px; }

/* ===================== INTEGRATIONS ===================== */
.integrations-section { background: var(--light-gray); }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 48px 0 32px;
}
.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 10px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.integration-item i { font-size: 1.6rem; }
.integration-item:hover { color: var(--teal); border-color: var(--teal); background: rgba(0,184,217,0.05); }
.api-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid var(--border);
}
.api-icon {
  width: 52px; height: 52px;
  background: rgba(0,82,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--electric-blue);
  flex-shrink: 0;
}
.api-box h4 { font-size: 1.05rem; margin-bottom: 4px; }
.api-box p { font-size: 0.88rem; color: var(--text-secondary); }
.api-box .btn { margin-left: auto; flex-shrink: 0; }

/* ===================== PARTNER SECTION ===================== */
.partner-section { background: white; }
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.partner-text h2 { margin-bottom: 16px; }
.partner-text p { color: var(--text-secondary); margin-bottom: 32px; }
.partner-stats { display: flex; gap: 32px; }
.p-stat { text-align: center; }
.p-stat-num { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--teal); }
.p-stat-label { font-size: 0.8rem; color: var(--text-secondary); }
.team-illustration { display: flex; flex-direction: column; gap: 20px; }
.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 20px;
}
.team-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.team-info strong { display: block; font-size: 1rem; }
.team-info span { font-size: 0.85rem; color: var(--text-secondary); }
.partner-quote {
  background: linear-gradient(135deg, rgba(0,184,217,0.06), rgba(0,82,255,0.04));
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-style: normal;
}
[dir="rtl"] .partner-quote { border-left: none; border-right: 3px solid var(--teal); }
.partner-quote i { color: var(--teal); font-size: 1.2rem; margin-bottom: 8px; display: block; }
.partner-quote p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 8px; line-height: 1.7; }
.partner-quote cite { font-size: 0.85rem; color: var(--teal); font-weight: 600; }

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--light-gray); }
.testimonials-carousel { position: relative; overflow: hidden; margin: 48px 0 32px; }
.testimonials-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  gap: 24px;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(0,184,217,0.3); }
.testimonial-stars { color: var(--gold); margin-bottom: 16px; font-size: 0.9rem; }
.testimonial-quote { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-secondary); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-btn:hover { border-color: var(--teal); color: var(--teal); background: rgba(0,184,217,0.05); }
.carousel-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--teal); width: 24px; border-radius: 4px; }
.client-logos { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.client-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.client-logo:hover { color: var(--teal); border-color: var(--teal); }

/* ===================== RESOURCES ===================== */
.resources-section { background: var(--navy); }
.resources-section h2 { color: white; }
.resources-section .section-badge { background: rgba(0,184,217,0.15); }
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.resource-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.resource-card:hover { background: rgba(255,255,255,0.1); border-color: var(--teal); box-shadow: 0 8px 32px rgba(0,184,217,0.15); }
.resource-icon {
  width: 56px; height: 56px;
  background: rgba(0,184,217,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal);
  margin: 0 auto 16px;
}
.resource-card h4 { color: white; margin-bottom: 8px; font-size: 0.95rem; }
.resource-card p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.5; }

/* ===================== FINAL CTA ===================== */
.final-cta-section {
  background: var(--navy);
  padding: 100px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.final-cta-section h2 { color: white; margin-bottom: 16px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.final-cta-section p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 560px; margin: 0 auto 36px; }
.cta-note { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 16px; }

/* ===================== CONTACT ===================== */
.contact-section { background: var(--light-gray); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,184,217,0.12); }
.consent-group label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.consent-group input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--teal); }
.consent-label span { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2ecc71;
  font-weight: 600;
  padding: 14px;
  background: rgba(46,204,113,0.1);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
}
.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.contact-card h3 { margin-bottom: 16px; font-size: 1.1rem; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; }
.contact-list li i { color: var(--teal); width: 20px; }
.contact-list li a:hover { color: var(--teal); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}
[dir="rtl"] .faq-q { text-align: right; }
.faq-q:hover { color: var(--teal); }
.faq-q i { color: var(--teal); font-size: 0.8rem; transition: var(--transition); }
.faq-q.open i { transform: rotate(45deg); }
.faq-a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 0 12px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a.open { max-height: 200px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 72px; }
.footer-main { padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--teal); border-color: var(--teal); color: white; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-links a:hover { color: var(--teal); padding-left: 4px; }
[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.footer-contact li i { color: var(--teal); width: 16px; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: var(--teal); }
.newsletter-wrap h5 { color: white; font-size: 0.9rem; margin-bottom: 10px; }
.newsletter-form { display: flex; gap: 8px; margin-bottom: 10px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  outline: none;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--teal); }
.newsletter-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.5); cursor: pointer; }
.newsletter-consent input { accent-color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--teal); }

/* ===================== AI CHAT WIDGET ===================== */
.ai-widget { position: fixed; bottom: 24px; right: 24px; z-index: 2000; }
.ai-widget-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-teal);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.ai-widget-btn:hover { transform: scale(1.1); }
.widget-robot { display: flex; align-items: center; justify-content: center; animation: robot-wobble 3s ease-in-out infinite; }
@keyframes robot-wobble { 0%,100% { transform: rotate(0deg); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
.widget-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0,184,217,0.4);
  animation: pulse-ring 2s ease-out infinite;
}
.ai-chat-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.ai-chat-window.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header {
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.chat-header-info strong { display: block; color: white; font-size: 0.9rem; }
.chat-status { font-size: 0.75rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 4px; }
.chat-status::before { content: '●'; color: #2ecc71; font-size: 0.6rem; }
.chat-close { color: rgba(255,255,255,0.8); font-size: 1rem; padding: 4px; }
.chat-close:hover { color: white; }
.chat-messages {
  height: 280px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.chat-consent {
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: var(--light-gray);
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
}
.msg { display: flex; align-items: flex-start; gap: 8px; }
.msg.user { flex-direction: row-reverse; }
.msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.msg.user .msg-avatar { background: var(--navy); }
.msg-bubble {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.msg.bot .msg-bubble { background: var(--light-gray); border-bottom-left-radius: 4px; }
.msg.user .msg-bubble { background: linear-gradient(135deg, var(--teal), var(--electric-blue)); color: white; border-bottom-right-radius: 4px; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-reply {
  background: rgba(0,184,217,0.1);
  border: 1px solid rgba(0,184,217,0.25);
  color: var(--teal);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.quick-reply:hover { background: var(--teal); color: white; }
.chat-input-wrap {
  display: flex;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}
.chat-input:focus { border-color: var(--teal); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--electric-blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.chat-send:hover { transform: scale(1.1); box-shadow: var(--shadow-teal); }
.chat-footer-note {
  text-align: center;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.chat-footer-note i { color: #25D366; }
.chat-footer-note a { color: var(--teal); font-weight: 600; }

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 999;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--teal); transform: scale(1.1) translateY(-2px); }

/* ===================== GLOBAL TOOLTIP ===================== */
.global-tooltip {
  position: fixed;
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 9999;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-list { gap: 2px; }
  .nav-link { font-size: 0.82rem; padding: 7px 8px; }
  .search-wrap { display: none; }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; padding: 60px 24px; }
  .hero-stats { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-visual { margin-top: 32px; }
  .hub-container { width: 300px; height: 300px; }
  .hub-orbit-item { transform: rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle))); }
  .problem-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular { transform: scale(1); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cc-modules { max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-h));
    background: var(--navy-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { left: 0; }
  [dir="rtl"] .main-nav { left: auto; right: -100%; }
  [dir="rtl"] .main-nav.open { right: 0; left: auto; }
  .nav-list { flex-direction: column; width: 100%; gap: 4px; }
  .nav-link { padding: 12px 16px; font-size: 0.95rem; border-radius: 8px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.05);
    margin-top: 4px;
    box-shadow: none;
  }
  .hamburger { display: flex; }
  .btn-demo { display: none; }
  .lang-toggle { padding: 5px 8px; }
  .features-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-content { gap: 32px; }
  .hub-container { width: 240px; height: 240px; }
  .hub-orbit-item { transform: rotate(var(--angle)) translateX(96px) rotate(calc(-1 * var(--angle))); }
  .hub-orbit-item::after { display: none; }
  .testimonial-card { flex: 0 0 100%; }
  .section-pad { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ai-chat-window { width: calc(100vw - 32px); right: -8px; }
}

@media (max-width: 480px) {
  .resources-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .partner-stats { flex-direction: column; gap: 16px; }
  .btn-xl { padding: 16px 32px; font-size: 1rem; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ===================== UTILITY ===================== */
.teal { color: var(--teal); }
.gold { color: var(--gold); }
.blue { color: var(--electric-blue); }

/* Scroll animations */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}