/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #FF6B35;
  --primary-dark: #E8521A;
  --primary-light: #FF8C5A;
  --secondary: #FFB347;
  --gradient: linear-gradient(135deg, #FF6B35, #FFB347);
  --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #FFB347 50%, #FF4500 100%);
  --white: #FFFFFF;
  --light: #FFF8F5;
  --light-2: #F5F5F5;
  --border: #FFE0D0;
  --text: #2C2C2C;
  --text-light: #666666;
  --text-muted: #999999;
  --success: #25D366;
  --instagram: #E1306C;
  --shadow: 0 4px 24px rgba(255, 107, 53, 0.12);
  --shadow-hover: 0 8px 40px rgba(255, 107, 53, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--text);
  background: transparent;
  line-height: 1.6;
  overflow-x: hidden;
}

body.rtl {
  direction: rtl;
  font-family: 'Cairo', 'Poppins', sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.section-label {
  display: inline-block;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

section {
  padding: 96px 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-instagram {
  background: linear-gradient(135deg, #E1306C, #833AB4, #F77737);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35);
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(225, 48, 108, 0.5);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

body.rtl .floating-buttons {
  right: auto;
  left: 32px;
  align-items: flex-start;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  border: none;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.float-btn-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.float-btn-ig { background: linear-gradient(135deg, #E1306C, #833AB4, #F77737); }
.float-btn-chat { background: var(--gradient); }

.float-btn .tooltip {
  position: absolute;
  right: 72px;
  background: #2C2C2C;
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

body.rtl .float-btn .tooltip {
  right: auto;
  left: 72px;
}

.float-btn:hover .tooltip { opacity: 1; }

.float-btn .tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #2C2C2C;
  border-right: 0;
}

body.rtl .float-btn .tooltip::after {
  right: auto;
  left: -6px;
  border-left: 0;
  border-right-color: #2C2C2C;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

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

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo span {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  font-size: 0.92rem;
}

.nav-links a:hover, .nav-links a.active {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
}

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

/* Language switcher */
.lang-switcher {
  display: flex;
  background: var(--light-2);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 12px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
  text-transform: uppercase;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  background: white;
  border-top: 1px solid var(--border);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.mobile-menu a:hover { background: var(--light); color: var(--primary); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(160deg, rgba(255,248,245,0.70) 0%, rgba(255,240,232,0.68) 40%, rgba(255,255,255,0.62) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge span {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item { }
.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-label { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  max-width: 380px;
  width: 100%;
  position: relative;
}

.hero-card-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-logo-display {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius);
}

.hero-logo-display img {
  height: 80px;
  width: auto;
  margin: 0 auto;
}

.offer-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.offer-item:hover {
  border-color: var(--primary);
  background: var(--light);
}

.offer-item.popular {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.05);
}

.offer-name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.offer-badge {
  font-size: 0.68rem;
  background: var(--gradient);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.offer-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
}

.offer-old-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  text-align: right;
}

/* Floating card elements */
.hero-float {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.hero-float-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  padding: 32px 0;
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services {
  background: rgba(255,255,255,0.72);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient);
}

.service-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== PRICING ===== */
.pricing {
  background: linear-gradient(180deg, rgba(255,248,245,0.70) 0%, rgba(255,255,255,0.68) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

.plan-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

.plan-card.popular:hover {
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient);
  color: white;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}

body.rtl .popular-badge {
  right: auto;
  left: 20px;
}

.plan-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.plan-price-wrap {
  margin-bottom: 28px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius);
  text-align: center;
}

.plan-old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-currency {
  font-size: 1.2rem;
  font-weight: 700;
}

.plan-period { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.plan-reduction {
  display: inline-block;
  background: rgba(37, 211, 102, 0.15);
  color: #128C7E;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 8px;
}

.plan-features {
  margin-bottom: 28px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.plan-feature:last-child { border-bottom: none; }

.feature-check {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-cta {
  width: 100%;
  justify-content: center;
}

/* ===== COMPARISON TABLE ===== */
.comparison {
  background: rgba(255,255,255,0.72);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  min-width: 700px;
}

.comparison-table th {
  background: var(--gradient);
  color: white;
  padding: 20px 24px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.comparison-table th:first-child {
  text-align: left;
  background: #2C2C2C;
}

body.rtl .comparison-table th:first-child { text-align: right; }

.comparison-table tr:nth-child(even) td { background: var(--light); }

.comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

body.rtl .comparison-table td:first-child { text-align: right; }

.check-yes { color: var(--primary); font-size: 1.1rem; }
.check-no { color: var(--text-muted); font-size: 1.1rem; }
.check-partial { color: var(--secondary); font-size: 0.85rem; font-weight: 600; }

.comparison-table th:nth-child(3) {
  background: var(--primary-dark);
  position: relative;
}

.comparison-table th:nth-child(3)::after {
  content: '⭐ Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #2C2C2C;
  padding: 2px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: rgba(255,248,245,0.72);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--gradient);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.step-title {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ===== REVIEWS ===== */
.reviews {
  background: rgba(255,255,255,0.72);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.review-stars {
  color: #FFB347;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 0.9rem; }
.review-plan { font-size: 0.78rem; color: var(--primary); font-weight: 600; }

.reviews-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== VIDEO SECTION ===== */
.videos {
  background: rgba(255,248,245,0.72);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card:hover { transform: scale(1.02); }

.video-thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2C2C2C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.video-play {
  width: 64px;
  height: 64px;
  background: rgba(255,107,53,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}

.video-card:hover .video-play {
  background: var(--primary);
  transform: scale(1.1);
}

.video-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 0 16px;
}

/* ===== BLOG ===== */
.blog {
  background: rgba(255,255,255,0.72);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  background: white;
}

.blog-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-thumb {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

.blog-thumb-icon {
  position: relative;
  z-index: 1;
}

.blog-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-lang {
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-date {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.blog-title {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-read-more {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  color: white;
}

.cta-inner h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
}

/* ===== FAQ ===== */
.faq {
  background: rgba(255,248,245,0.72);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: var(--primary); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
}

.faq-q-text { font-weight: 600; font-size: 0.95rem; }

.faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,107,53,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 0.9rem;
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }

/* ===== LOGO STRIPS ===== */
@keyframes scroll-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes shimmer-label {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.logo-strip-section {
  padding: 56px 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* top & bottom accent lines */
.logo-strip-section::before,
.logo-strip-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,107,53,0.25) 30%, rgba(255,179,71,0.5) 50%, rgba(255,107,53,0.25) 70%, transparent 100%);
  animation: glow-pulse 3s ease-in-out infinite;
}
.logo-strip-section::before { top: 0; }
.logo-strip-section::after  { bottom: 0; }

/* ambient warm blob */
.logo-strip-section .logo-strip-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(255,107,53,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.logo-strip-section--alt {
  background: var(--light);
}

.logo-strip-section--alt .logo-strip-blob {
  background: radial-gradient(ellipse, rgba(255,179,71,0.06) 0%, transparent 70%);
}

.logo-strip-section--alt::before,
.logo-strip-section--alt::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255,179,71,0.25) 30%, rgba(255,107,53,0.4) 50%, rgba(255,179,71,0.25) 70%, transparent 100%);
}

/* label */
.logo-strip-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.logo-strip-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #FF6B35, #FFB347, #FF8C5A, #FFB347, #FF6B35);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-label 4s linear infinite;
  margin-bottom: 0;
}

.logo-strip-section--alt .logo-strip-label {
  background: linear-gradient(90deg, #FF6B35, #FFB347, #FF8C5A, #FFB347, #FF6B35);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer-label 4s linear infinite;
}

/* divider line under label */
.logo-strip-header::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 10px auto 0;
}

.logo-strip-section--alt .logo-strip-header::after {
  background: var(--gradient);
}

/* track */
.logo-strip-track-wrap {
  position: relative;
  overflow: hidden;
}

.logo-strip-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.logo-strip-fade-left {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.logo-strip-section--alt .logo-strip-fade-left {
  background: linear-gradient(to right, var(--light) 0%, transparent 100%);
}

.logo-strip-fade-right {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.logo-strip-section--alt .logo-strip-fade-right {
  background: linear-gradient(to left, var(--light) 0%, transparent 100%);
}

.logo-strip-track {
  display: flex;
  overflow: hidden;
  padding: 8px 0;
}

.logo-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: scroll-ltr 16s linear infinite;
  width: max-content;
  will-change: transform;
}

.logo-strip-inner--reverse {
  animation: scroll-rtl 18s linear infinite;
}


.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,107,53,0.12);
  background: #fff;
  box-shadow: 0 2px 12px rgba(255,107,53,0.06);
  white-space: nowrap;
  cursor: default;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.logo-strip-section--alt .logo-chip {
  background: #fff;
}

.logo-chip:hover {
  transform: translateY(-3px);
}

.logo-icon {
  font-size: 1.25rem;
}

/* ---- Base chip text ---- */
.logo-chip span {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

/* ---- Partners brand colors ---- */
.lc--youcan  { border-color: #e0e7ff; }
.lc--youcan  .logo-icon { color: #4F46E5; }
.lc--youcan  span { color: #4338CA; }
.lc--youcan:hover { border-color: #4F46E5; box-shadow: 0 6px 24px rgba(79,70,229,0.15), 0 2px 8px rgba(79,70,229,0.08); }

.lc--shopify  { border-color: #d4edda; }
.lc--shopify  .logo-icon { color: #5E8E3E; }
.lc--shopify  span { color: #3d6b28; }
.lc--shopify:hover { border-color: #5E8E3E; box-shadow: 0 6px 24px rgba(94,142,62,0.15), 0 2px 8px rgba(94,142,62,0.08); }

.lc--woo  { border-color: #ece0f8; }
.lc--woo  .logo-icon { color: #7F54B3; }
.lc--woo  span { color: #6b3fa0; }
.lc--woo:hover { border-color: #7F54B3; box-shadow: 0 6px 24px rgba(127,84,179,0.15), 0 2px 8px rgba(127,84,179,0.08); }

.lc--shipeh  { border-color: #ccf0ed; }
.lc--shipeh  .logo-icon { color: #0D9488; }
.lc--shipeh  span { color: #0D9488; }
.lc--shipeh:hover { border-color: #0D9488; box-shadow: 0 6px 24px rgba(13,148,136,0.15), 0 2px 8px rgba(13,148,136,0.08); }

.lc--cod  { border-color: #ffe5cc; }
.lc--cod  .logo-icon { color: #EA6C00; }
.lc--cod  span { color: #c45c00; }
.lc--cod:hover { border-color: #EA6C00; box-shadow: 0 6px 24px rgba(234,108,0,0.15), 0 2px 8px rgba(234,108,0,0.08); }

.lc--stripe  { border-color: #dddcff; }
.lc--stripe  .logo-icon { color: #635BFF; }
.lc--stripe  span { color: #4f48e0; }
.lc--stripe:hover { border-color: #635BFF; box-shadow: 0 6px 24px rgba(99,91,255,0.15), 0 2px 8px rgba(99,91,255,0.08); }

.lc--paypal  { border-color: #cce3f6; }
.lc--paypal  .logo-icon { color: #0070BA; }
.lc--paypal  span { color: #003087; }
.lc--paypal:hover { border-color: #009CDE; box-shadow: 0 6px 24px rgba(0,156,222,0.15), 0 2px 8px rgba(0,156,222,0.08); }

/* ---- Supported By brand colors ---- */
.lc--attijari  { border-color: #fdd; }
.lc--attijari  .logo-icon { color: #E31837; }
.lc--attijari  span { color: #b8101f; }
.lc--attijari:hover { border-color: #E31837; box-shadow: 0 6px 24px rgba(227,24,55,0.15), 0 2px 8px rgba(227,24,55,0.08); }

.lc--cih  { border-color: #cceedd; }
.lc--cih  .logo-icon { color: #00833E; }
.lc--cih  span { color: #006830; }
.lc--cih:hover { border-color: #00833E; box-shadow: 0 6px 24px rgba(0,131,62,0.15), 0 2px 8px rgba(0,131,62,0.08); }

.lc--boa  { border-color: #fde9c5; }
.lc--boa  .logo-icon { color: #D4860A; }
.lc--boa  span { color: #a86908; }
.lc--boa:hover { border-color: #D4860A; box-shadow: 0 6px 24px rgba(212,134,10,0.15), 0 2px 8px rgba(212,134,10,0.08); }

.lc--maroctelecom  { border-color: #cce3ff; }
.lc--maroctelecom  .logo-icon { color: #0066CC; }
.lc--maroctelecom  span { color: #004fa3; }
.lc--maroctelecom:hover { border-color: #0066CC; box-shadow: 0 6px 24px rgba(0,102,204,0.15), 0 2px 8px rgba(0,102,204,0.08); }

.lc--orange  { border-color: #ffe3cc; }
.lc--orange  .logo-icon { color: #FF6600; }
.lc--orange  span { color: #cc5200; }
.lc--orange:hover { border-color: #FF6600; box-shadow: 0 6px 24px rgba(255,102,0,0.18), 0 2px 8px rgba(255,102,0,0.10); }

.lc--inwi  { border-color: #f0d6f8; }
.lc--inwi  .logo-icon { color: #8B1D8B; }
.lc--inwi  span { color: #6e1670; }
.lc--inwi:hover { border-color: #8B1D8B; box-shadow: 0 6px 24px rgba(139,29,139,0.15), 0 2px 8px rgba(139,29,139,0.08); }

.lc--amana  { border-color: #d0deff; }
.lc--amana  .logo-icon { color: #1E40AF; }
.lc--amana  span { color: #1a3490; }
.lc--amana:hover { border-color: #1E40AF; box-shadow: 0 6px 24px rgba(30,64,175,0.15), 0 2px 8px rgba(30,64,175,0.08); }

@media (max-width: 768px) {
  .logo-strip-fade { width: 60px; }
  .logo-chip { padding: 10px 18px; }
  .logo-chip span { font-size: 0.8rem; }
  .logo-icon { font-size: 1.1rem; }
}

/* ===== TEAM ===== */
.team-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,107,53,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* FOUNDER CARD */
.team-founder {
  display: flex;
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, #fff 60%, #FFF3EE 100%);
  border: 2px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  margin: 56px 0 48px;
  box-shadow: 0 8px 48px rgba(255,107,53,0.13);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-founder:hover {
  box-shadow: 0 16px 64px rgba(255,107,53,0.22);
  transform: translateY(-4px);
}

.team-founder::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
  border-radius: 28px 28px 0 0;
}

.team-founder-avatar {
  position: relative;
  flex-shrink: 0;
}

.team-avatar-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,53,0.30);
  transition: transform var(--transition);
}

.team-avatar-circle:hover {
  transform: scale(1.06);
}

.founder-avatar {
  width: 120px;
  height: 120px;
  font-size: 2.8rem;
  box-shadow: 0 8px 32px rgba(255,107,53,0.35);
}

.team-founder-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255,107,53,0.30);
}

.team-founder-info {
  flex: 1;
}

.team-founder-role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,53,0.10);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-founder-name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.team-founder-title {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.team-founder-bio {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 520px;
}

.team-founder-stats {
  display: flex;
  gap: 32px;
}

.founder-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.founder-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.team-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 0 0 20px 20px;
}

.team-card:hover {
  box-shadow: 0 10px 40px rgba(255,107,53,0.16);
  transform: translateY(-6px);
  border-color: var(--primary-light);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card .team-avatar-circle {
  margin: 0 auto 8px;
}

.team-card-role-icon {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 700;
}

.team-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-title {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.team-card-bio {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.team-card-tags span {
  background: rgba(255,107,53,0.08);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

/* TEAM CTA */
.team-cta {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, #fff 0%, #FFF3EE 100%);
  border-radius: 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.team-cta-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

/* TEAM RESPONSIVE */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .team-founder {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 28px;
  }
  .team-founder-bio { max-width: 100%; }
  .team-founder-stats { justify-content: center; }
  .team-founder-name { font-size: 1.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.social-ig { background: linear-gradient(135deg, #E1306C, #833AB4); }

.social-btn:hover { transform: scale(1.1); opacity: 0.9; }

.footer-col h4 {
  color: white;
  font-size: 0.92rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--secondary); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact li span:first-child { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ===== AI CHAT ===== */
.chat-widget {
  position: fixed;
  bottom: 110px;
  right: 32px;
  z-index: 998;
  width: 360px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 60px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 520px;
  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

body.rtl .chat-widget {
  right: auto;
  left: 32px;
}

.chat-widget.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: var(--gradient);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-info { flex: 1; }
.chat-info strong { display: block; font-size: 0.9rem; }
.chat-info span { font-size: 0.75rem; opacity: 0.85; display: flex; align-items: center; gap: 4px; }
.online-dot { width: 7px; height: 7px; background: #25D366; border-radius: 50%; display: inline-block; }

.chat-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8F9FA;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-msg.user { flex-direction: row-reverse; }

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 82%;
}

.chat-msg.bot .chat-bubble {
  background: white;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: var(--gradient);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px 0;
  background: #F8F9FA;
}

.chat-suggestion {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  font-weight: 500;
}

.chat-suggestion:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  background: white;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.chat-input:focus { border-color: var(--primary); }

.chat-send {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

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

/* ===== TYPING INDICATOR ===== */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.2s ease infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-4px); opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .pricing-grid,
  .reviews-grid,
  .videos-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before { display: none; }

  .plan-card.popular { transform: scale(1); }
  .plan-card.popular:hover { transform: scale(1.02); }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .container { padding: 0 16px; }

  /* NAV */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn { display: none; }
  .nav-right { gap: 8px; }
  .lang-btn { padding: 4px 9px; font-size: 0.72rem; }

  /* HERO */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-ctas { justify-content: center; flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats { justify-content: center; gap: 20px; }
  .hero-float { display: none; }
  .hero-card { max-width: 100%; }
  .hero-visual { display: none; }
  .hero-sub { font-size: 1rem; }

  /* TRUST BAR */
  .trust-bar-inner { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .trust-item { font-size: 0.82rem; }

  /* SECTION HEADERS */
  .section-sub { max-width: 100%; font-size: 0.95rem; margin-bottom: 32px; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; }

  /* PRICING */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
  }
  .plan-card.popular { transform: none; }
  .plan-card.popular:hover { transform: translateY(-4px); }

  /* COMPARISON TABLE */
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 12px 10px; }
  .comparison-table th:first-child, .comparison-table td:first-child { min-width: 120px; }

  /* STEPS */
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .step-number { width: 56px; height: 56px; font-size: 1.1rem; }

  /* REVIEWS */
  .reviews-grid { grid-template-columns: 1fr; }

  /* VIDEOS */
  .videos-grid { grid-template-columns: 1fr; }

  /* BLOG */
  .blog-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* CONTACT SECTION */
  .contact-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* FLOATING BUTTONS */
  .floating-buttons {
    right: 16px;
    bottom: 20px;
  }
  .float-btn { width: 52px; height: 52px; font-size: 1.3rem; }
  .float-btn .tooltip { display: none; }

  body.rtl .floating-buttons {
    left: 16px;
    right: auto;
  }

  /* CHAT WIDGET */
  .chat-widget {
    width: calc(100vw - 24px);
    right: 12px;
    left: 12px;
    bottom: 88px;
    max-height: 70vh;
  }
  body.rtl .chat-widget {
    left: 12px;
    right: 12px;
  }

  /* BUTTONS TOUCH SIZE */
  .btn { min-height: 44px; }
  .btn-sm { padding: 10px 18px; }

  /* FORMS */
  input, textarea, select { font-size: 16px !important; }

  /* TECH BG — slightly lighter on mobile */
  #techBg { opacity: 0.75; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .hero-badge { font-size: 0.74rem; padding: 6px 14px; }
  .stat-number { font-size: 1.5rem; }
  .plan-card { padding: 24px 20px; }
}

/* ===== ROI CALCULATOR ===== */
.calculator-section {
  background: rgba(255,248,245,0.72);
}

.calc-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: 0 8px 48px rgba(255,107,53,0.10);
  border: 1.5px solid var(--border);
}

/* Inputs grid */
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.calc-input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 14px;
  color: var(--text);
}

.calc-val {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Slider */
.slider-wrap {
  position: relative;
  padding: 10px 0;
  margin-bottom: 8px;
}

.slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  pointer-events: none;
}

.slider-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 0.08s;
}

.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 10px rgba(255,107,53,0.30);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.calc-range::-webkit-slider-thumb:hover,
.calc-range:active::-webkit-slider-thumb {
  transform: scale(1.20);
  box-shadow: 0 4px 18px rgba(255,107,53,0.45);
}

.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 10px rgba(255,107,53,0.30);
  cursor: pointer;
  border-style: solid;
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Result cards */
.calc-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.result-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.result-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.result-card.highlight {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(255,107,53,0.28);
}

.result-card.result-positive .result-num { color: #16a34a; }
.result-card.result-negative .result-num { color: var(--text-light); }

.result-icon { font-size: 1.7rem; margin-bottom: 8px; }

.result-num {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--primary);
  transition: color 0.3s;
  min-height: 1.6rem;
}

.result-card.highlight .result-num { color: white; }

.result-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.3;
}

.result-card.highlight .result-label { color: rgba(255,255,255,0.88); }

/* ROI bar */
.calc-roi-wrap {
  margin-bottom: 18px;
}

.calc-roi-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.calc-roi-val {
  color: var(--primary);
  font-size: 1.1rem;
}

.calc-roi-track {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.calc-roi-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.35s ease, background 0.35s ease;
}

/* Note */
.calc-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Motivational CTA */
.calc-cta-box {
  text-align: center;
  padding-top: 28px;
  border-top: 1.5px solid var(--border);
}

.calc-cta-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .calc-wrapper     { padding: 28px 20px; }
  .calc-inputs      { grid-template-columns: 1fr; gap: 28px; }
  .calc-results     { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .result-num       { font-size: 1.1rem; }
}

@media (max-width: 420px) {
  .result-num  { font-size: 0.95rem; }
  .result-icon { font-size: 1.4rem; }
}

/* ===== TECH BACKGROUND CANVAS ===== */
#techBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* Sections and footer sit above the canvas (z-index: 0) */
section, footer {
  position: relative;
  z-index: 1;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-2); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hidden { display: none !important; }

/* Page-specific */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(160deg, var(--light) 0%, var(--white) 100%);
  text-align: center;
}

.page-hero .section-label { display: block; margin-bottom: 12px; }
