/* ═══════════════════════════════════════════
   CARE LINE — DESIGN SYSTEM & STYLES
   Arabic RTL · Minimalist · Flat 2.0
   ═══════════════════════════════════════════ */

/* ── Google Fonts ── */
@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');

/* ── CSS Variables ── */
:root {
  /* Colors */
  --primary: #008197; /* Logo accurate color */
  --primary-dark: #006576;
  --primary-light: #E0F4F7;
  --primary-ultra-light: #F0FAFB;
  --accent: #6C63FF;
  --accent-light: #EEEDFF;
  --success: #27AE60;
  --success-light: #E8F5E9;
  --warning: #F2994A;
  --warning-light: #FFF3E0;
  --error: #EB5757;

  /* Neutrals */
  --text-primary: #1A2B3D;
  --text-secondary: #5A6B7E;
  --text-muted: #8E9BAE;
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --border: #E8ECF1;
  --border-light: #F0F3F7;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Cairo', 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-phone: 0 25px 80px rgba(0,0,0,0.18);

  /* Transitions */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-arabic);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }


/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}


/* ── SECTIONS ── */
.section, .hero-split, .download-section {
  padding: var(--space-4xl) 0;
  position: relative;
  z-index: 2;
  background: var(--bg); /* Solid background - no translucency mess */
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary-light);
  color: var(--primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.highlight {
  color: var(--primary);
}


/* ════════════════════════════════════
   NAVBAR
   ════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.lang-switch {
  font-weight: 700 !important;
  color: var(--primary) !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switch:hover {
  background: var(--primary) !important;
  color: white !important;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary);
  color: #fff !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal);
}


/* ════════════════════════════════════
   HERO — SPLIT LAYOUT WITH 3D PHONES
   ════════════════════════════════════ */
.hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, #FAFBFC 100%);
  padding-top: 80px;
  overflow: hidden;
}

/* Add a subtle background watermark */
.hero-split::after {
  content: "CARE LINE";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 900;
  color: rgba(18, 146, 155, 0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* Hero Content */
.hero-content {
  position: relative;
  padding-right: var(--space-md);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 1s var(--ease-out);
}

.hero-title .highlight {
  color: var(--warning);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  animation: fadeSlideUp 1s 0.2s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  animation: fadeSlideUp 1s 0.4s var(--ease-out) both;
}

/* SINGLE GLOBAL 3D PHONE */
.global-phone {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 750px;
  z-index: 900;
  pointer-events: none; /* Let clicks pass through */
  /* Will be positioned by JS, hide it offscreen initially to prevent flash */
  transform: translate(-2000px, -2000px);
  will-change: transform;
}

.global-phone model-viewer {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.15));
}

/* Hero 3D Spacer */
.hero-3d-spacer {
  position: relative;
  width: 360px;
  height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  margin-top: 250px;
}

/* ════════════════════════════════════
   FEATURES — Sticky Split Layout
   ════════════════════════════════════ */
.features-scroll {
  overflow: visible; /* Required for sticky */
}

