:root {
  --brand-green: #00D94F;
  --brand-green-dark: #00B843;
  --brand-green-light: #E8FBEF;
  --brand-black: #0F1419;
  --brand-dark: #1A1F2B;
  --text-main: #1A1F2B;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E5E7EB;
  --shadow-sm: 0 2px 8px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 20, 25, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 20, 25, 0.12);
  --shadow-green: 0 8px 24px rgba(0, 217, 79, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rtl {
  font-family: 'Tajawal', 'Poppins', sans-serif;
  direction: rtl;
  text-align: right;
}

body.rtl .text-start { text-align: right !important; }
body.rtl .text-end { text-align: left !important; }
body.rtl .ms-auto { margin-right: auto !important; margin-left: 0 !important; }
body.rtl .me-auto { margin-left: auto !important; margin-right: 0 !important; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--brand-black);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: var(--brand-black);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-green-dark);
}

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.text-brand {
  color: var(--brand-green-dark) !important;
}

.bg-brand {
  background: var(--brand-green) !important;
}

.bg-soft {
  background: var(--bg-light);
}

/* ===== Buttons ===== */
.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 26px;
  transition: var(--transition);
  letter-spacing: 0.01em;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-brand {
  background: var(--brand-green);
  color: var(--brand-black);
  box-shadow: var(--shadow-green);
}

.btn-brand:hover {
  background: var(--brand-green-dark);
  color: var(--brand-black);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 217, 79, 0.35);
}

.btn-dark-pill {
  background: var(--brand-black);
  color: #fff;
}

.btn-dark-pill:hover {
  background: #2a3140;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark-pill {
  background: transparent;
  color: var(--brand-black);
  border: 2px solid var(--brand-black);
}

.btn-outline-dark-pill:hover {
  background: var(--brand-black);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--brand-black);
}

.btn-ghost:hover {
  background: var(--bg-light);
  color: var(--brand-black);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ===== Navbar ===== */
.navbar {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  z-index: 1030;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand-black) !important;
}

.navbar-brand img {
  height: 46px;
  width: auto;
}

.navbar-brand span {
  letter-spacing: -0.02em;
}

.navbar-brand span b {
  color: var(--brand-green-dark);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--brand-black) !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
  background: var(--bg-light);
  color: var(--brand-green-dark) !important;
}

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

.lang-switch {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: 1.5px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-black);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--brand-black);
}

.lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  min-width: 180px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 1050;
}

body.rtl .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--brand-black);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

body.rtl .lang-option { text-align: right; }

.lang-option:hover {
  background: var(--bg-light);
}

.lang-option.active {
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #E8FBEF 0%, #ffffff 65%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 217, 79, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 217, 79, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-green-dark);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(0, 217, 79, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 217, 79, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(0, 217, 79, 0.05); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: var(--brand-green-dark);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  background: rgba(0, 217, 79, 0.25);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-search {
  background: #fff;
  border-radius: 999px;
  padding: 8px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  border: 1px solid var(--border-light);
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 1rem;
  outline: none;
  color: var(--brand-black);
}

.hero-search input::placeholder {
  color: var(--text-light);
}

.hero-search .btn {
  padding: 12px 24px;
  white-space: nowrap;
}

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

.hero-stat .num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-black);
  line-height: 1;
}

.hero-stat .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

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

.hero-logo-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrap .logo-bg {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1fdf5 100%);
  border-radius: 50%;
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0, 217, 79, 0.08);
}

.hero-logo-wrap img {
  position: relative;
  width: 75%;
  height: auto;
  z-index: 2;
  animation: floatLogo 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
}

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

.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 3;
  animation: floatCard 5s ease-in-out infinite;
}

.float-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-card.fc-1 {
  top: 12%;
  left: -2%;
  animation-delay: 0s;
}

.float-card.fc-2 {
  bottom: 18%;
  right: -2%;
  animation-delay: 1.5s;
}

.float-card.fc-3 {
  bottom: 0;
  left: 10%;
  animation-delay: 3s;
}

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

/* ===== Categories ===== */
.cat-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-green-light) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-green);
  box-shadow: var(--shadow-md);
}

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

.cat-card > * {
  position: relative;
  z-index: 1;
}

.cat-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.cat-card:hover .cat-icon {
  background: var(--brand-green);
  color: var(--brand-black);
  transform: scale(1.05);
}

.cat-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== How it works ===== */
.how-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  position: relative;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.how-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-green);
}

