/* ============================================
   Allo Market — Welcome Page
   Brand: #E31E24 (red), #000000, #FFFFFF
   ============================================ */

:root {
  --red: #E31E24;
  --red-dark: #c4191f;
  --red-glow: rgba(227, 30, 36, 0.35);
  --black: #0a0a0a;
  --black-soft: #141414;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --font-display: 'Bebas Neue', sans-serif;
  --font-script: 'Pacifico', cursive;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 72px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 2.5vw, 1rem);
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: clip;
  min-width: 0;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.text-red { color: var(--red); }

/* ---- Page loader ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo img {
  max-width: min(180px, 70vw);
  height: auto;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red);
  border-radius: 3px;
  animation: loaderSlide 1s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.85; }
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled,
.header.menu-open {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--header-h);
  width: 100%;
  position: relative;
  z-index: 1002;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-inline-start: 0.5rem;
}

.nav-logo {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 100px);
}

.nav-logo img {
  height: clamp(32px, 8vw, 44px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.nav-logo:hover img {
  transform: scale(1.02);
}

/* Language switcher */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  z-index: 1106;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.lang-toggle:hover,
.lang-switcher.open .lang-toggle {
  border-color: var(--red);
  background: #fffafa;
  color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.lang-toggle-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 200px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  z-index: 1105;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-dropdown-title {
  padding: 0.4rem 0.75rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  pointer-events: none;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  text-align: start;
  transition: background var(--transition), color var(--transition);
}

.lang-option:hover {
  background: var(--gray-100);
}

.lang-option.active {
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
  font-weight: 600;
}

.lang-option-name {
  flex: 1;
}

.lang-option-check {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition), transform var(--transition);
}

.lang-option.active .lang-option-check {
  opacity: 1;
  transform: scale(1);
}

html[lang="ar"] .lang-option-name {
  font-family: 'Noto Sans Arabic', var(--font-body);
}

@media (max-width: 991px) {
  .nav-logo {
    max-width: calc(100% - 100px);
  }

  .lang-switcher.open .lang-dropdown {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    right: 1rem;
    left: auto;
    inset-inline-end: 1rem;
    inset-inline-start: auto;
    width: min(260px, calc(100vw - 2rem));
    min-width: 200px;
    transform-origin: top right;
  }

  html[dir="rtl"] .lang-switcher.open .lang-dropdown {
    right: auto;
    left: 1rem;
    inset-inline-end: auto;
    inset-inline-start: 1rem;
    transform-origin: top left;
  }
}

@media (max-width: 400px) {
  .lang-dropdown-title {
    display: none;
  }
}


/* Mobile nav drawer — full screen */
.nav-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: calc(var(--header-h) + 1rem) clamp(1.25rem, 5vw, 2rem) 2rem;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 1001;
}

.nav-menu.open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
}

.nav-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-menu-list > li {
  width: 100%;
  border-bottom: 1px solid var(--gray-200);
}

.nav-menu-list > li:last-child {
  border-bottom: none;
}

.nav-menu-list .nav-link {
  display: block;
  width: 100%;
  padding: 1.1rem 0;
  font-size: 1.05rem;
}

.nav-menu-cta {
  margin-top: 1.25rem;
  padding-top: 0.25rem;
  border-bottom: none !important;
}

.nav-menu-cta .nav-link--cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: 100px;
}

.nav-menu-cta .nav-link--cta::after {
  display: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--black);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link--cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 1003;
  transition: border-color var(--transition), background var(--transition);
}

.nav-toggle:hover,
.header.menu-open .nav-toggle {
  border-color: var(--red);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  pointer-events: none;
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--red-glow);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- App Store / Google Play badges ---- */
.store-badges {
  margin-top: 1.75rem;
}

.store-badges-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.45rem 1rem 0.45rem 0.7rem;
  background: linear-gradient(145deg, #1a1a1a 0%, #000 100%);
  color: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  border-color: rgba(227, 30, 36, 0.4);
}

.store-badge:active {
  transform: translateY(-1px);
}

.store-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge-icon svg {
  width: 100%;
  height: 100%;
}