.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* In RTL: phone-col is visually on the LEFT */
.features-phone-sticky {
  position: sticky;
  top: 120px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-phone-spacer {
  width: 100%;
  max-width: 360px;
  height: 750px;
  margin: 0 auto;
}

.features-cards-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

/* Download Section 3 CSS Phones Interaction */
/* Phone Frame — CSS-only realistic phone */
.phone-frame {
  position: absolute;
  width: 260px;
  height: 540px;
  background: #111;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 0 0 2px #333;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  background: #fff;
}

/* Phone notch */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #111;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

/* Download Section Phones */
.download-phones {
  cursor: pointer;
  position: relative;
}

/* Base phone styles for the download section */
.dl-phone {
  position: absolute;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.download-phones .phone-frame {
  width: 170px;
  height: 360px;
  border-radius: 24px;
  padding: 8px; /* Thinner frame */
}
.download-phones .phone-frame img {
  border-radius: 16px;
}
.download-phones .phone-notch {
  width: 75px;
  height: 12px;
  top: 6px;
  border-radius: 0 0 8px 8px;
}

/* Default States */
.dl-phone-left {
  left: 30%;
  z-index: 1;
  transform: translateX(-50%) translateY(calc(var(--py, 0) + 40px)) scale(0.85);
  filter: brightness(0.6);
}

.dl-phone-center {
  left: 50%;
  z-index: 3;
  transform: translateX(-50%) translateY(var(--py, 0)) scale(1);
  filter: brightness(1);
}

.dl-phone-right {
  left: 70%;
  z-index: 2;
  transform: translateX(-50%) translateY(calc(var(--py, 0) + 20px)) scale(0.85);
  filter: brightness(0.8);
}

/* Invisible Hover Zones */
.hover-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 50; /* Sits above all phones */
}
.zone-left { left: 0; width: 33.33%; }
.zone-center { left: 33.33%; width: 33.33%; }
.zone-right { left: 66.66%; width: 33.33%; }

/* Hovering Left Zone -> Left phone becomes center, others move back */
.zone-left:hover ~ .dl-phone-left {
  left: 50%;
  z-index: 3;
  transform: translateX(-50%) translateY(calc(var(--py, 0) - 10px)) scale(1.05);
  filter: brightness(1);
}
.zone-left:hover ~ .dl-phone-center {
  left: 70%;
  z-index: 2;
  transform: translateX(-50%) translateY(calc(var(--py, 0) + 20px)) scale(0.85);
  filter: brightness(0.8);
}
.zone-left:hover ~ .dl-phone-right {
  left: 30%;
  z-index: 1;
  transform: translateX(-50%) translateY(calc(var(--py, 0) + 40px)) scale(0.85);
  filter: brightness(0.6);
}

/* Hovering Center Zone -> Center phone pops out */
.zone-center:hover ~ .dl-phone-center {
  transform: translateX(-50%) translateY(calc(var(--py, 0) - 10px)) scale(1.05);
}
.zone-center:hover ~ .dl-phone-left {
  transform: translateX(-60%) translateY(calc(var(--py, 0) + 40px)) scale(0.85);
  filter: brightness(0.4);
}
.zone-center:hover ~ .dl-phone-right {
  transform: translateX(-40%) translateY(calc(var(--py, 0) + 20px)) scale(0.85);
  filter: brightness(0.4);
}

/* Hovering Right Zone -> Right phone becomes center, others move back */
.zone-right:hover ~ .dl-phone-right {
  left: 50%;
  z-index: 3;
  transform: translateX(-50%) translateY(calc(var(--py, 0) - 10px)) scale(1.05);
  filter: brightness(1);
}
.zone-right:hover ~ .dl-phone-center {
  left: 30%;
  z-index: 2;
  transform: translateX(-50%) translateY(calc(var(--py, 0) + 20px)) scale(0.85);
  filter: brightness(0.8);
}
.zone-right:hover ~ .dl-phone-left {
  left: 70%;
  z-index: 1;
  transform: translateX(-50%) translateY(calc(var(--py, 0) + 40px)) scale(0.85);
  filter: brightness(0.6);
}

/* ════════════════════════════════════
   DOWNLOAD STRIP — Google Play Badge
   ════════════════════════════════════ */
.download-strip {
  background: var(--surface);
  padding: var(--space-3xl) 0;
}

.download-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, #f0fafa 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-3xl);
}

.download-strip-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.download-strip-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
}

.google-play-link {
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out);
}

.google-play-link:hover {
  transform: scale(1.05);
}

.google-play-badge {
  height: 64px;
  width: auto;
  border-radius: var(--radius-md);
}


/* ════════════════════════════════════
   FEATURES — Bento Grid
   ════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 4px;
  border-radius: 0 0 0 var(--radius-sm);
  background: var(--primary);
  opacity: 0;
  transition: opacity var(--duration-normal), width var(--duration-slow);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
  width: 100%;
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.feature-icon.teal { background: var(--primary-light); color: var(--primary); }
.feature-icon.purple { background: var(--accent-light); color: var(--accent); }
.feature-icon.accent { background: #FFF0E5; color: var(--warning); }
.feature-icon.success { background: var(--success-light); color: var(--success); }
.feature-icon.warning { background: var(--warning-light); color: var(--warning); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}


/* ════════════════════════════════════
   HOW IT WORKS — Steps
   ════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0 auto var(--space-md);
  background: var(--surface);
  transition: all var(--duration-normal) var(--ease-out);
}

.step-card:hover .step-number {
  background: var(--primary);
  color: #fff;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ════════════════════════════════════
   PRICING
   ════════════════════════════════════ */
.pricing-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-3xl);
}
.pricing-tabs {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.tab-btn {
  background: transparent;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.tab-btn .badge {
  background: var(--success);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  transition: background 0.3s ease;
}
.tab-btn.active .badge {
  background: rgba(255,255,255,0.2);
}
.pricing-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -10px;
  margin-bottom: var(--space-lg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular::before {
  content: 'الأكثر شعبية';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--space-lg);
}

.pricing-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.discount-badge {
  display: inline-block;
  background: rgba(46, 204, 113, 0.15); /* Light success */
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: var(--space-sm) 0;
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: super;
  margin-left: 4px;
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pricing-features ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.check { color: var(--success); font-weight: 700; }
.cross { color: var(--text-muted); opacity: 0.5; }

.accordion-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: var(--space-md);
  transition: color var(--duration-fast);
}

.accordion-toggle:hover {
  color: var(--primary-dark);
}

.accordion-toggle svg {
  transition: transform var(--duration-normal);
}

.accordion-toggle.open svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out), padding var(--duration-slow);
}

