/* =============================================
   YAMIZAD - LANDING PAGE STYLES
   Brand Colors: Forest Green #0A6938, Lime #81D720, Amber #F59E0B
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #0A6938;
  --primary-dark: #074d29;
  --primary-light: #40D37F;
  --lime: #81D720;
  --lime-dark: #6CB31B;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --surface-gray: #F0F0F0;
  --text-dark: #1C1B1F;
  --text-muted: #49454F;
  --text-light: #6B7280;
  --success: #22C55E;
  --error: #B3261E;

  --gradient-hero: linear-gradient(135deg, #0A6938 0%, #1a8a50 40%, #40D37F 100%);
  --gradient-card: linear-gradient(135deg, #0A6938 0%, #40D37F 100%);
  --gradient-amber: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --gradient-lime: linear-gradient(135deg, #81D720 0%, #6CB31B 100%);

  --shadow-sm: 0 2px 8px rgba(10, 105, 56, 0.08);
  --shadow-md: 0 8px 32px rgba(10, 105, 56, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 105, 56, 0.16);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --font-en: 'Outfit', sans-serif;
  --font-ar: 'Noto Kufi Arabic', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-en);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.lang-ar {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

body.lang-en {
  direction: ltr;
  text-align: left;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--off-white);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-amber {
  color: var(--amber);
}

.text-lime {
  color: var(--lime-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 105, 56, 0.08);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-dark);
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-bounce);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-card);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10, 105, 56, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(10, 105, 56, 0.45);
}

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

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

.btn-amber {
  background: var(--gradient-amber);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.45);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-large {
  padding: 18px 42px;
  font-size: 1.1rem;
}


/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(10, 105, 56, 0.1);
  padding: 12px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 90px;
  width: 90px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: var(--transition);
}

.nav-logo img:hover {
  transform: scale(1.05);
}

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

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

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

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.navbar.scrolled .nav-links a:hover {
  background: rgba(10, 105, 56, 0.08);
  color: var(--primary);
}

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

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 2px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.navbar.scrolled .lang-toggle {
  background: rgba(10, 105, 56, 0.08);
}

.lang-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.lang-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-weight: 800;
}

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

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  border: none;
  backdrop-filter: blur(8px);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  z-index: 2000;
  padding: 80px 32px 32px;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-direction: column;
  gap: 8px;
}

body.lang-ar .mobile-nav {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.mobile-nav.open,
body.lang-ar .mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

body.lang-ar .mobile-nav-close {
  right: auto;
  left: 20px;
}

.mobile-nav-close:hover {
  background: var(--off-white);
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: rgba(10, 105, 56, 0.06);
  color: var(--primary);
}

.mobile-nav .lang-toggle {
  background: var(--off-white);
  margin-top: 16px;
  align-self: flex-start;
}

.mobile-nav .lang-btn {
  color: var(--text-muted);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  background: rgba(129, 215, 32, 0.06);
  animation: floatShape 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 20%;
  background: rgba(245, 158, 11, 0.05);
  animation: floatShape 6s ease-in-out infinite 2s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(129, 215, 32, 0.2);
  color: var(--lime);
  border: 1px solid rgba(129, 215, 32, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .accent {
  color: var(--lime);
  display: block;
}

.hero-title .brand {
  color: var(--amber);
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

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

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
  position: relative;
}

.hero-phone-mockup {
  width: 300px;
  height: 580px;
  background: var(--white);
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: floatPhone 5s ease-in-out infinite;
}

.hero-phone-image {
  width: 270px;
  height: auto;
  max-width: 100%;
  animation: floatPhone 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

@keyframes floatPhone {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-20px) rotate(-2deg);
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: var(--radius-full);
  z-index: 10;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.phone-statusbar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  padding: 14px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
  background: transparent;
}

.phone-statusbar-overlay span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dark);
}

.phone-screenshot-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 32px;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-statusbar {
  background: var(--primary);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-statusbar span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
}

.phone-header {
  background: var(--primary);
  padding: 12px 16px 20px;
  color: var(--white);
}

.phone-header-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: 1px;
}

.phone-header-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

.phone-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone-meal-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 10px;
  align-items: center;
  animation: slideInCard 0.5s ease both;
}

.phone-meal-card:nth-child(2) {
  animation-delay: 0.2s;
}

.phone-meal-card:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slideInCard {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.meal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.meal-icon.green {
  background: rgba(34, 197, 94, 0.12);
}

.meal-icon.amber {
  background: rgba(245, 158, 11, 0.12);
}

.meal-icon.blue {
  background: rgba(2, 136, 209, 0.12);
}

.meal-info {
  flex: 1;
  min-width: 0;
}

.meal-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meal-detail {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.meal-badge {
  font-size: 0.6rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  white-space: nowrap;
}

.meal-badge.delivered {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.meal-badge.today {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-dark);
}

.meal-badge.scheduled {
  background: rgba(10, 105, 56, 0.1);
  color: var(--primary);
}

.phone-bottom-nav {
  background: var(--white);
  border-top: 1px solid var(--surface-gray);
  padding: 8px 16px;
  display: flex;
  justify-content: space-around;
}

.nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 1rem;
  cursor: pointer;
}

.nav-icon span {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.nav-icon.active span {
  color: var(--primary);
}

/* Floating badges on phone */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.float-badge-1 {
  top: 60px;
  right: -80px;
  animation: floatBadge 4s ease-in-out infinite;
}