.store-badge-icon--play svg {
  width: 26px;
  height: 26px;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 1px;
}

.store-badge-small {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.88;
  text-transform: uppercase;
}

.store-badge-large {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-badge--lg {
  min-height: 58px;
  padding: 0.55rem 1.15rem 0.55rem 0.85rem;
  border-radius: 14px;
}

.store-badge--lg .store-badge-icon {
  width: 32px;
  height: 32px;
}

.store-badge--lg .store-badge-large {
  font-size: 1.15rem;
}

.store-badge--google:hover {
  border-color: rgba(0, 240, 118, 0.35);
}

.store-badge--apple:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* Store download banner (app section) */
.store-banner {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
}

.store-banner-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse, var(--red-glow) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.6;
}

.store-banner-content {
  position: relative;
  z-index: 1;
}

.store-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.store-banner-desc {
  color: var(--gray-600);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}

.store-badges--banner .store-badges-row {
  justify-content: center;
}

.store-badges--hero .store-badges-row {
  justify-content: flex-start;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--1 {
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  background: var(--red-glow);
  top: -10%;
  right: -15%;
}

.hero-orb--2 {
  width: min(350px, 70vw);
  height: min(350px, 70vw);
  background: rgba(0, 0, 0, 0.04);
  bottom: 10%;
  left: -20%;
  animation-delay: -4s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.05); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

.hero-content,
.hero-visual {
  min-width: 0;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease 0.35s both;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-title-accent {
  display: block;
  color: var(--red);
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 0.15em;
}

.hero-text {
  font-size: clamp(1rem, 2.8vw, 1.1rem);
  color: var(--gray-600);
  max-width: 32rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease 0.5s both;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease 0.65s both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.8s both;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  letter-spacing: 0.02em;
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.15rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Phone mockup — hero app preview */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1rem, 4vw, 2rem) 0;
  max-width: 100%;
}

.phone-scene {
  position: relative;
  width: min(320px, 88vw);
  margin-inline: auto;
  padding: 1.5rem 0.5rem;
}

.phone-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(300px, 95%);
  aspect-ratio: 1;
  border: 1px solid rgba(227, 30, 36, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.phone-ring--2 {
  width: min(360px, 110%);
  border-color: rgba(0, 0, 0, 0.05);
  animation-delay: -3s;
  animation-duration: 8s;
}

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

.phone-mockup {
  position: relative;
  z-index: 2;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-0.5deg); }
}

.phone-shadow {
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.22) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

.phone-frame {
  position: relative;
  width: min(280px, 78vw);
  margin-inline: auto;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2a 0%, #0a0a0a 45%, #1a1a1a 100%);
  border-radius: clamp(28px, 7vw, 40px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 60px -15px rgba(0, 0, 0, 0.45),
    0 0 80px -20px var(--red-glow);
  z-index: 2;
}

.phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  background: linear-gradient(180deg, #1c1c1e 0%, #121214 100%);
  border-radius: clamp(22px, 5vw, 30px);
  padding: 2rem 0.75rem 0.65rem;
  min-height: clamp(380px, 62vw, 460px);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(227, 30, 36, 0.12) 0%, transparent 100%);
  pointer-events: none;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

.phone-status-icons {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.phone-status-icons span {
  display: block;
  width: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
}

.phone-status-icons span:nth-child(1) { height: 4px; }
.phone-status-icons span:nth-child(2) { height: 6px; }
.phone-status-icons span:nth-child(3) { height: 8px; }

.phone-app-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.phone-logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.phone-greeting {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.phone-greeting-hi {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
}

.phone-greeting-sub {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
  z-index: 1;
}

.phone-search svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.6;
}

.phone-cats {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
  padding-bottom: 2px;
}

.phone-cats::-webkit-scrollbar { display: none; }

.phone-cat {
  flex-shrink: 0;
  font-size: 0.52rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}

.phone-cat--active {
  background: var(--red);
  color: var(--white);
}

.phone-products {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
  min-height: 0;
}

.phone-product {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  animation: productSlideIn 0.6s ease both;
}

.phone-product--1 { animation-delay: 0.1s; }
.phone-product--2 { animation-delay: 0.25s; }
.phone-product--3 { animation-delay: 0.4s; }

@keyframes productSlideIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.phone-product-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.phone-product-img--tomato {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.phone-product-img--milk {
  background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
}

.phone-product-img--bread {
  background: linear-gradient(135deg, #d4a574, #a67c52);
}

.phone-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-product-name {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-product-price {
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--red);
}

.phone-product-add {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 8px;
  background: rgba(227, 30, 36, 0.25);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  cursor: default;
}

.phone-product-add--active {
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
}

.phone-cart-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.5rem 0.6rem;
  background: var(--red);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  animation: cartPulse 3s ease-in-out infinite;
}

@keyframes cartPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35); }
  50% { box-shadow: 0 6px 24px rgba(227, 30, 36, 0.55); }
}

