/* ─── Variables ─────────────────────────────────────────────────── */
:root {
  --navy:      #0A1628;
  --navy-mid:  #0E1F3A;
  --teal:      #00C9A7;
  --teal-d:    #00a88d;
  --teal-glow: rgba(0,201,167,0.18);
  --white:     #FFFFFF;
  --wa:        #25D366;
  --text:      rgba(255,255,255,0.85);
  --muted:     rgba(255,255,255,0.48);
  --card-bg:   rgba(255,255,255,0.04);
  --card-bdr:  rgba(0,201,167,0.18);
  --radius:    16px;
  --radius-sm: 10px;
  --t:         0.3s ease;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; }

/* ─── Utility ────────────────────────────────────────────────────── */
.container {
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3rem;
  line-height: 1.2;
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: 50px;
  padding: 0.825rem 1.6rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--hero {
  background: var(--teal);
  color: var(--navy);
  font-size: 1.05rem;
  padding: 1rem 2rem;
  box-shadow: 0 6px 32px rgba(0,201,167,0.4);
}
.btn--hero:hover { background: var(--teal-d); box-shadow: 0 10px 40px rgba(0,201,167,0.55); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }

.btn--wa {
  background: var(--wa);
  color: var(--white);
  font-size: 1.05rem;
  padding: 1rem 2rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}
.btn--wa:hover { background: #1ebd5a; box-shadow: 0 10px 32px rgba(37,211,102,0.45); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover { background: #d4f7f1; }

/* ─── Nav ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 62px;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.nav.scrolled { border-bottom-color: rgba(0,201,167,0.2); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: clamp(1rem, 5vw, 3rem);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav__logo img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  object-fit: cover;
}
.nav__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--teal);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  transition: background var(--t), transform var(--t);
}
.nav__cta:hover { background: var(--teal-d); transform: translateY(-1px); }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 62px;
  overflow: hidden;
  background: var(--navy);
}

/* Background atmosphere */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,201,167,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,201,167,0.1) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation: glowPulse 8s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.15); }
}

/* Subtle dot grid */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,201,167,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Split layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  padding-block: 4rem 5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-block: 3rem 4rem;
  }
}

/* Badge pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  animation: slideUp 0.6s ease both;
}
.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Headline */
.hero__h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: slideUp 0.6s 0.12s ease both;
}
.hero__h1-accent {
  color: var(--teal);
  display: inline-block;
  position: relative;
}
.hero__h1-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
}

.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text);
  max-width: 520px;
  margin-bottom: 2rem;
  animation: slideUp 0.6s 0.24s ease both;
}
@media (max-width: 900px) { .hero__sub { margin-inline: auto; } }

.hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  animation: slideUp 0.6s 0.36s ease both;
}
@media (max-width: 900px) { .hero__actions { justify-content: center; } }

/* Stats row */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  animation: slideUp 0.6s 0.48s ease both;
}
@media (max-width: 900px) { .hero__stats { justify-content: center; } }
@media (max-width: 480px) { .hero__stats { flex-direction: column; gap: 0.75rem; } }

.hero__stat { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.hero__stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.hero__stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideUp 0.7s 0.2s ease both;
}