.how-icon {
  width: 80px;
  height: 80px;
  margin: 16px auto 20px;
  border-radius: 24px;
  background: var(--bg-light);
  color: var(--brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.how-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.how-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Stores ===== */
.store-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.store-img {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.store-img .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.store-card:hover .store-img .img-cover {
  transform: scale(1.06);
}

.store-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

body.rtl .store-badge { left: auto; right: 12px; }

.store-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
}

.store-info {
  padding: 18px;
}

.store-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.store-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.store-meta .star {
  color: #FBBF24;
}

.store-meta .free {
  color: var(--brand-green-dark);
  font-weight: 600;
}

/* ===== Partner / Courier ===== */
.feature-block {
  padding: 60px 0;
}

.feature-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-green-light), #ffffff);
  padding: 40px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img-wrap img {
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.feature-img-wrap.dark {
  background: linear-gradient(135deg, var(--brand-black), #2a3140);
}

.feature-img-wrap .badge-pill {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--brand-green);
  color: var(--brand-black);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

body.rtl .feature-img-wrap .badge-pill { right: auto; left: 24px; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-weight: 500;
  color: var(--text-main);
}

.feature-list li .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}

/* ===== App Download ===== */
.app-section {
  background: linear-gradient(135deg, var(--brand-black) 0%, #1a2332 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 70px 50px;
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 217, 79, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.app-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 217, 79, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.app-section > * {
  position: relative;
  z-index: 1;
}

.app-section h2,
.app-section h3 {
  color: #fff;
}

.app-section p {
  color: rgba(255, 255, 255, 0.75);
}

.app-section .feature-list li {
  color: rgba(255, 255, 255, 0.9);
}

.app-section .feature-list li .check {
  background: rgba(0, 217, 79, 0.2);
  color: var(--brand-green);
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--brand-black);
  padding: 12px 22px;
  border-radius: 14px;
  transition: var(--transition);
  text-decoration: none;
  min-width: 180px;
}

.app-badge:hover {
  transform: translateY(-3px);
  color: var(--brand-black);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.app-badge .bi {
  font-size: 2rem;
  color: var(--brand-black);
}

.app-badge .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.app-badge .txt small {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 500;
}

.app-badge .txt strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.phone-mock {
  position: relative;
  width: 260px;
  height: 520px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2a3140, #1a1f2b);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 6px solid #0a0e15;
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #0a0e15;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--brand-green-light) 0%, #ffffff 100%);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  padding: 50px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-screen .mini-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-screen .mini-card .mc-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.phone-screen .mini-card .mc-text {
  flex: 1;
  min-width: 0;
}

.phone-screen .mini-card .mc-text strong {
  display: block;
  font-size: 0.78rem;
  color: var(--brand-black);
  line-height: 1.1;
}

.phone-screen .mini-card .mc-text span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.phone-screen .mini-card .mc-tag {
  background: var(--brand-green);
  color: var(--brand-black);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ===== Testimonials ===== */
.testi-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-green);
}

.testi-stars {
  color: #FBBF24;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.testi-text {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.65;
}

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

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: var(--brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.testi-name {
  font-weight: 700;
  margin: 0;
  font-size: 0.95rem;
}

.testi-role {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.site-footer h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.site-footer .footer-brand img {
  height: 56px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.site-footer .footer-brand span {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.site-footer .footer-brand span b {
  color: var(--brand-green);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-list a:hover {
  color: var(--brand-green);
  padding-left: 4px;
}

body.rtl .footer-list a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.05rem;
}

.social-icons a:hover {
  background: var(--brand-green);
  color: var(--brand-black);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-bottom a {
  color: var(--brand-green);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== Legal Pages ===== */
.legal-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--brand-green-light), #ffffff);
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.legal-hero .updated {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: 60px 0 90px;
}

.legal-content article {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 14px;
  color: var(--brand-black);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-main);
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-weight: 600;
  color: var(--brand-green-dark);
}

.back-link:hover {
  color: var(--brand-black);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .nav-actions {
    margin-top: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }
  .hero-subtitle, .hero-search { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 50px; }
  .section { padding: 60px 0; }
  .app-section { padding: 50px 28px; text-align: center; }
  .app-badges { justify-content: center; }
  .feature-img-wrap { margin-top: 40px; }
  .legal-content article { padding: 28px; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2rem; }
  .hero-search { flex-direction: column; padding: 14px; border-radius: var(--radius-md); }
  .hero-search input { width: 100%; text-align: center; }
  .hero-search .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.5rem; }
  .float-card { font-size: 0.78rem; padding: 10px 14px; }
  .float-card .icon { width: 32px; height: 32px; font-size: 1rem; }
  .phone-mock { width: 220px; height: 440px; }
  .app-section { padding: 40px 20px; }
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: #c9ced8;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ===== Contact Page ===== */
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-black);
  margin-bottom: 8px;
}

.contact-card .form-control,
.contact-card .form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(0, 217, 79, 0.15);
}

.contact-card textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-success {
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  border: 1.5px solid var(--brand-green);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  animation: slideDown 0.4s ease;
}

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

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.contact-info-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-3px);
}

.contact-info-card .ci-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
}

/* ===== Help / FAQ ===== */
.faq-accordion .accordion-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
  background: #fff;
  font-weight: 600;
  color: var(--brand-black);
  padding: 20px 24px;
  font-size: 1rem;
  border-radius: var(--radius-md) !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 4px rgba(0, 217, 79, 0.15);
  border-color: var(--brand-green);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230F1419'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.faq-accordion .accordion-body {
  padding: 0 24px 22px;
  color: var(--text-main);
  line-height: 1.7;
}

body.rtl .faq-accordion .accordion-button::after {
  margin-right: auto;
  margin-left: 0;
}

.help-cta {
  background: linear-gradient(135deg, var(--brand-green-light), #ffffff);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
  border: 1px solid var(--brand-green);
}

.help-cta h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.help-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

@media (max-width: 575.98px) {
  .contact-card { padding: 24px; }
  .help-cta { padding: 28px; }
}