.phone-cart-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.phone-cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-cart-icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.phone-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  background: var(--white);
  color: var(--red);
  font-size: 0.45rem;
  font-weight: 800;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-cart-label {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-cart-total {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.phone-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 50% 60%, var(--red-glow) 0%, transparent 65%);
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Floating badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--black);
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 4;
  animation: badgeFloat 4s ease-in-out infinite;
  max-width: calc(50% - 8px);
}

.floating-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(227, 30, 36, 0.1);
  flex-shrink: 0;
}

.floating-badge-icon svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.floating-badge-icon--success {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 800;
}

.floating-badge--1 {
  top: 6%;
  left: 0;
  animation-delay: 0s;
}

.floating-badge--2 {
  bottom: 8%;
  right: 0;
  animation-delay: -2s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (min-width: 992px) {
  .phone-scene {
    width: min(340px, 100%);
  }

  .phone-frame {
    width: 290px;
  }

  .phone-greeting-sub {
    font-size: 0.58rem;
  }

  .phone-product-name {
    font-size: 0.58rem;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ---- Marquee strip — full width edge to edge ---- */
.marquee-strip {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--black);
  color: var(--white);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.marquee-group > * {
  flex-shrink: 0;
}

.marquee-text {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--red);
  white-space: nowrap;
  line-height: 1;
}

.marquee-text--market {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  letter-spacing: 0.15em;
  color: var(--white);
  animation: marqueeBlink 1.5s step-end infinite;
}

.marquee-dots {
  color: var(--white);
  opacity: 0.55;
  letter-spacing: 0.35em;
  font-size: 0.55rem;
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

html[dir="rtl"] .marquee-track {
  animation-name: marqueeScrollRtl;
}

@keyframes marqueeScrollRtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* ---- Sections ---- */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* App section */
.app-section {
  background: var(--gray-100);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  width: 100%;
}

.app-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.app-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(227, 30, 36, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.app-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--red);
}

.app-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.app-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}

.app-step-line {
  display: none;
}

.app-step {
  flex: none;
  width: 100%;
  text-align: center;
  padding: 0;
}

.app-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  opacity: 0.9;
  display: block;
  margin-bottom: 0.5rem;
}

.app-step h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.app-step p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.app-step-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gray-200));
  margin-top: 2rem;
  flex-shrink: 0;
}

/* Benefits */
.benefits-section {
  background: var(--white);
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  width: 100%;
}

.benefits-content,
.benefits-visual {
  min-width: 0;
  width: 100%;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefits-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefits-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  position: relative;
}

.benefits-check::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  width: 6px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.benefits-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.benefits-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.logo-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  max-width: 100%;
  overflow: hidden;
  margin-inline: auto;
}

.logo-showcase-img {
  width: min(280px, 85vw);
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 20px transparent); }
  50% { filter: drop-shadow(0 0 30px var(--red-glow)); }
}

.logo-showcase-ring {
  position: absolute;
  width: min(280px, 75vw);
  height: min(280px, 75vw);
  border: 2px solid rgba(227, 30, 36, 0.2);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}

.logo-showcase-ring--2 {
  width: min(340px, 90vw);
  height: min(340px, 90vw);
  border-color: rgba(0, 0, 0, 0.06);
  animation-direction: reverse;
  animation-duration: 28s;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}