.hero__phone {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.hero__phone-frame {
  background: linear-gradient(145deg, #1a2e4a, #0d1f35);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(0,201,167,0.2),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,201,167,0.08);
  position: relative;
}

.hero__phone-notch {
  width: 90px;
  height: 22px;
  background: #0A1628;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}

.hero__phone-screen {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9/19;
}
.hero__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 900px) {
  .hero__phone { width: 200px; }
}

/* Chevron */
.hero__chevron {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--teal);
  opacity: 0.55;
  animation: bounce 2.4s ease-in-out infinite 1.5s;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ─── Pain Points ────────────────────────────────────────────────── */
.pain {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(0,201,167,0.04) 0%, transparent 100%);
  border-top: 1px solid rgba(0,201,167,0.1);
}
.pain .section-label { text-align: center; margin-bottom: 1.5rem; }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.pain__card {
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.pain__card:hover {
  border-color: rgba(0,201,167,0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,201,167,0.12);
}
.pain__icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.pain__card p {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  font-style: italic;
}

/* ─── Services ───────────────────────────────────────────────────── */
.services { padding: 6rem 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.service-card:hover {
  border-color: rgba(0,201,167,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,201,167,0.13);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.service-card p { color: var(--text); font-size: 0.95rem; }

/* ─── How It Works ───────────────────────────────────────────────── */
.how {
  padding: 6rem 0;
  background: rgba(0,201,167,0.025);
  border-top: 1px solid rgba(0,201,167,0.07);
  border-bottom: 1px solid rgba(0,201,167,0.07);
}
.how__steps { display: flex; flex-direction: column; gap: 1.5rem; }
.how__step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.how__step:hover { border-color: rgba(0,201,167,0.4); box-shadow: 0 8px 32px rgba(0,201,167,0.09); }
.how__step--alt { flex-direction: row-reverse; text-align: right; }
@media (max-width: 600px) { .how__step, .how__step--alt { flex-direction: column; text-align: left; } }
.how__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.7;
  flex-shrink: 0;
  line-height: 1;
}
.how__body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.45rem;
}
.how__body p { color: var(--text); font-size: 0.95rem; }

/* ─── Trust / Our Real Home ──────────────────────────────────────── */
.trust { padding: 6rem 0; }
.trust__sub {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.trust__screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.screenshot-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-bdr);
  transition: transform var(--t), box-shadow var(--t);
}
.screenshot-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,201,167,0.14);
}
.screenshot-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
}
.screenshot-card__label {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(10,22,40,0.95);
  color: var(--teal);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
/* ─── Amazon Band ────────────────────────────────────────────────── */
.amazon-band {
  background: linear-gradient(135deg, rgba(0,201,167,0.14) 0%, rgba(0,168,141,0.06) 100%);
  border-top: 1px solid rgba(0,201,167,0.22);
  border-bottom: 1px solid rgba(0,201,167,0.22);
  padding: 4rem 0;
}
.amazon-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.amazon-band__inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.amazon-band__inner p { color: var(--text); font-size: 0.95rem; }

/* ─── No-Mess Callout ────────────────────────────────────────────── */
.nomess {
  padding: 1.5rem 0;
}
.nomess__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(0,201,167,0.12), rgba(0,201,167,0.04));
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}
.nomess__icon { font-size: 1.8rem; flex-shrink: 0; }
.nomess__body { display: flex; flex-direction: column; gap: 0.2rem; }
.nomess__body strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.nomess__body span { font-size: 0.92rem; color: var(--text); }

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq { padding: 6rem 0; }
.faq__list {
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq__item {
  border: 1px solid var(--card-bdr);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card-bg);
  transition: border-color var(--t);
}
.faq__item.open { border-color: rgba(0,201,167,0.45); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  text-align: left;
  cursor: pointer;
  transition: color var(--t);
}
.faq__q:hover { color: var(--teal); }
.faq__item.open .faq__q { color: var(--teal); }
.faq__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t);
  margin-top: -4px;
}
.faq__item.open .faq__chevron { transform: rotate(-135deg); margin-top: 4px; }

/* max-height collapse — reliable across all browsers */
.faq__a-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq__item.open .faq__a-wrap { max-height: 400px; }
.faq__a { padding: 0 1.4rem 1.1rem; color: var(--text); font-size: 0.93rem; }

/* ─── Final CTA ──────────────────────────────────────────────────── */
.final-cta {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0,201,167,0.07));
}
.final-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.final-cta__logo img {
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0,201,167,0.25);
}
.final-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-top: 0.5rem;
}
.final-cta p { color: var(--text); max-width: 520px; }
.final-cta__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.25rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer__brand img { height: 36px; width: 36px; border-radius: 8px; object-fit: cover; }
.footer__brand div { display: flex; flex-direction: column; line-height: 1.3; }
.footer__brand strong { font-family: 'Space Grotesk', sans-serif; color: var(--white); font-size: 0.88rem; }
.footer__brand span { color: var(--muted); font-size: 0.76rem; }
.footer__copy { color: var(--muted); font-size: 0.78rem; }

/* ─── WhatsApp FAB ───────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  opacity: 0.4;
  transform: scale(0.88);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}
.wa-fab.visible { opacity: 1; transform: scale(1); }
.wa-fab:hover { box-shadow: 0 8px 32px rgba(37,211,102,0.6); transform: scale(1.08) !important; }

/* ─── Language toggle ────────────────────────────────────────────── */
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: background var(--t), border-color var(--t);
}
.lang-toggle:hover { background: rgba(255,255,255,0.12); border-color: rgba(0,201,167,0.4); }
.lang-toggle__sep { opacity: 0.3; }
.lang-toggle__en, .lang-toggle__ar { transition: color var(--t); }
[lang="en"] .lang-toggle__en { color: var(--teal); }
[lang="ar"] .lang-toggle__ar { color: var(--teal); }

/* ─── Arabic / RTL ───────────────────────────────────────────────── */
[lang="ar"] {
  font-family: 'Cairo', sans-serif;
}
[lang="ar"] .hero__h1,
[lang="ar"] .section-h2,
[lang="ar"] .section-label,
[lang="ar"] .nav__brand,
[lang="ar"] .service-card h3,
[lang="ar"] .how__body h3,
[lang="ar"] .faq__q,
[lang="ar"] .final-cta h2,
[lang="ar"] .footer__brand strong,
[lang="ar"] .nomess__body strong {
  font-family: 'Cairo', sans-serif;
}
[lang="ar"] .faq__q { text-align: right; }
[lang="ar"] .how__step--alt { flex-direction: row; }
[lang="ar"] .hero__stat-label { direction: rtl; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .amazon-band__inner { flex-direction: column; text-align: center; }
  .final-cta__btns { flex-direction: column; align-items: stretch; }
  .final-cta__btns .btn { justify-content: center; }
  .trust__screenshots { grid-template-columns: 1fr; }
  .screenshot-card img { height: 260px; }
}
@media (max-width: 480px) {
  .nav__brand { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .pain__grid { grid-template-columns: 1fr; }
  .hero__actions .btn--outline { display: none; }
}