.float-badge-2 {
  bottom: 120px;
  left: -80px;
  animation: floatBadge 4s ease-in-out infinite 2s;
}

body.lang-ar .float-badge-1 {
  right: auto;
  left: -80px;
}

body.lang-ar .float-badge-2 {
  left: auto;
  right: -80px;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float-badge .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.float-badge-1 .badge-icon {
  background: rgba(129, 215, 32, 0.15);
}

.float-badge-2 .badge-icon {
  background: rgba(245, 158, 11, 0.15);
}

.float-badge .badge-text strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.78rem;
}

.float-badge .badge-text small {
  color: var(--text-muted);
  font-size: 0.65rem;
}

/* App Download Badges */
.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--white);
  color: var(--text-dark);
  padding: 10px 24px;
  min-width: 175px;
  border: 1.2px solid var(--text-dark);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-bounce);
  text-decoration: none;
  box-shadow: none;
  white-space: nowrap;
  direction: ltr !important;
}

.app-badge:hover {
  transform: translateY(-3px);
  background: var(--off-white);
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.app-badge svg {
  display: block;
  flex-shrink: 0;
  color: var(--text-dark) !important;
  fill: var(--text-dark) !important;
}

/* CTA section badges are on a dark background — use white */
.cta-badges .app-badge {
  background: var(--white);
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.cta-badges .app-badge:hover {
  background: var(--off-white);
  border-color: var(--text-dark);
}

/* ---------- Scroll Indicator ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  animation: fadeIn 1s ease 1s both;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* ---------- About / Story Section ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image-wrap {
  position: relative;
}

.story-image-bg {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.story-image-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(129, 215, 32, 0.2), transparent 60%);
}

.story-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-float-card.card-1 {
  top: -20px;
  right: -20px;
}

.story-float-card.card-2 {
  bottom: -20px;
  left: -20px;
}

body.lang-ar .story-float-card.card-1 {
  right: auto;
  left: -20px;
}

body.lang-ar .story-float-card.card-2 {
  left: auto;
  right: -20px;
}

.story-float-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.story-float-card .card-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.story-float-card .card-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.story-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1rem;
}

.story-content p strong {
  color: var(--text-dark);
  font-weight: 700;
}

.story-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.story-highlight {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

body.lang-ar .story-highlight {
  border-left: none;
  border-right: 4px solid var(--primary);
}

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

.story-highlight-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.story-highlight h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.story-highlight p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Goodbye Worries Section ---------- */
.worries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.worry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

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

body.lang-ar .worry-card::before {
  transform-origin: right;
}

.worry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.worry-icon {
  width: 72px;
  height: 72px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.worry-card:hover .worry-icon {
  background: rgba(10, 105, 56, 0.08);
}

.worry-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.worry-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.steps-connector {
  position: absolute;
  top: 52px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--lime));
  z-index: 0;
}

body.lang-ar .steps-connector {
  background: linear-gradient(to left, var(--primary), var(--lime));
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  transition: var(--transition-bounce);
}

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

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-card);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 4px 12px rgba(10, 105, 56, 0.3);
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Why Mothers Love Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.feature-card:nth-child(1) .feature-icon-wrap {
  background: rgba(10, 105, 56, 0.08);
}

.feature-card:nth-child(2) .feature-icon-wrap {
  background: rgba(245, 158, 11, 0.08);
}

.feature-card:nth-child(3) .feature-icon-wrap {
  background: rgba(2, 136, 209, 0.08);
}

.feature-card:nth-child(4) .feature-icon-wrap {
  background: rgba(129, 215, 32, 0.1);
}

.feature-card:nth-child(5) .feature-icon-wrap {
  background: rgba(234, 88, 12, 0.08);
}

