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

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --accent: #06B6D4;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --gray: #64748B;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --success: #10B981;
  --whatsapp: #25D366;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px rgb(37 99 235 / 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: 'Cairo', sans-serif;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

body[dir="rtl"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span {
  -webkit-text-fill-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 1px;
}

body[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .lang-toggle {
  background: var(--light);
  border-color: #E2E8F0;
}

.lang-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
  font-family: inherit;
}

.navbar.scrolled .lang-btn {
  color: var(--gray);
}

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

.btn-nav-login {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.85rem !important;
  border-radius: 8px !important;
  color: var(--white) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--dark);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-menu a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 600;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark);
}

body[dir="rtl"] .mobile-close {
  right: auto;
  left: 1.5rem;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #93C5FD;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

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

.hero-description {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat p {
  font-size: 0.85rem;
  color: #64748B;
  margin-top: 0.25rem;
}

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

.hero-mockup {
  width: 100%;
  max-width: 580px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--dark-2);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mockup-dots {
  position: absolute;
  top: 12px;
  left: 16px;
  display: flex;
  gap: 6px;
}

body[dir="rtl"] .mockup-dots {
  left: auto;
  right: 16px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }

.mockup-content {
  padding: 2.5rem 1.5rem 1.5rem;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
}

.mockup-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-sidebar-item {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  width: 80%;
}

.mockup-sidebar-item.active {
  background: var(--primary);
  width: 100%;
}

.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-header-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  width: 60%;
}

.mockup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

.mockup-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-card-value {
  height: 14px;
  background: var(--primary);
  border-radius: 4px;
  width: 50%;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.mockup-card-label {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  width: 80%;
}

.mockup-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-height: 80px;
}

.mockup-bar {
  flex: 1;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.mockup-bar:nth-child(1) { height: 40%; }
.mockup-bar:nth-child(2) { height: 65%; opacity: 0.5; }
.mockup-bar:nth-child(3) { height: 45%; }
.mockup-bar:nth-child(4) { height: 80%; opacity: 0.6; }
.mockup-bar:nth-child(5) { height: 55%; }
.mockup-bar:nth-child(6) { height: 90%; opacity: 0.7; }
.mockup-bar:nth-child(7) { height: 70%; opacity: 0.5; }
.mockup-bar:nth-child(8) { height: 60%; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  background: #20BD5A;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

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

/* ─── SECTIONS ─── */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: #94A3B8;
}

/* ─── FEATURES ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.step p {
  color: #94A3B8;
  font-size: 0.95rem;
}

/* ─── REVIEWS ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

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

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

.review-text {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.review-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.review-info p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ─── CTA ─── */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 4rem 0 2rem;
}

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

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ─── WHATSAPP CHAT WIDGET ─── */
.wa-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
}

body[dir="rtl"] .wa-widget {
  right: auto;
  left: 2rem;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  position: relative;
  animation: wa-pulse 3s ease-in-out infinite;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.wa-fab svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s;
}

.wa-fab .wa-fab-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.wa-widget.open .wa-fab .wa-fab-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.wa-widget.open .wa-fab .wa-fab-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.wa-widget.open .wa-fab {
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.wa-popup {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 360px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  pointer-events: none;
  transition: all 0.3s ease;
}

body[dir="rtl"] .wa-popup {
  right: auto;
  left: 0;
  transform-origin: bottom left;
}

.wa-widget.open .wa-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.wa-popup-header {
  background: #075E54;
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-popup-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-popup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.wa-popup-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.wa-popup-header p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 1px;
}

.wa-popup-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.wa-popup-close:hover {
  opacity: 1;
}

.wa-popup-body {
  padding: 1.25rem;
  background: #ECE5DD;
  min-height: 80px;
}

.wa-popup-bubble {
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0 12px 12px 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--dark);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 85%;
  position: relative;
}

body[dir="rtl"] .wa-popup-bubble {
  border-radius: 12px 0 12px 12px;
}

.wa-popup-footer {
  padding: 0.75rem;
  background: var(--white);
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  border-top: 1px solid #E2E8F0;
}

.wa-popup-footer textarea {
  flex: 1;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-family: inherit;
  resize: none;
  outline: none;
  color: var(--dark);
  line-height: 1.4;
  max-height: 80px;
  transition: border-color 0.2s;
}

.wa-popup-footer textarea:focus {
  border-color: var(--whatsapp);
}

.wa-popup-footer textarea::placeholder {
  color: #94A3B8;
}

.wa-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.wa-send-btn:hover {
  background: #20BD5A;
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .wa-popup {
    width: calc(100vw - 2rem);
    right: -0.5rem;
  }

  body[dir="rtl"] .wa-popup {
    left: -0.5rem;
  }

  .wa-fab {
    width: 52px;
    height: 52px;
  }

  .wa-fab svg {
    width: 28px;
    height: 28px;
  }
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 1.25rem 2rem;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  font-family: inherit;
}

.cookie-accept {
  background: var(--primary);
  color: var(--white);
}

.cookie-decline {
  background: transparent;
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ─── LEGAL PAGES ─── */
.legal-page {
  padding-top: 120px;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal-page .legal-date {
  color: var(--gray);
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p, .legal-page li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 0.75rem;
}

.legal-page ul, .legal-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

body[dir="rtl"] .legal-page ul,
body[dir="rtl"] .legal-page ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

.legal-page strong {
  color: var(--dark);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.legal-back:hover {
  text-decoration: underline;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

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

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

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps::before {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .whatsapp-float a {
    width: 52px;
    height: 52px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