.accordion-content.open {
  max-height: 300px;
  padding-top: var(--space-md);
}

.pricing-footer {
  margin-top: var(--space-lg);
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 10px 16px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  width: 100%;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn-outline, .btn-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all var(--duration-normal) var(--ease-out);
  text-align: center;
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-ultra-light);
}

.btn-filled {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.btn-filled:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 129, 151, 0.35);
}


/* ════════════════════════════════════
   CONTACT
   ════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 181, 178, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary);
  color: #fff;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--duration-normal) var(--ease-out);
  width: 100%;
  justify-content: center;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 181, 178, 0.35);
}

.form-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-submit.success {
  background: var(--success);
}


/* ════════════════════════════════════
   DOWNLOAD APP
   ════════════════════════════════════ */
.download-section {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}


/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.8);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .nav-logo span {
  color: #fff;
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--duration-normal);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-column h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-column a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast);
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--primary);
}


/* ════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-anim { animation: float 5s ease-in-out infinite; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════
   MOBILE SPECIFIC ELEMENTS
   ════════════════════════════════════ */
.mobile-only-phone {
  display: none;
  width: 100%;
  height: 450px; /* Fixed height for mobile flow */
  margin: var(--space-xl) auto 0;
}

.nav-drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal);
}
.nav-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0; right: -300px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--surface);
  z-index: 1002;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  transition: right var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.nav-drawer.active {
  right: 0;
}
.nav-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}
.nav-close {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-drawer-links {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.nav-drawer-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-drawer-links a:hover {
  color: var(--primary);
}
.nav-drawer-links a.nav-cta {
  margin-top: var(--space-xl);
  justify-content: center;
}


/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .global-phone {
    display: none !important;
  }
  .mobile-only-phone {
    display: flex;
    justify-content: center;
  }
  .features-split {
    grid-template-columns: 1fr;
  }
  .features-phone-col {
    display: block; /* Show the container on tablet/mobile */
  }
  .features-phone-sticky {
    position: relative; /* Disable sticky on mobile */
    top: 0;
  }
  .hero-3d-spacer {
    height: auto;
    margin-top: 20px;
    width: 100%;
  }
  .features-phone-spacer {
    height: auto;
    min-height: auto;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }
  .hero-content {
    padding-right: 0;
  }
  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card.wide {
    grid-column: span 2;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }

  .steps-grid::before {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .download-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .download-strip-content p {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-3d {
    height: 400px;
  }
  .phone-3d {
    width: 240px;
    height: 400px;
  }
  .nav-links {
    display: none !important;
  }
  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide {
    grid-column: span 1;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Hero 3D responsive */
  .hero-3d {
    height: 400px;
  }
  .phone-3d {
    width: 220px;
    height: 400px;
  }
  .phone-left {
    transform: translateX(25%);
  }
  .phone-right {
    transform: translateX(-25%);
  }

  .download-split {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .download-badges {
    justify-content: center;
  }

  .hero-split::after {
    font-size: clamp(4rem, 15vw, 10rem);
  }
    font-size: 0.95rem;
    padding: 0 var(--space-md);
  }

  .download-strip-inner {
    padding: var(--space-xl);
  }
}

/* Small phones */
@media (max-width: 480px) {
  /* Small phones */
  .hero-3d {
    height: 320px;
  }
  .phone-3d {
    width: 160px;
    height: 320px;
  }
  .phone-left {
    transform: translateX(20%);
  }
  .phone-right {
    transform: translateX(-20%);
  }

  .phone-frame {
    width: 160px;
    height: 340px;
    border-radius: 28px;
    padding: 8px;
  }
  .phone-frame img {
    border-radius: 20px;
  }
  .phone-notch {
    width: 70px;
    height: 20px;
    top: 8px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ── LTR (English) Overrides ── */
[dir="ltr"] body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
[dir="ltr"] .hero-title, 
[dir="ltr"] .section-title, 
[dir="ltr"] .privacy-title {
  letter-spacing: -0.02em;
}
[dir="ltr"] .policy-section h2 {
  border-right: none;
  padding-right: 0;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}
[dir="ltr"] .policy-section ul li {
  padding-right: 0;
  padding-left: 28px;
}
[dir="ltr"] .policy-section ul li::before {
  right: auto;
  left: 6px;
}
[dir="ltr"] .pricing-price .currency {
  margin-left: 0;
  margin-right: 4px;
}