.contact-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
  background: var(--white);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.contact-form-submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.contact-form-feedback {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0;
}

.contact-form-feedback--success {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.contact-form-feedback--error {
  background: rgba(227, 30, 36, 0.08);
  color: var(--red-dark);
  border: 1px solid rgba(227, 30, 36, 0.2);
}

html[lang="ar"] .contact-field input,
html[lang="ar"] .contact-field textarea {
  font-family: 'Noto Sans Arabic', var(--font-body);
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: block;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 12px 40px var(--red-glow);
}

.contact-card--static {
  cursor: default;
}

.contact-card--static:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--black);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.contact-card:hover .contact-card-icon {
  background: var(--red);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.contact-card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
}

.contact-card-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  word-break: break-word;
}

.contact-card--map {
  cursor: default;
}

.contact-map {
  margin: 0.9rem 0 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  aspect-ratio: 16 / 11;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-card-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.contact-card--hours {
  padding: 1.9rem 2rem;
}

.contact-hours-head {
  padding-bottom: 1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.contact-card-label--hours {
  margin-bottom: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}

.contact-hours-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-hours-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.1rem;
}

.contact-hours-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--black);
  transition: background var(--transition);
}

.contact-hours-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card:hover .contact-hours-icon {
  background: var(--red);
}

.contact-hours-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-hours-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
}

.contact-hours-value {
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0;
}

.contact-card-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-card-links--phones {
  gap: 0.7rem;
}

.contact-card-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  transition: color var(--transition);
}

.contact-card-link:hover {
  color: var(--red);
}

.contact-card-action {
  display: inline-flex;
  margin-top: 0.9rem;
}

@media (max-width: 767px) {
  .contact-card--hours {
    padding: 1.5rem;
  }

  .contact-hours-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .contact-hours-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .contact-hours-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-logo {
  display: block;
  flex: none;
  text-align: start;
}

.footer-logo img {
  height: clamp(52px, 14vw, 80px);
  width: auto;
  max-width: min(280px, 90%);
  margin-inline: 0;
  opacity: 0.95;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0;
}

.footer-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.footer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.footer-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--white);
}

.footer-powered {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: center;
}

.footer-powered-link {
  color: var(--gray-300);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-powered-link:hover {
  color: var(--red);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-hours-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--gray-400);
}

.footer-hours-item span:first-child {
  color: var(--white);
  font-weight: 600;
}

.footer-hours-item span:last-child {
  text-align: right;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }

/* ---- Responsive (mobile-first enhancements) ---- */

/* Small phones */
@media (max-width: 380px) {
  :root {
    --header-h: 60px;
  }

  .floating-badge {
    display: none;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }
}