.feature-card:nth-child(6) .feature-icon-wrap {
  background: rgba(10, 105, 56, 0.08);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* ---------- Journey Section ---------- */
.journey-section {
  background: var(--gradient-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.journey-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.journey-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.journey-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.journey-content h2 span {
  color: var(--lime);
}

.journey-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.85;
  font-size: 1rem;
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.journey-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.journey-step:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(129, 215, 32, 0.3);
  transform: translateX(4px);
}

body.lang-ar .journey-step:hover {
  transform: translateX(-4px);
}

.journey-step-icon {
  width: 44px;
  height: 44px;
  background: rgba(129, 215, 32, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(129, 215, 32, 0.3);
}

.journey-step-text h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.journey-step-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------- Mission & Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

.mv-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.mv-card.mission {
  background: var(--gradient-card);
  color: var(--white);
}

.mv-card.vision {
  background: var(--gradient-amber);
  color: var(--white);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

body.lang-ar .mv-card::before {
  right: auto;
  left: -40px;
}

.mv-card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.mv-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- Values Section ---------- */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

body.lang-ar .value-item:hover {
  transform: translateX(-8px);
}

.value-check {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-item p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* ---------- Contact Section ---------- */
.contact-section {
  background: var(--gradient-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-content h2 span {
  color: var(--lime);
}

.contact-content .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(129, 215, 32, 0.3);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(129, 215, 32, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-icon svg {
  display: block;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 2px;
}

.contact-item-text span {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-link {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition-bounce);
}

.social-link:hover {
  background: rgba(129, 215, 32, 0.2);
  border-color: rgba(129, 215, 32, 0.4);
  transform: translateY(-4px);
}

.social-link svg {
  display: block;
  flex-shrink: 0;
}

/* CTA Card */
.cta-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.cta-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-card .cta-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-card .slogan {
  color: var(--lime);
  font-weight: 700;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 8px;
}

.cta-card .sub-slogan {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.cta-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a0f0c;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

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

.footer-brand img {
  height: 72px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.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.875rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--lime);
}

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

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

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom p a:hover {
  color: var(--lime);
}

.footer-bottom .footer-links {
  display: flex;
  gap: 20px;
}

.footer-bottom .footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom .footer-links a:hover {
  color: var(--lime);
}

/* ---------- Packages & Pricing ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid transparent;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.package-card.popular {
  border-color: var(--primary);
  background: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.package-card.popular:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-card);
  color: var(--white);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(10, 105, 56, 0.25);
  white-space: nowrap;
}

.package-header {
  text-align: center;
  margin-bottom: 28px;
}

.package-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.package-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--primary);
  margin-top: 8px;
}

.package-price .price {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.package-price .currency {
  font-size: 1.1rem;
  font-weight: 700;
}

.package-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.package-body {
  margin-bottom: 32px;
  flex-grow: 1;
}

.package-body ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.package-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: inherit;
}

.package-body ul li .check-icon {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.1;
}

.package-footer {
  text-align: center;
}

.package-footer .btn {
  width: 100%;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

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

  .steps-connector {
    display: none;
  }

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

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .package-card.popular {
    transform: none;
  }

  .package-card.popular:hover {
    transform: translateY(-8px);
  }
}

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

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 80px;
    text-align: center;
  }

  body.lang-ar .hero-inner {
    text-align: center;
  }

  .hero-tagline,
  .hero-cta {
    justify-content: center;
  }

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

  .hero-visual {
    order: -1;
  }

  .hero-phone-image {
    width: 220px;
  }

  .float-badge-1,
  .float-badge-2 {
    display: none;
  }

  .story-grid,
  .journey-inner,
  .contact-grid,
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .packages-grid {
    gap: 32px;
  }

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

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

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

  .story-highlights {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 32px 24px;
  }

  .hero-title {
    font-size: 2rem;
  }
}

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

  .container {
    padding: 0 16px;
  }

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

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

  .app-badges {
    justify-content: center;
  }
}

/* ==============================================
   LANGUAGE SHOW / HIDE
   The :not(.lang-btn) exclusion is CRITICAL —
   it prevents the toggle buttons from hiding
   themselves due to their own data-lang attr.
   ============================================== */

/* Default / English Mode: hide Arabic elements */
.lang-en [data-lang="ar"]:not(.lang-btn):not(.lang-toggle),
body:not(.lang-ar) [data-lang="ar"]:not(.lang-btn):not(.lang-toggle) {
  display: none !important;
}

/* Arabic Mode: hide English elements */
.lang-ar [data-lang="en"]:not(.lang-btn):not(.lang-toggle) {
  display: none !important;
}

/* Lang toggle buttons — ALWAYS VISIBLE regardless of lang */
.lang-btn { display: inline-flex !important; align-items: center; }

/* Active lang button highlight */
.lang-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-weight: 800;
}

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