/* Phones & small tablets — stacked hero, full-width CTAs */
@media (max-width: 767px) {
  .hero {
    padding: calc(var(--header-h) + 1.5rem) 0 3rem;
    min-height: auto;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .store-badges--hero .store-badges-row {
    justify-content: center;
  }

  .store-badges-row {
    justify-content: center;
    width: 100%;
  }

  .store-badge {
    flex: 1 1 140px;
    max-width: 100%;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.25rem 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-scroll {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .hero-title-accent {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .app-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-content {
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .footer-links--stack {
    align-items: center;
  }

  .footer-links a {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .footer-details {
    grid-template-columns: 1fr;
    width: min(100%, 340px);
    margin-inline: auto;
    gap: 1.5rem;
  }

  .footer-block {
    width: 100%;
  }

  .footer-hours-item {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .footer-hours-item span:first-child {
    min-width: 92px;
    text-align: left;
  }

  .footer-hours-item span:last-child {
    text-align: left;
    white-space: nowrap;
  }
}

/* Tablets */
@media (min-width: 600px) {
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-grid .app-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .hero-inner {
    text-align: left;
  }

  .hero-text {
    margin-inline: 0;
  }

  .hero-actions {
    flex-direction: row;
    width: auto;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .store-badges--hero .store-badges-row {
    justify-content: flex-start;
  }

  .store-badge {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .app-steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 0;
  }

  .app-step {
    flex: 1 1 140px;
    max-width: 200px;
  }

  .app-step-line {
    display: block;
    width: 40px;
    margin-top: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-submit {
    width: auto;
    align-self: flex-start;
    min-width: 200px;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .nav-overlay {
    display: none !important;
  }

  .nav-menu {
    position: static;
    inset: auto;
    width: auto;
    max-width: none;
    height: auto;
    margin-inline-start: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
    overflow: visible;
    z-index: auto;
  }

  .nav-menu[aria-hidden="true"] {
    visibility: visible;
  }

  .nav-menu-list {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    width: auto;
  }

  .nav-menu-list > li {
    width: auto;
    border-bottom: none;
  }

  .nav-menu-list .nav-link {
    display: inline;
    width: auto;
    padding: 0;
    font-size: 0.9rem;
  }

  .nav-menu-cta {
    margin-top: 0;
    padding-top: 0;
  }

  .nav-menu-cta .nav-link--cta {
    display: inline-flex;
    width: auto;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
  }

  .nav-logo {
    max-width: 200px;
    flex: 0 1 auto;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    order: 0;
  }

  .app-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-grid .app-card:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
    width: auto;
  }

  .app-steps {
    flex-wrap: nowrap;
    gap: 0;
  }

  .app-step-line {
    width: 60px;
  }

  .benefits-layout {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-visual {
    order: 0;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .footer-logo {
    flex: 0 0 auto;
  }

  .footer-content {
    flex: 1 1 0;
    width: auto;
  }

  .footer-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: none;
  }

  .contact-layout {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .contact-grid {
    display: contents;
  }

  .contact-card--email {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    height: 100%;
  }

  .contact-card--hours {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    height: 100%;
  }

  .contact-card--phones {
    grid-column: 3;
    grid-row: 1;
    align-self: stretch;
    height: 100%;
  }

  .contact-card--map {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-form-wrap {
    grid-column: 2 / 4;
    grid-row: 2;
  }
}

@media (min-width: 1200px) {
  .hero-inner {
    gap: 4rem;
  }
}

/* Arabic & RTL */
html[lang="ar"] body {
  font-family: 'Noto Sans Arabic', var(--font-body);
}

html[dir="rtl"] .nav {
  flex-direction: row;
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .benefits-item {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .benefits-check::after {
  left: auto;
  right: 9px;
}

html[dir="rtl"] .floating-badge {
  flex-direction: row-reverse;
}

html[dir="rtl"] .lang-dropdown {
  inset-inline-end: 0;
  inset-inline-start: auto;
}

html[dir="rtl"] .store-badge-text {
  align-items: flex-end;
}

html[dir="rtl"] .store-badges--hero .store-badges-row,
html[dir="rtl"] .store-badges--banner .store-badges-row {
  justify-content: center;
}

html[dir="rtl"] .nav-menu {
  transform: translate3d(-100%, 0, 0);
}

html[dir="rtl"] .nav-menu.open {
  transform: translate3d(0, 0, 0);
}

@media (max-width: 991px) {
  :root {
    --header-h: 64px;
  }

  .header-bar.container {
    padding-inline: 1rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  :root {
    --header-h: 58px;
  }

  .nav-logo img {
    height: 30px;
  }
}

html[dir="rtl"] .app-step-line {
  transform: scaleX(-1);
}

html[dir="rtl"] .hero-inner {
  direction: rtl;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-header,
html[dir="rtl"] .app-card,
html[dir="rtl"] .contact-card {
  text-align: right;
}

@media (max-width: 767px) {
  html[dir="rtl"] .hero-inner {
    text-align: center;
  }

  html[dir="rtl"] .hero-content,
  html[dir="rtl"] .section-header,
  html[dir="rtl"] .app-card,
  html[dir="rtl"] .contact-card {
    text-align: center;
  }
}

@media (min-width: 992px) {
  html[dir="rtl"] .hero-inner {
    text-align: right;
  }

  html[dir="rtl"] .hero-stats {
    justify-content: flex-start;
  }

  html[dir="rtl"] .hero-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }
}
